nscd: Remove unused typedef and variable.
[glibc.git] / ChangeLog
blob92b567a59f86e68115804eb09faff5e315f1d14e
1 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
3         * nscd/nscd.c (thread_info_t): Remove typedef.
4         (thread_info): Remove variable.
6 2014-06-21  Allan McRae  <allan@archlinux.org>
8         * NEWS: Mention CVE-2014-4043.
10 2014-06-20  Roland McGrath  <roland@hack.frob.com>
12         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13         * nptl/smp.h: ... here.
15         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
17         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
19         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
20         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
22         * nptl/allocatestack.c: Include <stack-aliasing.h>.
23         * nptl/stack-aliasing.h: New file.
24         * sysdeps/i386/i686/stack-aliasing.h: New file.
25         * sysdeps/i386/i686/nptl/Makefile: File removed.
26         * sysdeps/x86_64/stack-aliasing.h: New file.
27         * sysdeps/x86_64/nptl/Makefile
28         (CFLAGS-pthread_create.c): Variable removed.
30         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32         old file.
33         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
35         old file.
37 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40         (__ASSUME_SIGFRAME_V2): Remove macro.
41         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
42         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
43         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
44         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
45         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46         Declare as function.  Remove conditional macro definitions.
47         (__default_rt_sa_restorer): Likewise.
48         (__default_sa_restorer_v1): Remove declaration.
49         (__default_sa_restorer_v2): Likewise.
50         (__default_rt_sa_restorer_v1): Likewise.
51         (__default_rt_sa_restorer_v2): Likewise.
52         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
53         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
54         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
56 2014-06-20  Roland McGrath  <roland@hack.frob.com>
58         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
59         (libpthread-routines): Add sysdep.
60         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
61         * sysdeps/unix/sysv/linux/sparc/Versions
62         (libpthread: GLIBC_2.3.3): New version set.
63         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
64         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
65         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
66         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
67         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
68         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
69         Moved ...
70         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
71         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
72         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
73         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
74         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
75         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
76         * sysdeps/sparc/nptl/sem_init.c: ... here.
77         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
78         * sysdeps/sparc/nptl/sem_post.c: ... here.
79         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
80         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
81         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
82         * sysdeps/sparc/nptl/sem_wait.c: ... here.
83         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
84         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
85         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
86         (libpthread-routines): Add cpu_relax.
87         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
88         File removed.
89         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
90         (librt: GLIBC_2.3.3): New version set.
91         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
92         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
93         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
94         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
95         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
96         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
97         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
98         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
99         Moved ...
100         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
102         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
104         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
106         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
108         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
110         Moved ...
111         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
112         Update #include.
113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
114         Moved ...
115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
116         Update #include.
117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
118         Moved ...
119         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
120         Update #include.
121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
122         Moved ...
123         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
124         Update #include.
125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
126         Moved ...
127         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
128         Update #include.
129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
130         Moved ...
131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
132         Update #include.
133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
134         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
142         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
144         Moved ...
145         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
147         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
149         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
153         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
154         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
155         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
156         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
157         * nscd/nscd.c: Likewise.
158         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
159         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
160         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
161         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
163         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
164         <kernel-features.h>.
165         (init_mq_netlink): Remove conditional have_sock_cloexec
166         definitions.  Remove code conditional on have_sock_cloexec < 0.
167         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
168         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
169         * sysdeps/unix/sysv/linux/opensock.c: Do not include
170         <kernel-features.h>.
171         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
172         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
174 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
177         Add tests for memset_chk and memset.
179         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
180         with AVX2_Usable.
182 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
184         [BZ #16046]
185         * elf/tst-dl-iter-static.c: New file.
186         * elf/Makefile (tests-static): Add tst-dl-iter-static.
188         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
189         error.
191 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
193         * sysdeps/unix/sysv/linux/kernel-features.h
194         (__ASSUME_F_GETOWN_EX): Remove macro.
195         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
196         <kernel-features.h>.
197         (miss_F_GETOWN_EX): Remove variable or macro.
198         (do_fcntl): Do not check miss_F_GETOWN_EX.
199         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
202         Remove macro.
203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
204         [!__ASSUME_AT_RANDOM]: Remove conditional code.
205         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
207         * sysdeps/unix/sysv/linux/kernel-features.h
208         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
209         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
210         [ADJ_OFFSET_SS_READ]: Make code unconditional.
211         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
213 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
215         [BZ #17075]
216         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
217         Fix calculation of the symbol's value.
218         * sysdeps/arm/tst-armtlsdescloc.c: New file.
219         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
220         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
221         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
222         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
223         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
224         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
225         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
226         (modules-names): Add `tst-armtlsdescmod',
227         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
228         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
229         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
230         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
231         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
232         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
233         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
234         ($(objpfx)tst-armtlsdescloc): New dependency.
235         ($(objpfx)tst-armtlsdescextnow): Likewise.
236         ($(objpfx)tst-armtlsdescextlazy): Likewise.
237         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
238         TLS scheme support.
239         * sysdeps/arm/configure: Regenerate.
241 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
243         * include/fcntl.h (__atfct_seterrno): Remove prototype.
244         (__atfct_seterrno_2): Likewise.
245         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
246         <kernel-features.h>.
247         (__ASSUME_ATFCTS): Do not undefine and redefine.
248         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
249         (__have_atfcts): Remove conditional definition.
250         (__fxstatat([__NR_fstatat64]: Make code unconditional.
251         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
252         unreachable if [__ASSUME_ATFCTS].
253         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
254         not undefine and redefine.
255         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
256         <kernel-features.h>.
257         (faccessat) [__NR_faccessat]: Make code unconditional.
258         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
259         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
260         <kernel-features.h>.
261         (fchmodat) [__NR_fchmodat]: Make code unconditional.
262         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
263         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
264         <kernel-features.h>.
265         (fchownat) [__NR_fchownat]: Make code unconditional.
266         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
267         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
268         <kernel-features.h>.
269         (futimesat) [__NR_futimesat]: Make code unconditional.
270         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
271         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
272         <kernel-features.h>.
273         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
275         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
276         <kernel-features.h>.
277         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
278         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
279         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
280         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
281         <kernel-features.h>.
282         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
283         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
284         * sysdeps/unix/sysv/linux/linkat.c: Do not include
285         <kernel-features.h>.
286         (linkat) [__NR_linkat]: Make code unconditional.
287         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
288         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
289         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
290         <kernel-features.h>.
291         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
292         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
293         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
294         <kernel-features.h>.
295         (mkdirat) [__NR_mkdirat]: Make code unconditional.
296         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
297         * sysdeps/unix/sysv/linux/openat.c: Do not include
298         <kernel-features.h>.
299         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
300         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
301         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
302         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
303         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
304         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
305         <kernel-features.h>.
306         (readlinkat) [__NR_readlinkat]: Make code unconditional.
307         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
308         result of INLINE_SYSCALL directly, not via int variable.
309         * sysdeps/unix/sysv/linux/renameat.c: Do not include
310         <kernel-features.h>.
311         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
312         (renameat) [__NR_renameat]: Make code unconditional.
313         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
314         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
315         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
316         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
318         (__ASSUME_ATFCTS): Do not undefine and redefine.
319         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
320         <kernel-features.h>.
321         (symlinkat) [__NR_symlinkat]: Make code unconditional.
322         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
323         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
324         <kernel-features.h>.
325         (unlinkat) [__NR_unlinkat]: Make code unconditional.
326         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
327         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
328         (__ASSUME_ATFCTS): Do not undefine and redefine.
329         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
330         <kernel-features.h>.
331         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
332         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
333         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
334         <kernel-features.h>.
335         (__xmknodat) [__NR_mknodat]: Make code unconditional.
336         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
338 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
340         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
342 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
344         [BZ #17069]
345         * posix/regcomp.c (parse_reg_exp): Deallocate partially
346         constructed tree before returning error.
347         * posix/bug-regexp36.c: Expand test case.
349 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
351         [BZ #6803]
352         * math/libm-test.inc (scalbln_test_date):
353         Add errno expectations.
354         * math/w_scalblnf.c: New File.
355         Add wrapper which checks for setting errno to ERANGE.
356         Add weak_alias for corresponding scalbln function.
357         * math/w_scalbln.c: Likewise.
358         * math/w_scalblnl.c: Likewise.
359         * math/Makefile (libm-calls): Add w_scalbln.
360         * sysdeps/ieee754/flt-32/s_scalblnf.c:
361         Remove weak_alias for corresponding scalbln function.
362         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
364         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
365         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
366         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
367         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
368         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
369         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
370         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
371         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
372         Remove long_double_symbol for scalblnl function in libm, libc.
373         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
374         Add wrapper which checks for setting errno to ERANGE.
375         Add long_double_symbol for scalblnl function in libm, libc.
376         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
377         Remove long_double_symbol for scalblnl in libm.
378         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
379         Add wrapper which checks for setting errno to ERANGE.
380         Add long_double_symbol for scalblnl function in libm.
381         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
382         Do not use wrapper because of own implementation.
384 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
386         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
387         3 bytes for __pad1 for x32.
388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
390 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
391             H.J. Lu  <hongjiu.lu@intel.com>
393         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
394         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
395         * sysdeps/x86_64/multiarch/memset.S: Likewise.
396         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
397         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
399 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
401         [BZ #17069]
402         * posix/regcomp.c (parse_expression): Deallocate partially
403         constructed tree before returning error.
404         * posix/Makefile.c (tests): Add bug-regex36.
405         (generated): Add bug-regex36.mtrace.
406         (tests-special): Add $(objpfx)bug-regex36-mem.out
407         (bug-regex36-ENV): New variable.
408         ($(objpfx)bug-regex36-mem.out): New rule.
409         * posix/bug-regex36.c: New file.
411 2014-06-19  Will Newton  <will.newton@linaro.org>
413         * malloc/malloc.c (systrim): If extra is zero then return
414         early.
416 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
418         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
420 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
422         * sysdeps/aarch64/strchr.S: New file.
424 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
426         [BZ #17022]
427         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
428         from arguments -2 or below.
429         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
430         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
432 2014-06-18  Andreas Schwab  <schwab@suse.de>
434         [BZ #17062]
435         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
436         of a bracket expr not to run off the end of the string.
437         * posix/Makefile (tests): Add tst-fnmatch3.
438         * posix/tst-fnmatch3.c: New file.
440 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
442         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
443         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
444         [$(cross-compiling) = no]: Likewise.
445         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
446         [$(cross-compiling) = no]: Likewise.
448 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
450         [BZ #17031]
451         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
452         double, adjusted for any remainder from the high double.
453         * math/libm-test.inc (nearbyint): Add tests.
454         (rint): Likewise.
456 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
458         * nptl/sysdeps/powerpc/Makefile: Moved ...
459         * sysdeps/powerpc/nptl/Makefile: ... here.
460         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
461         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
462         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
463         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
464         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
465         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
466         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
467         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
468         * nptl/sysdeps/powerpc/tls.h: Moved ...
469         * sysdeps/powerpc/nptl/tls.h: ... here.
471 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
473         [BZ #16681]
474         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
475         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
476         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
477         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
478         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
479         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
480         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
481         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
482         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
484 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
488 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
490         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
491         defined operator.
493         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
494         $TIMEOUTFACTOR.
496 2014-06-16  Florian Weimer  <fweimer@redhat.com>
498         [BZ #17058]
499         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
500         non-executed part of the test.
502 2014-06-16  Andreas Schwab  <schwab@suse.de>
504         * string/bits/string2.h (strdup, strndup): Update feature guard.
506 2014-06-14  David S. Miller  <davem@davemloft.net>
508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
510 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
512         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
513         that was previously under [RESET_PID].
514         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
516         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
517         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
518         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
519         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
520         (__libc_vfork): New strong alias.
521         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
523 2014-06-14 Andi Kleen  <ak@linux.intel.com>
525         * sysdeps/generic/elide.h: New file.
527 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
529         * Makefile (installed-headers): Adjust path of pthread.h header.
531 2014-06-13  Roland McGrath  <roland@hack.frob.com>
533         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
534         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
535         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
536         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
538         * nptl/sysdeps/s390/Makefile: Moved ...
539         * sysdeps/s390/nptl/Makefile: ... here.
540         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
541         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
542         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
543         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
544         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
545         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
546         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
547         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
548         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
549         * sysdeps/s390/nptl/pthreaddef.h: ... here.
550         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
551         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
552         * nptl/sysdeps/s390/tls.h: Moved ...
553         * sysdeps/s390/nptl/tls.h: ... here.
555         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
556         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
558 2014-06-13  David S. Miller  <davem@davemloft.net>
560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
563         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
567         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
568         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
569         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
570         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
571         Remove RESET_PID cpp guards.
572         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
573         Remove RESET_PID cpp guards.
574         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
576 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
578         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
579         __sp to uintptr_t.
581 2014-06-13  Andi Kleen  <ak@linux.intel.com>
583         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
585         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
588         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
590         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
593         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
595         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
596         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
598         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
601         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
604         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
605         (pthread_rwlock_rdlock): Add elision.
606         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
607         (pthread_rwlock_wrlock): Add elision.
608         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
609         (pthread_rwlock_trywrlock): Add elision.
610         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
611         (pthread_rwlock_tryrdlock): Add elision.
612         * nptl/pthread_rwlock_unlock.c: Include elide.h.
613         (pthread_rwlock_tryrdlock): Add elision unlock.
614         * nptl/sysdeps/pthread/pthread.h:
615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
616         (PTHREAD_RWLOCK_INITIALIZER,
617         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
618         Handle new elision field.
619         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
620         * sysdeps/arm/nptl/bits/pthreadtypes.h
621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
622         * sysdeps/sh/nptl/bits/pthreadtypes.h
623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
624         * sysdeps/tile/nptl/bits/pthreadtypes.h
625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
626         * sysdeps/a/nptl/bits/pthreadtypes.h
627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
628         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
630         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
632         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
633         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
634         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
636         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
638         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
640         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
642         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
644         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
645         (elision_init): Set try_xbegin to zero when no RTM.
646         * sysdeps/x86/nptl/bits/pthreadtypes.h
647         (pthread_rwlock_t): Change __pad1 to __rwelision.
648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
650 2014-06-13  Andi Kleen  <ak@linux.intel.com>
652         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
653         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
654         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
655         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
657 2014-06-13  Meador Inge  <meadori@codesourcery.com>
659         [BZ #16996]
660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
661         that the cached result has been set before returning it.
663 2014-06-12  Roland McGrath  <roland@hack.frob.com>
665         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
666         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
667         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
668         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
669         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
670         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
672         * nptl/sysdeps/sparc/Makefile: Moved ...
673         * sysdeps/sparc/nptl/Makefile: ... here.
674         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
675         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
676         * nptl/sysdeps/sparc/tls.h: Moved ...
677         * sysdeps/sparc/nptl/tls.h: ... here.
678         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
679         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
680         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
681         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
682         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
683         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
684         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
685         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
686         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
687         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
688         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
689         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
690         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
691         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
692         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
693         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
694         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
696         Update #include.
697         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
699         Update #include.
700         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
702         Update #include.
703         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
705         Update #include.
707         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
709         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
710         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
712         * sysdeps/pthread/posix-timer.h: Include <list.h>.
713         (struct list_links): Type removed.
714         (struct thread_node, struct timer_node): Replace struct list_links
715         with struct list_head.
716         (list_unlink_ip): Likewise.
717         * sysdeps/pthread/timer_routines.c
718         (timer_free_list, thread_free_list, thread_active_list): Likewise.
719         (list_append, list_insbefore): Likewise.
720         (list_init): Function removed.
721         (thread_init, init_module): Use INIT_LIST_HEAD instead.
722         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
723         * sysdeps/pthread/Makefile: ... here, new file.
725         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
726         * sysdeps/nptl/Implies: ... here.
727         * sysdeps/unix/sysv/linux/Implies: Add nptl.
728         * nptl/sysdeps/pthread/list.h: Moved ...
729         * include/list.h: ... here.
730         * nptl/sysdeps/pthread/createthread.c: Moved ...
731         * nptl/createthread.c: ... here.
732         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
733         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
734         * nptl/pt-longjmp.c: ... here.
735         * nptl/sysdeps/pthread/Makefile: Moved ...
736         * sysdeps/nptl/Makefile: ... here.
737         * nptl/sysdeps/pthread/Subdirs: Moved ...
738         * sysdeps/nptl/Subdirs: ... here.
739         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
740         * sysdeps/nptl/aio_misc.h: ... here.
741         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
742         * sysdeps/nptl/bits/libc-lock.h: ... here.
743         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
744         * sysdeps/nptl/bits/libc-lockP.h: ... here.
745         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
746         * sysdeps/nptl/bits/stdio-lock.h: ... here.
747         * nptl/sysdeps/pthread/configure: Moved ...
748         * sysdeps/nptl/configure: ... here.
749         * nptl/sysdeps/pthread/configure.ac: Moved ...
750         * sysdeps/nptl/configure.ac: ... here.
751         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
752         * sysdeps/nptl/gai_misc.h: ... here.
753         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
754         * sysdeps/nptl/librt-cancellation.c: ... here.
755         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
756         * sysdeps/nptl/malloc-machine.h: ... here.
757         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
758         * sysdeps/nptl/pthread-functions.h: ... here.
759         * nptl/sysdeps/pthread/pthread.h: Moved ...
760         * sysdeps/nptl/pthread.h: ... here.
761         * nptl/sysdeps/pthread/setxid.h: Moved ...
762         * sysdeps/nptl/setxid.h: ... here.
763         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
764         * sysdeps/nptl/sigfillset.c: ... here.
765         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
766         * sysdeps/nptl/tcb-offsets.h: ... here.
767         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
768         * sysdeps/nptl/tst-mqueue8x.c: ... here.
769         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
770         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
771         * nptl/sysdeps/pthread/allocalim.h: Moved ...
772         * sysdeps/pthread/allocalim.h: ... here.
773         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
774         * sysdeps/pthread/bits/sigthread.h: ... here.
775         * nptl/sysdeps/pthread/flockfile.c: Moved ...
776         * sysdeps/pthread/flockfile.c: ... here.
777         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
778         * sysdeps/pthread/ftrylockfile.c: ... here.
779         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
780         * sysdeps/pthread/funlockfile.c: ... here.
781         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
782         * sysdeps/pthread/posix-timer.h: ... here.
783         * nptl/sysdeps/pthread/timer_create.c: Moved ...
784         * sysdeps/pthread/timer_create.c: ... here.
785         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
786         * sysdeps/pthread/timer_delete.c: ... here.
787         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
788         * sysdeps/pthread/timer_getoverr.c: ... here.
789         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
790         * sysdeps/pthread/timer_gettime.c: ... here.
791         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
792         * sysdeps/pthread/timer_routines.c: ... here.
793         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
794         * sysdeps/pthread/timer_settime.c: ... here.
795         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
796         * sysdeps/pthread/tst-timer.c: ... here.
797         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
798         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
800         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
801         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
803         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
804         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
805         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
806         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
807         Update #include target.
808         * nptl/sysdeps/i386/i686/Makefile: Moved ...
809         * sysdeps/i386/i686/nptl/Makefile: ... here.
810         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
811         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
812         Update #include target.
813         * nptl/sysdeps/i386/i686/tls.h: Moved ...
814         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
815         * nptl/sysdeps/i386/Makefile: Moved ...
816         * sysdeps/i386/nptl/Makefile: ... here.
817         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
818         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
819         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
820         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
821         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
822         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
823         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
824         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
825         * sysdeps/i386/nptl/pthreaddef.h: ... here.
826         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
827         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
828         * nptl/sysdeps/i386/tls.h: Moved ...
829         * sysdeps/i386/nptl/tls.h: ... here.
831         * sysdeps/sh/Makefile [$(subdir) = csu]
832         (gen-as-const-headers): Add tcb-offsets.sym.
833         * nptl/sysdeps/sh/Makefile: File removed.
834         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
835         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
836         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
837         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
838         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
839         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
840         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
841         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
842         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
843         * sysdeps/sh/nptl/pthreaddef.h: ... here.
844         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
845         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
846         * nptl/sysdeps/sh/tls.h: Moved ...
847         * sysdeps/sh/nptl/tls.h: ... here.
848         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
849         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
850         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
851         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
852         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
853         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
854         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
855         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
856         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
857         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
858         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
859         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
860         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
861         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
862         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
863         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
864         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
865         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
867         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
868         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
869         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
870         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
872         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
873         Moved ...
874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
876         Moved ...
877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
880         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
882         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
883         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
884         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
885         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
886         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
887         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
888         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
889         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
890         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
891         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
892         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
893         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
894         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
895         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
897 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
899         * posix/spawn_faction_addopen.c: Include string.h.
901 2014-06-11  Roland McGrath  <roland@hack.frob.com>
903         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
904         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
905         * nptl/sysdeps/x86_64/Makefile: Moved ...
906         * sysdeps/x86_64/nptl/Makefile: ... here.
907         * nptl/sysdeps/x86_64/configure: Moved ...
908         * sysdeps/x86_64/nptl/configure: ... here.
909         * nptl/sysdeps/x86_64/configure.ac: Moved ...
910         * sysdeps/x86_64/nptl/configure.ac: ... here.
911         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
912         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
913         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
914         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
915         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
916         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
917         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
918         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
919         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
920         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
921         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
922         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
923         * nptl/sysdeps/x86_64/tls.h: Moved ...
924         * sysdeps/x86_64/nptl/tls.h: ... here.
925         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
926         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
927         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
928         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
930         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
932 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
936 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
938         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
939         type.
940         [POSIX] (off_t): Likewise.
941         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
942         [POSIX] (S_ISBLK): Require macro.
943         [POSIX] (S_ISCHR): Likewise.
944         [POSIX] (S_ISDIR): Likewise.
945         [POSIX] (S_ISFIFO): Likewise.
946         [POSIX] (S_ISREG): Likewise.
947         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
948         optional-macro.
949         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
950         type.
951         [POSIX] (time_t): Likewise.
952         [POSIX] (timer_t): Likewise.
954 2014-06-11  Florian Weimer  <fweimer@redhat.com>
956         [BZ #17048]
957         * posix/spawn_int.h (struct __spawn_action): Make the path string
958         non-const to support deallocation.
959         * posix/spawn_faction_addopen.c
960         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
961         * posix/spawn_faction_destroy.c
962         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
963         path in all spawn_do_open actions.
964         * posix/tst-spawn.c (do_test): Exercise the copy operation in
965         posix_spawn_file_actions_addopen.
967 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
969         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
970         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
971         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
972         conditional code always true.
973         (__libc_vfork): New alias.
975 2014-06-11  Roland McGrath  <roland@hack.frob.com>
977         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
978         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
980         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
982         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
983         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
985         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
986         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
988         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
989         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
991 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
993         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
994         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
995         multiarch strcmp for PPC64.
996         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
997         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
999         multiarch optimizations.
1000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1001         (__libc_ifunc_impl_list): Likewise.
1003 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1005         * benchtests/scripts/validate_benchout.py: New script.
1006         * benchtests/Makefile (bench-func): Call it.
1007         * benchtests/scripts/benchout.schema.json: New file.
1009 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1011         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1012         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1013         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1014         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1015         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1016         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1017         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1018         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1019         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1020         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1021         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1022         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1023         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1024         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1025         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1026         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1028         Moved ...
1029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1030         ... here.
1031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1032         Moved ...
1033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1035         Moved ...
1036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1037         ... here.
1038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1039         Moved ...
1040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1041         ... here.
1042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1043         Moved ...
1044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1046         Moved ...
1047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1048         ... here.
1049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1050         Moved ...
1051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1052         ... here.
1053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1054         Moved ...
1055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1057         Moved ...
1058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1059         ... here.
1060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1061         Moved ...
1062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1063         ... here.
1064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1065         Moved ...
1066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1067         ... here.
1068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1069         Moved ...
1070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1072         Moved ...
1073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1074         ... here.
1075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1076         Moved ...
1077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1078         ... here.
1079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1080         Moved ...
1081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1082         ... here.
1083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1084         Moved ...
1085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1087         Moved ...
1088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1089         ... here.
1090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1093         ... here.
1094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1095         Moved ...
1096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1100         ... here.
1101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1102         Moved ...
1103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1105         Moved ...
1106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1108         Moved ...
1109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1110         ... here.
1111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1112         Moved ...
1113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1114         ... here.
1115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1116         Moved ...
1117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1118         ... here.
1119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1120         Moved ...
1121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1123         Moved ...
1124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1125         ... here.
1126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1127         Moved ...
1128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1129         ... here.
1130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1131         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1133         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1135         Moved ...
1136         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1137         ... here.
1138         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1139         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1141         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1143         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1145         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1146         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1147         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1149         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1151         Moved ...
1152         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1153         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1154         Moved ...
1155         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1157         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1159         Moved ...
1160         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1162         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1163         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1164         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1165         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1166         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1168 2014-06-10  Wilco  <wdijkstr@arm.com>
1170         * math/test-fenv-return.c: New file.
1171         * math/Makefile: Add new test test-fenv-return.
1173 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1175         [BZ #17042]
1176         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1177         when x - 1 is zero.
1178         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1179         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1180         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1181         0.0L for an argument of 1.0L.
1182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1183         Likewise.
1184         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1185         value when x - 1 is zero.
1186         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1187         * sysdeps/i386/fpu/libm-test-ulps: Update.
1188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1190 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1192         [BZ #15119]
1193         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1195 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1197         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1198         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1200 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1202         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1203         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1205         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1206         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1208         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1209         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1211         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1212         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1214         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1215         if not already defined.
1216         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1217         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1218         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1219         (TLS_INIT_TP): Use it.
1220         (TLS_DEFINE_INIT_TP): New macro.
1221         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1223 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1225         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1226         constant.
1227         [POSIX] (IXANY): Likewise.
1228         [POSIX] (OLCUC): Likewise.
1229         [POSIX || POSIX2008] (CBAUD): Do not allow.
1230         [POSIX || POSIX2008] (DEFECHO): Likewise.
1231         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1232         [POSIX || POSIX2008] (ECHOKE): Likewise.
1233         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1234         [POSIX || POSIX2008] (EXTA): Likewise.
1235         [POSIX || POSIX2008] (EXTB): Likewise.
1236         [POSIX || POSIX2008] (FLUSHO): Likewise.
1237         [POSIX || POSIX2008] (LOBLK): Likewise.
1238         [POSIX || POSIX2008] (PENDIN): Likewise.
1239         [POSIX || POSIX2008] (SWTCH): Likewise.
1240         [POSIX || POSIX2008] (VDISCARD): Likewise.
1241         [POSIX || POSIX2008] (VDSUSP): Likewise.
1242         [POSIX || POSIX2008] (VLNEXT): Likewise.
1243         [POSIX || POSIX2008] (VREPRINT): Likewise.
1244         [POSIX || POSIX2008] (VSTATUS): Likewise.
1245         [POSIX || POSIX2008] (VWERASE): Likewise.
1246         (B*): Change to B[0123456789]*.
1247         * conform/data/time.h-data [POSIX || UNIX98]
1248         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1249         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1250         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1251         [POSIX] (tm_*): Do not allow.
1253 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1255         * Makefile (install): Don't set LANGUAGE.
1256         * Makefile.in (install): Likewise.
1257         * assert/Makefile (test-assert-ENV): Remove variable.
1258         (test-assert-perr-ENV): Likewise.
1259         * elf/Makefile (neededtest4-ENV): Likewise.
1260         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1261         [$(cross-compiling) = no]: Don't set LANGUAGE.
1262         * io/ftwtest-sh (LANG): Remove variable.
1263         * libio/Makefile (tst-widetext-ENV): Likewise.
1264         * manual/install.texi (Running make install): Don't refer to
1265         environment settings for make install.
1266         * INSTALL: Regenerated.
1267         * nptl/tst-tls6.sh: Don't set LANG.
1268         * posix/globtest.sh (LANG): Remove variable.
1269         * string/Makefile (tester-ENV): Likewise.
1270         (inl-tester-ENV): Likewise.
1271         (noinl-tester-ENV): Likewise.
1272         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1273         [$(cross-compiling) = no]: Don't set LANGUAGE.
1274         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1275         without explicit environment settings.
1277 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1279         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1280         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1281         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1282         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1284 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1286         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1287         other files in the crypt directory.
1288         * crypt/crypt.c: Remove duplicate includes.
1289         * crypt/crypt-entry.c: Likewise.
1290         * crypt/crypt_util.c: Likewise.
1292 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1294         * Makeconfig (run-program-env): New variable.
1295         (run-program-prefix-before-env): Likewise.
1296         (run-program-prefix-after-env): Likewise.
1297         (run-program-prefix): Define in terms of new variables.
1298         (built-program-cmd-before-env): New variable.
1299         (built-program-cmd-after-env): Likewise.
1300         (built-program-cmd): Define in terms of new variables.
1301         (test-program-prefix-before-env): New variable.
1302         (test-program-prefix-after-env): Likewise.
1303         (test-program-prefix): Define in terms of new variables.
1304         (test-program-cmd-before-env): New variable.
1305         (test-program-cmd-after-env): Likewise.
1306         (test-program-cmd): Define in terms of new variables.
1307         * Rules (make-test-out): Use $(run-program-env).
1308         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1309         (help): Do not mention environment variables.  Mention
1310         --timeoutfactor option.
1311         (timeoutfactor): New variable.
1312         (blacklist_exports): Remove function.
1313         (exports): Remove variable.
1314         (command): Do not include ${exports}.
1315         * manual/install.texi (Configuring and compiling): Do not mention
1316         test wrappers preserving environment variables.  Mention that last
1317         assignment to a variable must take precedence.
1318         * INSTALL: Regenerated.
1319         * benchtests/Makefile (run-bench): Use $(run-program-env).
1320         * catgets/Makefile ($(objpfx)test1.cat): Use
1321         $(built-program-cmd-before-env), $(run-program-env) and
1322         $(built-program-cmd-after-env).
1323         ($(objpfx)test2.cat): Do not specify environment variables
1324         explicitly.
1325         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1326         $(run-program-env) and $(built-program-cmd-after-env).
1327         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1328         $(run-program-env) and $(test-program-cmd-after-env).
1329         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1330         explicitly.
1331         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1332         run_program_env and test_program_cmd_after_env arguments.
1333         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1334         * elf/tst-pathopt.sh: Use run_program_env argument.
1335         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1336         $(test-wrapper-env) and $(run-program-env).
1337         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1338         run_program_env arguments.
1339         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1340         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1341         $(test-program-prefix-before-env), $(run-program-env) and
1342         $(test-program-prefix-after-env).
1343         ($(objpfx)tst-gettext2.out): Likewise.
1344         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1345         run_program_env and test_program_prefix_after_env arguments.
1346         * intl/tst-gettext2.sh: Likewise.
1347         * intl/tst-gettext4.sh: Do not set environment variables
1348         explicitly.
1349         * intl/tst-gettext6.sh: Likewise.
1350         * intl/tst-translit.sh: Likewise.
1351         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1352         $(test-program-prefix-before-env), $(run-program-env) and
1353         $(test-program-prefix-after-env).
1354         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1355         run_program_env and test_program_prefix_after_env arguments.
1356         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1357         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1358         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1359         explicitly with each use of ${test_wrapper_env}.
1360         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1361         $(test-program-prefix-before-env), $(run-program-env) and
1362         $(test-program-prefix-after-env).
1363         * posix/tst-getconf.sh: Do not set environment variables
1364         explicitly.
1365         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1366         run_program_env and test_program_prefix_after_env arguments.
1367         * stdio-common/tst-printf.sh: Do not set environment variables
1368         explicitly.
1369         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1370         $(test-program-prefix-before-env), $(run-program-env) and
1371         $(test-program-prefix-after-env).
1372         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1373         run_program_env and test_program_prefix_after_env arguments.
1374         Split $test calls into $test_pre and $test.
1375         * timezone/Makefile (build-testdata): Use
1376         $(built-program-cmd-before-env), $(run-program-env) and
1377         $(built-program-cmd-after-env).
1379 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1381         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1382         strlen for non SHARED builds.
1384 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1386         * nptl/allocatestack.c (check_list): Inlined function...
1387         (__reclaim_stacks): ... here.
1389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1391         [BZ #15698]
1392         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1393         memory overrun.
1395 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1397         * Rules (make-test-out): Include
1398         LOCPATH=$(common-objpfx)localedata in default environment.
1399         * debug/Makefile (tst-chk1-ENV): Remove variable.
1400         (tst-chk2-ENV): Likewise.
1401         (tst-chk3-ENV): Likewise.
1402         (tst-chk4-ENV): Likewise.
1403         (tst-chk5-ENV): Likewise.
1404         (tst-chk6-ENV): Likewise.
1405         (tst-lfschk1-ENV): Likewise.
1406         (tst-lfschk2-ENV): Likewise.
1407         (tst-lfschk3-ENV): Likewise.
1408         (tst-lfschk4-ENV): Likewise.
1409         (tst-lfschk5-ENV): Likewise.
1410         (tst-lfschk6-ENV): Likewise.
1411         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1412         (tst-iconv7-ENV): Likewise.
1413         * intl/Makefile (LOCPATH-ENV): Likewise.
1414         (tst-codeset-ENV): Likewise.
1415         (tst-gettext3-ENV): Likewise.
1416         (tst-gettext5-ENV): Likewise.
1417         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1418         (tst-fopenloc-ENV): Likewise.
1419         (tst-fgetws-ENV): Remove variable.
1420         (tst-ungetwc1-ENV): Likewise.
1421         (tst-ungetwc2-ENV): Likewise.
1422         (bug-ungetwc2-ENV): Likewise.
1423         (tst-swscanf-ENV): Likewise.
1424         (bug-ftell-ENV): Likewise.
1425         (tst-fgetwc-ENV): Likewise.
1426         (tst-fseek-ENV): Likewise.
1427         (tst-ftell-partial-wide-ENV): Likewise.
1428         (tst-ftell-active-handler-ENV): Likewise.
1429         (tst-ftell-append-ENV): Likewise.
1430         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1431         (tst-regexloc-ENV): Likewise.
1432         (bug-regex1-ENV): Likewise.
1433         (tst-regex-ENV): Likewise.
1434         (tst-regex2-ENV): Likewise.
1435         (bug-regex5-ENV): Likewise.
1436         (bug-regex6-ENV): Likewise.
1437         (bug-regex17-ENV): Likewise.
1438         (bug-regex18-ENV): Likewise.
1439         (bug-regex19-ENV): Likewise.
1440         (bug-regex20-ENV): Likewise.
1441         (bug-regex22-ENV): Likewise.
1442         (bug-regex23-ENV): Likewise.
1443         (bug-regex25-ENV): Likewise.
1444         (bug-regex26-ENV): Likewise.
1445         (bug-regex30-ENV): Likewise.
1446         (bug-regex32-ENV): Likewise.
1447         (bug-regex33-ENV): Likewise.
1448         (bug-regex34-ENV): Likewise.
1449         (bug-regex35-ENV): Likewise.
1450         (tst-rxspencer-ENV): Likewise.
1451         (tst-rxspencer-no-utf8-ENV): Likewise.
1452         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1453         (tst-sscanf-ENV): Likewise.
1454         (tst-swprintf-ENV): Likewise.
1455         (tst-swscanf-ENV): Likewise.
1456         (test-vfprintf-ENV): Likewise.
1457         (scanf13-ENV): Likewise.
1458         (bug14-ENV): Likewise.
1459         (tst-grouping-ENV): Likewise.
1460         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1461         (tst-strtod3-ENV): Likewise.
1462         (tst-strtod4-ENV): Likewise.
1463         (tst-strtod5-ENV): Likewise.
1464         (testmb2-ENV): Likewise./
1465         * string/Makefile (tst-strxfrm-ENV): Likewise.
1466         (tst-strxfrm2-ENV): Likewise.
1467         (bug-strcoll1-ENV): Likewise.
1468         (test-strcasecmp-ENV): Likewise.
1469         (test-strncasecmp-ENV): Likewise.
1470         * time/Makefile (tst-strptime-ENV): Likewise.
1471         (tst-ftime_l-ENV): Likewise.
1472         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1473         (tst-mbrtowc-ENV): Likewise.
1474         (tst-wcrtomb-ENV): Likewise.
1475         (tst-mbrtowc2-ENV): Likewise.
1476         (tst-c16c32-1-ENV): Likewise.
1477         (tst-mbsnrtowcs-ENV): Likewise.
1479 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1481         * manual/resource.texi (How to get information about the memory
1482         subsystem?): Fix typo.
1483         Reported by Peon de la Parra Ivan <peon@keba.com>
1485 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1487         [BZ #16882]
1488         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1489         (pthread_spin_lock): Branch out of spin loop to proper location.
1490         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1491         (pthread_spin_lock): Likewise.
1493         * nptl/tst-spin4.c: New test.
1494         * nptl/Makefile (tests): Add tst-spin4.
1496 2014-06-03  Andreas Schwab  <schwab@suse.de>
1498         [BZ #15946]
1499         * resolv/res_send.c (send_dg): Reload file descriptor after
1500         calling reopen.
1502 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1504         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1506 2014-06-03  Richard Henderson  <rth@redhat.com>
1508         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1509         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1510         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1511         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1512         in the SAVE_PID block.
1513         (__libc_vfork): New alias.
1514         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1516         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1517         child in registers, not on the stack.  Remove RESET_PID conditionals.
1518         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1520 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1522         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1524 2014-06-03  Wilco  <wdijkstr@arm.com>
1526         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1527         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1528         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1529         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1530         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1531         Likewise.
1533 2014-06-03  Wilco  <wdijkstr@arm.com>
1535         * sysdeps/aarch64/fpu/math_private.h
1536         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1537         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1538         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1539         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1540         Fix declarations.
1542 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1544         * crypt/crypt-private.h: Include ufc-crypt.h.
1545         (__b64_from_24bit): Declare extern.
1546         * crypt/crypt_util.c(__b64_from_24bit): New function.
1547         (b64t): New static const variable.
1548         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1549         (b64t): Remove variable.
1550         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1551         * crypt/sha256-crypt.c: Include crypt-private.h.
1552         (b64t): Remove variable.
1553         (__sha256_crypt_r): Remove b64_from_24bit and replace
1554         with __b64_from_24bit.
1555         * crypt/sha512-crypt.c: Likewise.
1557 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1559         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1560         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1561         Label the code __libc_vfork rather than __vfork.
1562         [!NOT_IN_libc] (vfork): Define as weak alias.
1563         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1564         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1565         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1567 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1569         * malloc/malloc.c (malloc_info): Fix format specifier for
1570         n_mmaps.
1572 2014-06-02  Wilco  <wdijkstr@arm.com>
1574         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1575         FPCR write.
1577 2014-06-02  Wilco  <wdijkstr@arm.com>
1579         [BZ #17009]
1580         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1581         Rewrite to reduce FPCR/FPSR accesses.
1583 2014-06-01  David S. Miller  <davem@davemloft.net>
1585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1587 2014-05-31  David S. Miller  <davem@davemloft.net>
1589         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1590         to occur in round to nearest mode when |x| >= 2.0
1592 2014-05-30  Richard Henderson  <rth@twiddle.net>
1594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1595         (PSEUDO_RET_NOERRNO): Remove.
1596         (ret): Don't redefine.
1597         (ret_NOERRNO): Define in terms of ret.
1598         (ret_ERRVAL): Likewise.
1600         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1601         use of PSEUDO_RET; perform the error check directly.
1603 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1605         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1606         with __int128_t.
1608 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1610         * malloc/malloc (malloc_info): Fix formatting.
1612 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1613             Roland McGrath  <roland@hack.frob.com>
1615         * malloc/malloc (malloc_info): Also print mmapped statistics.
1617 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1619         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1620         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1622 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1624         * malloc/malloc.c (malloc_info): Inline mi_arena.
1626 2014-05-29  Richard Henderson  <rth@twiddle.net>
1628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1629         Remove comma before expanding ASM_ARGS_##nr.
1630         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1631         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1632         of ASM_ARGS_##nr.
1633         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1634         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1635         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1636         (ASM_ARGS_1): Add leading comma.
1638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1639         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1640         to __errno_location.
1641         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1642         Remove the expected plt for __errno_location.
1644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1645         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1646         call to __read_tp.
1648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1649         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1650         it and break it down.
1651         (DOCARGS_0, DOCARGS_1): Do nothing.
1652         (DOCARGS_2): Update to store into the new stack frame.
1653         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1654         (UNDOCARGS_1): Update to restore from the new stack frame.
1655         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1656         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1659         (SINGLE_THREAD_P): New parameter for result regno.
1660         (PSEUDO): Update to match; use cbz instead of beq.
1662         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1663         Use ENTRY to define the _nocancel entry point.  Share the syscall
1664         and syscall error check paths with the cancel path.
1665         (PSEUDO_END): New.
1667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1668         whitespace; tabs before and after asm mnemonics.
1670 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1672         [BZ #15132]
1673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1674         Call fstat64 or stat64 internally, depending on arguments passed.
1675         Replace stat buffer argument with file descriptor argument.
1676         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1677         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1678         Pass fd to __internal_statvfs instead of calling fstat64.
1679         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1680         Pass fd to __internal_statvfs64 instead of calling fstat64.
1681         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1682         Pass -1 to __internal_statvfs instead of calling stat64.
1683         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1684         Pass -1 to __internal_statvfs64 instead of calling stat64.
1686 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1688         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1689         that was previously under [RESET_PID].
1690         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1692         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1693         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1695 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1697         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1699         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1700         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1702 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1704         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1706 2014-05-27  Andreas Schwab  <schwab@suse.de>
1708         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1709         TLS_INIT_TP macro.
1710         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1711         * elf/rtld.c (init_tls, dl_main): Likewise.
1712         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1713         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1714         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1715         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1716         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1717         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1718         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1719         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1720         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1721         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1722         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1723         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1724         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1725         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1726         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1727         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1728         * sysdeps/generic/tls.h: Update description.
1730 2014-05-27  Will Newton  <will.newton@linaro.org>
1732         [BZ #16990]
1733         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1734         and restore r2 rather than just restoring.
1736 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1738         [BZ #16724]
1739         * libio/tst-ftell-append.c: New test case.
1740         * libio/Makefile (tests): Add test case.
1741         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1742         append mode.
1743         * libio/wfileops.c (do_ftell_wide): Likewise.
1745 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1749         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1750         ...
1751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1753         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1754         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1756         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1757         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1760         Moved ...
1761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1763         Moved ...
1764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1765         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1766         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1767         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1768         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1769         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1770         ...
1771         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1772         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1773         Moved ...
1774         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1775         here.
1776         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1777         ...
1778         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1779         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1780         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1783         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1785         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1788         merge into ...
1789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1791         ...
1792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1794         ...
1795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1797         Moved ...
1798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1799         here.
1800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1801         Moved ...
1802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1804         Moved ...
1805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1808         conditional [RESET_PID].
1809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1811         removed.
1812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1813         removed.
1815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1816         <tcb-offsets.h>.
1817         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1818         (__libc_vfork): New strong alias.
1819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1820         removed.
1821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1822         Removed.
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1825         <tcb-offsets.h>.
1826         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1827         (__libc_vfork): New strong alias.
1828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1829         removed.
1830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1831         removed.
1833 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1835         * malloc/malloc.c (mi_arena): New function.
1836         (malloc_info): Remove nested function mi_arena. Call non-nosted
1837         function mi_arena.
1839 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1841         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1842         by insrwi.
1843         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1844         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1845         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1846         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1847         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1848         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1851 2014-05-26  Andreas Schwab  <schwab@suse.de>
1853         [BZ #16984]
1854         * locale/programs/repertoire.c (repertoire_read): Add slash
1855         between I18NPATH element and file name.
1856         * locale/programs/locfile.c (locfile_read): Likewise.
1858 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1860         * nptl/pthread_mutexattr_settype.c
1861         (__pthread_mutexattr_settype):
1862         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1864 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1866         * nptl/tst-mutex5 (do_test):
1867         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1869 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1871         * benchtests/README: Document 'init' directive.
1872         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1873         BENCH_INIT.
1874         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1875         (parse_file): Recognize 'init' directive.
1877 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1879         [BZ #16796]
1880         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1881         alignment of struct pthread.
1883 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1885         [BZ #16878]
1886         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1887         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1888         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1889         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1891 2014-05-25  Richard Henderson  <rth@twiddle.net>
1893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1894         (SINGLE_THREAD_P_PIC): Remove.
1895         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1896         (SINGLE_THREAD_P_PIC): Remove.
1898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1899         branch to syscall error ...
1900         (PSEUDO): ... here.
1901         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1902         from __local_syscall_error to .Lsyscall_error.
1903         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1904         (SYSCALL_ERROR): Update label name.
1906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1907         Do not use DOARGS/UNDOARGS.
1908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1909         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1910         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1911         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1912         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1915         block comment.
1917         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1918         define if !NOT_IN_libc.
1919         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1920         define with non-default symbol versions.
1922 2014-05-23  Richard Henderson  <rth@twiddle.net>
1924         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
1925         (vfork, __vfork): Define via compat_symbol.
1927         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
1928         [!HAVE_IFUNC] (vfork_compat): Remove.
1929         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
1931 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
1933         [BZ #16978]
1934         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
1935         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
1936         variable.
1938 2014-05-23  Richard Henderson  <rth@twiddle.net>
1940         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
1941         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
1942         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
1943         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
1945         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
1946         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
1947         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
1948         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
1949         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
1950         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
1951         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
1952         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
1953         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
1954         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
1955         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
1956         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
1957         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
1958         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
1959         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
1960         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
1961         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
1962         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
1963         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
1964         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
1965         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
1966         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
1967         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
1968         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
1969         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
1970         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
1971         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
1972         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
1973         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
1974         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
1975         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
1976         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
1977         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
1978         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
1979         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
1980         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
1981         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
1982         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
1983         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
1984         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
1985         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
1986         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
1987         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
1988         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
1989         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
1990         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
1991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
1992         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
1993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
1994         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
1995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
1996         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
1997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
1998         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
1999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2000         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2002         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2003         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2004         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2005         before exiting on error.
2006         (__libc_vfork): New strong alias.
2007         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2008         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2010         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2011         that was previously under [RESET_PID].
2012         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2014         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2016 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2018         [BZ #16977]
2019         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2020         value when x - 1 is zero.
2021         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2022         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2023         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2024         0.0L for an argument of 1.0L.
2025         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2026         Likewise.
2027         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2028         value when x - 1 is zero.
2029         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2030         * sysdeps/i386/fpu/libm-test-ulps: Update.
2031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2033 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2035         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2036         alphasort and versionsort.
2038 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2040         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2041         macro.
2042         [copysignf]: Likewise.
2044 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2046         * crypt/md5-crypt.c: Fix formatting.
2048 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2050         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2051         (b64_from_24bit): New function.
2053 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2055         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2056         libc_hidden_builtin_def to ifunc.
2057         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2058         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2060 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2062         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2063         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2065 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2067         * nscd/Depend (linuxthreads): Remove.
2068         (nptl): Add.
2069         * resolv/Depend (linuxthreads): Remove.
2070         * rt/Depend (linuxthreads): Remove.
2072         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2073         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2074         $(common-objpfx)elf/.
2075         (link-libc-before-gnulib): Likewise.
2076         (elfobjdir): Remove variable.
2077         * Makefile (install): Use $(elf-objpfx) instead of
2078         $(common-objpfx)elf/.
2079         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2080         $(elfobjdir)/.
2081         (link-libc-deps): Likewise.
2082         ($(common-objpfx)libc.so): Likewise.
2083         ($(common-objpfx)linkobj/libc.so): Likewise.
2084         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2085         instead of $(common-objpfx)elf/.
2086         (symbolic-link-list): Likewise.
2087         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2088         [$(cross-compiling) = no]: Likewise.
2089         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2090         $(elfobjdir)/.
2091         (static-gnulib-arch): Likewise.
2092         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2093         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2094         $(common-objpfx)elf/.
2096 2014-05-21  Richard Henderson  <rth@redhat.com>
2098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2099         (SINGLE_THREAD_P): Use the correct width load.  Fold
2100         into the ldr offset.
2102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2103         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2105 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2107         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2108         (libgcc_s_resume): Use __attribute_used__.
2109         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2110         Likewise.
2112 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2114         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2115         optimization when used with float constants.
2117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2119 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2121         [BZ #16915]
2122         * locale/nl_langinfo_l.c: Make direct reference to every
2123         _nl_current_CATEGORY symbol.
2124         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2125         (tests-static): Add tst-langinfo-static.
2126         (tests-special): Add tst-langinfo-static.out.
2127         ($(objpfx)tst-langinfo.out): Redirect output.
2128         ($(objpfx)tst-langinfo-static.out): New.
2129         * localedata/tst-langinfo.sh: Send output to stdout.
2130         * localedata/tst-langinfo-static.c: New file.
2132         [BZ #16965]
2133         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2134         when the shift amount is modulo the limb size.
2136 2014-05-20  Richard Henderson  <rth@redhat.com>
2138         [BZ #16967]
2139         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2140         Change type of sa_flags from unsigned int to int.
2142         [BZ #16966]
2143         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2145         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2147 2014-05-20  Will Newton  <will.newton@linaro.org>
2149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2150         Test the return value of the system call in the nocancel case.
2152 2014-05-20  Will Newton  <will.newton@linaro.org>
2153             Yvan Roux  <yvan.roux@linaro.org>
2155         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2156         #include of asm/ptrace.h.
2157         (PTRACE_GET_THREAD_AREA): Remove #undef.
2158         (PTRACE_GETHBPREGS): Likewise.
2159         (PTRACE_SETHBPREGS): Likewise.
2160         (struct user_regs_struct): New structure.
2161         (struct user_fpsimd_struct): New structure.
2162         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2163         #include of asm/ptrace.h and second #include of sys/user.h.
2164         (PTRACE_GET_THREAD_AREA): Remove #undef.
2165         (PTRACE_GETHBPREGS): Likewise.
2166         (PTRACE_SETHBPREGS): Likewise.
2167         (ELF_NGREG): Use new struct user_regs_struct.
2168         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2170 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2175 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2177         [BZ #16958]
2178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2179         membar to avoid block loads/stores to overlap previous stores.
2181 2014-05-17  Richard Henderson  <rth@redhat.com>
2183         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2184         Create the __##syscall_name##_nocancel entry point.
2185         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2186         Remove; let the sysdep-cancel.h code create it.
2188 2014-05-17  David S. Miller  <davem@davemloft.net>
2190         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2191         Protect with __USE_GNU.
2192         (TIOCSET_TEMPT): Likewise.
2193         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2194         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2195         these are already provided in bits/ioctl-types.h
2197 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2199         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2200         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2202         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2203         Use wait4 regardless of [__NR_waitpid].
2205 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2207         PR libgcc/60166
2208         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2209         (_FP_NANSIGN_Q): Set the quiet bit.
2211 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2213         * benchtests/Makefile
2214         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2215         not $(common-objpfx)math/libm.so.
2216         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2217         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2218         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2219         $(common-objpfx)dlfcn/libdl.so.
2220         ($(objpfx)tst-audit8): Depend on $(libm), not
2221         $(common-objpfx)math/libm.so.
2222         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2223         not $(common-objpfx)dlfcn/libdl.so.
2224         * math/Makefile
2225         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2226         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2227         [$(build-shared) = yes].
2228         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2229         $(common-objpfx)nptl/libpthread.so.
2230         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2231         $(common-objpfx)math/libm.so$(libm.so-version) or
2232         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2233         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2234         $(common-objpfx)dlfcn/libdl.so.
2235         * setjmp/Makefile (link-libm): Remove variable.
2236         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2237         * stdio-common/Makefile (link-libm): Remove variable.
2238         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2239         * stdlib/Makefile (link-libm): Remove variable.
2240         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2241         ($(objpfx)tst-strtod-round): Likewise.
2242         ($(objpfx)tst-tininess): Likewise.
2243         ($(objpfx)tst-strtod-underflow): Likewise.
2244         ($(objpfx)tst-strtod6): Likewise.
2245         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2246         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2247         $(common-objpfx)dlfcn/libdl.so.
2249 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2251         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2252         BSD terminal modes definitions.
2254 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2256         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2257         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2259         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2260         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2261         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2262         Don't do #include_next.
2263         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2264         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2265         Don't do #include_next.
2266         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2267         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2268         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2269         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2271 2014-05-16  Allan McRae  <allan@archlinux.org>
2273         * po/sv.po: Update Swedish translation from translation project.
2275         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2276         in sed expression.
2278 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2280         [BZ #16917]
2281         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2282         errno if the TIOCGPTN ioctl fails with an error different than
2283         EINVAL.
2284         * login/tst-ptsname.c: New file.
2285         * login/Makefile (tests): Add tst-ptsname.
2287         [BZ #16943]
2288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2289         and prlimit64.
2291 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2293         [BZ #16849]
2294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2295         herrno to return EAI_AGAIN.
2297 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2299         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2300         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2301         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2302         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2303         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2304         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2305         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2306         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2308         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2309         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2310         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2311         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2312         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2313         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2314         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2315         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2316         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2317         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2318         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2319         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2320         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2321         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2322         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2323         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2324         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2325         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2326         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2327         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2328         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2330         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2332         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2334         Moved ...
2335         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2337         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2339         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2341         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2343         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2347         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2349         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2351         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2353         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2355         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2357         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2359         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2361         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2363         Moved ...
2364         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2366         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2368         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2370         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2372         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2374         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2376         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2380         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2387         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2389         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2390         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2391         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2392         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2393         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2394         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2395         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2396         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2397         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2398         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2399         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2400         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2401         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2402         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2403         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2404         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2405         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2406         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2407         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2408         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2409         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2410         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2411         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2412         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2413         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2414         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2415         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2416         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2417         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2418         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2419         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2421         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2422         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2424         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2425         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2426         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2427         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2428         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2430         Moved ...
2431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2433         Moved ...
2434         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2435         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2436         Moved ...
2437         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2439         Moved ...
2440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2441         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2442         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2444         Moved ...
2445         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2446         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2447         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2449         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2450         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2451         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2453         Moved ...
2454         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2456         Moved ...
2457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2458         ... here.
2459         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2460         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2461         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2462         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2463         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2464         Moved ...
2465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2466         ... here.
2467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2468         Moved ...
2469         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2470         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2471         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2473         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2475         Moved ...
2476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2478         Moved ...
2479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2480         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2481         Moved ...
2482         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2484         Moved ...
2485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2486         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2487         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2491         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2492         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2494         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2495         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2496         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2498         Moved ...
2499         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2501         Moved ...
2502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2503         ... here.
2504         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2505         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2506         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2507         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2509         Moved ...
2510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2511         ... here.
2512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2513         Moved ...
2514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2515         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2516         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2517         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2518         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2519         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2521         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2522         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2524         Moved ...
2525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2527         Moved ...
2528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2530         Moved ...
2531         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2533         Moved ...
2534         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2535         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2536         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2537         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2538         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2540         Moved ...
2541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2542         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2543         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2544         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2545         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2546         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2547         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2548         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2549         Moved ...
2550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2551         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2552         Moved ...
2553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2554         ... here.
2555         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2556         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2557         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2558         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2560         Moved ...
2561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2562         ... here.
2563         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2564         Moved ...
2565         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2566         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2567         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2568         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2569         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2570         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2571         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2573         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2574         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2575         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2577         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2578         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2580         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2581         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2583         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2584         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2585         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2586         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2587         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2588         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2589         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2590         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2591         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2592         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2594         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2595         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2596         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2597         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2599         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2601         Moved ...
2602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2604         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2606         Moved ...
2607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2609         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2611         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2613         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2615         Moved ...
2616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2618         Moved ...
2619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2621         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2623         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2625         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2626         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2627         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2628         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2629         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2630         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2631         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2632         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2633         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2634         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2635         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2637         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2638         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2639         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2640         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2641         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2643         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2644         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2645         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2646         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2647         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2648         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2649         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2650         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2651         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2652         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2657         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2658         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2659         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2660         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2661         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2662         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2663         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2664         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2665         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2666         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2667         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2668         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2669         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2670         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2672         Update #include.
2673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2674         Likewise.
2675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2676         Likewise.
2677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2678         Likewise.
2679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2680         Likewise.
2681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2682         Likewise.
2683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2684         Likewise.
2685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2686         Likewise.
2687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2688         Likewise.
2689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2690         Likewise.
2691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2707         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2708         that was previously under [RESET_PID].
2709         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2710         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2711         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2713         * sysdeps/i386/nptl/Implies: New file.
2714         * sysdeps/x86_64/nptl/Implies: New file.
2715         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2716         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2717         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2718         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2720         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2721         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2722         (__libc_vfork): New strong alias.
2723         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2724         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2726         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2728         (__libc_vfork): New strong alias.
2729         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2730         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2732         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2733         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2734         (__libc_vfork): New strong alias.
2735         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2736         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2737         * nptl/pt-vfork.c: New file.
2738         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2739         (libpthread: GLIBC_2.20): New version set (empty).
2741 2014-05-14  Will Newton  <will.newton@linaro.org>
2743         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2744         rather than #if.
2746 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2748         [BZ #16564]
2749         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2750         arguments with exponent 65 or above.
2751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2752         arguments 0x1p113L or above.
2753         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2754         to arguments 0x1p107L or above.
2755         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2756         positive arguments with exponent 65 or above.
2757         * math/auto-libm-test-in: Add more tests of log1p.
2758         * math/auto-libm-test-out: Regenerated.
2760         [BZ #16928]
2761         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2762         non-finite arguments is +0.
2763         * math/s_cacosf.c (__cacosf): Likewise.
2764         * math/s_cacosl.c (__cacosl): Likewise.
2765         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2766         * sysdeps/i386/fpu/libm-test-ulps: Update.
2767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2769         [BZ #16927]
2770         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2771         value.
2772         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2773         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2774         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2775         for explicit high bit of mantissa when testing for argument equal
2776         to 1.
2777         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2778         * sysdeps/i386/fpu/libm-test-ulps: Update.
2779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2781         [BZ #16516]
2782         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2783         (__erf): Scale by 16 instead of 8 in potentially underflowing
2784         case.  Ensure exception if result actually underflows.
2785         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2786         (__erff): Scale by 16 instead of 8 in potentially underflowing
2787         case.  Ensure exception if result actually underflows.
2788         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2789         (efx8): Remove variable.
2790         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2791         case.  Ensure exception if result actually underflows.
2792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2793         (efx8): Remove variable.
2794         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2795         case.  Ensure exception if result actually underflows.
2796         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2797         (efx8): Remove variable.
2798         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2799         case.  Ensure exception if result actually underflows.
2800         * math/auto-libm-test-in: Add more tests of erf.
2801         * math/auto-libm-test-out: Regenerated.
2803 2014-05-14  Andreas Schwab  <schwab@suse.de>
2805         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2806         Remove code conditionalized on USE___THREAD.
2808         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2809         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2810         not definedness.
2812 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2815         Define unconditionally.
2816         (__ASSUME_O_CLOEXEC): Likewise.
2817         (__ASSUME_SOCK_CLOEXEC): Likewise.
2818         (__ASSUME_IN_NONBLOCK): Likewise.
2819         (__ASSUME_PIPE2): Likewise.
2820         (__ASSUME_EVENTFD2): Likewise.
2821         (__ASSUME_SIGNALFD4): Likewise.
2822         (__ASSUME_DUP3): Likewise.
2823         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2824         (__ASSUME_DUP3): Do not define.
2825         (__ASSUME_EVENTFD2): Likewise.
2826         (__ASSUME_IN_NONBLOCK): Likewise.
2827         (__ASSUME_O_CLOEXEC): Likewise.
2828         (__ASSUME_PIPE2): Likewise.
2829         (__ASSUME_SIGNALFD4): Likewise.
2830         (__ASSUME_SOCK_CLOEXEC): Likewise.
2831         (__ASSUME_UTIMES): Undefine.
2832         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2833         (__ASSUME_UTIMES): Do not define.
2834         (__ASSUME_O_CLOEXEC): Likewise.
2835         (__ASSUME_SOCK_CLOEXEC): Likewise.
2836         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2837         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2838         0x020621].
2839         (__ASSUME_PIPE2): Likewise.
2840         (__ASSUME_EVENTFD2): Likewise.
2841         (__ASSUME_SIGNALFD4): Likewise.
2842         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2843         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2844         Do not define.
2845         (__ASSUME_EVENTFD2): Likewise.
2846         (__ASSUME_SIGNALFD4): Likewise.
2847         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2848         (__ASSUME_32BITUIDS): Likewise.
2849         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2850         (__ASSUME_IPC64): Likewise.
2851         (__ASSUME_ST_INO_64_BIT): Likewise.
2852         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2853         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2854         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2855         (__ASSUME_UTIMES): Do not define.
2856         (__ASSUME_PSELECT): Likewise.
2857         (__ASSUME_PPOLL): Likewise.
2858         (__ASSUME_O_CLOEXEC): Likewise.
2859         (__ASSUME_SOCK_CLOEXEC): Likewise.
2860         (__ASSUME_IN_NONBLOCK): Likewise.
2861         (__ASSUME_PIPE2): Likewise.
2862         (__ASSUME_EVENTFD2): Likewise.
2863         (__ASSUME_SIGNALFD4): Likewise.
2864         (__ASSUME_DUP3): Likewise.
2865         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2866         (__ASSUME_UTIMES): Likewise.
2867         (__ASSUME_O_CLOEXEC): Likewise.
2868         (__ASSUME_SOCK_CLOEXEC): Likewise.
2869         (__ASSUME_IN_NONBLOCK): Likewise.
2870         (__ASSUME_PIPE2): Likewise.
2871         (__ASSUME_EVENTFD2): Likewise.
2872         (__ASSUME_SIGNALFD4): Likewise.
2873         (__ASSUME_DUP3): Likewise.
2874         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2875         (__ASSUME_UTIMES): Likewise.
2876         (__ASSUME_O_CLOEXEC): Likewise.
2877         (__ASSUME_SOCK_CLOEXEC): Likewise.
2878         (__ASSUME_IN_NONBLOCK): Likewise.
2879         (__ASSUME_PIPE2): Likewise.
2880         (__ASSUME_EVENTFD2): Likewise.
2881         (__ASSUME_SIGNALFD4): Likewise.
2882         (__ASSUME_DUP3): Likewise.
2883         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2884         Likewise.
2885         (__ASSUME_UTIMES): Likewise.
2886         (__ASSUME_EVENTFD2): Likewise.
2887         (__ASSUME_SIGNALFD4): Likewise.
2888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2889         (__ASSUME_O_CLOEXEC): Likewise.
2890         (__ASSUME_SOCK_CLOEXEC): Likewise.
2891         (__ASSUME_IN_NONBLOCK): Likewise.
2892         (__ASSUME_PIPE2): Likewise.
2893         (__ASSUME_EVENTFD2): Likewise.
2894         (__ASSUME_SIGNALFD4): Likewise.
2895         (__ASSUME_DUP3): Likewise.
2896         (__ASSUME_UTIMES): Undefine.
2898         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2899         feclearexcept.  Remove symbol versioning code.
2900         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2901         symbol versioning code.
2902         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2903         symbol versioning code.
2904         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2905         feupdateenv.  Remove symbol versioning code.
2906         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2907         fegetexceptflag.  Remove symbol versioning code.
2908         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2909         fesetexceptflag.  Remove symbol versioning code.
2910         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2911         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2912         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2913         (__posix_fadvise64_l32): Remove prototype.
2914         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2915         code.
2917 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2919         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2920         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2921         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2922         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2924 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
2926         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
2927         current working directory
2929 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2931         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
2932         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
2933         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
2934         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
2935         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
2936         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
2937         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
2938         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
2939         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
2940         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
2941         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
2942         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
2943         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
2944         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
2945         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
2946         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
2947         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
2948         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
2949         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
2950         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
2951         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
2952         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
2953         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
2954         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
2955         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
2956         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
2957         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
2958         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
2959         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
2960         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
2961         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
2962         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
2963         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
2964         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
2965         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
2966         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
2967         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
2968         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
2969         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
2970         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
2971         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
2972         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
2974         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
2975         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
2977         * sysdeps/unix/sysv/linux/arm/Makefile
2978         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2979         Add rt-aeabi_unwind_cpp_pr1.
2980         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
2981         Add nptl-aeabi_unwind_cpp_pr1.
2982         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
2983         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
2984         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
2985         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
2986         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
2987         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
2989         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
2990         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
2991         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
2992         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
2994         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
2995         Deconditionalize the code that was previously under [RESET_PID].
2996         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
2998         * sysdeps/generic/exit-thread.h: New file.
2999         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3000         * include/unistd.h (__exit_thread): Remove declaration.
3001         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3002         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3003         * csu/libc-start.c: Include <exit-thread.h>.
3004         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3005         * nptl/pthread_create.c: Include <exit-thread.h>.
3006         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3007         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3008         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3009         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3010         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3011         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3012         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3013         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3014         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3015         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3016         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3017         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3018         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3019         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3020         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3021         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3022         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3024 2014-05-13  Andreas Schwab  <schwab@suse.de>
3026         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3028 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3030         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3031         (__ASSUME_UTIMES): Do not condition on kernel version.
3032         (__ASSUME_PSELECT): Define unconditionally.
3033         (__ASSUME_PPOLL): Likewise.
3034         (__ASSUME_ATFCTS): Likewise.
3035         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3036         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3037         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3038         (__ASSUME_UTIMENSAT): Define unconditionally.
3039         (__ASSUME_PRIVATE_FUTEX): Likewise.
3040         (__ASSUME_FALLOCATE): Likewise.
3041         (__ASSUME_O_CLOEXEC): Likewise.
3042         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3043         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3044         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3045         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3046         (__ASSUME_IN_NONBLOCK): Likewise.
3047         (__ASSUME_PIPE2): Likewise.
3048         (__ASSUME_EVENTFD2): Likewise.
3049         (__ASSUME_SIGNALFD4): Likewise.
3050         (__ASSUME_DUP3): Likewise.
3051         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3052         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3053         (__ASSUME_AT_RANDOM): Likewise.
3054         (__ASSUME_PREADV): Likewise.
3055         (__ASSUME_PWRITEV): Likewise.
3056         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3057         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3058         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3059         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3060         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3062         (__ASSUME_O_CLOEXEC): Define unconditionally.
3063         (__ASSUME_PSELECT): Do not undefine conditionally.
3064         (__ASSUME_PPOLL): Likewise.
3065         (__ASSUME_ATFCTS): Likewise.
3066         (__ASSUME_SET_ROBUST_LIST): Likewise.
3067         (__ASSUME_UTIMENSAT): Likewise.
3068         (__ASSUME_FDATASYNC): Define unconditionally.
3069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3070         (__ASSUME_SIGFRAME_V2): Likewise.
3071         )__ASSUME_EVENTFD2): Likewise.
3072         (__ASSUME_SIGNALFD4): Likewise.
3073         (__ASSUME_PSELECT): Do not undefine conditionally.
3074         (__ASSUME_PPOLL): Likewise.
3075         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3076         (__ASSUME_PSELECT): Define unconditionally.
3077         (__ASSUME_PPOLL): Likewise.
3078         (__ASSUME_O_CLOEXEC): Likewise.
3079         (__ASSUME_SOCK_CLOEXEC): Likewise.
3080         (__ASSUME_IN_NONBLOCK): Likewise.
3081         (__ASSUME_PIPE2): Likewise.
3082         (__ASSUME_EVENTFD2): Likewise.
3083         (__ASSUME_SIGNALFD4): Likewise.
3084         (__ASSUME_DUP3): Likewise.
3085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3086         (__ASSUME_O_CLOEXEC): Likewise.
3087         (__ASSUME_SOCK_CLOEXEC): Likewise.
3088         (__ASSUME_IN_NONBLOCK): Likewise.
3089         (__ASSUME_PIPE2): Likewise.
3090         (__ASSUME_EVENTFD2): Likewise.
3091         (__ASSUME_SIGNALFD4): Likewise.
3092         (__ASSUME_DUP3): Likewise.
3093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3094         (__ASSUME_EVENTFD2): Likewise.
3095         (__ASSUME_SIGNALFD4): Likewise.
3096         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3098 2014-05-12  Andreas Schwab  <schwab@suse.de>
3100         [BZ #16932]
3101         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3102         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3103         than maximum RPC packet size.
3104         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3105         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3106         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3107         (_nss_nis_getservbyport_r): Likewise.
3109 2014-05-12  Will Newton  <will.newton@linaro.org>
3111         * malloc/Makefile (tests): Add tst-mallopt.
3112         * malloc/tst-mallopt.c: New file.
3114 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3116         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3117         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3119 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3121         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3122         (tst-tlsmod6.so): Likewise.
3124 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3126         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3128 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3130         [BZ #16064]
3131         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3132         and <dl-procinfo.h>.
3133         (__fegetenv): Save SSE state in envp->__eip if supported.
3134         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3135         envp->__eip if supported.
3136         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3137         and <dl-procinfo.h>.
3138         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3139         __data_offset and __data_selector in environment to 0.  Set SSE
3140         state if supported.
3141         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3142         test-fenv-sse.
3143         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3144         -mfpmath=sse.
3145         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3147 2014-05-09  Will Newton  <will.newton@linaro.org>
3149         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3150         and libc_relro_required for ARM.
3151         * sysdeps/arm/preconfigure: Regenerate.
3153 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3154             Stefan Liebler  <stli@linux.vnet.ibm.com>
3156         * config.make.in (enable-lock-elision): New Makefile variable.
3157         * configure.ac: Likewise.
3158         * configure: Regenerate.
3159         * sysdeps/s390/configure.ac:
3160         Add check for gcc transactions support.
3161         * sysdeps/s390/configure: Regenerate.
3162         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3163         Build elision files if enabled.
3164         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3165         Add lock elision support for s390.
3166         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3167         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3168         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3169         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3170         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3171         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3173         Likewise.
3174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3175         Likewise.
3176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3177         Likewise.
3178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3179         Likewise.
3180         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3181         (__lll_timedlock_elision, __lll_lock_elision)
3182         (__lll_unlock_elision, __lll_trylock_elision)
3183         (lll_timedlock_elision, lll_lock_elision)
3184         (lll_unlock_elision, lll_trylock_elision): Add.
3185         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3186         (pthread_mutex_t): Add lock elision support for s390.
3188 2014-05-14  Wilco  <wdijkstr@arm.com>
3190         * sysdeps/arm/fclrexcpt.c: Cleanup.
3191         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3192         * sysdeps/arm/feenablxcpt.c: Cleanup.
3193         * sysdeps/arm/fegetenv.c: Cleanup.
3194         * sysdeps/arm/fegetexcept.c: Cleanup.
3195         * sysdeps/arm/fegetround.c: Cleanup.
3196         * sysdeps/arm/feholdexcpt.c: Cleanup.
3197         * sysdeps/arm/fesetenv.c: Cleanup.
3198         * sysdeps/arm/fesetround.c: Cleanup.
3199         * sysdeps/arm/feupdateenv.c: Cleanup.
3200         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3201         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3202         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3203         * sysdeps/arm/ftestexcept.c: Cleanup.
3204         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3205         * sysdeps/arm/setfpucw.c: Cleanup.
3207 2014-05-09  Will Newton  <will.newton@linaro.org>
3209         * sysdeps/arm/armv7/strcmp.S: New file.
3210         * NEWS: Mention addition of ARMv7 optimized strcmp.
3212 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3214         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3215         look for %.ac rather than %.in.
3217         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3218         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3219         * sysdeps/mach/hurd/configure: Regenerated.
3220         * sysdeps/unix/sysv/linux/configure: Regenerated.
3222         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3224 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3226         [BZ# 16922]
3227         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3228         (LONG_SUB): Ditto.
3229         (PTR_SUB): Ditto.
3231 2014-05-07  Andreas Schwab  <schwab@suse.de>
3233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3234         when skipping over non-matching result from nscd.
3236 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3238         [BZ #16876]
3239         * nptl/sockperf.c (client): Check socket return value.
3241         [BZ #16877]
3242         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3243         nscd security class.
3245 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3247         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3248         * sysdeps/arm/unwind.h: ... here.
3250 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3252         [BZ# 16916]
3253         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3254         Define.
3256 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3258         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3259         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3260         multiarch strncpy for PPC64.
3261         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3262         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3264         multiarch optimizations.
3265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3266         (__libc_ifunc_impl_list): Likewise.
3267         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3268         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3269         multiarch stpncpy for PPC64.
3270         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3273 2014-05-06  Andreas Schwab  <schwab@suse.de>
3275         [BZ #16912]
3276         * gmon/mcount.c (_MCOUNT_DECL): Use
3277         atomic_compare_and_exchange_bool_acq instead of
3278         catomic_compare_and_exchange_bool_acq.
3280 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3282         * elf/Makefile (others, install-bin): Remove pldd.
3283         (pldd-modules): Variable removed.
3284         ($(objpfx)pldd): Target removed.
3285         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3286         (others, install-bin): Append pldd here.
3287         ($(objpfx)pldd): New target.
3289         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3290         to 0, so the first #if test emitted later doesn't see it undefined.
3291         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3292         * sysdeps/gnu/errlist.c: Regenerated.
3294 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3296         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3297         [libc_hidden_builtin_def]: Define to empty value.
3298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3299         [libc_hidden_builtin_def]: Likewise.
3300         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3301         [libc_hidden_builtin_def]: Likewise.
3302         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3303         [libc_hidden_builtin_def]: Likewise.
3304         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3305         __redirect_memcpy and define ifunc as default hidden symbol.
3306         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3307         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3309 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3311         * locale/iso-4217.def: Reintroduce XDR currency.
3313 2014-05-04  Allan McRae  <allan@archlinux.org>
3315         * po/eo.po: Update Esperanto translation from translation project.
3317 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3319         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3320         and FEATURE_INDEX_MAX to 1.
3321         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3323 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3325         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3326         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3327         * iconvdata/big5.c (ONE_DIRECTION): Define.
3328         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3329         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3330         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3331         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3332         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3333         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3334         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3335         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3336         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3337         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3338         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3339         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3340         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3341         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3342         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3343         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3344         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3345         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3346         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3347         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3348         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3349         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3350         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3351         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3352         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3353         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3354         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3355         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3356         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3357         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3358         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3359         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3360         * iconvdata/johab.c (ONE_DIRECTION): Define.
3361         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3362         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3363         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3364         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3365         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3366         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3367         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3368         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3369         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3370         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3372 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3374         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3375         (_IO_JUMPS_OFFSET): Define to 0.
3377         * nptl/sysdeps/pthread/bits/libc-lock.h
3378         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3379         (__libc_lock_define_initialized_recursive): Always define using
3380         initializer.  Modern compilers treat uninitialized (implicit zero) and
3381         explicit zero initializers the same (i.e. put the datum in bss).
3383 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3385         * nscd/nscd-client.h: Include <string.h>.
3387 2014-05-01  David S. Miller  <davem@davemloft.net>
3389         [BZ #16885]
3390         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3391         multiple zero bytes exist at the end of a string.
3392         Reported by Aurelien Jarno <aurelien@aurel32.net>
3394         * string/test-strcmp.c (check): Add explicit test for situations where
3395         there are multiple zero bytes after the first.
3397 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3399         [BZ #16890]
3400         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3401         when compiling wprintf.
3402         * stdio-common/tstdiomisc.c (t3): New function.
3403         (main): Call it.
3405 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3407         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3408         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3409         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3410         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3412 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3414         * stdlib/longlong.h: Updated from GCC.
3416 2014-05-01  Will Newton  <will.newton@linaro.org>
3417             Bernard Ogden  <bernie.ogden@linaro.org>
3419         * NEWS: Update fixed bug list.
3421         [BZ #15119]
3422         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3424 2014-04-30  David S. Miller  <davem@davemloft.net>
3426         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3427         (libc_feholdexcept_setround_sparc_ctx): New function.
3428         (libc_fesetenv_sparc_ctx): Likewise.
3429         (libc_feupdateenv_sparc_ctx): Likewise.
3430         (libc_feholdsetround_sparc_ctx): Likewise.
3431         (libc_feholdexcept_setround_ctx): Define.
3432         (libc_feholdexcept_setroundf_ctx): Likewise.
3433         (libc_feholdexcept_setroundl_ctx): Likewise.
3434         (libc_fesetenv_ctx): Likewise.
3435         (libc_fesetenvf_ctx): Likewise.
3436         (libc_fesetenvl_ctx): Likewise.
3437         (libc_feupdateenv_ctx): Likewise.
3438         (libc_feupdateenvf_ctx): Likewise.
3439         (libc_feupdateenvl_ctx): Likewise.
3440         (libc_feresetround_ctx): Likewise.
3441         (libc_feresetroundf_ctx): Likewise.
3442         (libc_feresetroundl_ctx): Likewise.
3443         (libc_feholdsetround_ctx): Likewise.
3444         (libc_feholdsetroundf_ctx): Likewise.
3445         (libc_feholdsetroundl_ctx): Likewise.
3447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3448         with __USE_GNU instead of XOPEN cpp guards.
3450         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3451         0.
3453         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3454         with XOPEN cpp guards.
3456 2014-04-30  Julian Brown  <julian@codesourcery.com>
3458         [BZ #16888]
3459         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3460         handling.
3462 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3464         [BZ #9894]
3465         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3466         Change to 2.6.32.
3467         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3468         * sysdeps/unix/sysv/linux/configure: Regenerated.
3469         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3470         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3471         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3472         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3473         * README: Update reference to required Linux kernel version.
3474         * manual/install.texi (Linux): Update reference to required Linux
3475         kernel headers version.
3476         * INSTALL: Regenerated.
3478         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3479         header inclusion.
3480         [POSIX] (limits.h): Likewise.
3481         [POSIX] (math.h): Likewise.
3482         [POSIX] (sys/wait.h): Likewise.
3483         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3484         function.
3485         [POSIX] (stddef.h): Do not allow header inclusion.
3487 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3489         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3491 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3493         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3494         Return immediately after lll_futex_wake.
3496 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3498         [BZ #16791]
3499         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3500         structure.
3501         (datahead_init_pos): Call datahead_init_common early.
3502         (datahead_init_neg): Likewise.
3504         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3505         datahead_init_neg): New functions.
3506         * nscd/aicache.c (addhstaiX): Use them.
3507         * nscd/grpcache.c (cache_addgr): Likewise.
3508         * nscd/hstcache.c (cache_addhst): Likewise.
3509         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3510         * nscd/netgroupcache.c (do_notfound): Likewise.
3511         (addgetnetgrentX): Likewise.
3512         (addinnetgrX): Likewise.
3513         * nscd/pwdcache.c (cache_addpw): Likewise.
3514         * nscd/servicescache.c (cache_addserv): Likewise.
3516 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3517             Atsushi Onoe  <atsushi@onoe.org>
3519         [BZ #14308]
3520         [BZ #12994]
3521         [BZ #13651]
3522         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3523         one response is valid.
3524         * resolv/res_send.c (send_dg): Check for validity of other
3525         response if the current response is a referral.
3527 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3529         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3531 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3533         [BZ #16823]
3534         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3535         Always divide by positive zero when computing -Inf result.
3536         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3537         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3539 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3541         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3542         FPSCR if value do not change.
3543         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3544         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3545         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3546         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3547         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3548         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3549         function.
3551 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3553         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3554         * sysdeps/unix/sysv/linux/hppa: Move directory from
3555         ports/systeps/unix/sysv/linux/hppa.
3556         * README: Update listing for hppa-*-linux-gnu.
3558 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3560         [BZ #16754]
3561         * manual/stdio.texi (Hook functions): Fix types of stream hook
3562         functions.
3563         [BZ #16854]
3564         * socket/sys/socket.h: Fix typo in comment.
3566 2014-04-28  Wilco  <wdijkstr@arm.com>
3568         * sysdeps/arm/fenv_private.h: New file.
3569         * sysdeps/arm/math_private.h: New file.
3570         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3572 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3574         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3575         with __int128_t.
3576         (La_x86_64_retval): Likewise.
3578 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3580         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3581         fpsr if value didn't change.
3582         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3583         to fpcr if value didn't change.
3584         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3585         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3586         fpsr or fpcr if value didn't change.
3587         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3588         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3589         fpcr if value didn't change.
3590         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3591         to fpsr if value didn't change.
3593 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3595         * nptl/tst-sem3.c: Use test-skeleton.c
3596         (main): Rename to do_test.  Use return instead of
3597         exit.
3598         * nptl/tst-sem4.c: Use test-skeleton.c
3599         (main): Rename to do_test.
3601 2014-04-22  David S. Miller  <davem@davemloft.net>
3603         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3604         (struct sigaction): New struct member __glibc_reserved0, change
3605         type of sa_flags to int.
3607 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3609         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3610         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3612 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3614         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3615         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3617 2014-04-22  Will Newton  <will.newton@linaro.org>
3618             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3620         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3621         (__longjmp): Add longjmp and longjmp_target SystemTap
3622         probes.
3623         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3624         (__sigsetjmp): Add setjmp SystemTap probe.
3626 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3628         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3629         match manual order.
3631 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3633         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3635         * sysdeps/powerpc/fpu/fenv_private.h
3636         (libc_feholdexcept_setroundl_ctx): Define to
3637         libc_feholdexcept_setround_ppc_ctx.
3638         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3639         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3640         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3641         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3643 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3645         * sysdeps/aarch64/math-tests.h: New file.
3647 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3649         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3650         New.
3651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3652         Check and set bit_AVX2_Usable.
3653         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3654         macro.
3655         (bit_AVX2): Likewise.
3656         (index_AVX2_Usable): Likewise.
3657         (CPUID_AVX2): Likewise.
3658         (HAS_AVX2): Likewise.
3660 2014-04-17  Will Newton  <will.newton@linaro.org>
3662         * manual/setjmp.texi (System V contexts): Add note that
3663         calling setcontext on a context created by a call to a
3664         signal handler is undefined.  Update text to note that
3665         setcontext from a signal handler is possible but not
3666         recommended.
3668         [BZ #16629]
3669         * stdlib/tst-setcontext.c: Include signal.h.
3670         (main): Check that the signal stack before and
3671         after swapcontext is the same.
3673         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3674         Re-implement to restore registers in user code and avoid
3675         rt_sigreturn system call.
3677 2014-04-17  Wilco  <wdijkstr@arm.com>
3679         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3680         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3681         * math/test-fenv.c: Skip exception trap tests on targets which only
3682         support non-stop mode.
3684 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3685             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3687         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3688         (libc_feholdsetround_aarch64_ctx)
3689         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3690         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3691         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3692         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3693         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3694         (libc_feresetround_noexl_ctx): Define.
3696 2014-04-16  Richard Henderson  <rth@redhat.com>
3698         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3700         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3701         unwind tables.
3703         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3704         const from the non-libc, non-ldso copy.
3706         * sysdeps/alpha/libm-test-ulps: Regenerate.
3708 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3709             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3711         * sysdeps/aarch64/fpu/math_private.h: New file.
3713 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3715         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3717 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3719         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3720         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3722         Intel MPX bound registers before _dl_profile_fixup.
3723         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3724         registers after _dl_profile_fixup.  Save and restore bound
3725         registers bnd0/bnd1 when calling _dl_call_pltexit.
3726         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3727         (LR_BND_OFFSET): Likewise.
3728         (LRV_BND0_OFFSET): Likewise.
3729         (LRV_BND1_OFFSET): Likewise.
3731 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3733         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3734         to...
3735         * sysdeps/mach/hurd/i386/tls.h: ... here.
3736         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3737         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3738         fields.
3740 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3742         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3744 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3746         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3748 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3750         [BZ #14770]
3751         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3752         * sysdeps/s390/configure: Regenerate.
3754         [BZ #16824]
3755         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3756         Set round-to-nearest internally to reduce error accumulation.
3758 2014-04-16  Alan Modra  <amodra@gmail.com>
3760         [BZ #16740]
3761         [BZ #16619]
3762         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3763         * math/libm-test.inc (frexp_test_data): Add tests.
3764         * NEWS: Update fixed bug list.
3766 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3768         * benchtests/Makefile: Depend on libraries in build directory.
3769         (bench-math): Separate out math tests.
3770         (bench-pthread): Separate out pthread tests.
3771         (bench): Include math and pthread tests.
3773 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3775         [BZ #16831]
3776         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3777         _dl_debug_initialize.
3779         * configure.ac: Remove SELinux header check.
3780         * configure: Regenerate.
3781         * nscd/selinux.c (perms): Array of const char* to permission names.
3782         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3783         default policy. Call string_to_security_class and string_to_av_perm to
3784         translate strings. Enforce default policy and call avs_has_perm with
3785         results of translated strings.
3787 2014-04-13  David S. Miller  <davem@davemloft.net>
3789         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3791 2014-04-12  Allan McRae  <allan@archlinux.org>
3793         [BZ #16838]
3794         * manual/string.texi (Collation Functions): Fix qsort argument
3795         order in example.
3796         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3798 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3800         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3801         Make the test a no-op if there are no exceptions defined.
3803 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3805         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3806         enable-hardcoded-path-in-tests
3808 2014-04-11  Will Newton  <will.newton@linaro.org>
3810         * benchtests/Makefile (extra-objs): Add json-lib.o.
3811         (bench-func): Tidy up JSON output.
3812         * benchtests/bench-skeleton.c: Include json-lib.h.
3813         (main): Use JSON library functions to do output of
3814         benchmark results.
3815         * benchtests/bench-timing-type.c (main): Output the
3816         timing type simply, leaving formatting to the user.
3817         * benchtests/json-lib.c: New file.
3818         * benchtests/json-lib.h: Likewise.
3820 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3822         [BZ #15215]
3823         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3824         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3825         memory barriers.  Add comments.
3826         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3827         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3828         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3829         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3830         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3831         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3833 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3835         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3836         * sysdeps/s390/s390-64/configure.ac: ... this ...
3837         * sysdeps/s390/configure.ac: ... to here.
3838         * sysdeps/s390/s390-32/configure: Delete file.
3839         * sysdeps/s390/s390-64/configure: Delete file.
3840         * sysdeps/s390/configure: Regenerate.
3842 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3844         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3846 2014-04-11  Will Newton  <will.newton@linaro.org>
3848         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3849         to zero if it is not defined elsewhere.  (mtrim): Test
3850         the value of MALLOC_DEBUG with #if rather than #ifdef.
3852 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3854         * benchtests/pthread_once-inputs: New file.
3855         * benchtests/pthread_once-source.c: New file.
3856         * benchtests/README: Update documentation.
3858 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3859             H.J. Lu  <hongjiu.lu@intel.com>
3861         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3862         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3863         * sysdeps/x86_64/configure: Regenerated.
3864         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3865         macro.
3866         (REGISTER_SAVE_RAX): Likewise.
3867         (REGISTER_SAVE_RCX): Likewise.
3868         (REGISTER_SAVE_RDX): Likewise.
3869         (REGISTER_SAVE_RSI): Likewise.
3870         (REGISTER_SAVE_RDI): Likewise.
3871         (REGISTER_SAVE_R8): Likewise.
3872         (REGISTER_SAVE_R9): Likewise.
3873         (REGISTER_SAVE_BND0): Likewise.
3874         (REGISTER_SAVE_BND1): Likewise.
3875         (REGISTER_SAVE_BND2): Likewise.
3876         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3877         bound registers when calling _dl_fixup.
3879 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3881         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3882         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3883         of its definition.
3884         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3885         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3886         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3887         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3888         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3889         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3890         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3892 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3894         [BZ #15514]
3895         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3896         pathconf(_PC_NAME_MAX).
3898 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3900         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3901         Remove macro usage.
3902         (__PTHREAD_SPINS): Move definition to ...
3903         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3904         (__PTHREAD_SPINS): ... here.
3905         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3906         (__PTHREAD_SPIN): Likewise.
3907         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3908         (__PTHREAD_SPIN): Likewise.
3909         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3910         (__PTHREAD_SPIN): Likewise.
3911         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3912         (__PTHREAD_SPIN): Likewise.
3913         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3914         (__PTHREAD_SPIN): Likewise.
3915         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3916         (__PTHREAD_SPIN): Likewise.
3917         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3918         (__PTHREAD_SPIN): Likewise.
3919         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3920         (__PTHREAD_SPIN): Likewise.
3921         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3922         (__PTHREAD_SPIN): Likewise.
3923         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3924         (__PTHREAD_SPIN): Likewise.
3925         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3926         (__PTHREAD_SPIN): Likewise.
3927         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
3928         (__PTHREAD_SPIN): Likewise.
3930         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
3931         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
3932         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
3933         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
3934         imply folder.
3935         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
3936         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
3937         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
3938         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
3939         correct imply path.
3940         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
3941         strlen symbol for non multi-arch builds.
3942         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
3943         missing hidden_def and weak_alias.
3945 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
3947         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
3949 2014-04-07  Will Newton  <will.newton@linaro.org>
3951         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
3952         and contents.  [!_LIBC] Remove #ifndef and contents.
3953         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
3954         * string/memccpy.c (__memccpy): Use ANSI prototype.
3955         * string/memfrob.c (memfrob): Likewise.
3956         * string/strcoll.c (STRCOLL): Likewise.
3957         * string/strlen.c (strlen): Likewise.
3958         * string/strtok.c (STRTOK): Likewise.
3959         * string/strcat.c: Remove unused #include of memcopy.h.
3960         (strcat): Use ANSI prototype.
3961         * string/strchr.c: Remove unused #include of memcopy.h.
3962         (strchr): Use ANSI prototype.
3963         * string/strcmp.c: Remove unused #include of memcopy.h.
3964         (strcmp): Use ANSI prototype.
3965         * string/strcpy.c: Remove unused #include of memcopy.h.
3966         (strcpy): Use ANSI prototype.
3968 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3970         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
3971         * config.make.in (config-extra-cppflags): Set it from
3972         libc_extra_cppflags.
3973         * configure.ac (libc_extra_cflags): Make it accumulate over
3974         configure fragments.
3975         (libc_extra_cppflags): New flag.
3976         * configure. Regenerate.
3977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3978         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
3979         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
3980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
3982         [BZ #16815]
3983         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
3984         result for FE_DOWNWARD rounding mode.
3985         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3986         Likewise.
3987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3989 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
3991         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
3992         in function argument name.
3994 2014-04-03  David Svoboda  <svoboda@cert.org>
3996         [BZ #5666]
3997         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
3998         explicitly.
4000 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4002         * elf/dl-unmap-segments.h: New file.
4003         * sysdeps/generic/ldsodefs.h
4004         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4005         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4006         * elf/dl-fptr.c: Likewise.
4007         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4008         * sysdeps/aarch64/tlsdesc.c: Likewise.
4009         * sysdeps/arm/tlsdesc.c: Likewise.
4010         * sysdeps/i386/tlsdesc.c: Likewise.
4011         * sysdeps/tile/dl-runtime.c: Likewise.
4012         * sysdeps/x86_64/tlsdesc.c: Likewise.
4013         * elf/dl-load.h: New file.
4014         * elf/dl-load.c: Include it.
4015         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4016         Macros moved to dl-load.h.
4017         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4018         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4019         Use _dl_unmap_segments in place of __munmap.
4020         Break out segment-mapping loop into ...
4021         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4023 2014-04-03  Will Newton  <will.newton@linaro.org>
4025         * elf/dl-lookup.c (do_lookup_x): Remove comment
4026         referring to nested function and move variable
4027         declarations down to before first use.
4029 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4031         [BZ #16799]
4032         [BZ #16800]
4033         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4034         with 0 numerator.
4035         * math/s_catanf.c (__catanf): Likewise.
4036         * math/s_catanh.c (__catanh): Likewise.
4037         * math/s_catanhf.c (__catanhf): Likewise.
4038         * math/s_catanhl.c (__catanhl): Likewise.
4039         * math/s_catanl.c (__catanl): Likewise.
4040         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4041         by positive zero when computing -Inf result.
4042         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4043         (catanh_test): Likewise.
4044         * sysdeps/i386/fpu/libm-test-ulps: Update.
4045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4047         [BZ #16789]
4048         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4049         instead of using underflowing value in computing result.
4050         * math/s_clog10.c (__clog10): Likewise.
4051         * math/s_clog10f.c (__clog10f): Likewise.
4052         * math/s_clog10l.c (__clog10l): Likewise.
4053         * math/s_clogf.c (__clogf): Likewise.
4054         * math/s_clogl.c (__clogl): Likewise.
4055         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4056         (clog10_test): Likewise.
4057         * sysdeps/i386/fpu/libm-test-ulps: Update.
4058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4060 2014-04-02  Alan Modra  <amodra@gmail.com>
4062         [BZ #16739]
4063         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4064         output when value is near a power of two.  Use int64_t for lx and
4065         remove casts.  Use decimal rather than hex exponent constants.
4066         Don't use long double multiplication when double will suffice.
4067         * math/libm-test.inc (nextafter_test_data): Add tests.
4068         * NEWS: Add 16739 and 16786 to bug list.
4070         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4072         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4074 2014-04-01  Will Newton  <will.newton@linaro.org>
4076         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4077         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4079 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4081         [BZ #13347]
4082         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4083         * nptl/tst-setuid2.c: New file.
4084         * nptl/Makefile (xtests): Add tst-setuid2.
4086 2014-04-01  Alan Modra  <amodra@gmail.com>
4088         [BZ #16786]
4089         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4091 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4093         [BZ #6803]
4094         [BZ #6804]
4095         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4096         set errno as appropriate.
4097         * math/w_scalbf.c (__scalbf): Likewise.
4098         * math/w_scalbl.c (__scalbl): Likewise.
4099         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4100         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4101         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4102         Add more NaN tests.
4104         [BZ #16349]
4105         * math/w_atan2.c: Include <errno.h>.
4106         (__atan2): Set errno for result underflowing to zero.
4107         * math/w_atan2f.c: Include <errno.h>.
4108         (__atan2f): Set errno for result underflowing to zero.
4109         * math/w_atan2l.c: Include <errno.h>.
4110         (__atan2l): Set errno for result underflowing to zero.
4111         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4112         tests.
4113         * math/auto-libm-test-out: Regenerated.
4115 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4117         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4118         Encode instruction correctly in little endian.
4119         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4120         Likewise.
4121         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4122         Likewise.
4123         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4124         Likewise.
4125         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4126         Likewise.
4128 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4130         [BZ #9894]
4131         * sysdeps/unix/sysv/linux/kernel-features.h
4132         [__sparc__ && !__arch64__ && !__sparc_v9__]
4133         (__ASSUME_SET_ROBUST_LIST): Do not define.
4134         [__sparc__ && !__arch64__ && !__sparc_v9__]
4135         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4136         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4137         Likewise.
4138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4139         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4140         (__ASSUME_REQUEUE_PI): Likewise.
4141         (__ASSUME_SET_ROBUST_LIST): Likewise.
4142         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4143         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4144         Undefine.
4145         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4146         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4147         Likewise.
4148         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4149         Likewise.
4150         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4151         Likewise.
4152         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4153         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4154         Undefine.
4155         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4156         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4157         Likewise.
4159         [BZ #16648]
4160         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4161         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4162         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4164 2014-03-31  Will Newton  <will.newton@linaro.org>
4166         * benchtests/Makefile (bench): Add ffs and ffsll to list
4167         of tests.
4168         * benchtests/ffs-inputs: New file.
4169         * benchtests/ffsll-inputs: Likewise.
4171 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #16770]
4174         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4175         too large before casting to int.
4176         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4177         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4178         * math/libm-test.inc (scalb_test_data): Add more tests.
4180 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4182         * benchtests/Makefile (DETAILED_OPT): New make option.
4183         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4184         set.
4185         * benchtests/bench-skeleton.c: Include stdbool.h.
4186         (main): Store and print timings per input.
4187         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4188         member to each argument value.
4189         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4190         (_print_arg_data): Initialize per-input timing to 0.
4192         * benchtests/Makefile (timing-type): New binary.
4193         (bench-clean): Also remove bench-timing-type.
4194         (bench): New target for timing-type.
4195         (bench-func): Print output in JSON format.
4196         * benchtests/bench-skeleton.c (main): Print output in JSON
4197         format.
4198         * benchtests/bench-timing-type.c: New file.
4199         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4200         (TIMING_PRINT_STATS): Remove.
4201         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4202         name separately.
4204         * benchtests/bench-modf.c: Remove.
4205         * benchtests/modf-inputs: New inputs file.
4207 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4209         [BZ #16362]
4210         * math/s_clog10.c (M_PI_LOG10E): New macro.
4211         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4212         imaginary parts are 0.
4213         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4214         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4215         imaginary parts are 0.
4216         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4217         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4218         imaginary parts are 0.
4219         * math/libm-test.inc (clog10_test_data): Update expected results
4220         for when real and imaginary parts are 0.
4222 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4224         * elf/dl-load.c: Finish conversion of __builtin_expect into
4225         __glibc_{un}likely.
4227 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4229         [BZ #16348]
4230         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4231         1+x for argument with exponent below -67.
4232         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4233         Likewise.
4234         * math/auto-libm-test-in: Add more tests of exp.
4235         * math/auto-libm-test-out: Regenerated.
4237 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4239         [BZ #16759]
4240         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4241         (nscd_getnetgrent): Use it.
4243         [BZ #16760]
4244         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4245         of stpcpy.
4247 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4249         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4250         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4251         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4252         (lll_robust_unlock): Remove out of line section. Use cfi
4253         intrinsics.
4254         (LLL_STUB_UNWIND_INFO*): Remove.
4255         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4256         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4257         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4258         (lll_robust_unlock): Remove out of line section. Use cfi
4259         intrinsics.
4260         (LLL_STUB_UNWIND_INFO*): Remove.
4262 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4264         [BZ #16758]
4265         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4266         blank values.
4268 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4270         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4272 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4274         [BZ #16198]
4275         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4276         fnstenv.
4277         * math/test-fenv-preserve.c: New file.
4278         * math/Makefile (tests): Add test-fenv-preserve.
4280 2014-03-26  Will Newton <will.newton@linaro.org>
4282         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4284 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4286         * scripts/versionlist.awk: Partition the version sets and emit all
4287         GLIBC_* (sorted) before all others (sorted).
4289 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4291         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4292         GLIBC_2.2.5 version.
4294 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4296         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4297         calls.
4299         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4300         previous change.
4302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4304 2014-03-25  Andreas Schwab  <schwab@suse.de>
4306         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4307         label to be used after in6ailist is initialized.
4309 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4311         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4312         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4314 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4316         [BZ #16357]
4317         [BZ #16599]
4318         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4319         min_plus_half.
4320         (fp_formats): Update initializers.
4321         (init_fp_formats): Initialize new field.
4322         (output_for_one_input_case): Allow underflow for results up to
4323         min_plus_half.
4324         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4325         * math/auto-libm-test-in: Don't mark some underflows from asin and
4326         atanh as spurious.
4327         * math/auto-libm-test-out: Regenerated.
4328         * sysdeps/i386/fpu/libm-test-ulps: Update.
4329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4331 2014-03-25  Andreas Schwab  <schwab@suse.de>
4333         * libio/Makefile (tst-ftell-partial-wide-ENV)
4334         (tst-ftell-active-handler-ENV): Define.
4336 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4338         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4340 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4342         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4344 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4346         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4347         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4348         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4350 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4352         [BZ #16634]
4353         * elf/dl-load.c (open_verify): Add mode parameter.
4354         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4355         (open_path): Change from boolean 'secure' to complete flag 'mode'
4356         (_dl_map_object): Adjust.
4357         * elf/Makefile (tests): Add tst-dlopen-aout.
4358         * elf/tst-dlopen-aout.c: New test.
4360 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4362         [BZ #16714]
4363         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4364         (struct stat): Rename member pad0 to __glibc_reserved0.
4366         [BZ #16712]
4367         * sysdeps/s390/s390-32/bits/wordsize.h
4368         (__WORDSIZE32_SIZE_ULONG): New define.
4369         * sysdeps/s390/s390-64/bits/wordsize.h
4370         (__WORDSIZE32_SIZE_ULONG): Likewise.
4371         * sysdeps/generic/stdint.h (SIZE_MAX):
4372         Define as UL if __WORDSIZE32_SIZE_ULONG.
4374         [BZ #16713]
4375         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4376         (__glibc_reserved0): New variable.
4377         (sa_flags): Change type to int.
4379         * posix/Makefile (before-compile): Use += before-compile instead
4380         of a :=.
4382         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4383         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4385 2014-03-20  Andreas Schwab  <schwab@suse.de>
4387         [BZ #16743]
4388         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4389         non-matching result from nscd.
4391 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4393         * scripts/bench.py: Moved to ...
4394         * benchtests/scripts/bench.py: ... here.
4395         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4397 2014-03-24  Andreas Schwab  <schwab@suse.de>
4399         [BZ #16002]
4400         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4401         alloca_account and account alloca use for struct in6ailist.
4403 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4405         [BZ #16284]
4406         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4407         rounding mode to recompute results that overflow to infinity or
4408         underflow to zero.
4409         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4410         bug 16284.
4411         * math/auto-libm-test-out: Regenerated.
4412         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4413         (ccosh_test): Likewise.
4414         (csin_test_data): Use plus_oflow.
4415         (csin_test): Use ALL_RM_TEST.
4416         (csinh_test_data): Use plus_oflow.
4417         (csinh_test): Use ALL_RM_TEST.
4418         * sysdeps/i386/fpu/libm-test-ulps: Update.
4419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4421 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4423         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4424         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4425         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4427         [BZ #16731]
4428         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4429         when x - 1 is zero.
4430         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4431         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4432         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4433         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4434         argument is 1.
4435         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4436         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4437         zero.
4438         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4439         * sysdeps/i386/fpu/libm-test-ulps: Update.
4440         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4442 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4444         * scripts/bench.pl: Remove file.
4445         * scripts/bench.py: New benchmark script.
4446         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4447         * benchtests/README: Mention python dependency.
4448         * scripts/pylintrc: New file.
4449         * scripts/pylint: New file.
4451         * bits/mathdef.h: Use #ifdef instead of #if.
4452         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4453         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4454         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4455         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4456         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4457         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4459 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4460             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4462         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4463         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4464         and strpbrk-ppc64 objects.
4465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4466         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4467         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4468         multiarch strpbrk for POWER7.
4469         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4470         multiarch strpbrk for PPC64.
4471         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4472         ifunc selector.
4473         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4474         strpbrk for POWER7.
4476 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4478         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4479         (atan_test): Likewise.
4480         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4481         (atanh_test): Use ALL_RM_TEST.
4482         (atan2_test_data): Likewise.
4483         (cabs_test): Likewise.
4484         (cacosh_test): Likewise.
4485         (carg_test): Likewise.
4486         (casin_test): Likewise.
4487         (casinh_test): Likewise.
4488         (cbrt_test): Likewise.
4489         (csqrt_test): Likewise.
4490         (erf_test): Likewise.
4491         (erfc_test): Likewise.
4492         (pow10_test): Likewise.
4493         (exp2_test): Likewise.
4494         (hypot_test): Likewise.
4495         (j0_test): Likewise.
4496         (j1_test): Likewise.
4497         (lgamma_test): Likewise.
4498         (gamma_test): Likewise.
4499         (sincos_test): Likewise.
4500         (tanh_test): Likewise.
4501         (y0_test): Likewise.
4502         (y1_test): Likewise.
4503         * sysdeps/i386/fpu/libm-test-ulps: Update.
4504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4506 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4508         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4510         and strcspn-ppc64 objects.
4511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4512         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4513         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4514         multiarch strcspn for POWER7.
4515         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4516         multiarch strcspn for PPC64.
4517         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4518         ifunc selector.
4519         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4520         strcspn for POWER7.
4522 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4524         * math/gen-libm-test.pl (generate_testfile): Expect only function
4525         name as argument to AUTO_TESTS_* and pass results for all rounding
4526         modes to parse_args.
4527         (parse_auto_input): Separate inputs of automatic tests from
4528         outputs before storing in %auto_tests.
4529         * math/libm-test.inc (acos_test_data): Update call to
4530         AUTO_TESTS_f_f.
4531         (acos_test): Use ALL_RM_TEST.
4532         (acos_tonearest_test_data): Remove.
4533         (acos_test_tonearest): Likewise.
4534         (acos_towardzero_test_data): Likewise.
4535         (acos_test_towardzero): Likewise.
4536         (acos_downward_test_data): Likewise.
4537         (acos_test_downward): Likewise.
4538         (acos_upward_test_data): Likewise.
4539         (acos_test_upward): Likewise.
4540         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4541         (asin_test_data): Likewise.
4542         (asin_test): Use ALL_RM_TEST.
4543         (asin_tonearest_test_data): Remove.
4544         (asin_test_tonearest): Likewise.
4545         (asin_towardzero_test_data): Likewise.
4546         (asin_test_towardzero): Likewise.
4547         (asin_downward_test_data): Likewise.
4548         (asin_test_downward): Likewise.
4549         (asin_upward_test_data): Likewise.
4550         (asin_test_upward): Likewise.
4551         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4552         (atan_test_data): Likewise.
4553         (atanh_test_data): Likewise.
4554         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4555         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4556         (carg_test_data): Likewise.
4557         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4558         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4559         (ccosh_test_data): Likewise.
4560         (cexp_test_data): Likewise.
4561         (clog_test_data): Likewise.
4562         (clog10_test_data): Likewise.
4563         (cos_test_data): Update call to AUTO_TESTS_f_f.
4564         (cos_test): Use ALL_RM_TEST.
4565         (cos_tonearest_test_data): Remove.
4566         (cos_test_tonearest): Likewise.
4567         (cos_towardzero_test_data): Likewise.
4568         (cos_test_towardzero): Likewise.
4569         (cos_downward_test_data): Likewise.
4570         (cos_test_downward): Likewise.
4571         (cos_upward_test_data): Likewise.
4572         (cos_test_upward): Likewise.
4573         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4574         (cosh_test): Use ALL_RM_TEST.
4575         (cosh_tonearest_test_data): Remove.
4576         (cosh_test_tonearest): Likewise.
4577         (cosh_towardzero_test_data): Likewise.
4578         (cosh_test_towardzero): Likewise.
4579         (cosh_downward_test_data): Likewise.
4580         (cosh_test_downward): Likewise.
4581         (cosh_upward_test_data): Likewise.
4582         (cosh_test_upward): Likewise.
4583         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4584         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4585         (ctan_test_data): Likewise.
4586         (ctan_test): Use ALL_RM_TEST.
4587         (ctan_tonearest_test_data): Remove.
4588         (ctan_test_tonearest): Likewise.
4589         (ctan_towardzero_test_data): Likewise.
4590         (ctan_test_towardzero): Likewise.
4591         (ctan_downward_test_data): Likewise.
4592         (ctan_test_downward): Likewise.
4593         (ctan_upward_test_data): Likewise.
4594         (ctan_test_upward): Likewise.
4595         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4596         (ctanh_test): Use ALL_RM_TEST.
4597         (ctanh_tonearest_test_data): Remove.
4598         (ctanh_test_tonearest): Likewise.
4599         (ctanh_towardzero_test_data): Likewise.
4600         (ctanh_test_towardzero): Likewise.
4601         (ctanh_downward_test_data): Likewise.
4602         (ctanh_test_downward): Likewise.
4603         (ctanh_upward_test_data): Likewise.
4604         (ctanh_test_upward): Likewise.
4605         (erf_test_data): Update call to AUTO_TESTS_f_f.
4606         (erfc_test_data): Likewise.
4607         (exp_test_data): Likewise.
4608         (exp_test): Use ALL_RM_TEST.
4609         (exp_tonearest_test_data): Remove.
4610         (exp_test_tonearest): Likewise.
4611         (exp_towardzero_test_data): Likewise.
4612         (exp_test_towardzero): Likewise.
4613         (exp_downward_test_data): Likewise.
4614         (exp_test_downward): Likewise.
4615         (exp_upward_test_data): Likewise.
4616         (exp_test_upward): Likewise.
4617         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4618         (exp10_test): Use ALL_RM_TEST.
4619         (exp10_tonearest_test_data): Remove.
4620         (exp10_test_tonearest): Likewise.
4621         (exp10_towardzero_test_data): Likewise.
4622         (exp10_test_towardzero): Likewise.
4623         (exp10_downward_test_data): Likewise.
4624         (exp10_test_downward): Likewise.
4625         (exp10_upward_test_data): Likewise.
4626         (exp10_test_upward): Likewise.
4627         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4628         (expm1_test_data): Likewise.
4629         (expm1_test): Use ALL_RM_TEST.
4630         (expm1_tonearest_test_data): Remove.
4631         (expm1_test_tonearest): Likewise.
4632         (expm1_towardzero_test_data): Likewise.
4633         (expm1_test_towardzero): Likewise.
4634         (expm1_downward_test_data): Likewise.
4635         (expm1_test_downward): Likewise.
4636         (expm1_upward_test_data): Likewise.
4637         (expm1_test_upward): Likewise.
4638         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4639         (fma_test): Use ALL_RM_TEST.
4640         (fma_towardzero_test_data): Remove.
4641         (fma_test_towardzero): Likewise.
4642         (fma_downward_test_data): Likewise.
4643         (fma_test_downward): Likewise.
4644         (fma_upward_test_data): Likewise.
4645         (fma_test_upward): Likewise.
4646         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4647         (j0_test_data): Update call to AUTO_TESTS_f_f.
4648         (j1_test_data): Likewise.
4649         (jn_test_data): Update call to AUTO_TESTS_if_f.
4650         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4651         (log_test_data): Update call to AUTO_TESTS_f_f.
4652         (log10_test_data): Likewise.
4653         (log1p_test_data): Likewise.
4654         (log2_test_data): Likewise.
4655         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4656         (pow_tonearest_test_data): Likewise.
4657         (sin_test_data): Update call to AUTO_TESTS_f_f.
4658         (sin_test): Use ALL_RM_TEST.
4659         (sin_tonearest_test_data): Remove.
4660         (sin_test_tonearest): Likewise.
4661         (sin_towardzero_test_data): Likewise.
4662         (sin_test_towardzero): Likewise.
4663         (sin_downward_test_data): Likewise.
4664         (sin_test_downward): Likewise.
4665         (sin_upward_test_data): Likewise.
4666         (sin_test_upward): Likewise.
4667         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4668         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4669         (sinh_test): Use ALL_RM_TEST.
4670         (sinh_tonearest_test_data): Remove.
4671         (sinh_test_tonearest): Likewise.
4672         (sinh_towardzero_test_data): Likewise.
4673         (sinh_test_towardzero): Likewise.
4674         (sinh_downward_test_data): Likewise.
4675         (sinh_test_downward): Likewise.
4676         (sinh_upward_test_data): Likewise.
4677         (sinh_test_upward): Likewise.
4678         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4679         (sqrt_test): Use ALL_RM_TEST.
4680         (sqrt_tonearest_test_data): Remove.
4681         (sqrt_test_tonearest): Likewise.
4682         (sqrt_towardzero_test_data): Likewise.
4683         (sqrt_test_towardzero): Likewise.
4684         (sqrt_downward_test_data): Likewise.
4685         (sqrt_test_downward): Likewise.
4686         (sqrt_upward_test_data): Likewise.
4687         (sqrt_test_upward): Likewise.
4688         (tan_test_data): Update call to AUTO_TESTS_f_f.
4689         (tan_test): Use ALL_RM_TEST.
4690         (tan_tonearest_test_data): Remove.
4691         (tan_test_tonearest): Likewise.
4692         (tan_towardzero_test_data): Likewise.
4693         (tan_test_towardzero): Likewise.
4694         (tan_downward_test_data): Likewise.
4695         (tan_test_downward): Likewise.
4696         (tan_upward_test_data): Likewise.
4697         (tan_test_upward): Likewise.
4698         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4699         (tgamma_test_data): Likewise.
4700         (y0_test_data): Likewise.
4701         (y1_test_data): Likewise.
4702         (yn_test_data): Update call to AUTO_TESTS_if_f.
4703         (main): Do not call removed functions.
4705 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4707         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4708         (ldexp_test_data): Remove.
4709         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4710         scalbn_test_data.
4711         (scalb_test): Use ALL_RM_TEST.
4713 2014-03-19  Andreas Schwab  <schwab@suse.de>
4715         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4717 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4719         [BZ #16649]
4720         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4721         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4722         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4723         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4724         (__ASSUME_PREADV): Undefine.
4725         (__ASSUME_PWRITEV): Likewise.
4727 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4729         * bits/mman-linux.h: Add comment about non-Linux use.
4730         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4731         bits/mman-linux.h resting place.
4733         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4734         * bits/mman-linux.h: ... here.
4736 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4738         * conform/conformtest.pl: Add standard definition when calling C
4739         preprocessor on data files.
4740         (checknamespace): Remove unused variable.
4742 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4744         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4745         minus_oflow, plus_uflow and minus_uflow in expected results.
4746         * math/libm-test.inc (scalbn_test_data): Add more tests of
4747         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4748         minus_uflow.
4749         (scalbn_test): Use ALL_RM_TEST.
4750         (scalbln_test_data): Add more tests of negative arguments.  Use
4751         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4752         (scalbln_test): Use ALL_RM_TEST.
4754 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4756         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4758 2014-03-18  Will Newton  <will.newton@linaro.org>
4760         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4761         inaccurate comment.
4763 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4765         * Makerules [!subdir] (check-abi): Exit with error status if a
4766         test failed.
4768 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4770         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4771         for rint.  Include results for all rounding modes.
4772         (nearbyint_test): Use ALL_RM_TEST.
4773         (rint_test_data): Include all tests used for nearbyint.
4775 2014-03-17  Will Newton  <will.newton@linaro.org>
4777         * nptl/sysdeps/pthread/pthread.h: Revert previous
4778         change.
4780         * sysdeps/generic/ldsodefs.h: Revert previous
4781         change.
4783         * libio/genops.c: Revert previous change.
4784         * libio/libioP.h: Likewise.
4785         * stdio-common/vfprintf.c: Likewise.
4787         * sysdeps/generic/math_private.h: Revert previous
4788         change.
4790         * sysdeps/generic/math_private.h: Check whether
4791         HAVE_RM_CTX is defined with #ifdef rather
4792         than #if.
4794         * argp/argp-fmtstream.h: Check whether
4795         __STRICT_ANSI__ is defined with #ifdef rather
4796         than #if.
4797         * argp/argp.h: Likewise.
4799         * libio/genops.c: Check whether
4800         _IO_JUMPS_OFFSET is defined with #ifdef rather
4801         than #if.
4802         * libio/libioP.h: Likewise.
4803         * stdio-common/vfprintf.c: Likewise.
4805         * sysdeps/generic/ldsodefs.h: Check whether
4806         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4807         than #if.
4809         * nptl/sysdeps/pthread/pthread.h: Check
4810         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4811         its value.
4813 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4815         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4816         setting O_APPEND.
4817         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4818         test case.
4820         [BZ #16680]
4821         * libio/fileops.c (_IO_file_open): Seek to end of file but
4822         don't cache the offset.
4823         (get_file_offset): Remove function.
4824         (do_ftell): Use cached offset when available.
4825         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4826         don't cache the offset.
4827         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4828         case.
4829         (do_one_test): Call it.
4830         (do_ftell_test): Fix up expected old offset for a+ mode.
4831         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4832         available.
4834         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4835         up test status with function return status.
4836         (do_write_test): Likewise.
4837         (do_append_test): Likewise.
4839         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4840         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4841         Remove.
4843 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4845         * math/gen-libm-test.pl (parse_args): Handle results specified for
4846         each rounding mode separately.
4847         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4848         tests and results from lrint_tonearest_test_data,
4849         lrint_towardzero_test_data, lrint_downward_test_data and
4850         lrint_upward_test_data.
4851         (lrint_test): Use ALL_RM_TEST.
4852         (lrint_tonearest_test_data): Remove.
4853         (lrint_test_tonearest): Likewise.
4854         (lrint_towardzero_test_data): Likewise.
4855         (lrint_test_towardzero): Likewise.
4856         (lrint_downward_test_data): Likewise.
4857         (lrint_test_downward): Likewise.
4858         (lrint_upward_test_data): Likewise.
4859         (lrint_test_upward): Likewise.
4860         (llrint_test_data): Merge in per-rounding-mode tests and results
4861         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4862         llrint_downward_test_data and llrint_upward_test_data.
4863         (llrint_test): Use ALL_RM_TEST.
4864         (llrint_tonearest_test_data): Remove.
4865         (llrint_test_tonearest): Likewise.
4866         (llrint_towardzero_test_data): Likewise.
4867         (llrint_test_towardzero): Likewise.
4868         (llrint_downward_test_data): Likewise.
4869         (llrint_test_downward): Likewise.
4870         (llrint_upward_test_data): Likewise.
4871         (llrint_test_upward): Likewise.
4872         (rint_test_data): Merge in per-rounding-mode tests and results
4873         from rint_tonearest_test_data, rint_towardzero_test_data,
4874         rint_downward_test_data and rint_upward_test_data.  Add
4875         per-rounding-mode results for tests not in those arrays.
4876         (rint_test): Use ALL_RM_TEST.
4877         (rint_tonearest_test_data): Remove.
4878         (rint_test_tonearest): Likewise.
4879         (rint_towardzero_test_data): Likewise.
4880         (rint_test_towardzero): Likewise.
4881         (rint_downward_test_data): Likewise.
4882         (rint_test_downward): Likewise.
4883         (rint_upward_test_data): Likewise.
4884         (rint_test_upward): Likewise.
4885         (main): Don't call removed functions.
4887 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4889         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4890         "Compiled on ..." crapola.  It is anti-useful.
4892 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4894         * scripts/evaluate-test.sh: Handle fourth argument to determine
4895         whether test run should stop on failure.
4896         * Makeconfig (stop-on-test-failure): New variable.
4897         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4898         $(stop-on-test-failure).
4899         * Makefile (tests): Give a summary of results from testing and
4900         exit with failure status if they include an ERROR or FAIL.
4901         (xtests): Likewise.
4902         * manual/install.texi (Configuring and compiling): Mention
4903         stop-on-test-failure=y.
4904         * INSTALL: Regenerated.
4906 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4908         * scripts/versionlist.awk: New file.
4909         * Makerules [$(build-shared) = yes]
4910         (postclean-generated): Add Versions.def, not Versions.def.v and
4911         Versions.def.v.i.
4912         ($(common-objpfx)Versions.def.v.i): Target removed.
4913         ($(common-objpfx)Versions.def): New target.
4914         ($(common-objpfx)Versions.all): Depend on that rather that
4915         $(common-objpfx)Versions.def.v.
4916         * Versions.def: File removed.
4918         * Makeconfig (+gccwarn): Add -Wundef.
4919         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4920         a dl-sysdep.h breaking its contract.
4921         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4922         * include/stackinfo.h: New file.
4923         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
4924         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
4925         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
4926         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
4927         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
4928         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
4929         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4930         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4931         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4932         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4933         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4934         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
4935         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4936         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4937         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
4939 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4941         [BZ #16707]
4942         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
4943         implementation.
4944         * math/libm-test.inc (round_test_data): Add more tests.
4946         [BZ #16706]
4947         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
4948         implementation.
4949         * math/libm-test.inc (nearbyint_test_data): Add more tests.
4951         [BZ #16701]
4952         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
4953         implementation.
4954         * math/libm-test.inc (ceil_test_data): Add more tests.
4956         * math/libm-test.inc (trunc_test_data): Add more tests related to
4957         BZ#16414.
4959 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4961         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
4962         with #if rather than #ifdef.
4963         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
4965 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
4967         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
4968         first.  Disable AVX-512 GCC support if assembler doesn't support
4969         it.
4970         * sysdeps/x86_64/configure: Regenerated.
4972 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
4974         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
4975         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
4976         (__old_pthread_attr_setstack): Likewise.
4977         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
4978         [!_STACK_GROWS_DOWN]: Likewise.
4980 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
4982         * config.make.in (have-bash2): Delete.
4983         * configure.ac (libc_cv_have_bash2): Delete.
4984         * configure: Regenerate.
4985         * elf/Makefile (common-ldd-rewrite): Rename to ...
4986         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
4987         (sh-ldd-rewrite): Delete.
4988         (bash-ldd-rewrite): Delete.
4989         (have-bash2): Delete checks.
4990         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
4991         ldd-rewrite.
4993         * config.make.in (have-ksh): Delete.
4994         (KSH): Delete.
4995         * configure.ac (libc_cv_have_ksh): Delete.
4996         * configure: Regenerate.
4998         * elf/Makefile: Delete $(have-ksh) check.
4999         ($(objpfx)sotruss): Change KSH to BASH.
5000         * elf/sotruss.ksh: Rename to ...
5001         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5002         function style to match POSIX.  Drop ksh vim mode setting.
5004         * manual/time.texi (Specifying the Time Zone with TZ): Change
5005         Tuesday to Thursday.
5007         * debug/tst-longjmp_chk2.c: Update header comment.
5008         (stackoverflow_handler): Add comment.  Call assert on pass value.
5010 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5012         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5013         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5014         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5015         (La_x86_64_vector): Add zmm.
5016         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5017         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5018         ($(objpfx)tst-audit10): New target.
5019         ($(objpfx)tst-audit10.out): Likewise.
5020         (tst-audit10-ENV): New.
5021         (AVX512-CFLAGS): Likewise.
5022         (CFLAGS-tst-audit10.c): Likewise.
5023         (CFLAGS-tst-auditmod10a.c): Likewise.
5024         (CFLAGS-tst-auditmod10b.c): Likewise.
5025         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5026         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5027         * sysdeps/x86_64/configure: Regenerated.
5028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5029         AVX-512 zmm register support.
5030         (_dl_x86_64_save_sse): Likewise.
5031         (_dl_x86_64_restore_sse): Likewise.
5032         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5033         size vector registers.
5034         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5035         (ZMM_SIZE): Likewise.
5036         * sysdeps/x86_64/tst-audit10.c: New file.
5037         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5038         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5040 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5042         * configure.ac (HAVE_EHDR_START): New check.
5043         * configure: Regenerated.
5044         * config.h.in (HAVE_EHDR_START): New #undef.
5045         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5046         assuming the lowest-addressed segment maps the start of the file.
5048 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5050         * INSTALL: Regenerated.
5052 2014-03-13  Will Newton  <will.newton@linaro.org>
5054         * manual/setjmp.texi (System V contexts): Improve
5055         clarity and grammar of documentation.
5057 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5059         [BZ #16381]
5060         * elf/Makefile (tests): Add tst-pie2.
5061         (tests-pie): Add tst-pie2.
5062         * elf/tst-pie2.c: New file.
5063         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5064         for ET_EXEC.
5065         * elf/rtld.c (map_doit): Load executable as lt_executable.
5066         (dl_main): Likewise.
5068 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #16642]
5071         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5072         (__ASSUME_PSELECT): Undefine.
5074 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5076         [BZ #16689]
5077         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5078         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5079         static build.
5080         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5081         selector for static builds.
5083 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5085         [BZ #16695]
5086         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5087         key in the buffer.
5089 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5091         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5092         IFUNC selector for static builds.
5094 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5096         * sysdeps/mips/math_private.h [__mips_hard_float]
5097         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5098         libc_feresetround_mips_ctx.
5099         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5100         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5101         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5103         [BZ #16677]
5104         * math/s_nextafter.c (__nextafter): Do not return value from
5105         overflowing computation.
5106         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5107         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5108         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5109         Likewise.
5110         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5111         Likewise.
5112         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5113         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5115 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5117         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5118         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5119         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5120         the new mov targetting sp.
5122 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5124         [BZ #16683]
5125         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5126         Define it for static builds as well.
5127         (NO_BZERO_IMPL): Likewise.
5129 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5131         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5132         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5133         multiarch strspn for PPC64.
5134         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5135         * sysdeps/powerpc/powerpc64/multiarch/strspn-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 strspn
5139         multiarch optimizations
5140         * string/strspn.c (strspn): Using macro to redefine symbol name.
5142 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5143             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5145         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5146         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5147         multiarch strncat for PPC64.
5148         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5149         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5150         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5151         (__libc_ifunc_impl_list): Likewise.
5152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5153         multiarch optimizations
5155 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5157         [BZ #16639]
5158         * nscd/nscd.service: Make service type forking.
5160 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5162         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5163         sign in non default rounding modes.
5164         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5166 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5168         * math/libm-test.inc (ALL_RM_TEST): New macro.
5169         (ceil_test): Use ALL_RM_TEST.
5170         (cimag_test): Likewise.
5171         (conj_test): Likewise.
5172         (copysign_test): Likewise.
5173         (cproj_test): Likewise.
5174         (creal_test): Likewise.
5175         (fabs_test): Likewise.
5176         (floor_test): Likewise.
5177         (fmax_test): Likewise.
5178         (fmin_test): Likewise.
5179         (fmod_test): Likewise.
5180         (fpclassify_test): Likewise.
5181         (frexp_test): Likewise.
5182         (ilogb_test): Likewise.
5183         (isfinite_test): Likewise.
5184         (finite_test): Likewise.
5185         (isgreater_test): Likewise.
5186         (isgreaterequal_test): Likewise.
5187         (isinf_test): Likewise.
5188         (isless_test): Likewise.
5189         (islessequal_test): Likewise.
5190         (islessgreater_test): Likewise.
5191         (isnan_test): Likewise.
5192         (isnormal_test): Likewise.
5193         (issignaling_test): Likewise.
5194         (isunordered_test): Likewise.
5195         (logb_test): Likewise.
5196         (logb_downward_test_data): Remove.
5197         (logb_test_downward): Likewise.
5198         (lround_test): Use ALL_RM_TEST.
5199         (llround_test): Likewise.
5200         (modf_test): Likewise.
5201         (nexttoward_test): Likewise.
5202         (remainder_test): Likewise.
5203         (drem_test): Likewise.
5204         (remainder_tonearest_test_data): Likewise.
5205         (remainder_test_tonearest): Likewise.
5206         (drem_test_tonearest): Likewise.
5207         (remainder_towardzero_test_data): Likewise.
5208         (remainder_test_towardzero): Likewise.
5209         (drem_test_towardzero): Likewise.
5210         (remainder_downward_test_data): Likewise.
5211         (remainder_test_downward): Likewise.
5212         (drem_test_downward): Likewise.
5213         (remainder_upward_test_data): Likewise.
5214         (remainder_test_upward): Likewise.
5215         (drem_test_upward): Likewise.
5216         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5217         (round_test): Use ALL_RM_TEST.
5218         (signbit_test): Likewise.
5219         (trunc_test): Likewise.
5220         (significand_test): Likewise.
5221         (main): Don't call removed functions.
5223 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5225         [BZ #16674]
5226         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5227         || __USE_XOPEN2K8].
5228         (ILL_ILLOPN): Likewise.
5229         (ILL_ILLADR): Likewise.
5230         (ILL_ILLTRP): Likewise.
5231         (ILL_PRVOPC): Likewise.
5232         (ILL_PRVREG): Likewise.
5233         (ILL_COPROC): Likewise.
5234         (ILL_BADSTK): Likewise.
5235         (FPE_INTDIV): Likewise.
5236         (FPE_INTOVF): Likewise.
5237         (FPE_FLTDIV): Likewise.
5238         (FPE_FLTOVF): Likewise.
5239         (FPE_FLTUND): Likewise.
5240         (FPE_FLTRES): Likewise.
5241         (FPE_FLTINV): Likewise.
5242         (FPE_FLTSUB): Likewise.
5243         (SEGV_MAPERR): Likewise.
5244         (SEGV_ACCERR): Likewise.
5245         (BUS_ADRALN): Likewise.
5246         (BUS_ADRERR): Likewise.
5247         (BUS_OBJERR): Likewise.
5248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5249         (TRAP_TRACE): Likewise.
5250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5251         __USE_XOPEN2K8].
5252         (CLD_KILLED): Likewise.
5253         (CLD_DUMPED): Likewise.
5254         (CLD_TRAPPED): Likewise.
5255         (CLD_STOPPED): Likewise.
5256         (CLD_CONTINUED): Likewise.
5257         (POLL_IN): Likewise.
5258         (POLL_OUT): Likewise.
5259         (POLL_MSG): Likewise.
5260         (POLL_ERR): Likewise.
5261         (POLL_PRI): Likewise.
5262         (POLL_HUP): Likewise.
5263         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5264         Likewise.
5265         (ILL_ILLOPN): Likewise.
5266         (ILL_ILLADR): Likewise.
5267         (ILL_ILLTRP): Likewise.
5268         (ILL_PRVOPC): Likewise.
5269         (ILL_PRVREG): Likewise.
5270         (ILL_COPROC): Likewise.
5271         (ILL_BADSTK): Likewise.
5272         (FPE_INTDIV): Likewise.
5273         (FPE_INTOVF): Likewise.
5274         (FPE_FLTDIV): Likewise.
5275         (FPE_FLTOVF): Likewise.
5276         (FPE_FLTUND): Likewise.
5277         (FPE_FLTRES): Likewise.
5278         (FPE_FLTINV): Likewise.
5279         (FPE_FLTSUB): Likewise.
5280         (SEGV_MAPERR): Likewise.
5281         (SEGV_ACCERR): Likewise.
5282         (BUS_ADRALN): Likewise.
5283         (BUS_ADRERR): Likewise.
5284         (BUS_OBJERR): Likewise.
5285         (BUS_MCEERR_AR): Likewise.
5286         (BUS_MCEERR_AO): Likewise.
5287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5288         (TRAP_TRACE): Likewise.
5289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5290         __USE_XOPEN2K8].
5291         (CLD_KILLED): Likewise.
5292         (CLD_DUMPED): Likewise.
5293         (CLD_TRAPPED): Likewise.
5294         (CLD_STOPPED): Likewise.
5295         (CLD_CONTINUED): Likewise.
5296         (POLL_IN): Likewise.
5297         (POLL_OUT): Likewise.
5298         (POLL_MSG): Likewise.
5299         (POLL_ERR): Likewise.
5300         (POLL_PRI): Likewise.
5301         (POLL_HUP): Likewise.
5302         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5303         (ILL_ILLOPN): Likewise.
5304         (ILL_ILLADR): Likewise.
5305         (ILL_ILLTRP): Likewise.
5306         (ILL_PRVOPC): Likewise.
5307         (ILL_PRVREG): Likewise.
5308         (ILL_COPROC): Likewise.
5309         (ILL_BADSTK): Likewise.
5310         (FPE_INTDIV): Likewise.
5311         (FPE_INTOVF): Likewise.
5312         (FPE_FLTDIV): Likewise.
5313         (FPE_FLTOVF): Likewise.
5314         (FPE_FLTUND): Likewise.
5315         (FPE_FLTRES): Likewise.
5316         (FPE_FLTINV): Likewise.
5317         (FPE_FLTSUB): Likewise.
5318         (SEGV_MAPERR): Likewise.
5319         (SEGV_ACCERR): Likewise.
5320         (BUS_ADRALN): Likewise.
5321         (BUS_ADRERR): Likewise.
5322         (BUS_OBJERR): Likewise.
5323         (BUS_MCEERR_AR): Likewise.
5324         (BUS_MCEERR_AO): Likewise.
5325         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5326         (TRAP_TRACE): Likewise.
5327         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5328         __USE_XOPEN2K8].
5329         (CLD_KILLED): Likewise.
5330         (CLD_DUMPED): Likewise.
5331         (CLD_TRAPPED): Likewise.
5332         (CLD_STOPPED): Likewise.
5333         (CLD_CONTINUED): Likewise.
5334         (POLL_IN): Likewise.
5335         (POLL_OUT): Likewise.
5336         (POLL_MSG): Likewise.
5337         (POLL_ERR): Likewise.
5338         (POLL_PRI): Likewise.
5339         (POLL_HUP): Likewise.
5340         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5341         Likewise.
5342         (ILL_ILLOPN): Likewise.
5343         (ILL_ILLADR): Likewise.
5344         (ILL_ILLTRP): Likewise.
5345         (ILL_PRVOPC): Likewise.
5346         (ILL_PRVREG): Likewise.
5347         (ILL_COPROC): Likewise.
5348         (ILL_BADSTK): Likewise.
5349         (ILL_BADIADDR): Likewise.
5350         (ILL_BREAK): Likewise.
5351         (FPE_INTDIV): Likewise.
5352         (FPE_INTOVF): Likewise.
5353         (FPE_FLTDIV): Likewise.
5354         (FPE_FLTOVF): Likewise.
5355         (FPE_FLTUND): Likewise.
5356         (FPE_FLTRES): Likewise.
5357         (FPE_FLTINV): Likewise.
5358         (FPE_FLTSUB): Likewise.
5359         (FPE_DECOVF): Likewise.
5360         (FPE_DECDIV): Likewise.
5361         (FPE_DECERR): Likewise.
5362         (FPE_INVASC): Likewise.
5363         (FPE_INVDEC): Likewise.
5364         (SEGV_MAPERR): Likewise.
5365         (SEGV_ACCERR): Likewise.
5366         (SEGV_PSTKOVF): Likewise.
5367         (BUS_ADRALN): Likewise.
5368         (BUS_ADRERR): Likewise.
5369         (BUS_OBJERR): Likewise.
5370         (BUS_MCEERR_AR): Likewise.
5371         (BUS_MCEERR_AO): Likewise.
5372         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5373         (TRAP_TRACE): Likewise.
5374         (TRAP_BRANCH): Likewise.
5375         (TRAP_HWBKPT): Likewise.
5376         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5377         __USE_XOPEN2K8].
5378         (CLD_KILLED): Likewise.
5379         (CLD_DUMPED): Likewise.
5380         (CLD_TRAPPED): Likewise.
5381         (CLD_STOPPED): Likewise.
5382         (CLD_CONTINUED): Likewise.
5383         (POLL_IN): Likewise.
5384         (POLL_OUT): Likewise.
5385         (POLL_MSG): Likewise.
5386         (POLL_ERR): Likewise.
5387         (POLL_PRI): Likewise.
5388         (POLL_HUP): Likewise.
5389         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5390         (ILL_ILLOPN): Likewise.
5391         (ILL_ILLADR): Likewise.
5392         (ILL_ILLTRP): Likewise.
5393         (ILL_PRVOPC): Likewise.
5394         (ILL_PRVREG): Likewise.
5395         (ILL_COPROC): Likewise.
5396         (ILL_BADSTK): Likewise.
5397         (FPE_INTDIV): Likewise.
5398         (FPE_INTOVF): Likewise.
5399         (FPE_FLTDIV): Likewise.
5400         (FPE_FLTOVF): Likewise.
5401         (FPE_FLTUND): Likewise.
5402         (FPE_FLTRES): Likewise.
5403         (FPE_FLTINV): Likewise.
5404         (FPE_FLTSUB): Likewise.
5405         (SEGV_MAPERR): Likewise.
5406         (SEGV_ACCERR): Likewise.
5407         (BUS_ADRALN): Likewise.
5408         (BUS_ADRERR): Likewise.
5409         (BUS_OBJERR): Likewise.
5410         (BUS_MCEERR_AR): Likewise.
5411         (BUS_MCEERR_AO): Likewise.
5412         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5413         (TRAP_TRACE): Likewise.
5414         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5415         __USE_XOPEN2K8].
5416         (CLD_KILLED): Likewise.
5417         (CLD_DUMPED): Likewise.
5418         (CLD_TRAPPED): Likewise.
5419         (CLD_STOPPED): Likewise.
5420         (CLD_CONTINUED): Likewise.
5421         (POLL_IN): Likewise.
5422         (POLL_OUT): Likewise.
5423         (POLL_MSG): Likewise.
5424         (POLL_ERR): Likewise.
5425         (POLL_PRI): Likewise.
5426         (POLL_HUP): Likewise.
5427         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5428         (ILL_ILLOPN): Likewise.
5429         (ILL_ILLADR): Likewise.
5430         (ILL_ILLTRP): Likewise.
5431         (ILL_PRVOPC): Likewise.
5432         (ILL_PRVREG): Likewise.
5433         (ILL_COPROC): Likewise.
5434         (ILL_BADSTK): Likewise.
5435         (FPE_INTDIV): Likewise.
5436         (FPE_INTOVF): Likewise.
5437         (FPE_FLTDIV): Likewise.
5438         (FPE_FLTOVF): Likewise.
5439         (FPE_FLTUND): Likewise.
5440         (FPE_FLTRES): Likewise.
5441         (FPE_FLTINV): Likewise.
5442         (FPE_FLTSUB): Likewise.
5443         (SEGV_MAPERR): Likewise.
5444         (SEGV_ACCERR): Likewise.
5445         (BUS_ADRALN): Likewise.
5446         (BUS_ADRERR): Likewise.
5447         (BUS_OBJERR): Likewise.
5448         (BUS_MCEERR_AR): Likewise.
5449         (BUS_MCEERR_AO): Likewise.
5450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5451         (TRAP_TRACE): Likewise.
5452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5453         __USE_XOPEN2K8].
5454         (CLD_KILLED): Likewise.
5455         (CLD_DUMPED): Likewise.
5456         (CLD_TRAPPED): Likewise.
5457         (CLD_STOPPED): Likewise.
5458         (CLD_CONTINUED): Likewise.
5459         (POLL_IN): Likewise.
5460         (POLL_OUT): Likewise.
5461         (POLL_MSG): Likewise.
5462         (POLL_ERR): Likewise.
5463         (POLL_PRI): Likewise.
5464         (POLL_HUP): Likewise.
5465         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5466         (ILL_ILLOPN): Likewise.
5467         (ILL_ILLADR): Likewise.
5468         (ILL_ILLTRP): Likewise.
5469         (ILL_PRVOPC): Likewise.
5470         (ILL_PRVREG): Likewise.
5471         (ILL_COPROC): Likewise.
5472         (ILL_BADSTK): Likewise.
5473         (FPE_INTDIV): Likewise.
5474         (FPE_INTOVF): Likewise.
5475         (FPE_FLTDIV): Likewise.
5476         (FPE_FLTOVF): Likewise.
5477         (FPE_FLTUND): Likewise.
5478         (FPE_FLTRES): Likewise.
5479         (FPE_FLTINV): Likewise.
5480         (FPE_FLTSUB): Likewise.
5481         (SEGV_MAPERR): Likewise.
5482         (SEGV_ACCERR): Likewise.
5483         (BUS_ADRALN): Likewise.
5484         (BUS_ADRERR): Likewise.
5485         (BUS_OBJERR): Likewise.
5486         (BUS_MCEERR_AR): Likewise.
5487         (BUS_MCEERR_AO): Likewise.
5488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5489         (TRAP_TRACE): Likewise.
5490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5491         __USE_XOPEN2K8].
5492         (CLD_KILLED): Likewise.
5493         (CLD_DUMPED): Likewise.
5494         (CLD_TRAPPED): Likewise.
5495         (CLD_STOPPED): Likewise.
5496         (CLD_CONTINUED): Likewise.
5497         (POLL_IN): Likewise.
5498         (POLL_OUT): Likewise.
5499         (POLL_MSG): Likewise.
5500         (POLL_ERR): Likewise.
5501         (POLL_PRI): Likewise.
5502         (POLL_HUP): Likewise.
5503         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5504         (ILL_ILLOPN): Likewise.
5505         (ILL_ILLADR): Likewise.
5506         (ILL_ILLTRP): Likewise.
5507         (ILL_PRVOPC): Likewise.
5508         (ILL_PRVREG): Likewise.
5509         (ILL_COPROC): Likewise.
5510         (ILL_BADSTK): Likewise.
5511         (ILL_DBLFLT): Likewise.
5512         (ILL_HARDWALL): Likewise.
5513         (FPE_INTDIV): Likewise.
5514         (FPE_INTOVF): Likewise.
5515         (FPE_FLTDIV): Likewise.
5516         (FPE_FLTOVF): Likewise.
5517         (FPE_FLTUND): Likewise.
5518         (FPE_FLTRES): Likewise.
5519         (FPE_FLTINV): Likewise.
5520         (FPE_FLTSUB): Likewise.
5521         (SEGV_MAPERR): Likewise.
5522         (SEGV_ACCERR): Likewise.
5523         (BUS_ADRALN): Likewise.
5524         (BUS_ADRERR): Likewise.
5525         (BUS_OBJERR): Likewise.
5526         (BUS_MCEERR_AR): Likewise.
5527         (BUS_MCEERR_AO): Likewise.
5528         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5529         (TRAP_TRACE): Likewise.
5530         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5531         __USE_XOPEN2K8].
5532         (CLD_KILLED): Likewise.
5533         (CLD_DUMPED): Likewise.
5534         (CLD_TRAPPED): Likewise.
5535         (CLD_STOPPED): Likewise.
5536         (CLD_CONTINUED): Likewise.
5537         (POLL_IN): Likewise.
5538         (POLL_OUT): Likewise.
5539         (POLL_MSG): Likewise.
5540         (POLL_ERR): Likewise.
5541         (POLL_PRI): Likewise.
5542         (POLL_HUP): Likewise.
5543         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5544         (ILL_ILLOPN): Likewise.
5545         (ILL_ILLADR): Likewise.
5546         (ILL_ILLTRP): Likewise.
5547         (ILL_PRVOPC): Likewise.
5548         (ILL_PRVREG): Likewise.
5549         (ILL_COPROC): Likewise.
5550         (ILL_BADSTK): Likewise.
5551         (FPE_INTDIV): Likewise.
5552         (FPE_INTOVF): Likewise.
5553         (FPE_FLTDIV): Likewise.
5554         (FPE_FLTOVF): Likewise.
5555         (FPE_FLTUND): Likewise.
5556         (FPE_FLTRES): Likewise.
5557         (FPE_FLTINV): Likewise.
5558         (FPE_FLTSUB): Likewise.
5559         (SEGV_MAPERR): Likewise.
5560         (SEGV_ACCERR): Likewise.
5561         (BUS_ADRALN): Likewise.
5562         (BUS_ADRERR): Likewise.
5563         (BUS_OBJERR): Likewise.
5564         (BUS_MCEERR_AR): Likewise.
5565         (BUS_MCEERR_AO): Likewise.
5566         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5567         (TRAP_TRACE): Likewise.
5568         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5569         __USE_XOPEN2K8].
5570         (CLD_KILLED): Likewise.
5571         (CLD_DUMPED): Likewise.
5572         (CLD_TRAPPED): Likewise.
5573         (CLD_STOPPED): Likewise.
5574         (CLD_CONTINUED): Likewise.
5575         (POLL_IN): Likewise.
5576         (POLL_OUT): Likewise.
5577         (POLL_MSG): Likewise.
5578         (POLL_ERR): Likewise.
5579         (POLL_PRI): Likewise.
5580         (POLL_HUP): Likewise.
5581         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5582         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5584         [BZ #16670]
5585         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5586         before #include of <time.h>.
5587         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5588         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5589         (test-xfail-UNIX98/sched.h/conform): Likewise.
5591 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5593         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5594         error absence of trapping exception support.
5595         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5597 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5599         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5600         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5601         * timezone/Makefile (testdata): Move definition above include of
5602         Rules.
5603         (test-zones): New variable.
5604         (tests-special): Add zone files.
5605         (build-testdata): Use $(evaluate-test).
5607         * elf/Makefile (tests-special): Rename tests to end with .out.
5608         ($(objpfx)noload-mem): Likewise.
5609         ($(objpfx)tst-leaks1-mem): Likewise.
5610         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5611         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5612         $(objpfx)test-iconvconfig.out.
5613         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5614         set -e inside subshell and redirect output to file.
5615         * iconvdata/Makefile (generated): Rename tests to end with .out.
5616         Correct type.
5617         (tests-special): Rename tests to end with .out.
5618         ($(objpfx)mtrace-tst-loading): Likewise.
5619         * intl/Makefile (generated): Likewise.
5620         (tests-special): Likewise.
5621         ($(objpfx)mtrace-tst-gettext): Likewise.
5622         * misc/Makefile (generated): Likewise.
5623         (tests-special): Likewise.
5624         ($(objpfx)tst-error1-mem): Likewise.
5625         * nptl/Makefile (tests-special): Likewise.
5626         ($(objpfx)tst-stack3-mem): Likewise.
5627         (generated): Likewise.
5628         * posix/Makefile (generated): Likewise.
5629         (tests-special): Likewise.
5630         (xtests-special): Likewise.
5631         ($(objpfx)tst-fnmatch-mem): Likewise.
5632         ($(objpfx)bug-regex2-mem): Likewise.
5633         ($(objpfx)bug-regex14-mem): Likewise.
5634         ($(objpfx)bug-regex21-mem): Likewise.
5635         ($(objpfx)bug-regex31-mem): Likewise.
5636         ($(objpfx)tst-vfork3-mem): Likewise.
5637         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5638         ($(objpfx)tst-pcre-mem): Likewise.
5639         ($(objpfx)tst-boost-mem): Likewise.
5640         ($(objpfx)bug-ga2-mem): Likewise.
5641         ($(objpfx)bug-glob2-mem): Likewise.
5642         * resolv/Makefile (generate): Likewise.
5643         (tests-special): Likewise.
5644         (xtests-special): Likewise.
5645         (generated): Likewise.
5646         ($(objpfx)mtrace-tst-leaks): Likewise.
5647         ($(objpfx)mtrace-tst-leaks2): Likewise.
5649         * scripts/merge-test-results.sh: New file.
5650         * Makefile (tests-special-notdir): New variable.
5651         (tests): Run merge-test-results.sh.
5652         (xtests): Likewise.
5653         * Rules (tests-special-notdir): New variable.
5654         (xtests-special-notdir): Likewise.
5655         (tests): Run merge-test-results.sh
5656         (xtests): Likewise.
5658         * Makeconfig (test-xfail-name): New variable.
5659         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5660         compute variable name for expected failures.
5661         * conform/Makefile (conformtest-headers-data): New variable.
5662         (conformtest-standards): Likewise.
5663         (conformtest-headers-ISO): Likewise.
5664         (conformtest-headers-ISO99): Likewise.
5665         (conformtest-headers-ISO11): Likewise.
5666         (conformtest-headers-POSIX): Likewise.
5667         (conformtest-headers-XPG3): Likewise.
5668         (conformtest-headers-XPG4): Likewise.
5669         (conformtest-headers-UNIX98): Likewise.
5670         (conformtest-headers-XOPEN2K): Likewise.
5671         (conformtest-headers-POSIX2008): Likewise.
5672         (conformtest-headers-XOPEN2K8): Likewise.
5673         (conformtest-header-list-base): Likewise.
5674         (conformtest-header-list-tests): Likewise.
5675         (conformtest-header-base): Likewise.
5676         (conformtest-header-tests): Likewise.
5677         (tests-special): Add $(conformtest-header-list-tests).  If
5678         [$(fast-check) && !$(cross-compiling)], add
5679         $(conformtest-header-tests) instead of
5680         $(objpfx)run-conformtest.out.
5681         (generated): Add $(conformtest-header-list-base).  If
5682         [$(fast-check) && !$(cross-compiling)], add
5683         $(conformtest-header-base).  Remove previous setting.
5684         ($(conformtest-header-list-tests)): New target.
5685         (test-xfail-run-conformtest): Remove variable.
5686         ($(objpfx)run-conformtest.out): Remove target.
5687         (test-xfail-ISO11/complex.h/conform): New variable.
5688         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5689         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5690         (test-xfail-XPG3/varargs.h/conform): Likewise.
5691         (test-xfail-XPG4/varargs.h/conform): Likewise.
5692         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5693         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5694         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5695         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5696         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5697         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5698         (test-xfail-XPG3/ftw.h/conform): Likewise.
5699         (test-xfail-XPG3/grp.h/conform): Likewise.
5700         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5701         (test-xfail-XPG3/limits.h/conform): Likewise.
5702         (test-xfail-XPG3/pwd.h/conform): Likewise.
5703         (test-xfail-XPG3/search.h/conform): Likewise.
5704         (test-xfail-XPG3/signal.h/conform): Likewise.
5705         (test-xfail-XPG3/stdio.h/conform): Likewise.
5706         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5707         (test-xfail-XPG3/string.h/conform): Likewise.
5708         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5709         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5710         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5711         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5712         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5713         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5714         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5715         (test-xfail-XPG3/termios.h/conform): Likewise.
5716         (test-xfail-XPG3/time.h/conform): Likewise.
5717         (test-xfail-XPG3/unistd.h/conform): Likewise.
5718         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5719         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5720         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5721         (test-xfail-XPG4/netdb.h/conform): Likewise.
5722         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5723         (test-xfail-XPG4/signal.h/conform): Likewise.
5724         (test-xfail-XPG4/stdio.h/conform): Likewise.
5725         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5726         (test-xfail-XPG4/stropts.h/conform): Likewise.
5727         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5728         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5729         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5730         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5731         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5732         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5733         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5734         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5735         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5736         (test-xfail-XPG4/termios.h/conform): Likewise.
5737         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5738         (test-xfail-XPG4/unistd.h/conform): Likewise.
5739         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5740         (test-xfail-POSIX/sched.h/conform): Likewise.
5741         (test-xfail-POSIX/signal.h/conform): Likewise.
5742         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5743         (test-xfail-POSIX/tar.h/conform): Likewise.
5744         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5745         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5746         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5747         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5748         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5749         (test-xfail-UNIX98/sched.h/conform): Likewise.
5750         (test-xfail-UNIX98/signal.h/conform): Likewise.
5751         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5752         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5753         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5754         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5755         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5756         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5757         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5758         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5759         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5760         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5761         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5762         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5763         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5764         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5765         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5766         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5767         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5768         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5769         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5770         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5771         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5772         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5773         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5774         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5775         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5776         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5777         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5778         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5779         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5780         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5781         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5782         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5783         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5784         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5785         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5786         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5787         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5788         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5789         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5790         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5791         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5792         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5793         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5794         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5795         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5796         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5797         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5798         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5799         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5800         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5801         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5802         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5803         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5804         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5805         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5806         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5807         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5808         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5809         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5810         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5811         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5812         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5813         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5814         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5815         (conformtest-cc-flags): Likewise.
5816         ($(conformtest-header-tests): New target.
5817         * conform/check-header-lists.sh: New file.
5818         * conform/run-conformtest.sh: Remove.
5820         * conform/conformtest.pl: Allow ' and \ in values given for
5821         constants.
5822         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5823         inclusion.
5824         [POSIX] (sys/types.h): Likewise.
5825         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5826         inclusion.
5827         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5828         inclusion.
5829         * conform/data/signal.h-data (SIGIO): Remove expectation.
5830         [XPG3] (SIGBUS): Do not expect.
5831         [POSIX || XPG3] (SIGPOLL): Likewise.
5832         [POSIX || XPG3] (SIGPROF): Likewise.
5833         [POSIX || XPG3] (SIGSYS): Likewise.
5834         [XPG3] (SIGTRAP): Likewise.
5835         [POSIX || XPG3] (SIGURG): Likewise.
5836         [POSIX || XPG3] (SIGVTALRM): Likewise.
5837         [POSIX || XPG3] (SIGXCPU): Likewise.
5838         [POSIX || XPG3] (SIGXFSZ): Likewise.
5839         [POSIX] (SA_SIGINFO): Expect.
5840         [XPG3] (siginfo_t): Do not expect type or contents.
5841         [POSIX] (si_pid): Do not expect element.
5842         [POSIX] (si_uid): Likewise.
5843         [POSIX] (si_addr): Likewise.
5844         [POSIX] (si_status): Likewise.
5845         [POSIX] (si_band): Likewise.
5846         [XPG4] (si_value): Likewise.
5847         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5848         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5849         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5850         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5851         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5852         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5853         [POSIX || XPG3] (ILL_COPROC): Likewise.
5854         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5855         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5856         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5857         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5858         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5859         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5860         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5861         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5862         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5863         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5864         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5865         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5866         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5867         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5868         [POSIX || XPG3] (CLD_EXITED): Likewise.
5869         [POSIX || XPG3] (CLD_KILLED): Likewise.
5870         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5871         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5872         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5873         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5874         [POSIX || XPG3] (POLL_IN): Likewise.
5875         [POSIX || XPG3] (POLL_OUT): Likewise.
5876         [POSIX || XPG3] (POLL_MSG): Likewise.
5877         [POSIX || XPG3] (POLL_ERR): Likewise.
5878         [POSIX || XPG3] (POLL_PRI): Likewise.
5879         [POSIX || XPG3] (POLL_HUP): Likewise.
5880         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5881         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5882         (SIG*): Do not allow.
5883         [XPG3] (si_*): Likewise.
5884         [XPG3] (SI_*): Likewise.
5885         [XPG3 || XPG4] (sigev_*): Likewise.
5886         [XPG3 || XPG4] (SIGEV_*): Likewise.
5887         [XPG3 || XPG4] (sival_*): Likewise.
5888         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5889         [POSIX || XPG3] (BUS_*): Likewise.
5890         [POSIX || XPG3] (CLD_*): Likewise.
5891         [POSIX || XPG3] (FPE_*): Likewise.
5892         [POSIX || XPG3] (ILL_*): Likewise.
5893         [POSIX || XPG3] (POLL_*): Likewise.
5894         [POSIX || XPG3] (SEGV_*): Likewise.
5895         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5896         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5897         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5898         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5899         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5900         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5901         Specify type and value.
5902         (TVERSLEN): Likewise.
5903         (REGTYPE): Likewise.
5904         (AREGTYPE): Likewise.
5905         (LNKTYPE): Likewise.
5906         (SYMTYPE): Likewise.
5907         (CHRTYPE): Likewise.
5908         (BLKTYPE): Likewise.
5909         (DIRTYPE): Likewise.
5910         (FIFOTYPE): Likewise.
5911         (CONTTYPE): Likewise.
5912         (TSUID): Likewise.
5913         (TSGID): Likewise.
5914         (TSVTX): Likewise.
5915         (TUREAD): Likewise.
5916         (TUWRITE): Likewise.
5917         (TUEXEC): Likewise.
5918         (TGREAD): Likewise.
5919         (TGWRITE): Likewise.
5920         (TGEXEC): Likewise.
5921         (TOREAD): Likewise.
5922         (TOWRITE): Likewise.
5923         (TOEXEC): Likewise.
5924         [POSIX] (TSVTX): Expect constant.
5926 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
5928         * Makefile (tests): Change dependencies to ....
5929         (tests-special): ... additions to this variable.
5930         (tests): Depend on $(tests-special).
5931         * Makerules (check-abi-list): New variable.
5932         (check-abi): Depend on $(check-abi-list).
5933         [$(subdir) = elf] (tests-special): Add
5934         $(objpfx)check-abi-libc.out.
5935         [$(build-shared) = yes && subdir] (tests-special): Add
5936         $(check-abi-list).
5937         [$(build-shared) = yes && subdir] (tests): Do not depend on
5938         check-abi.
5939         * Rules (tests): Depend on $(tests-special).
5940         (xtests): Depend on $(xtests-special).
5941         * catgets/Makefile (tests): Change dependencies to ....
5942         (tests-special): ... additions to this variable.
5943         * conform/Makefile (tests): Change dependencies to ....
5944         (tests-special): ... additions to this variable.
5945         * elf/Makefile (tests): Change dependencies to ....
5946         (tests-special): ... additions to this variable.
5947         * grp/Makefile (tests): Change dependencies to ....
5948         (tests-special): ... additions to this variable.
5949         * iconv/Makefile (xtests): Change dependencies to ....
5950         (xtests-special): ... additions to this variable.
5951         * iconvdata/Makefile (tests): Change dependencies to ....
5952         (tests-special): ... additions to this variable.
5953         * intl/Makefile (tests): Change dependencies to ....
5954         (tests-special): ... additions to this variable.  Also add
5955         $(objpfx)tst-gettext.out.
5956         * io/Makefile (tests): Change dependencies to ....
5957         (tests-special): ... additions to this variable.
5958         * libio/Makefile (tests): Change dependencies to ....
5959         (tests-special): ... additions to this variable.
5960         * malloc/Makefile (tests): Change dependencies to ....
5961         (tests-special): ... additions to this variable.
5962         * misc/Makefile (tests): Change dependencies to ....
5963         (tests-special): ... additions to this variable.
5964         * nptl/Makefile (tests): Change dependencies to ....
5965         (tests-special): ... additions to this variable.
5966         * nptl_db/Makefile (tests): Change dependencies to ....
5967         (tests-special): ... additions to this variable.
5968         * posix/Makefile (tests): Change dependencies to ....
5969         (tests-special): ... additions to this variable.
5970         (xtests): Change dependencies to ....
5971         (xtests-special): ... additions to this variable.
5972         * resolv/Makefile (tests): Change dependencies to ....
5973         (tests-special): ... additions to this variable.
5974         (xtests): Change dependencies to ....
5975         (xtests-special): ... additions to this variable.
5976         * stdio-common/Makefile (tests): Change dependencies to ....
5977         (tests-special): ... additions to this variable.
5978         (do-tst-unbputc): Remove target.
5979         (do-tst-printf): Likewise.
5980         * stdlib/Makefile (tests): Change dependencies to ....
5981         (tests-special): ... additions to this variable.
5982         * string/Makefile (tests): Change dependencies to ....
5983         (tests-special): ... additions to this variable.
5984         * sysdeps/x86/Makefile (tests): Change dependencies to ....
5985         (tests-special): ... additions to this variable.
5987         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
5988         whole file.
5989         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
5990         whole file.
5991         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
5992         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
5994         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
5995         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
5996         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
5997         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
5998         * conform/data/libgen.h-data [XPG3]: Likewise.
5999         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6000         * conform/data/ndbm.h-data [XPG3]: Likewise.
6001         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6002         * conform/data/netdb.h-data [XPG3]: Likewise.
6003         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6004         * conform/data/poll.h-data [XPG3]: Likewise.
6005         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6006         * conform/data/strings.h-data [XPG3]: Likewise.
6007         * conform/data/stropts.h-data [XPG3]: Likewise.
6008         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6009         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6010         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6011         Likewise.
6012         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6013         * conform/data/sys/time.h-data [XPG3]: Likewise.
6014         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6015         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6016         * conform/data/sys/un.h-data [XPG3]: Likewise.
6017         * conform/data/syslog.h-data [XPG3]: Likewise.
6018         * conform/data/ucontext.h-data [XPG3]: Likewise.
6019         * conform/data/utmpx.h-data [XPG3]: Likewise.
6020         * conform/data/varargs.h-data [UNIX98]: Enable file.
6022         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6024         * math/libm-test.inc (struct test_f_f_data): Move expected results
6025         into structure for each rounding mode.
6026         (struct test_ff_f_data): Likewise.
6027         (struct test_ff_f_data_nexttoward): Likewise.
6028         (struct test_fi_f_data): Likewise.
6029         (struct test_fl_f_data): Likewise.
6030         (struct test_if_f_data): Likewise.
6031         (struct test_fff_f_data): Likewise.
6032         (struct test_c_f_data): Likewise.
6033         (struct test_f_f1_data): Likewise.
6034         (struct test_fF_f1_data): Likewise.
6035         (struct test_ffI_f1_data): Likewise.
6036         (struct test_c_c_data): Likewise.
6037         (struct test_cc_c_data): Likewise.
6038         (struct test_f_i_data): Likewise.
6039         (struct test_ff_i_data): Likewise.
6040         (struct test_f_l_data): Likewise.
6041         (struct test_f_L_data): Likewise.
6042         (struct test_fFF_11_data): Likewise.
6043         (RM_): New macro.
6044         (RM_FE_DOWNWARD): Likewise.
6045         (RM_FE_TONEAREST): Likewise.
6046         (RM_FE_TOWARDZERO): Likewise.
6047         (RM_FE_UPWARD): Likewise.
6048         (RUN_TEST_LOOP_f_f): Update references to expected results.
6049         (RUN_TEST_LOOP_2_f): Likewise.
6050         (RUN_TEST_LOOP_fff_f): Likewise.
6051         (RUN_TEST_LOOP_c_f): Likewise.
6052         (RUN_TEST_LOOP_f_f1): Likewise.
6053         (RUN_TEST_LOOP_fF_f1): Likewise.
6054         (RUN_TEST_LOOP_fI_f1): Likewise.
6055         (RUN_TEST_LOOP_ffI_f1): Likewise.
6056         (RUN_TEST_LOOP_c_c): Likewise.
6057         (RUN_TEST_LOOP_cc_c): Likewise.
6058         (RUN_TEST_LOOP_f_i): Likewise.
6059         (RUN_TEST_LOOP_f_i_tg): Likewise.
6060         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6061         (RUN_TEST_LOOP_f_b): Likewise.
6062         (RUN_TEST_LOOP_f_b_tg): Likewise.
6063         (RUN_TEST_LOOP_f_l): Likewise.
6064         (RUN_TEST_LOOP_f_L): Likewise.
6065         (RUN_TEST_LOOP_fFF_11): Likewise.
6066         * math/gen-libm-test.pl (parse_args): Output four copies of
6067         expected results for each test.
6069         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6070         (__ASSUME_UTIMES): Remove.
6071         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6072         (__ASSUME_UTIMES): Likewise.
6074         * math/gen-auto-libm-tests.c: Update comment on output format.
6075         (output_for_one_input_case): Generate before-rounding and
6076         after-rounding information as conditions on output flags not
6077         floating-point format.
6078         * math/auto-libm-test-out: Regenerated.
6079         * math/gen-libm-test.pl (cond_value): New function.
6080         (or_cond_value): Use cond_value.
6081         (generate_testfile): Handle conditional exceptions.
6083 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6085         * math/libm-test.inc (max_valid_error): New variable.
6086         (init_max_error): Take new argument specifying whether function
6087         results are exactly determined.  Set max_valid_error and bound
6088         other variables for errors based on this argument.
6089         (set_max_error): Do not record results above max_valid_error.
6090         (check_float_internal): Only accept errors of up to 0.5ulps if
6091         also at most max_valid_error.
6092         (START): Take new argument EXACT and pass it to init_max_error.
6093         (acos_test): Update call to START.
6094         (acos_test_tonearest): Likewise.
6095         (acos_test_towardzero): Likewise.
6096         (acos_test_downward): Likewise.
6097         (acos_test_upward): Likewise.
6098         (acosh_test): Likewise.
6099         (asin_test): Likewise.
6100         (asin_test_tonearest): Likewise.
6101         (asin_test_towardzero): Likewise.
6102         (asin_test_downward): Likewise.
6103         (asin_test_upward): Likewise.
6104         (asinh_test): Likewise.
6105         (atan_test): Likewise.
6106         (atanh_test): Likewise.
6107         (atan2_test): Likewise.
6108         (cabs_test): Likewise.
6109         (cacos_test): Likewise.
6110         (cacosh_test): Likewise.
6111         (carg_test): Likewise.
6112         (casin_test): Likewise.
6113         (casinh_test): Likewise.
6114         (catan_test): Likewise.
6115         (catanh_test): Likewise.
6116         (cbrt_test): Likewise.
6117         (ccos_test): Likewise.
6118         (ccosh_test): Likewise.
6119         (ceil_test): Likewise.
6120         (cexp_test): Likewise.
6121         (cimag_test): Likewise.
6122         (clog_test): Likewise.
6123         (clog10_test): Likewise.
6124         (conj_test): Likewise.
6125         (copysign_test): Likewise.
6126         (cos_test): Likewise.
6127         (cos_test_tonearest): Likewise.
6128         (cos_test_towardzero): Likewise.
6129         (cos_test_downward): Likewise.
6130         (cos_test_upward): Likewise.
6131         (cosh_test): Likewise.
6132         (cosh_test_tonearest): Likewise.
6133         (cosh_test_towardzero): Likewise.
6134         (cosh_test_downward): Likewise.
6135         (cosh_test_upward): Likewise.
6136         (cpow_test): Likewise.
6137         (cproj_test): Likewise.
6138         (creal_test): Likewise.
6139         (csin_test): Likewise.
6140         (csinh_test): Likewise.
6141         (csqrt_test): Likewise.
6142         (ctan_test): Likewise.
6143         (ctan_test_tonearest): Likewise.
6144         (ctan_test_towardzero): Likewise.
6145         (ctan_test_downward): Likewise.
6146         (ctan_test_upward): Likewise.
6147         (ctanh_test): Likewise.
6148         (ctanh_test_tonearest): Likewise.
6149         (ctanh_test_towardzero): Likewise.
6150         (ctanh_test_downward): Likewise.
6151         (ctanh_test_upward): Likewise.
6152         (erf_test): Likewise.
6153         (erfc_test): Likewise.
6154         (exp_test): Likewise.
6155         (exp_test_tonearest): Likewise.
6156         (exp_test_towardzero): Likewise.
6157         (exp_test_downward): Likewise.
6158         (exp_test_upward): Likewise.
6159         (exp10_test): Likewise.
6160         (exp10_test_tonearest): Likewise.
6161         (exp10_test_towardzero): Likewise.
6162         (exp10_test_downward): Likewise.
6163         (exp10_test_upward): Likewise.
6164         (pow10_test): Likewise.
6165         (exp2_test): Likewise.
6166         (expm1_test): Likewise.
6167         (expm1_test_tonearest): Likewise.
6168         (expm1_test_towardzero): Likewise.
6169         (expm1_test_downward): Likewise.
6170         (expm1_test_upward): Likewise.
6171         (fabs_test): Likewise.
6172         (fdim_test): Likewise.
6173         (floor_test): Likewise.
6174         (fma_test): Likewise.
6175         (fma_test_towardzero): Likewise.
6176         (fma_test_downward): Likewise.
6177         (fma_test_upward): Likewise.
6178         (fmax_test): Likewise.
6179         (fmin_test): Likewise.
6180         (fmod_test): Likewise.
6181         (fpclassify_test): Likewise.
6182         (frexp_test): Likewise.
6183         (hypot_test): Likewise.
6184         (ilogb_test): Likewise.
6185         (isfinite_test): Likewise.
6186         (finite_test): Likewise.
6187         (isgreater_test): Likewise.
6188         (isgreaterequal_test): Likewise.
6189         (isinf_test): Likewise.
6190         (isless_test): Likewise.
6191         (islessequal_test): Likewise.
6192         (islessgreater_test): Likewise.
6193         (isnan_test): Likewise.
6194         (isnormal_test): Likewise.
6195         (issignaling_test): Likewise.
6196         (isunordered_test): Likewise.
6197         (j0_test): Likewise.
6198         (j1_test): Likewise.
6199         (jn_test): Likewise.
6200         (ldexp_test): Likewise.
6201         (lgamma_test): Likewise.
6202         (gamma_test): Likewise.
6203         (lrint_test): Likewise.
6204         (lrint_test_tonearest): Likewise.
6205         (lrint_test_towardzero): Likewise.
6206         (lrint_test_downward): Likewise.
6207         (lrint_test_upward): Likewise.
6208         (llrint_test): Likewise.
6209         (llrint_test_tonearest): Likewise.
6210         (llrint_test_towardzero): Likewise.
6211         (llrint_test_downward): Likewise.
6212         (llrint_test_upward): Likewise.
6213         (log_test): Likewise.
6214         (log10_test): Likewise.
6215         (log1p_test): Likewise.
6216         (log2_test): Likewise.
6217         (logb_test): Likewise.
6218         (logb_test_downward): Likewise.
6219         (lround_test): Likewise.
6220         (llround_test): Likewise.
6221         (modf_test): Likewise.
6222         (nearbyint_test): Likewise.
6223         (nextafter_test): Likewise.
6224         (nexttoward_test): Likewise.
6225         (pow_test): Likewise.
6226         (pow_test_tonearest): Likewise.
6227         (pow_test_towardzero): Likewise.
6228         (pow_test_downward): Likewise.
6229         (pow_test_upward): Likewise.
6230         (remainder_test): Likewise.
6231         (drem_test): Likewise.
6232         (remainder_test_tonearest): Likewise.
6233         (drem_test_tonearest): Likewise.
6234         (remainder_test_towardzero): Likewise.
6235         (drem_test_towardzero): Likewise.
6236         (remainder_test_downward): Likewise.
6237         (drem_test_downward): Likewise.
6238         (remainder_test_upward): Likewise.
6239         (drem_test_upward): Likewise.
6240         (remquo_test): Likewise.
6241         (rint_test): Likewise.
6242         (rint_test_tonearest): Likewise.
6243         (rint_test_towardzero): Likewise.
6244         (rint_test_downward): Likewise.
6245         (rint_test_upward): Likewise.
6246         (round_test): Likewise.
6247         (scalb_test): Likewise.
6248         (scalbn_test): Likewise.
6249         (scalbln_test): Likewise.
6250         (signbit_test): Likewise.
6251         (sin_test): Likewise.
6252         (sin_test_tonearest): Likewise.
6253         (sin_test_towardzero): Likewise.
6254         (sin_test_downward): Likewise.
6255         (sin_test_upward): Likewise.
6256         (sincos_test): Likewise.
6257         (sinh_test): Likewise.
6258         (sinh_test_tonearest): Likewise.
6259         (sinh_test_towardzero): Likewise.
6260         (sinh_test_downward): Likewise.
6261         (sinh_test_upward): Likewise.
6262         (sqrt_test): Likewise.
6263         (sqrt_test_tonearest): Likewise.
6264         (sqrt_test_towardzero): Likewise.
6265         (sqrt_test_downward): Likewise.
6266         (sqrt_test_upward): Likewise.
6267         (tan_test): Likewise.
6268         (tan_test_tonearest): Likewise.
6269         (tan_test_towardzero): Likewise.
6270         (tan_test_downward): Likewise.
6271         (tan_test_upward): Likewise.
6272         (tanh_test): Likewise.
6273         (tgamma_test): Likewise.
6274         (trunc_test): Likewise.
6275         (y0_test): Likewise.
6276         (y1_test): Likewise.
6277         (yn_test): Likewise.
6278         (significand_test): Likewise.
6280         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6281         individual tests in comment.
6282         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6283         (prev_max_error): New variable.
6284         (prev_real_max_error): Likewise.
6285         (prev_imag_max_error): Likewise.
6286         (compare_ulp_data): Don't refer to test names in comment.
6287         (find_test_ulps): Remove function.
6288         (find_function_ulps): Likewise.
6289         (find_complex_function_ulps): Likewise.
6290         (init_max_error): Take function name as argument.  Look up ulps
6291         for that function.
6292         (print_ulps): Remove function.
6293         (print_max_error): Use prev_max_error instead of calling
6294         find_function_ulps.
6295         (print_complex_max_error): Use prev_real_max_error and
6296         prev_imag_max_error instead of calling find_complex_function_ulps.
6297         (check_float_internal): Take max_ulp parameter instead of calling
6298         find_test_ulps.  Don't call print_ulps.
6299         (check_float): Update call to check_float_internal.
6300         (check_complex): Update calls to check_float_internal.
6301         (START): Pass argument to init_max_error.
6302         * math/gen-libm-test.pl (%results): Don't include "kind"
6303         information.
6304         (parse_ulps): Don't handle ulps of individual tests.
6305         (print_ulps_file): Likewise.
6306         (output_ulps): Likewise.
6307         * math/README.libm-test: Update.
6308         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6309         individual tests.
6310         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6311         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6312         * sysdeps/arm/libm-test-ulps: Likewise.
6313         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6314         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6315         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6316         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6317         * sysdeps/microblaze/libm-test-ulps: Likewise.
6318         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6319         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6320         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6321         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6322         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6323         * sysdeps/sh/libm-test-ulps: Likewise.
6324         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6325         * sysdeps/tile/libm-test-ulps: Likewise.
6326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6328 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6330         * math/libm-test.inc (print_complex_max_error): Check separately
6331         whether real and imaginary errors are within allowed range and
6332         pass 0 to print_complex_function_ulps instead of value within
6333         allowed range.
6335 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6337         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6338         formatting.
6339         (get_handles_fopen): Likewise.
6340         (do_write_test): Likewise.
6342         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6344         * libio/fileops.c (do_ftell): Use cached offset when
6345         available.
6346         * libio/iofwide.c (do_ftell_wide): Likewise.
6347         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6348         _IO_file_attach.
6349         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6351         [BZ #16532]
6352         * libio/libioP.h (get_file_offset): New function.
6353         * libio/fileops.c (get_file_offset): Likewise.
6354         (do_ftell): Likewise.
6355         (_IO_new_file_seekoff): Split out ftell logic.
6356         * libio/wfileops.c (do_ftell_wide): Likewise.
6357         (_IO_wfile_seekoff): Split out ftell logic.
6358         * libio/tst-ftell-active-handler.c: New test case.
6359         * libio/Makefile (tests): Add it.
6361 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6363         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6364         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6366 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368         [BZ #16639]
6369         * nscd/connections.c (nscd_init): Call do_exit.
6370         (start_threads): Call do_exit and notify_parent.
6371         (begin_drop_privileges): Call do_exit.
6372         (finish_drop_privileges): Likewise.
6373         * nscd/selinux.c (preserve_capabilities): Likewise.
6374         (install_real_capabilities): Likewise.
6375         (nscd_selinux_enabled): Likewise.
6376         (avc_create_thread): Likewise.
6377         (avc_alloc_lock): Likewise.
6378         (nscd_avc_init): Likewise.
6379         * nscd/nscd.c (parent_fd): New static variable.
6380         (main): Create a pipe between parent and child processes.
6381         Skip closing parent_fd.
6382         (monitor_child): New function.
6383         (do_exit): Likewise.
6384         (notify_parent): Likewise.
6385         * nscd/nscd.h (notify_parent): Likewise.
6386         (do_exit): Likewise.
6388 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6390         * malloc/malloc.c (__libc_calloc): Revert last change.
6392 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6396 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6398         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6400         implementation.
6401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6402         (__libc_ifunc_impl_list): Likewise.
6403         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6404         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6405         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6406         * string/strrchr.c: Define STRRCHR.
6408 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6410         * benchtest/bench-strtok.c (simple_strtok): Delete.
6411         (strtok_string): Use as benchmark.
6412         * string/strtok (STRTOK): New macro.
6414 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6416         * manual/threads.texi: Add header and standard comments to all
6417         functions.
6419         * elf/dl-lookup.c (check_match): New function.
6420         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6421         (do_lookup_x): Remove nested function check_match. Use non-nested
6422         function check_match.
6424 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6426         * csu/Makefile (generated, before-compile): Use += rather than =.
6427         * catgets/Makefile (generated, generated-dirs): Likewise.
6428         * debug/Makefile (generated): Likewise.
6429         * dlfcn/Makefile (generated): Likewise.
6430         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6431         * iconvdata/Makefile (before-compile, generated): Likewise.
6432         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6433         * libio/Makefile (generated): Likewise.
6434         * malloc/Makefile (generated): Likewise.
6435         * manual/Makefile (generated, generated-dirs): Likewise.
6436         * misc/Makefile (generated): Likewise.
6437         * posix/Makefile (generated): Likewise.
6438         * resolv/Makefile (generated): Likewise.
6439         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6440         * timezone/Makefile (generated, generated-dirs): Likewise.
6442         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6444 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6447         power8 implementation.
6448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6449         file: POWER8 llround ifunc implementation.
6450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6451         (__lllround): Add POWER8 implementation.
6452         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6453         POWER8 llround implementation.
6455         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6456         power8 implementation.
6457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6458         file: POWER8 llrint ifunc implementation.
6459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6460         Add POWER8 implementation.
6461         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6462         POWER8 llrint implementation.
6464         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6465         power8 implementation.
6466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6467         file: POWER8 finite ifunc implementation.
6468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6469         Add POWER8 implementation.
6470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6471         Likewise.
6472         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6473         POWER8 finite implementation.
6474         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6477         power8 implementation.
6478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6479         file: POWER8 isinf ifunc implementation.
6480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6481         POWER8 implementation.
6482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6483         Likewise.
6484         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6485         isinf implementation.
6486         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6488         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6489         (INIT_ARCH): Add hwcap2 initialization.
6490         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6491         power8 implementation.
6492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6493         file: POWER8 isnan ifunc implementation.
6494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6495         POWER8 implementation.
6496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6497         Likewise.
6498         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6499         isnan implementation.
6500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6502 2014-02-27  Joey Ye  <joey.ye@arm.com>
6504         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6505         (_FP_NANFRAC_Q): Set to zero.
6507 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6509         [BZ #16623]
6510         * math/auto-libm-test-in: New test inputs.
6511         * math/auto-libm-test-out: Regenerate.
6512         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6513         and DA.
6514         (__cos): Likewise.
6515         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6517 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6519         * scripts/evaluate-test.sh: Take new argument indicating whether
6520         failure is expected.
6521         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6522         indicating whether failure is expected.
6523         * conform/Makefile (test-xfail-run-conformtest): New variable.
6524         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6525         level.
6526         * posix/Makefile (test-xfail-annexc): New variable.
6527         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6529 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6531         * argp/Makefile: Include Makeconfig immediately after defining
6532         subdir.
6533         * assert/Makefile: Likewise.
6534         * benchtests/Makefile: Likewise.
6535         * catgets/Makefile: Likewise.
6536         * conform/Makefile: Likewise.
6537         * crypt/Makefile: Likewise.
6538         * csu/Makefile: Likewise.
6539         (all): Remove target.
6540         * ctype/Makefile: Include Makeconfig immediately after defining
6541         subdir.
6542         * debug/Makefile: Likewise.
6543         * dirent/Makefile: Likewise.
6544         * dlfcn/Makefile: Likewise.
6545         * gmon/Makefile: Likewise.
6546         * gnulib/Makefile: Likewise.
6547         * grp/Makefile: Likewise.
6548         * gshadow/Makefile: Likewise.
6549         * hesiod/Makefile: Likewise.
6550         * hurd/Makefile: Likewise.
6551         (all): Remove target.
6552         * iconvdata/Makefile: Include Makeconfig immediately after
6553         defining subdir.
6554         * inet/Makefile: Likewise.
6555         * intl/Makefile: Likewise.
6556         * io/Makefile: Likewise.
6557         * libio/Makefile: Likewise.
6558         (all): Remove target.
6559         * locale/Makefile: Include Makeconfig immediately after defining
6560         subdir.
6561         * login/Makefile: Likewise.
6562         * mach/Makefile: Likewise.
6563         (all): Remove target.
6564         * malloc/Makefile: Include Makeconfig immediately after defining
6565         subdir.
6566         (all): Remove target.
6567         * manual/Makefile: Include Makeconfig immediately after defining
6568         subdir.
6569         * math/Makefile: Likewise.
6570         * misc/Makefile: Likewise.
6571         * nis/Makefile: Likewise.
6572         * nss/Makefile: Likewise.
6573         * po/Makefile: Likewise.
6574         (all): Remove target.
6575         * posix/Makefile: Include Makeconfig immediately after defining
6576         subdir.
6577         * pwd/Makefile: Likewise.
6578         * resolv/Makefile: Likewise.
6579         * resource/Makefile: Likewise.
6580         * rt/Makefile: Likewise.
6581         * setjmp/Makefile: Likewise.
6582         * shadow/Makefile: Likewise.
6583         * signal/Makefile: Likewise.
6584         * socket/Makefile: Likewise.
6585         * soft-fp/Makefile: Likewise.
6586         * stdio-common/Makefile: Likewise.
6587         * stdlib/Makefile: Likewise.
6588         * streams/Makefile: Likewise.
6589         * string/Makefile: Likewise.
6590         * sunrpc/Makefile: Likewise.
6591         (all): Remove target.
6592         * sysvipc/Makefile: Include Makeconfig immediately after defining
6593         subdir.
6594         * termios/Makefile: Likewise.
6595         * time/Makefile: Likewise.
6596         * timezone/Makefile: Likewise.
6597         (all): Remove target.
6598         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6599         subdir.
6600         * wctype/Makefile: Likewise.
6602 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6604         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6605         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6606         (libc_feholdexcept_setround_mips): Ditto.
6607         (libc_feholdsetround): New.
6608         (libc_feholdsetroundf): New.
6609         (libc_feholdsetroundl): New.
6610         (libc_feupdateenv_test_mips): New.
6611         (libc_feupdateenv_test): New.
6612         (libc_feupdateenv_testf): New.
6613         (libc_feupdateenv_testl): New.
6614         (libc_feresetround): New.
6615         (libc_feresetroundf): New.
6616         (libc_feresetroundl): New.
6617         (libc_fetestexcept_mips): New.
6618         (libc_fetestexcept): New.
6619         (libc_fetestexceptf): New.
6620         (libc_fetestexceptl): New.
6621         (HAVE_RM_CTX): New.
6622         (libc_feholdexcept_setround_mips_ctx): New.
6623         (libc_feholdexcept_setround_ctx): New.
6624         (libc_feholdexcept_setroundf_ctx): New.
6625         (libc_feholdexcept_setroundl_ctx): New.
6626         (libc_fesetenv_mips_ctx): New.
6627         (libc_fesetenv_ctx): New.
6628         (libc_fesetenv_ctxf): New.
6629         (libc_fesetenv_ctxl): New.
6630         (libc_feupdateenv_mips_ctx): New.
6631         (libc_feupdateenv_ctx): New.
6632         (libc_feupdateenvf_ctx): New.
6633         (libc_feupdateenvl_ctx): New.
6634         (libc_feholdsetround_mips_ctx): New.
6635         (libc_feholdsetround_ctx): New.
6636         (libc_feholdsetroundf_ctx): New.
6637         (libc_feholdsetroundl_ctx): New.
6638         (libc_feresetround_mips_ctx): New.
6639         (libc_feresetround_ctx): New.
6640         (libc_feresetroundf_ctx): New.
6641         (libc_feresetroundl_ctx): New.
6643 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6645         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6647         * manual/ipc.texi: New file.
6648         * manual/Makefile (chapters): Add ipc.
6649         * manual/job.texi: Add "Inter-Process Communication" to next.
6650         * manual/process.texi: Add "Inter-Process Communication" to prev.
6652 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6654         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6656 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6658         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6660         * manual/arith.texi: Fix spaces after sentences.
6661         * manual/charset.texi: Likewise.
6662         * manual/errno.texi: Likewise.
6663         * manual/install.texi: Likewise.
6664         * manual/llio.texi: Likewise.
6665         * manual/locale.texi: Likewise.
6666         * manual/maint.texi: Likewise.
6667         * manual/math.texi: Likewise.
6668         * manual/memory.texi: Likewise.
6669         * manual/message.texi: Likewise.
6670         * manual/probes.texi: Likewise.
6671         * manual/resource.texi: Likewise.
6672         * manual/signal.texi: Likewise.
6673         * manual/socket.texi: Likewise.
6674         * manual/stdio.texi: Likewise.
6675         * manual/string.texi: Likewise.
6676         * manual/time.texi: Likewise.
6677         * manual/users.texi: Likewise.
6679 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6681         [BZ #16632]
6682         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6683         _DEFAULT_SOURCE is defined.
6685 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6686             Carlos O'Donell  <carlos@redhat.com>
6688         [BZ #16613]
6689         * elf/dl-tls.c (_dl_count_modids): New function.
6690         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6691         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6692         audit library and increment generation counter.
6693         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6694         * elf/tst-audit9.c: New file.
6695         * elf/tst-auditmod9a.c: New file.
6696         * elf/tst-auditmod9b.c: New file.
6697         * elf/Makefile: Add rules to build and run tst-audit9.
6699 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6701         [BZ #15347]
6702         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6704 2014-02-25  Will Newton  <will.newton@linaro.org>
6706         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6707         (__longjmp): Restore sp and lr before restoring callee
6708         saved registers.  Add longjmp and longjmp_target
6709         SystemTap probe point.
6710         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6711         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6712         Define to zero to match jmpbuf layout.
6713         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6714         (__sigsetjmp): Save sp and lr before saving callee
6715         saved registers.  Add setjmp SystemTap probe point.
6717 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6719         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6721 2014-02-24  Andreas Schwab  <schwab@suse.de>
6723         [BZ #15804]
6724         * elf/pldd.c (wait_for_ptrace_stop): New function.
6725         (main): Call it after attaching.
6727 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6729         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6730         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6731         Versions files is now verboten.
6732         * hurd/Versions (libc: GLIBC_2.0):
6733         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6734         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6735         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6736         * mach/Versions: Likewise.
6738         * csu/Versions: Remove unused %include.
6739         * resolv/Versions: Likewise.
6741 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6743         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6744         ($(objpfx)check-local-headers.out): Likewise.
6745         ($(objpfx)begin-end-check.out): Likewise.
6746         * Makerules (check-abi-%.out): Likewise.
6747         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6748         ($(objpfx)test2.cat): Likewise.
6749         ($(objpfx)de/libc.cat): Likewise.
6750         ($(objpfx)test-gencat.out): Likewise.
6751         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6752         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6753         ($(objpfx)noload-mem): Likewise.
6754         ($(objpfx)tst-pathopt.out): Likewise.
6755         ($(objpfx)tst-rtld-load-self.out): Likewise.
6756         ($(objpfx)tst-array1-cmp.out): Likewise.
6757         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6758         ($(objpfx)tst-array2-cmp.out): Likewise.
6759         ($(objpfx)tst-array3-cmp.out): Likewise.
6760         ($(objpfx)tst-array4-cmp.out): Likewise.
6761         ($(objpfx)tst-array5-cmp.out): Likewise.
6762         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6763         ($(objpfx)check-textrel.out): Likewise.
6764         ($(objpfx)check-execstack.out): Likewise.
6765         ($(objpfx)check-localplt.out): Likewise.
6766         ($(objpfx)order2-cmp.out): Likewise.
6767         ($(objpfx)tst-leaks1-mem): Likewise.
6768         ($(objpfx)tst-leaks1-static-mem): Likewise.
6769         ($(objpfx)tst-initorder-cmp.out): Likewise.
6770         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6771         ($(objpfx)tst-unused-dep.out): Likewise.
6772         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6773         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6774         * iconv/Makefile (test-iconvconfig): Likewise.
6775         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6776         ($(objpfx)iconv-test.out): Likewise.
6777         ($(objpfx)tst-tables.out): Likewise.
6778         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6779         ($(objpfx)tst-gettext.out): Likewise.
6780         ($(objpfx)tst-translit.out): Likewise.
6781         ($(objpfx)tst-gettext2.out): Likewise.
6782         ($(objpfx)tst-gettext4.out): Likewise.
6783         ($(objpfx)tst-gettext6.out): Likewise.
6784         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6785         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6786         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6787         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6788         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6789         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6790         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6791         ($(objpfx)wordexp-tst.out): Likewise.
6792         ($(objpfx)annexc.out): Likewise.
6793         ($(objpfx)tst-fnmatch-mem): Likewise.
6794         ($(objpfx)bug-regex2-mem): Likewise.
6795         ($(objpfx)bug-regex14-mem): Likewise.
6796         ($(objpfx)bug-regex21-mem): Likewise.
6797         ($(objpfx)bug-regex31-mem): Likewise.
6798         ($(objpfx)tst-vfork3-mem): Likewise.
6799         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6800         ($(objpfx)tst-pcre-mem): Likewise.
6801         ($(objpfx)tst-boost-mem): Likewise.
6802         ($(objpfx)tst-getconf.out): Likewise.
6803         ($(objpfx)bug-ga2-mem): Likewise.
6804         ($(objpfx)bug-glob2-mem): Likewise.
6805         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6806         ($(objpfx)mtrace-tst-leaks2): Likewise.
6807         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6808         ($(objpfx)tst-printf.out): Likewise.
6809         ($(objpfx)tst-setvbuf1.out): Likewise.
6810         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6811         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6812         ($(objpfx)tst-fmtmsg.out): Likewise.
6813         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6814         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6816         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6817         * bits/sigaction.h [__USE_MISC]: Likewise.
6818         * bits/waitstatus.h: Update #endif comments.
6819         * ctype/ctype.h: Likewise.
6820         * dirent/dirent.h: Likewise.
6821         [__USE_MISC]: Remove redundant conditionals.
6822         * grp/grp.h: Update #endif comments.
6823         [__USE_GNU]: Remove redundant conditionals.
6824         [__USE_MISC]: Likewise.
6825         * inet/netinet/in.h [__USE_GNU]: Likewise.
6826         * io/sys/stat.h [__USE_MISC]: Likewise.
6827         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6828         * libio/bits/stdio.h: Update #endif comments.
6829         [__USE_MISC]: Remove redundant conditionals.
6830         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6831         * libio/stdio.h: Update #endif comments.
6832         [__USE_MISC]: Remove redundant conditionals.
6833         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6834         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6835         * math/math.h: Update #else and #endif comments.
6836         [__USE_MISC]: Remove redundant conditionals.
6837         * misc/sys/uio.h: Update #endif comments.
6838         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6839         * posix/glob.h [__USE_MISC]: Likewise.
6840         * posix/sys/types.h: Update #endif comments.
6841         [__USE_MISC]: Remove redundant conditionals.
6842         * posix/sys/wait.h: Update #endif comments.
6843         [__USE_MISC]: Remove redundant conditionals.
6844         * posix/unistd.h: Update #endif comments.
6845         [__USE_MISC]: Remove redundant conditionals.
6846         * pwd/pwd.h [__USE_GNU]: Likewise.
6847         [__USE_MISC]: Likewise.
6848         * resolv/netdb.h [__USE_GNU]: Likewise.
6849         * signal/signal.h: Update #endif comments.
6850         [__USE_MISC]: Remove redundant conditionals.
6851         * stdlib/stdlib.h: Update #else and #endif comments.
6852         [__USE_MISC]: Remove redundant conditionals.
6853         [__USE_GNU]: Likewise.
6854         * string/bits/string2.h [__USE_MISC]: Likewise.
6855         * string/string.h: Update #endif comments.
6856         [__USE_MISC]: Remove redundant conditionals.
6857         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6858         Likewise.
6859         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6860         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6861         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6862         Likewise.
6863         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6864         Likewise.
6865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6866         comments.
6867         [__USE_MISC]: Remove redundant conditionals.
6868         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6869         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6870         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6871         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6872         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6873         Likewise.
6874         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6875         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6878         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6879         Likewise.
6880         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6881         Likewise.
6882         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6883         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6884         Likewise.
6885         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6886         Likewise.
6887         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6888         * sysdeps/x86/bits/string.h: Update #endif comments.
6889         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6890         conditionals.
6891         * time/sys/time.h: Update #endif comments.
6892         * time/time.h: Likewise.
6893         [__USE_MISC]: Remove redundant conditionals.
6895 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6897         [BZ #16600]
6898         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6900 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6902         * Versions.def (librt): Add GLIBC_2.17.
6904 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6906         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6907         synonym for _SYS_AUXV_H to allow direct inclusion.
6908         * sysdeps/sparc/bits/hwcap.h: Likewise.
6909         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6910         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6911         * sysdeps/sparc/sysdep.h: Likewise.
6913 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6915         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6917 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6919         * benchtests/bench-strrchr.c: Print length instead of position.
6921 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6923         [BZ #16611]
6924         * sysdeps/unix/sysv/linux/kernel-features.h
6925         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
6926         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
6927         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
6928         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
6929         Likewise.
6930         [__i386__ || __powerpc__ || __sh__ || __sparc__]
6931         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6932         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
6933         (__ASSUME_SENDMMSG): Define instead of using previous
6934         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
6935         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6936         (__ASSUME_SENDMMSG_SYSCALL): Define.
6937         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6938         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
6939         Likewise.
6940         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6941         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6942         Likewise.
6943         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6944         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6945         Likewise.
6946         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
6947         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6948         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6949         [__ASSUME_SENDMMSG]: Change conditionals to
6950         [__ASSUME_SENDMMSG_SOCKETCALL].
6951         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6952         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
6953         Define.
6954         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6955         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
6956         Likewise.
6957         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
6958         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
6959         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
6960         [!__ASSUME_SENDMMSG]: Change conditional to
6961         [!__ASSUME_SENDMMSG_SOCKETCALL].
6962         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6963         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6964         Define.
6966         [BZ #16610]
6967         * sysdeps/unix/sysv/linux/kernel-features.h
6968         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
6969         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
6970         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
6971         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
6972         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6973         [__i386__ || __sparc__]
6974         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6975         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
6976         (__ASSUME_RECVMMSG): Define instead of using previous
6977         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
6978         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6979         (__ASSUME_RECVMMSG_SYSCALL): Define.
6980         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6981         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6982         Likewise.
6983         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6984         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6985         Likewise.
6986         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6987         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6988         Likewise.
6989         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
6990         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
6991         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
6992         [__ASSUME_RECVMMSG]: Change condition to
6993         [__ASSUME_RECVMMSG_SOCKETCALL].
6994         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6995         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6996         Define.
6997         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6998         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6999         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7000         Likewise.
7001         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7002         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7003         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7004         [!__ASSUME_RECVMMSG]: Change condition to
7005         [!__ASSUME_RECVMMSG_SOCKETCALL].
7006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7007         (__ASSUME_RECVMMSG_SYSCALL): Define.
7009         [BZ #16609]
7010         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7011         __powerpc__ || __s390__ || __sh__ || __sparc__]
7012         (__ASSUME_SOCKETCALL): Define.
7013         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7014         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7015         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7016         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7017         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7018         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7019         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7020         (__ASSUME_ACCEPT4): Define instead of using previous
7021         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7022         __powerpc__ || __sparc__ || __s390__)] condition.
7023         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7024         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7025         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7026         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7027         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7028         [!__ASSUME_ACCEPT4]: Change condition to
7029         [!__ASSUME_ACCEPT4_SOCKETCALL].
7030         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7031         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7032         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7033         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7034         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7035         __ASSUME_ACCEPT4_SYSCALL.
7036         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7037         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7038         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7039         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7040         __ASSUME_ACCEPT4_SYSCALL.
7041         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7042         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7043         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7044         [__ASSUME_ACCEPT4]: Change condition to
7045         [__ASSUME_ACCEPT4_SOCKETCALL].
7046         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7047         (__ASSUME_SOCKETCALL): Define.
7048         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7049         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7050         (__ASSUME_SOCKETCALL): Define.
7051         (__ASSUME_ACCEPT4): Remove.
7052         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7053         Define.
7054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7055         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7056         Likewise.
7057         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7058         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7060         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7061         macro.
7062         (HWCAP_ARM_LPAE): Likewise.
7063         (HWCAP_ARM_EVTSTRM): Likewise.
7064         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7065         Add vpfd32, lpae and evtstrm.
7066         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7067         Increase to 22.
7069 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7071         * math/auto-libm-test-in: Add tests of clog10.
7072         * math/auto-libm-test-out: Regenerated.
7073         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7074         * sysdeps/i386/fpu/libm-test-ulps: Update.
7075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7077 2014-02-18  Andreas Schwab  <schwab@suse.de>
7079         [BZ #16574]
7080         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7081         Store non-zero if the second buffer was newly allocated.
7082         (send_dg): Likewise.
7083         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7084         to send_vc and send_dg.
7085         (res_nsend): Pass NULL for ansp2_malloced.
7086         * resolv/res_query.c (__libc_res_nquery): Add parameter
7087         answerp2_malloced and pass it down to __libc_res_nsend.
7088         (res_nquery): Pass additional NULL to __libc_res_nquery.
7089         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7090         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7091         second answer buffer if answerp2_malloced was set.
7092         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7093         (__libc_res_nquerydomain): Add parameter
7094         answerp2_malloced and pass it down to __libc_res_nquery.
7095         (res_nquerydomain): Pass additional NULL to
7096         __libc_res_nquerydomain.
7097         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7098         additional NULL to __libc_res_nsend and __libc_res_nquery.
7099         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7100         additional NULL to __libc_res_nsearch.
7101         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7102         parameter of __libc_res_nsearch to check for separately allocated
7103         second buffer.
7104         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7105         __libc_res_nquery.
7106         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7107         additional NULL to __libc_res_nquery.
7108         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7109         __libc_res_nsearch.
7110         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7111         * include/resolv.h: Update prototypes of __libc_res_nquery,
7112         __libc_res_nsearch, __libc_res_nsend.
7114 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7116         * math/auto-libm-test-in: Add tests of fma.
7117         * math/auto-libm-test-out: Regenerated.
7118         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7119         (fma_towardzero_test_data): Likewise.
7120         (fma_downward_test_data): Likewise.
7121         (fma_upward_test_data): Likewise.
7122         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7123         mpc_mode.
7124         (rounding_modes): Add values for new field.
7125         (func_calc_method): Add value mpfr_fff_f.
7126         (func_calc_desc): Add mpfr_fff_f union field.
7127         (test_function): Add field exact_args.
7128         (FUNC): Add macro argument EXACT_ARGS.
7129         (FUNC_mpfr_f_f): Update call to FUNC.
7130         (FUNC_mpfr_f_f): Likewise.
7131         (FUNC_mpfr_ff_f): Likewise.
7132         (FUNC_mpfr_if_f): Likewise.
7133         (FUNC_mpc_c_f): Likewise.
7134         (FUNC_mpc_c_c): Likewise.
7135         (test_functions): Add fma.  Update calls to FUNC.
7136         (handle_input_arg): Add argument exact_args.
7137         (add_test): Update call to handle_input_arg.
7138         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7139         (output_for_one_input_case): Update call to calc_generic_results.
7140         Recalculate exact zero results in each rounding mode.
7142         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7143         non-negative before setting low bit.
7144         * math/auto-libm-test-in: Mark one asin test possibly having
7145         spurious underflow.
7146         * math/auto-libm-test-out: Regenerated.
7147         * sysdeps/i386/fpu/libm-test-ulps: Update.
7148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7150 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7152         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7153         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7154         ports/sysdeps/unix/sysv/linux/microblaze.
7155         * README: Add missing listing for microblaze*-*-linux-gnu.
7157 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7159         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7160         * sysdeps/unix/sysv/linux/ia64: Move directory from
7161         ports/sysdeps/unix/sysv/linux/ia64.
7162         * README: Update listing for ia64-*-linux-gnu.
7164 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7165             Joseph Myers  <joseph@codesourcery.com>
7167         * Makeconfig (test-name): New variable.
7168         (evaluate-test): Likewise.
7169         * Makerules (do-test-clean): Remove .test-result files.
7170         (common-mostlyclean): Likewise.
7171         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7172         * scripts/evaluate-test.sh: New file.
7174 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7176         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7177         separate $(objpfx)tst-fopenloc-cmp.out and
7178         $(objpfx)tst-fopenloc-mem.out targets.
7179         (tests): Update dependencies.
7180         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7181         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7182         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7183         (tst-rxspencer-no-utf8-ARGS): New variable.
7184         (tst-rxspencer-no-utf8-ENV): Likewise.
7185         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7186         instead of $(objpfx)tst-rxspencer-mem.
7187         ($(objpfx)tst-rxspencer-mem): Change target to
7188         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7189         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7190         * posix/tst-rxspencer-no-utf8.c: New file.
7192         * elf/Makefile ($(objpfx)order.out): Remove rule.
7193         [$(run-built-tests) = yes] (tests): Depend on
7194         $(objpfx)order-cmp.out.
7195         ($(objpfx)order-cmp.out): New rule.
7196         [$(run-built-tests) = yes] (tests): Depend on
7197         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7198         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7199         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7200         $(objpfx)tst-array5-static-cmp.out.
7201         ($(objpfx)tst-array1.out): Remove rule.
7202         ($(objpfx)tst-array1-cmp.out): New rule.
7203         ($(objpfx)tst-array1-static.out): Remove rule.
7204         ($(objpfx)tst-array1-static-cmp.out): New rule.
7205         ($(objpfx)tst-array2.out): Remove rule.
7206         ($(objpfx)tst-array2-cmp.out): New rule.
7207         ($(objpfx)tst-array3.out): Remove rule.
7208         ($(objpfx)tst-array3-cmp.out): New rule.
7209         ($(objpfx)tst-array4.out): Remove rule.
7210         ($(objpfx)tst-array4-cmp.out): New rule.
7211         ($(objpfx)tst-array5.out): Remove rule.
7212         ($(objpfx)tst-array5-cmp.out): New rule.
7213         ($(objpfx)tst-array5-static.out): Remove rule.
7214         ($(objpfx)tst-array5-static-cmp.out): New rule.
7215         [$(run-built-tests) = yes] (tests): Depend on
7216         $(objpfx)order2-cmp.out.
7217         ($(objpfx)order2.out): Remove rule.
7218         ($(objpfx)order2-cmp.out): New rule.
7219         ($(objpfx)tst-initorder.out): Remove rule.
7220         [$(run-built-tests) = yes] (tests): Depend on
7221         $(objpfx)tst-initorder-cmp.out.
7222         ($(objpfx)tst-initorder-cmp.out): New rule.
7223         ($(objpfx)tst-initorder2.out): Remove rule.
7224         [$(run-built-tests) = yes] (tests): Depend on
7225         $(objpfx)tst-initorder2-cmp.out.
7226         ($(objpfx)tst-initorder2-cmp.out): New rule.
7227         [$(run-built-tests) = yes] (tests): Depend on
7228         $(objpfx)tst-unused-dep-cmp.out.
7229         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7230         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7231         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7232         on $(objpfx)tst-setvbuf1-cmp.out.
7233         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7234         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7235         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7236         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7237         ($(objpfx)tst-svc.out): Remove rule.
7238         ($(objpfx)tst-svc-cmp.out): New rule.
7240 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7242         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7243         * ctype/ctype.h [__USE_MISC]: Likewise.
7244         * dirent/dirent.h [__USE_MISC]: Likewise.
7245         * grp/grp.h [__USE_MISC]: Likewise.
7246         * io/fcntl.h [__USE_MISC]: Likewise.
7247         * io/sys/stat.h [__USE_MISC]: Likewise.
7248         * libio/stdio.h [__USE_MISC]: Likewise.
7249         * posix/unistd.h [__USE_MISC]: Likewise.
7250         * pwd/pwd.h [__USE_MISC]: Likewise.
7251         * stdlib.h [__USE_MISC]: Likewise.
7252         * string/bits/string2.h [__USE_MISC]: Likewise.
7253         * string/string.h [__USE_MISC]: Likewise.
7254         * time/time.h [__USE_MISC]: Likewise.
7256 2014-02-13  Andreas Schwab  <schwab@suse.de>
7258         [BZ #16574]
7259         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7260         second answer buffer if it was separately allocated.
7262 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7264         * sysdeps/mips/math-tests.h: Include <features.h>.
7265         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7266         (ROUNDING_TESTS_long_double): Do not define.
7267         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7268         (EXCEPTION_TESTS_long_double): Likewise.
7269         * sysdeps/mips/mips64/libm-test-ulps: Update.
7271         * include/features.h (__USE_BSD): Remove macro definitions.
7272         (__USE_SVID): Likewise.
7273         (_BSD_SOURCE): Likewise.
7274         (_SVID_SOURCE): Likewise.
7275         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7276         from definition of _DEFAULT_SOURCE.
7277         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7278         [_DEFAULT_SOURCE].
7279         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7280         * bits/mman.h [__USE_BSD]: Likewise.
7281         * bits/termios.h [__USE_BSD]: Likewise.
7282         * bits/waitstatus.h [__USE_BSD]: Likewise.
7283         * ctype/ctype.h [__USE_SVID]: Likewise.
7284         * dirent/dirent.h [__USE_BSD]: Likewise.
7285         * grp/grp.h [__USE_SVID]: Likewise.
7286         [__USE_BSD]: Likewise.
7287         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7288         * io/fcntl.h [__USE_BSD]: Likewise.
7289         * io/ftw.h [__USE_BSD]: Likewise.
7290         * io/sys/stat.h [__USE_BSD]: Likewise.
7291         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7292         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7293         * libio/stdio.h [__USE_SVID]: Likewise.
7294         [__USE_BSD]: Likewise.
7295         * math/math.h [__USE_SVID]: Likewise.
7296         [__USE_BSD]: Likewise.
7297         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7298         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7299         * misc/search.h [__USE_SVID]: Likewise.
7300         * misc/sys/mman.h [__USE_BSD]: Likewise.
7301         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7302         * misc/sys/uio.h [__USE_BSD]: Likewise.
7303         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7304         * posix/glob.h [__USE_BSD]: Likewise.
7305         * posix/regex.h [__USE_BSD]: Likewise.
7306         * posix/sys/types.h [__USE_BSD]: Likewise.
7307         [__USE_SVID]: Likewise.
7308         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7309         * posix/sys/wait.h [__USE_BSD]: Likewise.
7310         [__USE_SVID]: Likewise.
7311         * posix/unistd.h [__USE_BSD]: Likewise.
7312         [__USE_SVID]: Likewise.
7313         * pwd/pwd.h [__USE_SVID]: Likewise.
7314         * resolv/netdb.h [__USE_BSD]: Likewise.
7315         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7316         * signal/signal.h [__USE_BSD]: Likewise.
7317         [__USE_SVID]: Likewise.
7318         * socket/sys/socket.h [__USE_BSD]: Likewise.
7319         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7320         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7321         [__USE_SVID]: Likewise.
7322         * string/bits/string2.h [__USE_BSD]: Likewise.
7323         [__USE_SVID]: Likewise.
7324         * string/bits/string3.h [__USE_BSD]: Likewise.
7325         * string/endian.h [__USE_BSD]: Likewise.
7326         * string/string.h [__USE_SVID]: Likewise.
7327         [__USE_BSD]: Likewise.
7328         * string/strings.h [__USE_BSD]: Likewise.
7329         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7330         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7331         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7332         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7333         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7334         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7335         Likewise.
7336         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7337         Likewise.
7338         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7339         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7340         Likewise.
7341         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7342         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7343         Likewise.
7344         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7345         Likewise.
7346         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7347         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7348         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7349         Likewise.
7350         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7351         Likewise.
7352         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7353         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7354         * termios/termios.h [__USE_BSD]: Likewise.
7355         * time/sys/time.h [__USE_BSD]: Likewise.
7356         * time/time.h [__USE_BSD]: Likewise.
7357         [__USE_SVID]: Likewise.
7359         * Makefile (subdir_targets): Remove subdir_lint.out.
7361         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7362         (do-tst-printf): Likewise.
7363         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7364         $(objpfx)tst-printf.out.
7366         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7368         * Makerules (check-abi-%): Change target to
7369         $(objpfx)check-abi-%.out.
7370         (check-abi target): Update dependencies.
7371         (check-abi-pattern variable): Redirect output of diff to $@.
7372         (check-abi variable): Likewise.
7373         * elf/Makefile (check-abi): Update dependencies.
7375         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7376         unused.
7377         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7378         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7379         subnormal range.
7380         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7381         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7382         value has largest subnormal exponent.
7383         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7384         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7385         * sysdeps/aarch64/soft-fp/sfp-machine.h
7386         (_FP_TININESS_AFTER_ROUNDING): New macro.
7387         * sysdeps/alpha/soft-fp/sfp-machine.h
7388         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7389         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7390         Likewise.
7391         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7392         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7393         * sysdeps/mips/soft-fp/sfp-machine.h
7394         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7395         * sysdeps/powerpc/soft-fp/sfp-machine.h
7396         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7397         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7398         Likewise.
7399         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7400         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7402         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7403         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7404         Likewise.
7406 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7408         [BZ #16545]
7409         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7410         model 1.
7412 2014-02-12  Richard Henderson  <rth@redhat.com>
7414         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7415         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7416         * sysdeps/unix/sysv/linux/alpha: Move directory from
7417         ports/sysdeps/unix/sysv/linux/alpha.
7418         * README: Update listing for alpha-*-linux-gnu.
7420 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7422         * include/features.h: Update comment documenting feature test
7423         macros.
7424         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7425         _DEFAULT_SOURCE.
7426         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7427         (_SVID_SOURCE): Likewise.
7428         (_DEFAULT_SOURCE): Update description of default features.
7429         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7430         with _GNU_SOURCE.
7431         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7432         (S_ISVTX): Likewise.
7433         * manual/math.texi (Mathematical Constants): Likewise.
7434         * manual/signal.texi (Interrupted Primitives): Likewise.
7435         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7436         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7437         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7438         Don't refer to _SVID_SOURCE in warning text.
7440         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7442         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7443         already defined.
7444         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7445         * sysdeps/mips/dl-lookup.c: Remove.
7446         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7448 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7450         [BZ #16447]
7451         * math/auto-libm-test-in: Add testcase for expl.
7452         * math/auto-libm-test-out: Regenerate.
7453         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7454         calculation of unsafe.
7455         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7457 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7459         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7460         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7461         ports/sysdeps/unix/sysv/linux/aarch64.
7462         * README: Update listing for aarch64*-*-linux-gnu.
7464 2014-02-11  Will Newton  <will.newton@linaro.org>
7466         * manual/probes.texi (Mathematical Function Probes): Use
7467         "triggered" instead of "hit".
7469         * manual/probes.texi (Internal Probes): Add documentation
7470         of setjmp, longjmp and longjmp_target probes.
7472         * include/stap-probe.h: Add comment about probe argument
7473         format.
7475         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7476         definition.  (tr_where, tr_freehook, tr_mallochook,
7477         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7479 2014-02-11  David S. Miller  <davem@davemloft.net>
7481         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7482         processing int_tests.
7484 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7486         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7487         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7488         * sysdeps/unix/sysv/linux/mips: Move directory from
7489         ports/sysdeps/unix/sysv/linux/mips.
7490         * README: Update listing for mips-*-linux-gnu and
7491         mips64-*-linux-gnu.
7493 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7495         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7496         * sysdeps/unix/sysv/linux/m68k: Move directory from
7497         ports/sysdeps/unix/sysv/linux/m68k.
7498         * README: Update listing for m68k-*-linux-gnu.
7500 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7502         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7503         * sysdeps/unix/sysv/linux/generic: Move directory from
7504         ports/sysdeps/unix/sysv/linux/generic.
7505         * sysdeps/unix/sysv/linux/tile: Move directory from
7506         ports/sysdeps/unix/sysv/linux/tile.
7507         * README: Update listing for tile*-*-linux-gnu.
7509 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7511         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7512         __builtin_expect.
7513         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7514         * catgets/open_catalog.c (__open_catalog): Likewise.
7515         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7516         * debug/confstr_chk.c: Likewise.
7517         * debug/fread_chk.c (__fread_chk): Likewise.
7518         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7519         * debug/getgroups_chk.c: Likewise.
7520         * debug/mbsnrtowcs_chk.c: Likewise.
7521         * debug/mbsrtowcs_chk.c: Likewise.
7522         * debug/mbstowcs_chk.c: Likewise.
7523         * debug/memcpy_chk.c: Likewise.
7524         * debug/memmove_chk.c: Likewise.
7525         * debug/mempcpy_chk.c: Likewise.
7526         * debug/memset_chk.c: Likewise.
7527         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7528         * debug/strcat_chk.c (__strcat_chk): Likewise.
7529         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7530         * debug/strncat_chk.c (__strncat_chk): Likewise.
7531         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7532         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7533         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7534         * debug/wcpncpy_chk.c: Likewise.
7535         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7536         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7537         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7538         * debug/wcsncpy_chk.c: Likewise.
7539         * debug/wcsnrtombs_chk.c: Likewise.
7540         * debug/wcsrtombs_chk.c: Likewise.
7541         * debug/wcstombs_chk.c: Likewise.
7542         * debug/wmemcpy_chk.c: Likewise.
7543         * debug/wmemmove_chk.c: Likewise.
7544         * debug/wmempcpy_chk.c: Likewise.
7545         * debug/wmemset_chk.c: Likewise.
7546         * dirent/scandirat.c (SCANDIRAT): Likewise.
7547         * dlfcn/dladdr1.c (dladdr1): Likewise.
7548         * dlfcn/dladdr.c (dladdr): Likewise.
7549         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7550         * dlfcn/dlerror.c (__dlerror): Likewise.
7551         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7552         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7553         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7554         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7555         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7556         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7557         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7558         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7559         Likewise.
7560         * elf/dl-conflict.c: Likewise.
7561         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7562         * elf/dl-dst.h: Likewise.
7563         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7564         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7565         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7566         * elf/dl-init.c (call_init, _dl_init): Likewise.
7567         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7568         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7569         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7570         Likewise.
7571         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7572         Likewise.
7573         * elf/dl-minimal.c (__libc_memalign): Likewise.
7574         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7575         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7576         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7577         * elf/dl-sym.c (do_sym): Likewise.
7578         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7579         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7580         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7581         * elf/dl-writev.h (_dl_writev): Likewise.
7582         * elf/ldconfig.c (search_dir): Likewise.
7583         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7584         (dl_main): Likewise.
7585         * elf/setup-vdso.h (setup_vdso): Likewise.
7586         * grp/compat-initgroups.c (compat_call): Likewise.
7587         * grp/fgetgrent.c (fgetgrent): Likewise.
7588         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7589         * grp/putgrent.c (putgrent): Likewise.
7590         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7591         Likewise.
7592         * hurd/hurdinit.c: Likewise.
7593         * iconvdata/8bit-gap.c (struct): Likewise.
7594         * iconvdata/ansi_x3.110.c : Likewise.
7595         * iconvdata/big5.c : Likewise.
7596         * iconvdata/big5hkscs.c : Likewise.
7597         * iconvdata/cp1255.c: Likewise.
7598         * iconvdata/cp1258.c : Likewise.
7599         * iconvdata/cp932.c : Likewise.
7600         * iconvdata/euc-cn.c: Likewise.
7601         * iconvdata/euc-jisx0213.c : Likewise.
7602         * iconvdata/euc-jp.c: Likewise.
7603         * iconvdata/euc-jp-ms.c : Likewise.
7604         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7605         * iconvdata/gb18030.c : Likewise.
7606         * iconvdata/gbbig5.c (const): Likewise.
7607         * iconvdata/gbgbk.c: Likewise.
7608         * iconvdata/gbk.c : Likewise.
7609         * iconvdata/ibm1364.c : Likewise.
7610         * iconvdata/ibm930.c : Likewise.
7611         * iconvdata/ibm932.c: Likewise.
7612         * iconvdata/ibm933.c : Likewise.
7613         * iconvdata/ibm935.c : Likewise.
7614         * iconvdata/ibm937.c : Likewise.
7615         * iconvdata/ibm939.c : Likewise.
7616         * iconvdata/ibm943.c: Likewise.
7617         * iconvdata/iso_11548-1.c: Likewise.
7618         * iconvdata/iso-2022-cn.c : Likewise.
7619         * iconvdata/iso-2022-cn-ext.c : Likewise.
7620         * iconvdata/iso-2022-jp-3.c: Likewise.
7621         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7622         * iconvdata/iso-2022-kr.c : Likewise.
7623         * iconvdata/iso646.c (gconv_end): Likewise.
7624         * iconvdata/iso_6937-2.c : Likewise.
7625         * iconvdata/iso_6937.c : Likewise.
7626         * iconvdata/iso8859-1.c: Likewise.
7627         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7628         * iconvdata/shift_jisx0213.c : Likewise.
7629         * iconvdata/sjis.c : Likewise.
7630         * iconvdata/t.61.c : Likewise.
7631         * iconvdata/tcvn5712-1.c : Likewise.
7632         * iconvdata/tscii.c: Likewise.
7633         * iconvdata/uhc.c : Likewise.
7634         * iconvdata/unicode.c (gconv_end): Likewise.
7635         * iconvdata/utf-16.c (gconv_end): Likewise.
7636         * iconvdata/utf-32.c (gconv_end): Likewise.
7637         * iconvdata/utf-7.c (base64): Likewise.
7638         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7639         * iconv/gconv_close.c (__gconv_close): Likewise.
7640         * iconv/gconv_open.c (__gconv_open): Likewise.
7641         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7642         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7643         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7644         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7645         (ucs4le_internal_loop_single): Likewise.
7646         * iconv/iconv.c (iconv): Likewise.
7647         * iconv/iconv_close.c: Likewise.
7648         * iconv/loop.c (SINGLE): Likewise.
7649         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7650         * include/atomic.h: Likewise.
7651         * inet/inet6_option.c (option_alloc): Likewise.
7652         * intl/bindtextdom.c (set_binding_values): Likewise.
7653         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7654         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7655         * intl/localealias.c (read_alias_file): Likewise.
7656         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7657         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7658         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7659         * libio/fmemopen.c (fmemopen): Likewise.
7660         * libio/iofgets.c (_IO_fgets): Likewise.
7661         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7662         * libio/iofgetws.c (fgetws): Likewise.
7663         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7664         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7665         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7666         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7667         * locale/findlocale.c (_nl_find_locale): Likewise.
7668         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7669         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7670         Likewise.
7671         * locale/setlocale.c (setlocale): Likewise.
7672         * login/programs/pt_chown.c (main): Likewise.
7673         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7674         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7675         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7676         (mmap, mmap64, mremap, munmap): Likewise.
7677         * math/e_exp2l.c: Likewise.
7678         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7679         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7680         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7681         * math/s_catan.c (__catan): Likewise.
7682         * math/s_catanf.c (__catanf): Likewise.
7683         * math/s_catanh.c (__catanh): Likewise.
7684         * math/s_catanhf.c (__catanhf): Likewise.
7685         * math/s_catanhl.c (__catanhl): Likewise.
7686         * math/s_catanl.c (__catanl): Likewise.
7687         * math/s_ccosh.c (__ccosh): Likewise.
7688         * math/s_ccoshf.c (__ccoshf): Likewise.
7689         * math/s_ccoshl.c (__ccoshl): Likewise.
7690         * math/s_cexp.c (__cexp): Likewise.
7691         * math/s_cexpf.c (__cexpf): Likewise.
7692         * math/s_cexpl.c (__cexpl): Likewise.
7693         * math/s_clog10.c (__clog10): Likewise.
7694         * math/s_clog10f.c (__clog10f): Likewise.
7695         * math/s_clog10l.c (__clog10l): Likewise.
7696         * math/s_clog.c (__clog): Likewise.
7697         * math/s_clogf.c (__clogf): Likewise.
7698         * math/s_clogl.c (__clogl): Likewise.
7699         * math/s_csin.c (__csin): Likewise.
7700         * math/s_csinf.c (__csinf): Likewise.
7701         * math/s_csinh.c (__csinh): Likewise.
7702         * math/s_csinhf.c (__csinhf): Likewise.
7703         * math/s_csinhl.c (__csinhl): Likewise.
7704         * math/s_csinl.c (__csinl): Likewise.
7705         * math/s_csqrt.c (__csqrt): Likewise.
7706         * math/s_csqrtf.c (__csqrtf): Likewise.
7707         * math/s_csqrtl.c (__csqrtl): Likewise.
7708         * math/s_ctan.c (__ctan): Likewise.
7709         * math/s_ctanf.c (__ctanf): Likewise.
7710         * math/s_ctanh.c (__ctanh): Likewise.
7711         * math/s_ctanhf.c (__ctanhf): Likewise.
7712         * math/s_ctanhl.c (__ctanhl): Likewise.
7713         * math/s_ctanl.c (__ctanl): Likewise.
7714         * math/w_pow.c: Likewise.
7715         * math/w_powf.c: Likewise.
7716         * math/w_powl.c: Likewise.
7717         * math/w_scalb.c (sysv_scalb): Likewise.
7718         * math/w_scalbf.c (sysv_scalbf): Likewise.
7719         * math/w_scalbl.c (sysv_scalbl): Likewise.
7720         * misc/error.c (error_tail): Likewise.
7721         * misc/pselect.c (__pselect): Likewise.
7722         * nis/nis_callback.c (__nis_create_callback): Likewise.
7723         * nis/nis_call.c (__nisfind_server): Likewise.
7724         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7725         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7726         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7727         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7728         * nis/nis_lookup.c (nis_lookup): Likewise.
7729         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7730         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7731         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7732         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7733         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7734         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7735         * nis/nss_compat/compat-initgroups.c (add_group)
7736         (internal_getgrent_r): Likewise.
7737         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7738         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7739         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7740         (internal_getspnam_r): Likewise.
7741         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7742         (_nss_nis_getaliasbyname_r): Likewise.
7743         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7744         (_nss_nis_getntohost_r): Likewise.
7745         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7746         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7747         (_nss_nis_getgrgid_r): Likewise.
7748         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7749         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7750         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7751         (_nss_nis_gethostbyname4_r): Likewise.
7752         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7753         (initgroups_netid): Likewise.
7754         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7755         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7756         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7757         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7758         (_nss_nis_getprotobynumber_r): Likewise.
7759         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7760         (_nss_nis_getsecretkey): Likewise.
7761         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7762         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7763         (_nss_nis_getpwuid_r): Likewise.
7764         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7765         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7766         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7767         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7768         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7769         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7770         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7771         Likewise.
7772         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7773         (_nss_nisplus_getntohost_r): Likewise.
7774         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7775         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7776         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7777         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7778         Likewise.
7779         * nis/nss_nisplus/nisplus-initgroups.c
7780         (_nss_nisplus_initgroups_dyn): Likewise.
7781         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7782         (_nss_nisplus_getnetbyaddr_r): Likewise.
7783         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7784         (_nss_nisplus_getprotobynumber_r): Likewise.
7785         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7786         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7787         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7788         Likewise.
7789         * nis/nss_nisplus/nisplus-service.c
7790         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7791         (_nss_nisplus_getservbyport_r): Likewise.
7792         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7793         (_nss_nisplus_getspnam_r): Likewise.
7794         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7795         Likewise.
7796         * nscd/aicache.c (addhstaiX): Likewise.
7797         * nscd/cache.c (cache_search, prune_cache): Likewise.
7798         * nscd/connections.c (register_traced_file, send_ro_fd)
7799         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7800         (main_loop_epoll): Likewise.
7801         * nscd/grpcache.c (addgrbyX): Likewise.
7802         * nscd/hstcache.c (addhstbyX): Likewise.
7803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7804         * nscd/mem.c (gc, mempool_alloc): Likewise.
7805         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7806         (addinnetgrX): Likewise.
7807         * nscd/nscd-client.h (__nscd_acquire_maplock)
7808         (__nscd_drop_map_ref): Likewise.
7809         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7810         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7811         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7812         Likewise.
7813         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7814         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7815         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7816         (__nscd_get_map_ref): Likewise.
7817         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7818         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7819         Likewise.
7820         * nscd/pwdcache.c (addpwbyX): Likewise.
7821         * nscd/selinux.c (preserve_capabilities): Likewise.
7822         * nscd/servicescache.c (addservbyX): Likewise.
7823         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7824         * posix/fnmatch.c (fnmatch): Likewise.
7825         * posix/getopt.c (_getopt_internal_r): Likewise.
7826         * posix/glob.c (glob, glob_in_dir): Likewise.
7827         * posix/wordexp.c (exec_comm_child): Likewise.
7828         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7829         (getanswer_r, gaih_getanswer_slice): Likewise.
7830         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7831         * resolv/res_init.c: Likewise.
7832         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7833         * resolv/res_query.c (__libc_res_nquery): Likewise.
7834         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7835         Likewise.
7836         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7837         * stdio-common/perror.c (perror): Likewise.
7838         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7839         * stdio-common/tmpnam.c (tmpnam): Likewise.
7840         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7841         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7842         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7843         Likewise.
7844         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7845         * stdlib/putenv.c (putenv): Likewise.
7846         * stdlib/setenv.c (__add_to_environ): Likewise.
7847         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7848         * stdlib/strtol_l.c (INTERNAL): Likewise.
7849         * string/memmem.c (memmem): Likewise.
7850         * string/strerror.c (strerror): Likewise.
7851         * string/strnlen.c (__strnlen): Likewise.
7852         * string/test-memmem.c (simple_memmem): Likewise.
7853         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7854         * sunrpc/pm_getport.c (__get_socket): Likewise.
7855         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7856         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7857         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7858         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7859         Likewise.
7860         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7861         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7862         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7863         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7864         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7865         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7866         Likewise.
7867         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7868         Likewise.
7869         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7870         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7871         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7872         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7873         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7875         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7876         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7877         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7878         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7879         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7880         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7881         Likewise.
7882         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7883         Likewise.
7884         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7885         Likewise.
7886         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7887         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7888         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7889         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7890         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7891         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7892         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7893         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7894         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7895         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7896         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7897         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7898         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7899         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7901         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7902         Likewise.
7903         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7904         Likewise.
7905         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7906         Likewise.
7907         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7908         Likewise.
7909         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7911         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7912         Likewise.
7913         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7914         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7915         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7916         * sysdeps/posix/sleep.c: Likewise.
7917         * sysdeps/posix/tempname.c: Likewise.
7918         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7919         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7920         Likewise.
7921         * sysdeps/powerpc/powerpc32/dl-machine.h
7922         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7923         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7924         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7925         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
7926         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
7927         Likewise.
7928         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
7929         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
7930         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7931         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
7932         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
7933         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
7934         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
7935         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
7936         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
7937         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
7938         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
7939         (elf_machine_lazy_rel): Likewise.
7940         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
7941         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
7942         (elf_machine_lazy_rel): Likewise.
7943         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
7944         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
7945         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
7946         * sysdeps/unix/grantpt.c (grantpt): Likewise.
7947         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
7948         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
7949         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
7950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7951         Likewise.
7952         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7953         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7954         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
7955         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
7956         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7957         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
7958         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
7959         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
7960         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
7961         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
7962         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
7963         Likewise.
7964         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
7965         (__posix_fallocate64_l64): Likewise.
7966         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
7967         (posix_fallocate): Likewise.
7968         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
7969         Likewise.
7970         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7971         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
7972         (getifaddrs_internal): Likewise.
7973         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
7974         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
7975         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
7976         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
7977         * sysdeps/unix/sysv/linux/posix_fallocate64.c
7978         (__posix_fallocate64_l64): Likewise.
7979         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
7980         Likewise.
7981         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
7982         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7983         (__get_clockfreq): Likewise.
7984         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
7985         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7986         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
7987         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7988         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7989         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
7990         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7991         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
7992         Likewise.
7993         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
7994         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
7995         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7996         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
7997         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
7998         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
7999         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8000         Likewise.
8001         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8002         (posix_fallocate): Likewise.
8003         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8004         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8005         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8006         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8007         (elf_machine_rela, elf_machine_rela_relative)
8008         (elf_machine_lazy_rel): Likewise.
8009         * time/asctime.c (asctime_internal): Likewise.
8010         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8011         * time/tzset.c (__tzset_parse_tz): Likewise.
8012         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8013         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8014         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8015         * wcsmbs/wcsmbsload.h: Likewise.
8017         [BZ #15894]
8018         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8020         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8021         (arena_get2): Remove THREAD_STATS conditionals.
8022         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8023         (__malloc_stats, int): Likewise.
8025 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8027         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8028         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8030         * manual/setjmp.texi: Fix typos/grammar errors.
8032         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8033         Only return early when n is <= 0.  Delete unused return statement.
8035         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8036         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8037         * debug/tst-longjmp_chk3.c: New file.
8039         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8040         (test_main): Replace code with set_fortify_handler call.
8041         * debug/test-strcpy_chk.c: Likewise.
8042         * debug/tst-chk1.c: Likewise.
8043         * debug/tst-longjmp_chk.c: Likewise.
8044         * test-skeleton.c: Include fcntl.h & paths.h
8045         (set_fortify_handler): Define.
8047         * debug/tst-longjmp_chk.c: Add header comment and include
8048         ../test-skeleton.c.
8049         (do_test): Mark static.
8050         (TEST_FUNCTION): Define.
8052         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8053         (IP_PMTUDISC_INTERFACE): Likewise.
8054         (IP_MULTICAST_IF): Likewise.
8055         (IP_MULTICAST_TTL): Likewise.
8056         (IP_MULTICAST_LOOP): Likewise.
8057         (IP_ADD_MEMBERSHIP): Likewise.
8058         (IP_DROP_MEMBERSHIP): Likewise.
8059         (IP_UNBLOCK_SOURCE): Likewise.
8060         (IP_BLOCK_SOURCE): Likewise.
8061         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8062         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8063         (IP_MSFILTER): Likewise.
8064         (MCAST_JOIN_GROUP): Likewise.
8065         (MCAST_BLOCK_SOURCE): Likewise.
8066         (MCAST_UNBLOCK_SOURCE): Likewise.
8067         (MCAST_LEAVE_GROUP): Likewise.
8068         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8069         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8070         (MCAST_MSFILTER): Likewise.
8071         (IP_MULTICAST_ALL): Likewise.
8072         (IP_UNICAST_IF): Likewise.
8074         * timezone/Makefile: Delete $(have-ksh) check.
8075         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8076         * timezone/tzselect.ksh: Add +x mode bits.
8078         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8079         (ANON_INODE_FS_MAGIC): Likewise.
8080         (BDEVFS_MAGIC): Likewise.
8081         (BINFMTFS_MAGIC): Likewise.
8082         (BTRFS_TEST_MAGIC): Likewise.
8083         (CRAMFS_MAGIC_WEND): Likewise.
8084         (DEBUGFS_MAGIC): Likewise.
8085         (ECRYPTFS_SUPER_MAGIC): Likewise.
8086         (EXT3_SUPER_MAGIC): Likewise.
8087         (EXT4_SUPER_MAGIC): Likewise.
8088         (FUTEXFS_SUPER_MAGIC): Likewise.
8089         (HOSTFS_SUPER_MAGIC): Likewise.
8090         (HUGETLBFS_MAGIC): Likewise.
8091         (MINIX3_SUPER_MAGIC): Likewise.
8092         (MTD_INODE_FS_MAGIC): Likewise.
8093         (NILFS_SUPER_MAGIC): Likewise.
8094         (OPENPROM_SUPER_MAGIC): Likewise.
8095         (PIPEFS_MAGIC): Likewise.
8096         (PSTOREFS_MAGIC): Likewise.
8097         (QNX6_SUPER_MAGIC): Likewise.
8098         (RAMFS_MAGIC): Likewise.
8099         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8100         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8101         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8102         (SECURITYFS_MAGIC): Likewise.
8103         (SELINUX_MAGIC): Likewise.
8104         (SMACK_MAGIC): Likewise.
8105         (SOCKFS_MAGIC): Likewise.
8106         (SQUASHFS_MAGIC): Likewise.
8107         (STACK_END_MAGIC): Likewise.
8108         (TMPFS_MAGIC): Likewise.
8109         (USBDEVICE_SUPER_MAGIC): Likewise.
8110         (V9FS_MAGIC): Likewise.
8111         (XENFS_SUPER_MAGIC): Likewise.
8112         (CRAMFS_MAGIC): Fix typo in comment.
8113         (EXT2_SUPER_MAGIC): Update comment.
8114         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8116 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8118         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8119         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8120         * sysdeps/unix/sysv/linux/arm: Move directory from
8121         ports/sysdeps/unix/sysv/linux/arm.
8122         * README: Update listing for arm-*-linux-gnueabi.
8124         * README: Remove mention of am33.
8126 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8128         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8129         than the comma operator, to avoid "rhs of comma has no effect"
8130         compiler warnings.
8131         (__sigfillset, __sigandset, __sigorset): Likewise.
8132         * include/signal.h (__sigemptyset): Likewise.
8133         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8135 2014-02-07  Allan McRae  <allan@archlinux.org>
8137         * version.h (RELEASE): Set to "development".
8138         (VERSION): Set to "2.19.90"
8139         * NEWS: Add 2.20 section.
8141 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8143         [BZ #16529]
8144         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8146 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8148         * manual/contrib.texi: Update entry for Carlos O'Donell,
8149         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8151 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8153         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8155         * sysdeps/unix/sysv/linux/kernel-features.h
8156         [__LINUX_KERNEL_VERSION >= 0x020621]
8157         (__ASSUME_PROC_PID_TASK_COMM): Define.
8159 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8161         [BZ #16398]
8162         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8163         conversion when destination buffer does not have enough space.
8164         * libio/tst-ftell-partial-wide.c: New test case.
8165         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8167         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8168         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8169         Leonard and Allan McRae.
8171 2014-02-04  David S. Miller  <davem@davemloft.net>
8173         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8174         32-bit.
8176 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8179         New file
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8181         New file
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8183         New file.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8185         New file.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8187         New file.
8188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8189         New file.
8190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8191         New file.
8192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8193         New file.
8194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8195         New file.
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8197         New file.
8198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8199         New file.
8200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8201         New file.
8202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8203         New file.
8205 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8207         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8208         * shlib-versions: Likewise.
8210 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8211             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8213         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8214         (abilist-pattern): New variable, set to %-le.abilist.
8216         * Makerules (abilist-pattern): New variable.
8217         (vpath): Use $(abilist-pattern) in place of %.abilist.
8218         (check-abi-% pattern rule): Likewise.
8219         (check-abi, update-abi): Likewise.
8221 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8225 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8227         * manual/startup.texi: Add next, previous, and top entries for
8228         the `Program Arguments' and `Environment Variables' nodes.
8230 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8232         * manual/macros.texi: Add comments before MTASC-safety macros.
8234         * manual/users.texi: Document MTASC-safety properties.
8236         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8237         (pthread_getspecific, pthread_setspecific): Format with
8238         @deftypefun, and add @safety note.
8239         * manual/signal.texi: Move comments that analyze the above
8240         functions to their home place.
8242 2014-02-03  Allan McRae  <allan@archlinux.org>
8244         * po/sl.po: Update Slovenian translation from translation project.
8246 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8248         * manual/time.texi (timegm): Add missing blank after @c.
8249         Reported by Joseph Myers <joseph@codesourcery.com>.
8251 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8253         * manual/check-safety.sh: New.
8254         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8256         * manual/terminal.texi: Document MTASC-safety properties.
8258         * manual/filesys.texi: Document MTASC-safety properties.
8260         * manual/errno.texi: Document MTASC-safety properties.
8262         * manual/intro.texi: Document safety identifiers and
8263         conditionals.
8265         * manual/string.texi (wcstok): Fix prototype.
8266         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8268         * manual/time.texi: Document MTASC-safety properties.
8270         * manual/string.texi: Document MTASC-safety properties.
8272         * manual/threads.texi: Document MTASC-safety properties.
8274         * manual/stdio.texi: Document MTASC-safety properties.
8276         * manual/syslog.texi: Document MTASC-safety properties.
8278         * manual/sysinfo.texi: Document MTASC-safety properties.
8280         * manual/startup.texi: Document MTASC-safety properties.
8282         * manual/socket.texi: Document MTASC-safety properties.
8284         * manual/signal.texi: Document MTASC-safety properties.
8286 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8288         * manual/setjmp.texi: Document MTASC-safety properties.
8290         * manual/search.texi: Document MTASC-safety properties.
8292         * manual/resource.texi: Document MTASC-safety properties.
8294         * manual/process.texi: Document MTASC-safety properties.
8296         * manual/platform.texi: Document MTASC-safety properties.
8298         * manual/pipe.texi: Document MTASC-safety properties.
8300         * manual/pattern.texi: Document MTASC-safety properties.
8302         * manual/message.texi: Document MTASC-safety properties.
8304         [BZ #12751]
8305         * manual/memory.texi: Document MTASC-safety properties.
8307         * manual/math.texi: Document MTASC-safety properties.
8309         * manual/locale.texi: Document MTASC-safety properties.
8311         * manual/llio.texi: Document MTASC-safety properties.
8313         * manual/libdl.texi: New.
8315         * manual/lang.texi: Document MTASC-safety properties.
8317         * manual/job.texi: Document MTASC-safety properties.
8319         * manual/getopt.texi: Document MTASC-safety properties.
8321         * manual/ctype.texi: Document MTASC-safety properties.
8323 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8325         [BZ #16046]
8326         * csu/libc-tls.c (static_map): Remove variable.
8327         (__libc_setup_tls): Use main executable's link map for TLS data.
8328         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8329         casing for LM_ID_BASE and GL(dl_nns).
8330         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8331         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8332         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8333         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8334         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8335         member.
8336         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8337         l_phnum members.
8339 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8341         * manual/debug.texi: Document MTASC-safety properties.
8343 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8345         [BZ #16510]
8346         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8347         of __x86_64__ when disabling x87 inline functions.
8349 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8351         * manual/charset.texi: Document MTASC-safety properties.
8353         * manual/crypt.texi: Document MTASC-safety properties.
8355         * manual/conf.texi: Document MTASC-safety properties.
8357         * manual/arith.texi: Document MTASC-safety properties.
8359         * manual/argp.texi: Document MTASC-safety properties.
8361         * manual/macros.texi: Introduce macros to document multi
8362         thread, asynchronous signal and asynchronous cancellation
8363         safety properties.
8364         * manual/intro.texi: Introduce the properties themselves.
8366 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8368         * sysdeps/sh/sh4/Makefile: New file.
8370 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8372         * math/gen-libm-test.pl ($srcdir): New variable.
8373         ($auto_input): Use it.
8375 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8377         [BZ #16506]
8378         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8379         access beyond array bounds when parsing netgroups file.
8381         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8382         the old buffer before realloc.
8384 2014-01-27  Allan McRae  <allan@archlinux.org>
8386         * po/fr.po: Update French translation from translation project.
8388 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8390         * sysdeps/sh/libm-test-ulps: Regenerate.
8392 2014-01-24  David S. Miller  <davem@davemloft.net>
8394         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8396 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8398         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8399         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8401 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8403         [BZ #16474]
8404         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8405         string pointers after reallocation.
8407 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8409         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8410         __SH4A__ instead of __SH_FPU_ANY__.
8412 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8414         * sysdeps/sh/fpu_control.h: New file.
8415         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8416         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8417         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8418         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8419         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8420         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8421         * sysdeps/sh/sys/ucontext.h: Remove.
8422         * sysdeps/sh/sys: Remove directory.
8424 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8426         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8427         s390/sys/ucontext.h.
8428         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8429         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8431 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8433         [BZ #15605]
8434         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8436 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8438         [BZ#16431]
8439         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8440         Adjust the vDSO correctly for internal calls.
8441         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8443 2014-01-20  Allan McRae  <allan@archlinux.org>
8445         * po/ca.po: Update Catalan translation from translation project.
8447 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8449         * sysdeps/s390/sotruss-lib.c: New file.
8451 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8453         [BZ#16430]
8454         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8455         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8456         local calls issues by not having a PLT stub required for IFUNC calls.
8457         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8459 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8461         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8462         * math/test-fpucw-static.c: Likewise.
8464 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8466         [BZ #16453]
8467         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8469 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8471         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8472         implementation for powerpc.
8474 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8476         [BZ #14782]
8477         * sysdeps/posix/system.c (__libc_system): Do not enable
8478         asynchronous cancellation.
8480 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8482         [BZ #16427]
8483         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8484         handling only for numbers special also in the IEEE case.
8486 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8488         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8490 2014-01-11  Allan McRae  <allan@archlinux.org>
8492         * po/bg.po: Update Bulgarian translation from translation project.
8494         * po/de.po: Update German translation from translation project.
8496 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8498         * sysdeps/generic/gcc-compat.h: New file.
8500 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8502         * benchtests/asin-inputs: Correct slow inputs.
8503         * benchtests/acos-inputs: Likewise.
8505 2014-01-10  Allan McRae  <allan@archlinux.org>
8507         * po:sv.po: Update Swedish translation from translation project.
8509         * po/vi.po: Update Vietnamese translation from translation project.
8511         * po/eo.po: Update Esperanto translation from translation project.
8513         * po/cs.po: Update Czech translation from translation project.
8515         * po/nl.po: Update Dutch translation from translation project.
8517         * po/pl.po: Update Polish translation from translation project.
8519         * po/ru.po: Update Russian translation from translation project.
8521         * po/uk.po: Update Ukrainian translation from translation project.
8523 2014-01-08  Brooks Moses  <bmoses@google.com>
8525         * elf/dl-load.c: Fix comment typo.
8527 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8529         * po/header.pot: Rename to...
8530         * po/pot.header: ... this.
8531         * po/Makefile: Use pot.header.
8533 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8534             Maxim Kuvyrkov  <maxim@kugelworks.com>
8536         [BZ #16394]
8537         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8538         SRC and DEST against LEN.
8540 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8542         [BZ #16414]
8543         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8544         implementation.
8545         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8547 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8551 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8553         [BZ #16408]
8554         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8555         for large positive arguments.
8557 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8559         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8561         * math/auto-libm-test-in: Mark various tests with
8562         xfail-rounding:ldbl-128ibm.
8563         * math/auto-libm-test-out: Regenerated.
8565         [BZ #16407]
8566         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8567         Increase overflow threshold.
8569 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8571         [BZ #14286]
8572         * stdio-common/vfprintf.c: Check for integer overflow.
8574 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8576         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8577         the first argument and return value of __tls_get_addr_internal.
8579 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8581         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8582         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8584 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8586         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8587         * sysdeps/s390/rtld-global-offsets.sym: New file.
8588         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8589         GLIBC_2.19 symbol.
8590         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8591         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8592         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8593         ... this.
8594         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8595         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8596         ... this.
8597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8598         Regenerate.
8599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8600         Regenerate.
8601         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8602         halfs of GPRs for high_gprs contexts.
8603         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8604         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8605         field.
8606         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8607         uc_flags field.
8608         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8609         64 bit versions:
8610         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8611         for high GPRs (uc_high_gprs) and for future extensions
8612         (__reserved).
8613         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8614         for future extensions (__reserved).
8615         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8616         64 bit versions:
8617         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8618         SC_HIGHGPRS offset definition.
8619         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8620         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8622         * Versions.def: Add GLIBC_2.19 for libpthread.
8623         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8624         siglongjmp for libpthread with GLIBC_2.19 symver.
8625         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8626         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8627         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8628         * sysdeps/s390/__longjmp.c: New file.
8629         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8630         * sysdeps/s390/longjmp.c: New file.
8631         * sysdeps/s390/setjmp.S: New file.
8632         * sysdeps/s390/sigjmp.S: New file.
8633         * sysdeps/s390/v1-longjmp.c: New file.
8634         * sysdeps/s390/v1-setjmp.h: New file.
8635         * sysdeps/s390/v1-sigjmp.c: New file.
8636         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8637         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8638         GLIBC_2.19 version.
8639         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8640         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8641         versioned symbols for ____longjmp_chk.
8642         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8643         Likewise.
8644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8645         Regenerate.
8646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8647         Regenerate.
8648         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8649         Regenerate.
8650         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8651         Regenerate.
8652         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8653         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8654         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8655         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8656         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8657         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8658         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8659         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8660         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8661         * sysdeps/s390/rtld-__longjmp.c: New file.
8662         * sysdeps/s390/rtld-setjmp.S: New file.
8664 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8666         [BZ #16400]
8667         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8668         Return -__logl (x) for small positive arguments without evaluating
8669         a polynomial.
8671 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8673         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8674         Rename to ...
8675         (__ptrace_peeksiginfo_args): ... this.
8676         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8677         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8678         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8680 2014-01-06  Allan McRae  <allan@archlinux.org>
8682         * inet/netinet/in.h: Fix typo in comment.
8684 2014-01-05  Andreas Jaeger  <aj@suse.de>
8686         * sysdeps/i386/fpu/libm-test-ulps: Update.
8688 2014-01-05  Allan McRae  <allan@archlinux.org>
8690         * po/libc.pot: Regenerated.
8692         * malloc/memusagestat.c: Fix gettext call formatting.
8694 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8696         * nscd/nscd.c: Improve usage() output.
8698 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8700         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8701         * sysdeps/unix/sysv/linux/configure: Regenerated.
8702         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8703         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8705 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8707         [BZ #16390]
8708         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8709         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8711 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8714         extra tokens at end of #undef directive.
8715         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8716         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8717         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8719 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8721         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8723         * math/auto-libm-test-in: Mark various tests with
8724         xfail-rounding:ldbl-128ibm.
8725         * math/auto-libm-test-out: Regenerated.
8727 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8729         [BZ #16386]
8730         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8731         numbers with subnormal high part when calculating exponent.
8733         [BZ #16385]
8734         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8735         fabs.
8737         [BZ #16384]
8738         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8739         M_LN2l.
8740         (__ieee754_acoshl): Use __log1pl not __log1p.
8742 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8744         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8745         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8746         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8747         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8748         (reused_arena, arena_get2): Convert to GNU style.
8749         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8750         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8751         (memalign_check, __malloc_set_state): Likewise.
8752         * malloc/mallocbug.c (main): Likewise.
8753         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8754         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8755         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8756         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8757         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8758         (__posix_memalign, malloc_info): Likewise.
8759         * malloc/malloc.h: Likewise.
8760         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8761         (mallochook, memalignhook, reallochook, mabort): Likewise.
8762         * malloc/mcheck.h: Likewise.
8763         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8764         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8765         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8766         * malloc/morecore.c (__default_morecore): Likewise.
8767         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8768         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8769         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8770         (print_and_abort): Likewise.
8771         * malloc/obstack.h: Likewise.
8772         * malloc/set-freeres.c (__libc_freeres): Likewise.
8773         * malloc/tst-mallocstate.c (main): Likewise.
8774         * malloc/tst-mtrace.c (main): Likewise.
8775         * malloc/tst-realloc.c (do_test): Likewise.
8777 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8779         [BZ #16366]
8780         * nscd/netgroupcache.c (do_notfound): New function.
8781         (addgetnetgrentX): Use it.
8783         [BZ # 16365]
8784         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8785         NSS_STATUS_NOTFOUND.
8787 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8789         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8792 2014-01-01  Allan McRae  <allan@archlinux.org>
8794         * scripts/update-copyrights: Update configure input file suffix.
8796         * NEWS: Update copyright year.
8797         * catgets/gencat.c: Likewise.
8798         * csu/version.c: Likewise.
8799         * debug/catchsegv.sh: Likewise.
8800         * debug/pcprofiledump.c: Likewise.
8801         * debug/xtrace.sh: Likewise.
8802         * elf/ldconfig.c: Likewise.
8803         * elf/ldd.bash.in: Likewise.
8804         * elf/pldd.c: Likewise.
8805         * elf/sotruss.ksh: Likewise.
8806         * elf/sprof.c: Likewise.
8807         * iconv/iconv_prog.c: Likewise.
8808         * iconv/iconvconfig.c: Likewise.
8809         * locale/programs/locale.c: Likewise.
8810         * locale/programs/localedef.c: Likewise.
8811         * login/programs/pt_chown.c: Likewise.
8812         * malloc/memusage.sh: Likewise.
8813         * malloc/memusagestat.c: Likewise.
8814         * malloc/mtrace.pl: Likewise.
8815         * manual/libc.texinfo: Likewise.
8816         * nscd/nscd.c: Likewise.
8817         * nss/getent.c: Likewise.
8818         * nss/makedb.c: Likewise.
8819         * posix/getconf.c: Likewise.
8820         * scripts/test-installation.pl: Likewise.
8822         * All files with FSF copyright notices: Update copyright dates
8823         using scripts/update-copyrights.
8824         * intl/plural.c: Regenerated.
8825         * locale/programs/charmap-kw.h: Likewise.
8826         * locale/programs/locfile-kw.h: Likewise.
8828 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8830         * sysdeps/unix/sysv/linux/configure: Regenerated.
8831         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8832         the linux/fanotify.h header.
8833         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8834         HAVE_LINUX_FANOTIFY_H is defined.
8836 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8838         * benchtests/cos-inputs: New inputs.
8839         * benchtests/sin-inputs: Likewise.
8841         * benchtests/atan-inputs: New inputs. Fix name of multiple
8842         precision fallback inputs.
8844         * benchtests/atanh-inputs: New inputs.
8845         * benchtests/tanh-inputs: Likewise.
8847         * benchtests/acosh-inputs: New inputs.
8848         * benchtests/asinh-inputs: Likewise.
8850         * benchtests/cosh-inputs: New inputs.
8851         * benchtests/sinh-inputs: Likewise.
8853         * benchtests/acos-inputs: Add more inputs.
8854         * benchtests/asin-inputs: Likewise.
8856 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8858         [BZ #16375]
8859         * manual/arith.texi: Fix spelling.
8860         * manual/charset.texi: Likewise.
8861         * manual/errno.texi: Likewise.
8862         * manual/filesys.texi: Likewise.
8863         * manual/lang.texi: Likewise.
8864         * manual/llio.texi: Likewise.
8865         * manual/locale.texi: Likewise.
8866         * manual/message.texi: Likewise.
8867         * manual/resource.texi: Likewise.
8868         * manual/search.texi: Likewise.
8869         * manual/setjmp.texi: Likewise.
8870         * manual/stdio.texi: Likewise.
8871         * manual/string.texi: Likewise.
8872         * manual/sysinfo.texi: Likewise.
8873         * manual/time.texi: Likewise.
8875 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8877         * po/sl.po: New file.
8879 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8881         * .gitignore: Add core/.gdbinit/.gdb_history.
8883 2013-12-27  Allan McRae  <allan@archlinux.org>
8885         [BZ #16369]
8886         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8887         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8889 2013-12-24  Brooks Moses  <bmoses@google.com>
8891         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8892         all compilers that claim C++98 compliance, not just GCC.
8893         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8894         Likewise.
8896 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8898         * NEWS: Restore accidentally deleted bug-fix entries.
8900 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8901             Ondřej Bílka  <neleai@seznam.cz>
8903         [BZ #15073]
8904         * malloc/malloc.c (_int_free): Perform sanity check only if we
8905         have_lock.
8907 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8909         [BZ #12986]
8910         * manual/stdio.texi (String Input Conversions): Clarify that character
8911         classes are not supported.
8913 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8917 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8919         [BZ #16337]
8920         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8921         Calculate results for small negative arguments directly rather
8922         than using reflection formula with special underflow handling.
8924         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
8925         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
8926         sysdeps/unix/bsd/bsd4.4/syscalls.list.
8927         (fchflags): Likewise.
8928         (revoke): Likewise.
8929         (setlogin): Likewise.
8930         (sigaltstack): Likewise.
8931         (wait4): Likewise.
8932         (sigblock): Remove.
8933         (sigsetmask): Likewise.
8934         (wait3): Likewise.
8935         (waitpid): Likewise.
8936         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
8937         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
8938         file.
8939         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
8940         * sysdeps/unix/bsd/Makefile: ... here.
8941         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
8942         * sysdeps/unix/bsd/Versions: ... here.
8943         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
8944         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
8945         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
8946         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
8947         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
8948         * sysdeps/unix/bsd/sigblock.c: ... here.
8949         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
8950         * sysdeps/unix/bsd/sigsetmask.c: ... here.
8951         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
8952         * sysdeps/unix/bsd/sigvec.c: ... here.
8953         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
8954         * sysdeps/unix/bsd/tcdrain.c: ... here.
8955         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
8956         * sysdeps/unix/bsd/tcgetattr.c: ... here.
8957         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
8958         * sysdeps/unix/bsd/tcsetattr.c: ... here.
8959         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
8960         * sysdeps/unix/bsd/wait.c: ... here.
8961         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
8962         * sysdeps/unix/bsd/wait3.c: ... here.
8963         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
8964         * sysdeps/unix/bsd/waitpid.c: ... here.
8966 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
8968         [BZ #16356]
8969         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
8970         round-to-nearest for [!USE_AS_EXPM1L].
8971         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
8972         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
8973         more tests of exp and exp10.  Expect some exp10 tests to miss
8974         exceptions or fail in directed rounding modes.
8975         * math/auto-libm-test-out: Regenerated.
8976         * math/libm-test.inc (exp10_tonearest_test_data): New array.
8977         (exp10_test_tonearest): New function.
8978         (exp10_towardzero_test_data): New array.
8979         (exp10_test_towardzero): New function.
8980         (exp10_downward_test_data): New array.
8981         (exp10_test_downward): New function.
8982         (exp10_upward_test_data): New array.
8983         (exp10_test_upward): New function.
8984         (main): Call the new functions.
8985         * sysdeps/i386/fpu/libm-test-ulps: Update.
8986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8988 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
8990         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
8991         asinh, atan, atan2, atanh, cbrt, cos and cosh.
8992         * math/auto-libm-test-out: Regenerated.
8993         * math/libm-test.inc (acosh_test_data): Add more tests.
8994         (atanh_test_data): Likewise.
8995         (ceil_test_data): Likewise.
8996         (copysign_test_data): Likewise.
8997         * sysdeps/i386/fpu/libm-test-ulps: Update.
8998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9000         * timezone/checktab.awk: Update from tzcode 2013i.
9001         * timezone/private.h: Likewise.
9002         * timezone/scheck.c: Likewise.
9003         * timezone/tzfile.h: Likewise.
9004         * timezone/tzselect.ksh: Likewise.
9005         * timezone/zdump.c: Likewise.
9006         * timezone/zic.c: Likewise.
9008         * math/auto-libm-test-in: Add tests of cpow.
9009         * math/auto-libm-test-out: Regenerated.
9010         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9012         mpc_cc_c.
9013         (func_calc_desc): Add mpc_cc_c union field.
9014         (test_functions): Add cpow.
9015         (special_fill_2pi): New function.
9016         (special_real_inputs): Add 2pi.
9017         (calc_generic_results): Handle mpc_cc_c.
9018         * sysdeps/i386/fpu/libm-test-ulps: Update.
9019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9021         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9022         csqrt, ctan and ctanh.
9023         * math/auto-libm-test-out: Regenerated.
9024         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9025         (TEST_COND_x86): Likewise.
9026         (ccos_test_data): Use AUTO_TESTS_c_c.
9027         (ccosh_test_data): Likewise.
9028         (cexp_test_data): Likewise.
9029         (clog_test_data): Likewise.
9030         (csqrt_test_data): Likewise.
9031         (ctan_test_data): Likewise.
9032         (ctan_tonearest_test_data): Likewise.
9033         (ctan_towardzero_test_data): Likewise.
9034         (ctan_downward_test_data): Likewise.
9035         (ctan_upward_test_data): Likewise.
9036         (ctanh_test_data): Likewise.
9037         (ctanh_tonearest_test_data): Likewise.
9038         (ctanh_towardzero_test_data): Likewise.
9039         (ctanh_downward_test_data): Likewise.
9040         (ctanh_upward_test_data): Likewise.
9041         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9042         mpc_c_c.
9043         (func_calc_desc): Add mpc_c_c union field.
9044         (FUNC_mpc_c_c): New macro.
9045         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9046         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9047         ctanh.
9048         (special_fill_min_subnorm_p120): New function.
9049         (special_real_inputs): Add min_subnorm_p120.
9050         (calc_generic_results): Handle mpc_c_c.
9051         * sysdeps/i386/fpu/libm-test-ulps: Update.
9052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9054 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9056         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9057         (do_sin_slow): New functions.
9058         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9059         (cslow2, csloww1, csloww2): Use the new functions.
9061         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9062         Use M to change sign of result instead of X.  Assume X is
9063         positive.
9064         (csloww1): Likewise.
9065         (__sin): Adjust.
9066         (__cos): Adjust.
9068         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9069         arguments A and DA.
9070         (__sin): Adjust.
9071         (__cos): Likewise.
9073         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9074         (__cos): Likewise.
9075         (sloww1): Don't adjust sign of DX.
9076         (csloww1): Likewise.
9077         (sloww2): Use X directly and don't adjust sign of DX.
9078         (csloww2): Likewise.
9080 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9082         * math/auto-libm-test-in: Add tests of cabs and carg.
9083         * math/auto-libm-test-out: Regenerated.
9084         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9085         (carg_test_data): Likewise.
9086         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9087         mpc_c_f.
9088         (func_calc_desc): Add mpc_c_f union field.
9089         (test_functions): Add cabs and carg.
9090         (calc_generic_results): Handle mpc_c_f.
9092         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9093         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9094         as a macro and a compat symbol.
9095         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9096         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9097         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9098         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9099         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9100         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9101         not use .hidden.
9102         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9103         Likewise.
9104         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9105         Likewise.
9106         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9107         Likewise.
9108         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9109         Likewise.
9110         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9111         Likewise.
9112         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9113         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9114         from GLIBC_2.3.2.
9116 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9118         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9120 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9122         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9123         trailing whitespace removed.
9124         * scripts/config.guess: Update to version 2013-11-29.
9125         * scripts/config.sub: Update to version 2013-10-01.
9127         * math/auto-libm-test-in: Add tests of sincos.
9128         * math/auto-libm-test-out: Regenerated.
9129         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9130         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9131         mpfr_f_11.
9132         (func_calc_desc): Add mpfr_f_11 union field.
9133         (test_functions): Add sincos.
9134         (calc_generic_results): Handle mpfr_f_11.
9135         * sysdeps/i386/fpu/libm-test-ulps: Update.
9136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9138 2013-12-19  Andreas Schwab  <schwab@suse.de>
9140         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9141         CALL_MCOUNT.
9142         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9143         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9144         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9146 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9148         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9149         * sysdeps/i386/fpu/libm-test-ulps: Update.
9150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9152         [BZ #16293]
9153         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9154         round-to-nearest mode when using frndint.
9155         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9156         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9157         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9158         Likewise.
9159         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9160         sinh test to fail.
9161         * math/auto-libm-test-out: Regenerated.
9162         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9163         (TEST_COND_x86): Likewise.
9164         (expm1_tonearest_test_data): New array.
9165         (expm1_test_tonearest): New function.
9166         (expm1_towardzero_test_data): New array.
9167         (expm1_test_towardzero): New function.
9168         (expm1_downward_test_data): New array.
9169         (expm1_test_downward): New function.
9170         (expm1_upward_test_data): New array.
9171         (expm1_test_upward): New function.
9172         (main): Run the new test functions.
9173         * sysdeps/i386/fpu/libm-test-ulps: Update.
9174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176         * include/features.h: Update comment documenting feature test
9177         macros.  Mention _DEFAULT_SOURCE in comment.
9178         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9179         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9180         _BSD_SOURCE and _SVID_SOURCE.
9181         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9182         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9183         !_SVID_SOURCE]: Likewise.
9184         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9185         (__USE_POSIX_IMPLICITLY): Define.
9186         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9187         (_POSIX_SOURCE): Undefine and redefine.
9188         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9189         (_POSIX_C_SOURCE): Likewise.
9190         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9191         (Feature Test Macros): Update documentation of default features.
9193 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9195         * benchtests/Makefile: Add bench-strtok.
9196         * benchtests/bench-strtok.c: New file: strtok benchtest.
9198 2013-12-19  Allan McRae  <allan@archlinux.org>
9200         * manual/install.texi: Suppress menu for plain text output.
9201         * INSTALL: Regenerated.
9203 2013-12-18  Brooks Moses  <bmoses@google.com>
9205         [BZ #15846]
9206         * misc/getauxval.c: Include errno.h.
9207         (__getauxval): Set errno to ENOENT if the requested type is not
9208         found.
9209         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9210         don't declare with __attribute_const__.
9211         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9212         * manual/startup.texi: Document that getauxval sets errno.
9214 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9216         * math/auto-libm-test-in: Add tests of jn and yn.
9217         * math/auto-libm-test-out: Regenerated.
9218         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9219         (yn_test_data): Likewise.
9220         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9221         mpfr_if_f.
9222         (func_calc_desc): Add mpfr_if_f union field.
9223         (FUNC_mpfr_if_f): New macro.
9224         (test_functions): Add jn and yn.
9225         (calc_generic_results): Assert type of second input for
9226         mpfr_ff_f.  Handle mpfr_if_f.
9227         (output_for_one_input_case): Disable all checking for arguments
9228         fitting floating-point types in case of an integer argument.
9229         * sysdeps/i386/fpu/libm-test-ulps: Update.
9230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9233         Don't expect fegetround reference in libm.so.
9235 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9237         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9238         $(config-cflags-nofma).
9240 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9242         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9243         * math/auto-libm-test-out: Regenerated.
9245         [BZ #16338]
9246         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9247         to determine exponent and adjust argument to have exponent of -1.
9248         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9249         log2.
9250         * math/auto-libm-test-out: Regenerated.
9251         * sysdeps/i386/fpu/libm-test-ulps: Update.
9252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9254 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9256         * manual/probes.texi: Remove cases when per-thread arenas are
9257         disabled.
9259 2013-12-18  Andreas Schwab  <schwab@suse.de>
9261         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9262         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9263         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9264         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9265         * sysdeps/i386/i686/multiarch/Makefile: Update.
9266         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9268 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9270         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9271         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9273 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9275         [BZ #15968]
9276         Support TZ transition times < 00:00:00.
9277         This is needed for version-3 tz-format files; it supports time
9278         stamps past 2037 for America/Godthab (the only entry in the tz
9279         database for which this change is relevant).
9280         * manual/time.texi (TZ Variable): Document transition times
9281         from -167:59:59 through -00:00:01.
9282         * time/tzset.c (tz_rule): Time of day is now signed.
9283         (__tzset_parse_tz): Parse negative time of day.
9285         Document TZ transition times >= 25:00:00.
9286         * manual/time.texi (TZ Variable): Document transition times from
9287         25:00:00 through 167:59:59.  These are already supported, and this
9288         support will help with version-3 tz-format files.
9290         * manual/time.texi (TZ Variable): Modernize North America example
9291         to reflect current (i.e., 2007-and-later) daylight saving rules.
9293         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9295 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9297         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9298         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9299         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9300         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9301         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9302         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9303         * sysdeps/unix/bsd/clock.c: Likewise.
9304         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9305         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9306         * sysdeps/unix/bsd/init-posix.c: Likewise.
9307         * sysdeps/unix/bsd/poll.c: Likewise.
9308         * sysdeps/unix/bsd/ptsname.c: Likewise.
9309         * sysdeps/unix/bsd/seekdir.c: Likewise.
9310         * sysdeps/unix/bsd/setegid.c: Likewise.
9311         * sysdeps/unix/bsd/seteuid.c: Likewise.
9312         * sysdeps/unix/bsd/setgid.c: Likewise.
9313         * sysdeps/unix/bsd/setrgid.c: Likewise.
9314         * sysdeps/unix/bsd/setruid.c: Likewise.
9315         * sysdeps/unix/bsd/setsid.c: Likewise.
9316         * sysdeps/unix/bsd/setuid.c: Likewise.
9317         * sysdeps/unix/bsd/sigaction.c: Likewise.
9318         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9319         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9320         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9321         * sysdeps/unix/bsd/telldir.c: Likewise.
9322         * sysdeps/unix/bsd/times.c: Likewise.
9323         * sysdeps/unix/bsd/usleep.c: Likewise.
9325         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9326         ($(objpfx)libbsd-compat.a): Remove rule.
9328         * include/features.h (__FAVOR_BSD): Do not define.
9329         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9330         features conflicting with POSIX.
9331         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9332         (_BSD_SOURCE): Remove description of not being a subset of other
9333         feature test macros.
9334         * manual/job.texi (getpgrp): Do not document BSD version.
9335         (getpgid): Do not document by reference to BSD getpgrp.
9336         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9337         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9338         * signal/signal.h [__FAVOR_BSD]: Likewise.
9339         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9340         instead of making contents conditional on [__FAVOR_BSD].
9341         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9343 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9345         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9347 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9349         [BZ #16314]
9350         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9351         values below 2**-450, not 2**-500.
9352         * math/auto-libm-test-in: Don't allow spurious underflow from
9353         hypot.
9354         * math/auto-libm-test-out: Regenerated.
9356         [BZ #16316]
9357         [BZ #16330]
9358         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9359         values of ha and hb and sort them after adjusting subnormal
9360         arguments.
9361         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9362         Likewise.
9363         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9364         values of ea and eb and sort them after adjusting subnormal
9365         arguments.
9366         * math/auto-libm-test-in: Do not expect some hypot tests of
9367         subnormals to fail.  Add more hypot tests.
9368         * math/auto-libm-test-out: Regenerated.
9370 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9372         [BZ #13304]
9373         * sysdeps/sh/s_fma.c: New file.
9374         * sysdeps/sh/s_fmaf.c: New file.
9375         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9376         version.
9377         * sysdeps/sh/Implies: Add sh/soft-fp.
9379 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9381         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9382         level of indirection to members `objname', `errstring', `malloced'.
9383         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9384         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9385         it as the __longjmp argument (just pass 1 instead).
9386         (_dl_catch_error): Initialize C with argument pointers and address of
9387         volatile local ERRCODE rather than copying values out of C at return.
9389 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9391         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9392         * math/auto-libm-test-out: Regenerated.
9393         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9394         (hypot_test_data): Likewise.
9395         (pow_test_data): Likewise.
9396         (pow_tonearest_test_data): Likewise.
9397         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9398         mpfr_ff_f.
9399         (func_calc_desc): Add mpfr_ff_f union field.
9400         (FUNC_mpfr_ff_f): New macro.
9401         (test_functions): Add atan2, hypot and pow.
9402         (special_fill_min): New function.
9403         (special_fill_minus_min): Likewise.
9404         (special_fill_min_subnorm): Likewise.
9405         (special_fill_minus_min_subnorm): Likewise.
9406         (special_real_inputs): Add min, -min, min_subnorm and
9407         -min_subnorm.
9408         (calc_generic_results): Handle mpfr_ff_f.
9409         * sysdeps/i386/fpu/libm-test-ulps: Update.
9410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9412 2013-12-16  Will Newton  <will.newton@linaro.org>
9414         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9415         (Aligned Memory Blocks): Add documentation for aligned_alloc
9416         and suggest it as an alternative to posix_memalign.
9417         (Hooks for Malloc): Document __memalign_hook is also called
9418         for aligned_alloc.  (Summary of Malloc): Add summary for
9419         aligned alloc.  Document __memalign_hook is also called
9420         for aligned_alloc.
9422 2013-12-16  Will Newton  <will.newton@linaro.org>
9424         * manual/memory.texi (Malloc Examples): Clarify default
9425         alignment documentation.  Suggest posix_memalign rather
9426         than memalign or valloc.
9427         (Aligned Memory Blocks): Remove suggestion to use memalign
9428         or valloc.  Remove obsolete comment about BSD.
9429         Document memalign errno values and mark the function obsolete.
9430         Document posix_memalign returned error codes.  Mark valloc
9431         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9432         called for posix_memalign and valloc.
9433         (Summary of Malloc): Add posix_memalign to function summary.
9434         __memalign_hook is also called for posix_memalign and valloc.
9436 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9438         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9439         TAYLOR_SIN.
9440         (__sin): Adjust.
9441         (__cos): Likewise.
9442         (sloww): Use mynumber union.  Expand ternary operator into
9443         if-else statements.
9444         (cslow): use mynumber union.
9446 2013-12-16  Allan McRae  <allan@archlinux.org>
9448         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9449         * configure: Regenerated.
9451         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9453         [BZ #14120]
9454         * configure.ac: Added --enable-maintainer-mode. Check for
9455         autoconf when enabled.
9456         * configure: Regenerated.
9458         * nscd/nscd.service: New file.
9459         * nscd/nscd.tmpfiles: New file.
9461 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9463         [BZ #12100]
9464         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9465         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9466         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9467         (strstr): Add __strstr_sse2_unaligned ifunc.
9468         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9469         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9470         (strcasestr): Remove __strcasestr_sse42 ifunc.
9471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9472         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9473         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9475 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9477         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9478         * sysdeps/sh/bits/fenv.h: ... here.
9479         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9481 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9483         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9486         hypotf multiarch implementations.
9487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9490         multiarch hypot for PPC64.
9491         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9492         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9493         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9494         multiarch hypotf for PPC64.
9496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9497         modff multiarch implementations.
9498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9501         multiarch modf for PPC64.
9502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9505         multiarch modff for PPC64.
9507         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9508         and logl multiarch implementations.
9509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9512         multiarch logb for PPC64.
9513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9516         multiarch logb for PPC64.
9517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9520         multiarch logb for PPC64.
9522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9523         isinff multiarch implementation.
9524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9525         file.
9526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9528         multiarch isinf for PPC64.
9529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9530         file.
9531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9532         multiarch isinff for PPC64.
9534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9535         finitef multiarch implementation.
9536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9537         file.
9538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9540         multiarch finite for PPC64.
9541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9542         file.
9543         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9544         multiarch finitef for PPC64.
9546         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9547         lrint multiarch implementation.
9548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9549         file.
9550         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9552         multiarch llrint for PPC64.
9553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9554         multiarch lrint for PPC64.
9556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9557         copysignf multiarch implementation.
9558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9559         file.
9560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9561         file.
9562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9563         multiarch copysign for PPC64.
9564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9565         multiarch copysignf for PPC64.
9567         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9568         multiarch implementation.
9569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9570         file.
9571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9572         file.
9573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9574         file.
9575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9576         file.
9577         multiarch llround for PPC64.
9578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9579         multiarch trunc for PPC64.
9580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9581         multiarch truncf for PPC64.
9583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9584         multiarch implementation.
9585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9586         file.
9587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9588         file.
9589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9590         file.
9591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9592         file.
9593         multiarch llround for PPC64.
9594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9595         multiarch round for PPC64.
9596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9597         multiarch roundf for PPC64.
9599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9600         multiarch implementation.
9601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9602         file.
9603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9604         file.
9605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9606         file.
9607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9608         file.
9609         multiarch llround for PPC64.
9610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9611         multiarch floor for PPC64.
9612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9613         multiarch floorf for PPC64.
9615         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9616         multiarch implementation.
9617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9618         file.
9619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9620         file.
9621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9622         file.
9623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9624         file.
9625         multiarch llround for PPC64.
9626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9627         multiarch ceil for PPC64.
9628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9629         multiarch ceilf for PPC64.
9631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9632         multiarch implementation.
9633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9634         file.
9635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9636         file.
9637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9638         file.
9639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9640         multiarch llround for PPC64.
9641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9642         multiarch lround for PPC64.
9644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9645         multiarch implementation.
9646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9649         file.
9650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9653         multiarch isnan for PPC64.
9654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9655         multiarch isnanf for PPC64.
9657         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9658         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9659         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9660         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9661         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9664         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9665         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9666         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9667         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9670         multiarch implementations.
9671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9672         (__libc_ifunc_impl_list): Likewise.
9673         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9675         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9676         multiarch stpcpy for PPC64.
9678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9679         multiarch implementations.
9680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9681         (__libc_ifunc_impl_list): Likewise.
9682         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9683         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9684         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9685         multiarch strcpy for PPC64.
9687         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9688         redefine function name.
9689         (_wordcopy_fwd_dest_aligned): Likewise.
9690         (_wordcopy_bwd_aligned): Likewise.
9691         (_wordcopy_bwd_dest_aligned): Likewise.
9692         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9693         multiarch implementations.
9694         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9695         (__libc_ifunc_impl_list): Likewise.
9696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9698         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9700         multiarch wcscpy for PPC64.
9702         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9703         multiarch implementations.
9704         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9705         (__libc_ifunc_impl_list): Likewise.
9706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9707         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9708         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9709         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9710         multiarch wcscpy for PPC64.
9712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9713         multiarch implementations.
9714         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9715         (__libc_ifunc_impl_list): Likewise.
9716         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9717         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9718         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9719         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9720         multiarch wcsrchr for PPC64.
9722         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9723         multiarch implementations.
9724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9725         (__libc_ifunc_impl_list): Likewise.
9726         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9727         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9728         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9729         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9730         multiarch wcschr for PPC64.
9732         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9733         multiarch implementations.
9734         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9735         (__libc_ifunc_impl_list): Likewise.
9736         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9737         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9738         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9739         multiarch strchrnul for PPC64.
9741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9742         implementations.
9743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9744         (__libc_ifunc_impl_list): Likewise.
9745         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9746         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9747         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9748         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9749         strchr for PPC64.
9751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9752         implementations.
9753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9754         (__libc_ifunc_impl_list): Likewise.
9755         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9756         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9757         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9758         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9759         strncmp for PPC64.
9761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9762         multiarch implementations.
9763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9764         (__libc_ifunc_impl_list): Likewise.
9765         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9766         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9767         strncasecmp for PPC64.
9768         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9769         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9770         multiarch strncasecmp_l for PPC64.
9772         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9773         multiarch implementations.
9774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9775         (__libc_ifunc_impl_list): Likewise.
9776         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9777         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9778         multiarch strcasecmp for PPC64.
9779         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9780         file.
9781         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9782         multiarch strcasecmp_l for PPC64.
9784         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9785         implementations.
9786         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9787         (__libc_ifunc_impl_list): Likewise.
9788         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9789         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9790         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9791         strnlen for PPC64.
9793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9794         implementations.
9795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9796         (__libc_ifunc_impl_list): Likewise.
9797         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9798         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9799         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9800         strlen for PPC64.
9802         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9803         implementations.
9804         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9805         (__libc_ifunc_impl_list): Likewise.
9806         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9808         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9809         rawmemrchr for PPC64.
9811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9812         implementation.
9813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9814         (__libc_ifunc_impl_list): Likewise.
9815         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9816         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9817         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9818         memrchr for PPC64.
9820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9821         implementation.
9822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9823         (__libc_ifunc_impl_list): Likewise.
9824         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9825         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9826         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9827         memchr for PPC64.
9829         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9830         implementation.
9831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9832         (__libc_ifunc_impl_list): Likewise.
9833         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9834         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9835         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9836         mempcpy for PPC64.
9838         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9839         avoid cretion of __bzero symbol.
9840         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9841         Likewise.
9842         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9843         Likewise.
9844         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9845         Likewise.
9846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9847         multiarch implementations.
9848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9849         (__libc_ifunc_impl_list): Likewise.
9850         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9851         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9852         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9853         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9854         bzero for PPC32.
9855         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9856         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9857         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9858         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9859         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9860         memset for PPC64.
9861         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9863         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9864         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9865         implementations.
9866         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9867         (__libc_ifunc_impl_list): Likewise.
9868         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9870         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9871         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9872         memcmp for PPC64.
9874         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9875         multiarch for POWER/PPC64.
9876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9877         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9878         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9879         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9880         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9881         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9882         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9883         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9884         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9885         memcpy for PPC64.
9887         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9888         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9889         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9890         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9891         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9892         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9893         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9894         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9895         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9896         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9897         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9898         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9899         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9900         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9901         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9910 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9912         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9914 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9916         * benchtests/Makefile (bench): Add exp2 and log2.
9917         (LDLIBS-bench-exp2): Add -lm.
9918         (LDLIBS-bench-log2): Likewise.
9919         * benchtests/exp2-inputs: New inputs file.
9920         * benchtests/log2-inputs: New inputs file.
9921         * benchtests/log-inputs: Add new inputs.
9922         * benchtests/tan-inputs: Likewise.
9924 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9926         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
9927         definition...
9928         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
9929         (csloww2): ... from here.
9931         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
9932         instead of structures.
9933         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
9934         (POLYNOMIAL): Likewise.
9935         (TAYLOR_SLOW): Likewise.
9936         (__sin): Likewise.
9937         (__cos): Likewise.
9938         (slow1): Likewise.
9939         (slow2): Likewise.
9940         (sloww): Likewise.
9941         (sloww1); Likewise.
9942         (sloww2): Likewise.
9943         (bsloww1): Likewise.
9944         (bsloww2): Likewise.
9945         (cslow2): Likewise.
9946         (csloww): Likewise.
9947         (csloww1): Likewise.
9948         (csloww2): Likewise.
9950 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
9952         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
9953         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
9954         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
9955         * malloc/hooks.c (realloc_check): Likewise.
9957         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
9958         * malloc/arena.c: Remove PER_THREAD conditional.
9959         [!PER_THREAD]: Remove code.
9960         (ptmalloc_unlock_all2): Likewise.
9961         (ptmalloc_init): Likewise.
9962         (_int_new_arena): Likewise.
9963         (arena_get2): Likewise.
9964         * malloc/hooks.c (__malloc_get_state): Likewise.
9965         (__malloc_set_state): Likewise.
9966         * malloc/malloc.c: Likewise.
9967         (struct malloc_state): Likewise.
9968         (struct malloc_par): Likewise.
9969         (__libc_realloc): Likewise.
9970         (__libc_mallopt): Likewise.
9972 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9974         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
9976 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
9978         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
9979         macro to a function.  Check for zero perturb_byte.
9980         (_int_malloc, _int_free): Remove zero perturb_byte checks.
9982         * malloc/malloc.c: (force_reg): Remove.
9983         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
9984         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
9985         force_reg by atomic_forced_read.
9986         * malloc/arena.c (ptmalloc_init): Likewise.
9987         * malloc/hooks.c (top_check): Likewise.
9989 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9993 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
9995         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9997 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
9999         * math/auto-libm-test-in: Add tests of lgamma.
10000         * math/auto-libm-test-out: Regenerated.
10001         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10002         (M_LOG_2_SQRT_PIl): Likewise.
10003         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10004         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10005         mpfr_f_f1.
10006         (func_calc_desc): Add mpfr_f_f1 union field.
10007         (ARGS1): New macro.
10008         (ARGS2): Likewise.
10009         (ARGS3): Likewise.
10010         (ARGS4): Likewise.
10011         (RET1): Likewise.
10012         (RET2): Likewise.
10013         (CALC): Likewise.
10014         (FUNC): Likewise.
10015         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10016         (test_functions): Add lgamma.
10017         (calc_generic_results): Handle mpfr_f_f1.
10018         * sysdeps/i386/fpu/libm-test-ulps: Update.
10019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10021 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10023         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10024         __mpn_add_n for PowerPC64/POWER7.
10025         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10026         __mpn_sub_n for PowerPC64/POWER7.
10028         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10029         __mpn_addmul_1 for PowerPC64.
10030         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10031         __mpn_submul_1 for PowerPC64.
10032         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10033         for PowerPC64.
10034         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10035         for PowerPC64.
10037 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10039         [BZ #15089]
10040         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10042 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10044         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10046         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10047         add multiarch folders.
10048         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10049         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10050         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10051         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10052         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10053         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10054         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10055         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10056         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10057         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10058         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10067         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10069         New file.
10070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10071         New file.
10072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10073         multiarch __ieee754_hypot for PowerPC32.
10074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10075         New file.
10076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10077         New file.
10078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10079         multiarch __ieee754_hypotf for PowerPC32.
10081         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10082         long_double_symbol only if __logbl is defined.
10083         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10084         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10085         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10086         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10087         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10088         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10089         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10090         path for implementation.
10091         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10092         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10094         logb, and logbl multiarch implementations for PowerPC32.
10095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10096         file.
10097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10098         file.
10099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10100         multiarch logb for PowerPC32.
10101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10102         file.
10103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10104         file.
10105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10106         multiarch logbf for PowerPC32.
10107         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10109         file.
10110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10111         multiarch logbl implementation for PowerPC32.
10113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10114         and modff multiarch implementations.
10115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10116         New file.
10117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10118         New file.
10119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10120         multiarch modf for PowerPC32.
10121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10122         New file.
10123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10124         New file.
10125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10126         multiarch modff for PowerPC32.
10128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10129         and lrintf multiarch implementations.
10130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10131         New file.
10132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10133         New file.
10134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10135         multiarch lrint for PowerPC32.
10136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10137         file: multiarch lrintf for PowerPC32.
10139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10140         and lroundf multiarch implementations.
10141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10142         New file.
10143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10144         New file.
10145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10146         New file.
10147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10148         multiarch lround for PowerPC32.
10149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10150         file: multiarch lroundf for PowerPC32.
10152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10153         copysign and copysignf multiarch implementations.
10154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10155         New file.
10156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10157         New file.
10158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10159         file: multiarch copysign for PowerPC32.
10160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10161         file: multiarch copysignf for PowerPC32.
10163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10164         and truncf multiarch implementations.
10165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10166         New file.
10167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10168         file.
10169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10170         multiarch trunc for PowerPC32.
10171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10172         New file.
10173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10174         New file.
10175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10176         multiarch truncf for PowerPC32.
10178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10179         and roundf multiarch implementations.
10180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10181         New file.
10182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10183         file.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10185         multiarch round for PowerPC32.
10186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10187         New file.
10188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10189         New file.
10190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10191         multiarch roundf for PowerPC32.
10193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10194         and floorf multiarch implementations.
10195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10196         New file.
10197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10198         file.
10199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10200         multiarch floor for PowerPC32.
10201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10202         New file.
10203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10204         New file.
10205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10206         multiarch floorf for PowerPC32.
10208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10209         and ceilf multiarch implementations.
10210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10211         New file.
10212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10213         file.
10214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10215         multiarch ceil for PowerPC32.
10216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10217         New file.
10218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10219         file.
10220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10221         multiarch ceilf for PowerPC32.
10223         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10224         is defined.
10225         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10226         FINITEF is defined.
10227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10228         and finitef multiarch implementations.
10229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10230         New file.
10231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10232         file.
10233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10234         multiarch finite for PowerPC32.
10235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10236         New file.
10237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10238         file: multiarch finitef for PowerPC32.
10240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10241         and isinff multiarch implementations.
10242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10243         file.
10244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10245         file.
10246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10247         multiarch isinf for PowerPC32.
10248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10249         New file.
10250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10251         multiarch isinff for PowerPC32.
10253         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10254         alias when __isnan is defined.
10255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10256         and isnanf multiarch implementations.
10257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10258         file.
10259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10260         file.
10261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10262         file.
10263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10264         file.
10265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10266         multiarch isnan for PowerPC32.
10267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10268         New file.
10269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10270         New file.
10271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10272         multiarch isnanf for PowerPC32.
10274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10275         and sqrtf multiarch implementations.
10276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10277         file.
10278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10279         file.
10280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10281         multiarch sqrt for PowerPC32.
10282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10283         file.
10284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10285         file.
10286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10287         multiarch sqrtf for PowerPC32.
10289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10290         and llroundf multiarch implementations.
10291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10292         New file.
10293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10294         New file.
10295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10296         New file.
10297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10298         file: multiarch llround for PowerPC32.
10299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10300         file: multiarch llroundf for PowerPC32.
10302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10303         multiarch PowerPC32 fpu implementations.
10304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10305         New file.
10306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10307         New file.
10308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10309         multiarch llrint for PowerPC32.
10310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10311         New file.
10312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10313         New file.
10314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10315         file.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10319         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10320         file.
10321         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10322         file.
10323         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10324         file.
10325         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10326         multiarch wordcopy for PPC32.
10327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10328         wordcopy objects.
10329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10330         (__libc_ifunc_impl_list): Likewise.
10331         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10332         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10333         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10334         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10335         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10336         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10338         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10339         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10340         file.
10341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10342         file.
10343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10344         file.
10345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10346         multiarch wcscpy for PPC32.
10347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10348         multiarch objects.
10349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10350         (__libc_ifunc_impl_list): Likewise.
10351         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10352         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10353         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10354         sysdeps/powerpc/power6/wcscpy.c.
10356         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10358         file.
10359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10360         file.
10361         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10362         file.
10363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10364         multiarch wcsrchr for PPC32.
10365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10366         multiarch objects.
10367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10368         (__libc_ifunc_impl_list): Likewise.
10369         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10370         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10371         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10372         sysdeps/powerpc/power6/wcsrchr.c.
10374         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10375         file.
10376         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10377         file.
10378         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10379         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10380         multiarch wcschr for PPc32.
10381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10382         multiarch objects.
10383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10384         (__libc_ifunc_impl_list): Likewise.
10385         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10386         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10387         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10388         sysdeps/powerpc/power6/wcschr.c.
10390         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10391         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10392         file.
10393         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10394         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10395         file: multiarch strchr for PPC32.
10396         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10397         multiarch objects.
10398         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10399         (__libc_ifunc_impl_list): Likewise.
10401         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10402         name.
10403         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10404         file.
10405         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10406         file.
10407         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10408         multiarch strchrnul for PPC32.
10409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10410         multiarch objects.
10411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10412         (__libc_ifunc_impl_list): Likewise.
10414         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10415         file.
10416         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10417         multiarch strncasecmp for PPC32.
10418         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10419         file.
10420         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10421         multiarch strncasecmp_l for PPC32.
10422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10423         strncasecmp multiarch objects.
10424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10425         (__libc_ifunc_impl_list): Likewise.
10427         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10428         file.
10429         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10430         multiarch strncasecmp for PPC32.
10431         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10432         New file.
10433         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10434         multiarch strcasecmp_l for PPC32.
10435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10436         multiarch objects.
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10438         (__libc_ifunc_impl_list): Likewise.
10440         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10441         file.
10442         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10443         file.
10444         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10445         multiarch strncmp for PPC32.
10446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10447         multiarch objects.
10448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10449         (__libc_ifunc_impl_list): Likewise.
10451         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10452         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10453         file.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10455         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10457         multiarch objects.
10458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10459         (__libc_ifunc_impl_list): Likewise.
10461         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10462         file.
10463         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10464         file.
10465         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10467         multiarch objects.
10468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10469         (__libc_ifunc_impl_list): Likewise.
10471         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10472         file.
10473         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10474         file.
10475         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10476         multiarch rawmemchr for PPC32.
10477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10478         multiarch objects.
10479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10480         (__libc_ifunc_impl_list): Likewise.
10482         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10483         file.
10484         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10485         file.
10486         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10487         file: memrchr multiarch for PPC32.
10488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10489         multiarch objects.
10490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10491         (__libc_ifunc_impl_list): Likewise.
10493         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10494         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10495         file.
10496         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10497         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10498         multiarch memchr for PPC32.
10499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10500         multiarch objects.
10501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10502         (__libc_ifunc_impl_list): Likewise.
10504         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10505         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10506         file.
10507         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10508         file.
10509         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10510         file: multiarch mempcpy for PPC32.
10511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10512         multiarch objects.
10513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10514         (__libc_ifunc_impl_list): Likewise.
10516         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10517         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10518         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10519         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10520         multiarch bzero for PPC32.
10521         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10522         file.
10523         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10524         file.
10525         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10526         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10527         file: multiarch memset for PPC32.
10528         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10530         memset multiarch objects.
10531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10532         (__libc_ifunc_impl_list): Likewise.
10534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10535         file.
10536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10537         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10538         memcmp for PPC32.
10539         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10541         multiarch objects.
10542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10543         (__libc_ifunc_impl_list): Likewise.
10545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10546         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10547         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10548         file.
10549         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10550         file.
10551         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10552         file.
10553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10554         multiarch memcpy for PPC32.
10555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10556         multiarch objects.
10557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10558         (__libc_ifunc_impl_list): Likewise.
10560         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10561         support multiarch for POWER/PPC32.
10562         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10563         Likewise.
10564         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10566         Implies file to make multiarch folder appers before the fpu and
10567         default folder for power4 configuration.
10569 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10571         * scripts/bench.pl: Append volatile keyword to type.
10573 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10575         * sysdeps/sh/sotruss-lib.c: New file.
10576         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10578 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10582 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10584         [BZ #6810]
10585         * math/w_tgamma.c: Include <errno.h>.
10586         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10587         * math/w_tgammaf.c: Include <errno.h>.
10588         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10589         * math/w_tgammal.c: Include <errno.h>.
10590         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10591         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10592         underflow.  Add more tgamma tests.
10593         * math/auto-libm-test-out: Regenerated.
10594         * sysdeps/i386/fpu/libm-test-ulps: Update.
10595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10598         sin, sinh, tan, tanh, tgamma, y0 and y1.
10599         * math/auto-libm-test-out: Regenerated.
10600         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10601         (TEST_COND_x86): Likewise.
10602         (M_E2l): Remove macro.
10603         (M_E3l): Likewise.
10604         (M_2_SQRT_PIl): Likewise.
10605         (M_SQRT_PIl): Likewise.
10606         (M_1_DIV_El): Likewise.
10607         (log_test_data): Use AUTO_TESTS_f_f.
10608         (log10_test_data): Likewise.
10609         (log1p_test_data): Likewise.
10610         (log2_test_data): Likewise.
10611         (sin_test_data): Likewise.
10612         (sin_tonearest_test_data): Likewise.
10613         (sin_towardzero_test_data): Likewise.
10614         (sin_downward_test_data): Likewise.
10615         (sin_upward_test_data): Likewise.
10616         (sinh_test_data): Likewise.
10617         (sinh_tonearest_test_data): Likewise.
10618         (sinh_towardzero_test_data): Likewise.
10619         (sinh_downward_test_data): Likewise.
10620         (sinh_upward_test_data): Likewise.
10621         (tan_test_data): Likewise.
10622         (tan_tonearest_test_data): Likewise.
10623         (tan_towardzero_test_data): Likewise.
10624         (tan_downward_test_data): Likewise.
10625         (tan_upward_test_data): Likewise.
10626         (tanh_test_data): Likewise.
10627         (tgamma_test_data): Likewise.
10628         (y0_test_data): Likewise.
10629         (y1_test_data): Likewise.
10630         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10631         (special_real_inputs): Add pi/4.
10632         * sysdeps/i386/fpu/libm-test-ulps: Update.
10633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10635 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10637         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10638         "longjmp_target" static probes.
10639         (__longjmp): Rename to __longjmp_symbol.
10640         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10641         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10642         on which longjmp to generate.
10643         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10644         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10645         probe.
10646         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10647         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10648         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10649         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10650         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10651         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10653         __longjmp_symbol based on which __longjmp to generate.
10654         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10655         probe.
10656         (setjmp): Rename to setjmp_symbol.
10657         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10658         (_setjmp): Rename to _setjmp_symbol.
10659         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10660         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10661         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10662         which setjmp to generate.
10663         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10664         "longjmp_target" static probes.
10666 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10668         * benchtests/README: Add note about output arguments.
10669         * benchtests/bench-sincos.c: Remove file.
10670         * benchtests/sincos-inputs: New file.
10671         * scripts/bench.pl: Identify output arguments and define
10672         static variables for them.
10674         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10676         [BZ #15941]
10677         * Makefile (INSTALL): Add install-plain.texi as the primary
10678         dependency.
10679         * manual/install-plain.texi: New file.
10680         * manual/install.texi: Include node directive only for
10681         non-plaintext output.
10683 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10685         * stdlib/longlong.h: Update from GCC.
10687         [BZ #6807]
10688         [BZ #15901]
10689         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10690         * math/w_j0f.c (y0f): Likewise.
10691         * math/w_j0l.c (__y0l): Likewise.
10692         * math/w_j1.c (y1): Likewise.
10693         * math/w_j1f.c (y1f): Likewise.
10694         * math/w_j1l.c (__y1l): Likewise
10695         * math/w_jn.c (yn): Likewise.
10696         * math/w_jnf.c (ynf): Likewise.
10697         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10698         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10699         value for Bessel function domain errors outside _SVID_ mode.
10700         Adjust sign of return value for yn (negative integer, 0).
10701         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10702         by zero in return for negative x and set sign appropriately for
10703         negative n.
10704         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10705         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10706         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10707         expectations in error cases.
10708         (y1_test_data): Likewise.
10709         (yn_test_data): Likewise.
10710         * sysdeps/i386/fpu/libm-test-ulps: Update.
10711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10713 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10715         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10716         "64" to "64-v1".  Add "64-v2".
10717         (abi-64-options): Rename to ...
10718         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10719         (abi-64-condition): Rename to ...
10720         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10721         (abi-64-ld-soname): Rename to ...
10722         (abi-64-v1-ld-soname): ... this.
10723         (abi-64-v2-options): Define.
10724         (abi-64-v2-condition): Likewise.
10725         (abi-64-v2-ld-soname): Likewise.
10726         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10727         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10732 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10733             Alan Modra  <amodra@gmail.com>
10735         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10736         New versions for use with the ELFv2 ABI.
10737         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10738         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10739         declaration.
10740         (struct La_ppc64v2_retval): Likewise.
10741         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10742         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10743         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10744         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10745         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10746         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10747         Do not save or restore CR.
10748         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10749         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10750         return values for ELFv2 ABI.  Fix location of FPR return registers.
10751         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10752         updated values for _CALL_ELF == 2.
10753         (La_regs, La_retval, int_retval): Likewise.
10755 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10757         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10758         (FRAME_MIN_SIZE_PARM): Likewise.
10759         (FRAME_BACKCHAIN): Likewise.
10760         (FRAME_CR_SAVE): Likewise.
10761         (FRAME_LR_SAVE): Likewise.
10762         (FRAME_TOC_SAVE): Likewise.
10763         (FRAME_PARM_SAVE): Likewise.
10764         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10765         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10766         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10767         (call_mcount_parm_offset): New macro.
10768         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10769         (PROF): Use symbolic stack frame offsets.
10770         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10771         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10772         Redefine in terms of FRAME_MIN_SIZE.
10773         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10774         (_dl_profile_resolve): Likewise.  Update comment.
10775         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10776         symbols stack frame offsets.
10777         (__sigsetjmp): Likewise.
10778         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10779         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10780         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10781         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10784         (FRAME_BACKCHAIN): Remove.
10785         (FRAME_CR_SAVE): Likewise.
10786         (FRAME_LR_SAVE): Likewise.
10787         (FRAME_COMPILER_DW): Likewise.
10788         (FRAME_LINKER_DW): Likewise.
10789         (FRAME_TOC_SAVE): Likewise.
10790         (FRAME_PARM_SAVE): Likewise.
10791         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10792         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10793         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10795         (CHECK_SP): Use symbolic stack frame offsets.
10796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10797         zone" instead of caller's parameter save area for temp storage.
10798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10799         Likewise.  Also, use symbolic stack frame offsets.
10800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10801         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10802         our own stack frame instead of the caller's.
10803         (__socket): Use symbolic stack frame offsets.
10805 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10806             Alan Modra  <amodra@gmail.com>
10808         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10809         Define.
10810         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10811         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10812         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10813         New function.
10814         (elf_machine_fixup_plt): Call it.
10815         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10816         reloc arguments.
10817         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10818         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10819         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10820         r2 before calling target.
10822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10823             Alan Modra  <amodra@gmail.com>
10825         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10826         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10827         versions of macros to support ELFv2 ABI.
10828         (LOCALENTRY): New macro.
10829         (ENTRY, EALIGN): Use it.
10830         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10831         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10832         fall through into ENTRY entry point.
10833         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10834         Only define if _CALL_ELF != 2.
10836         (elf_machine_matches_host): Verify ABI version matches.
10837         (RTLD_START): Use LOCALENTRY.
10838         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10839         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10840         (PLT_ENTRY_WORDS): New macro.
10841         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10842         (elf_machine_runtime_setup): Support ELFv2 ABI.
10843         (elf_machine_fixup_plt): Likewise.
10844         (elf_machine_plt_conflict): Likewise.
10845         (resolve_ifunc): Likewise.
10846         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10847         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10848         Likewise.
10849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10850         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10852         (makecontext): Support ELFv2 ABI.
10853         * elf/elf.h (EF_PPC64_ABI): Define.
10855 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10857         * sysdeps/powerpc/powerpc64/sysdep.h
10858         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10859         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10860         (ENTRY) [ASSEMBLER]: ... but instead here ...
10861         (EALIGN) [ASSEMBLER]: ... and here.
10862         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10863         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10864         (ENTRY_2) [!ASSEMBLER]: Use it.
10865         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10866         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10867         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10868         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10869         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10871         Use PPC64_LOAD_FUNCPTR.
10873         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10875 2013-12-04  Alan Modra  <amodra@gmail.com>
10877         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10878         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10879         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10880         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10882         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10883         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10884         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10885         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10886         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10887         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10889 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10892         (__makecontext): Fix incorrect CFI when backtracing out of
10893         context created via makecontext.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10895         (__setcontext): Fix incorrect CFI during switch to new context.
10896         (__novec_setcontext): Likewise.
10898 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10900         [BZ #4772]
10901         * time/strptime_l.c (__strptime_internal): Allow modifiers
10902         in strptime.
10903         * time/tst-strptime.c (day_tests): Add testcase.
10905 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10907         * scripts/bench.pl: Skip over blank lines.
10909 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10911         [BZ #926]
10912         * manual/time.texi (Calendar Time): Clarify what timezone functions
10913         use.
10915 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10917         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10919 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10921         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10922         implementation.
10923         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10924         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10925         * debug/memset_chk.c (__memset_chk): Likewise.
10926         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
10927         * debug/strncpy_chk.c: Likewise.
10929 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10931         [BZ #15268]
10932         [BZ #15425]
10933         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
10934         (__ieee754_exp): For possibly underflowing results, check size of
10935         result and force underflow exception if required.
10936         * math/auto-libm-test-in: Add more tests of exp.
10937         * math/auto-libm-test-out: Regenerated.
10938         * sysdeps/i386/fpu/libm-test-ulps: Update.
10939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10941         [BZ #16283]
10942         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
10943         * math/w_exp2f.c (__exp2f): Likewise.
10944         * math/w_exp2l.c (__exp2l): Likewise.
10945         * math/auto-libm-test-in: Do not allow missing errno on exp2
10946         underflow.
10947         * math/auto-libm-test-out: Regenerated.
10949 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
10951         [BZ #16274]
10952         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
10953         handle filename validation.
10954         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
10955         (do_open): Delete.
10957 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
10959         [BZ #6786]
10960         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
10961         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
10962         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
10963         <float.h>.
10964         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
10965         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
10966         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10967         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
10968         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10969         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
10970         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
10971         * math/auto-libm-test-in: Don't allow missing errno from erfc.
10972         Add more erfc tests.
10973         * math/auto-libm-test-out: Regenerated.
10974         * sysdeps/i386/fpu/libm-test-ulps: Update.
10975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10977         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
10978         exp2, expm1, j0 and j1.
10979         * math/auto-libm-test-out: Regenerated.
10980         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
10981         (erfc_test_data): Likewise.
10982         (exp_test_data): Likewise.
10983         (exp_tonearest_test_data): Likewise.
10984         (exp_towardzero_test_data): Likewise.
10985         (exp_downward_test_data): Likewise.
10986         (exp_upward_test_data): Likewise.
10987         (exp10_test_data): Likewise.
10988         (exp2_test_data): Likewise.
10989         (expm1_test_data): Likewise.
10990         (j0_test_data): Likewise.
10991         (j1_test_data): Likewise.
10992         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
10993         (input_flag_type): Add flag_xfail_rounding.
10994         (input_flags): Add xfail-rounding.
10995         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
10996         (output_for_one_input_case): Handle flag_xfail_rounding.
10997         * sysdeps/i386/fpu/libm-test-ulps: Update.
10998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11000 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11002         [BZ #16289]
11003         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11004         division by 0.
11006 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11008         [BZ #16195]
11009         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11010         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11011         (STAP_PROBE0): New macro.
11012         (STAP_PROBE1): Likewise.
11013         (STAP_PROBE2): Likewise.
11014         (STAP_PROBE3): Likewise.
11015         (STAP_PROBE4): Likewise.
11017 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11019         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11021 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11023         * benchtests/Makefile (bench): Add sqrt.
11024         (LDLIBS-bench-sqrt): New.
11025         * benchtests/sqrt-input: New.
11027 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11029         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11030         (GAIH_EAI): Likewise.
11031         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11032         (gaih_inet): Likewise.
11033         (getaddrinfo): Don't use GAIH_EAI.
11035         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11036         (struct gaih): Remove definition.
11038 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11040         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11041         Use HERRNOP directly.
11043 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11045         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11047 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11049         * math/gen-auto-libm-tests.c (test_functions): Add more
11050         single-argument functions.
11051         (special_fill_pi_2): New function.
11052         (special_fill_minus_pi_2): Likewise.
11053         (special_fill_pi_6): Likewise.
11054         (special_fill_minus_pi_6): Likewise.
11055         (special_fill_pi_3): Likewise.
11056         (special_fill_2pi_3): Likewise.
11057         (special_fill_e): Likewise.
11058         (special_fill_1_e): Likewise.
11059         (special_fill_e_minus_1): Likewise.
11060         (special_real_inputs): Add more special inputs.
11061         (output_for_one_input_case): Do not require ERANGE on underflow to
11062         zero if round-to-nearest result does not underflow to zero, unless
11063         exact results required.
11064         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11065         atan, atanh, cbrt, cos and cosh.
11066         * math/auto-libm-test-out: Regenerated.
11067         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11068         (acos_tonearest_test_data): Likewise.
11069         (acos_towardzero_test_data): Likewise.
11070         (acos_downward_test_data): Likewise.
11071         (acos_upward_test_data): Likewise.
11072         (acosh_test_data): Likewise.
11073         (asin_test_data): Likewise.
11074         (asin_tonearest_test_data): Likewise.
11075         (asin_towardzero_test_data): Likewise.
11076         (asin_upward_test_data): Likewise.
11077         (asinh_test_data): Likewise.
11078         (atan_test_data): Likewise.
11079         (atanh_test_data): Likewise.
11080         (cbrt_test_data): Likewise.
11081         (cos_test_data): Likewise.
11082         (cos_tonearest_test_data): Likewise.
11083         (cos_towardzero_test_data): Likewise.
11084         (cos_downward_test_data): Likewise.
11085         (cos_upward_test_data): Likewise.
11086         (cosh_test_data): Likewise.
11087         (cosh_tonearest_test_data): Likewise.
11088         (cosh_towardzero_test_data): Likewise.
11089         (cosh_downward_test_data): Likewise.
11090         (cosh_upward_test_data): Likewise.
11091         * sysdeps/i386/fpu/libm-test-ulps: Update.
11092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11094 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11096         [BZ #6787]
11097         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11098         * math/w_exp10f.c (__exp10f): Likewise.
11099         * math/w_exp10l.c (__exp10l): Likewise.
11100         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11101         errno settings in existing tests.
11103         [BZ #14032]
11104         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11105         precision control set to double precision.
11106         * sysdeps/i386/fpu/w_sqrt.c: New file.
11107         * math/auto-libm-test-in: Add more tests.
11108         * math/auto-libm-test-out: Update.
11110         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11111         (sqrt_test_tonearest): New function.
11112         (sqrt_towardzero_test_data): New variable.
11113         (sqrt_test_towardzero): New function.
11114         (sqrt_downward_test_data): New variable.
11115         (sqrt_test_downward): New function.
11116         (sqrt_upward_test_data): New variable.
11117         (sqrt_test_upward): New function.
11118         (main): Call the new functions.
11120         * math/gen-auto-libm-tests.c: New file.
11121         * math/auto-libm-test-in: Likewise.
11122         * math/auto-libm-test-out: New generated file.
11123         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11124         variables.
11125         (%beautify): Add generated representations of zero.
11126         (top level): Set $auto_input and call parse_auto_input.
11127         (beautify): Remove trailing "f" from hex float constants.
11128         (parse_args): Handle XFAIL_TEST.
11129         (convert_condition): New function.
11130         (or_value): Likewise.
11131         (or_cond_value): Likewise.
11132         (generate_testfile): Handle AUTO_TESTS_* lines.
11133         (parse_auto_input): New function.
11134         * math/libm-test.inc (XFAIL_TEST): New macro.
11135         (ERRNO_UNCHANGED): Update value.
11136         (ERRNO_EDOM): Likewise.
11137         (ERRNO_ERANGE): Likewise.
11138         (IGNORE_RESULT): Likewise.
11139         (TEST_COND_flt_32): New macro.
11140         (TEST_COND_dbl_64): Likewise.
11141         (TEST_COND_ldbl_96_intel): Likewise.
11142         (TEST_COND_ldbl_96_m68k): Likewise.
11143         (TEST_COND_ldbl_128): Likewise.
11144         (TEST_COND_ldbl_128ibm): Likewise.
11145         (TEST_COND_long32): Likewise.
11146         (TEST_COND_long64): Likewise.
11147         (TEST_COND_before_rounding): Likewise.
11148         (TEST_COND_after_rounding): Likewise.
11149         (enable_test): Handle XFAIL_TEST flag.
11150         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11151         with finite results.
11152         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11153         auto-libm-test-out.
11155 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11156             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11158         [BZ #16214]
11159         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11160         __tls_get_addr_internal instead of __tls_get_offset in order to
11161         avoid GOT pointer dependency.  Make rtld export
11162         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11163         __tls_get_addr since we are a __tls_get_offset platform.
11164         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11165         GOT pointer being set up before.
11166         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11168 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11170         * manual/math.texi (Errors in Math Functions): Document accuracy
11171         goals.
11173         [BZ #15004]
11174         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11175         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11176         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11177         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11178         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11179         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11180         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11181         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11182         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11183         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11184         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11185         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11186         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11187         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11188         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11189         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11191         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11192         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11193         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11194         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11195         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11196         Likewise.
11197         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11198         Likewise.
11199         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11200         Likewise.
11201         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11202         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11203         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11204         atomic-feupdateenv and flt-rounds.
11205         * sysdeps/powerpc/nofpu/Versions (libc): Add
11206         __atomic_feholdexcept, __atomic_feclearexcept,
11207         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11208         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11209         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11210         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11211         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11212         here.
11213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11214         Update.
11216         * manual/arith.texi (FP Exceptions): Document that exceptions may
11217         not be raised when matherr is used.
11218         (Math Error Reporting): Document overflow in directed rounding
11219         modes.  Document that errno may not be set when finite values are
11220         returned on overflow.  Document intent to set errno on underflow
11221         only for underflow to zero.
11223         [BZ #16271]
11224         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11225         round-to-nearest then adjust result for other rounding modes.
11226         * include/fenv.h (fegetround): Use libm_hidden_proto.
11227         * math/fegetround.c (fegetround): Use libm_hidden_def.
11228         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11229         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11230         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11231         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11232         Likewise.
11233         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11234         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11235         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11236         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11238 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11240         [BZ #16077]
11241         * nss/Versions (libnss_files): Add
11242         _nss_files_gethostbyname3_r.
11243         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11244         New function.
11245         (HOST_DB_LOOKUP): Remove macro.
11246         (_nss_files_gethostbyname_r): Implement function without the
11247         HOST_DB_LOOKUP macro.
11248         (_nss_files_gethostbyname2_r): Likewise.
11250 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11252         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11254 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11256         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11257         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11258         warning.
11260 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11262         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11263         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11264         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11265         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11266         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11267         __fe_nomask_env_priv and attribute_hidden.
11268         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11269         (libc_feupdateenv_test_ppc): Likewise.
11270         (libc_feresetround_ppc): Likewise.
11271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11272         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11273         compat_symbol macro.
11274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11275         (__fe_nomask_env): Likewise.
11276         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11278 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11280         * string/Makefile: Remove ifunc tests.
11281         * string/test-string.h: Define TEST_IFUNC.
11282         * string/test-bcopy-ifunc.c: Remove.
11283         * string/test-bzero-ifunc.c: Likewise.
11284         * string/test-memccpy-ifunc.c: Likewise.
11285         * string/test-memchr-ifunc.c: Likewise.
11286         * string/test-memcmp-ifunc.c: Likewise.
11287         * string/test-memcpy-ifunc.c: Likewise.
11288         * string/test-memmem-ifunc.c: Likewise.
11289         * string/test-memmove-ifunc.c: Likewise.
11290         * string/test-mempcpy-ifunc.c: Likewise.
11291         * string/test-memrchr-ifunc.c: Likewise.
11292         * string/test-memset-ifunc.c: Likewise.
11293         * string/test-rawmemchr-ifunc.c: Likewise.
11294         * string/test-stpcpy-ifunc.c: Likewise.
11295         * string/test-stpncpy-ifunc.c: Likewise.
11296         * string/test-strcasecmp-ifunc.c: Likewise.
11297         * string/test-strcasestr-ifunc.c: Likewise.
11298         * string/test-strcat-ifunc.c: Likewise.
11299         * string/test-strchr-ifunc.c: Likewise.
11300         * string/test-strchrnul-ifunc.c: Likewise.
11301         * string/test-strcmp-ifunc.c: Likewise.
11302         * string/test-strcpy-ifunc.c: Likewise.
11303         * string/test-strcspn-ifunc.c: Likewise.
11304         * string/test-strlen-ifunc.c: Likewise.
11305         * string/test-strncasecmp-ifunc.c: Likewise.
11306         * string/test-strncat-ifunc.c: Likewise.
11307         * string/test-strncmp-ifunc.c: Likewise.
11308         * string/test-strncpy-ifunc.c: Likewise.
11309         * string/test-strnlen-ifunc.c: Likewise.
11310         * string/test-strpbrk-ifunc.c: Likewise.
11311         * string/test-strrchr-ifunc.c: Likewise.
11312         * string/test-strspn-ifunc.c: Likewise.
11313         * string/test-strstr-ifunc.c: Likewise.
11315 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11317         * benchtests/Makefile: Remove ifunc tests.
11318         * benchtests/bench-string.h: Define TEST_IFUNC.
11319         * benchtests/bench-bcopy-ifunc.c: Remove.
11320         * benchtests/bench-bzero-ifunc.c: Likewise.
11321         * benchtests/bench-memccpy-ifunc.c: Likewise.
11322         * benchtests/bench-memchr-ifunc.c: Likewise.
11323         * benchtests/bench-memcmp-ifunc.c: Likewise.
11324         * benchtests/bench-memcpy-ifunc.c: Likewise.
11325         * benchtests/bench-memmem-ifunc.c: Likewise.
11326         * benchtests/bench-memmove-ifunc.c: Likewise.
11327         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11328         * benchtests/bench-memrchr-ifunc.c: Likewise.
11329         * benchtests/bench-memset-ifunc.c: Likewise.
11330         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11331         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11332         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11333         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11334         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11335         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11336         * benchtests/bench-strcat-ifunc.c: Likewise.
11337         * benchtests/bench-strchr-ifunc.c: Likewise.
11338         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11339         * benchtests/bench-strcmp-ifunc.c: Likewise.
11340         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11341         * benchtests/bench-strcpy-ifunc.c: Likewise.
11342         * benchtests/bench-strcspn-ifunc.c: Likewise.
11343         * benchtests/bench-strlen-ifunc.c: Likewise.
11344         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11345         * benchtests/bench-strncat-ifunc.c: Likewise.
11346         * benchtests/bench-strncmp-ifunc.c: Likewise.
11347         * benchtests/bench-strncpy-ifunc.c: Likewise.
11348         * benchtests/bench-strnlen-ifunc.c: Likewise.
11349         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11350         * benchtests/bench-strrchr-ifunc.c: Likewise.
11351         * benchtests/bench-strsep-ifunc.c: Likewise.
11352         * benchtests/bench-strspn-ifunc.c: Likewise.
11353         * benchtests/bench-strstr-ifunc.c: Likewise.
11355 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11357         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11359 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11361         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11362         * rt/aio.h: Likewise.
11363         * sysdeps/gnu/bits/utmp.h: Likewise.
11364         * sysdeps/gnu/bits/utmpx.h: Likewise.
11365         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11366         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11367         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11368         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11369         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11370         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11371         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11372         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11373         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11374         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11375         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11376         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11377         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11379         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11380         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11381         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11382         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11383         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11384         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11385         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11386         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11387         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11388         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11389         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11390         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11391         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11392         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11393         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11394         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11395         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11396         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11397         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11398         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11399         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11400         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11401         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11402         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11403         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11404         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11405         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11406         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11408 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11410         [BZ #16245]
11411         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11412         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11414 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11416         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11417         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11418         Likewise.
11420 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11422         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11423         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11424         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11425         (__fesetround): Remove define.
11426         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11427         rounding and exceptions handling.
11428         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11429         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11430         (__fe_nomask_env): Likewise.
11431         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11432         __fegetround instead of fegetround.
11433         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11434         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11436 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11438         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11439         it's there.
11441         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11443 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11445         [BZ #11157]
11446         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11447         (encrypt_r): Likewise.
11448         * malloc/obstack.h (obstack_free): Likewise.
11449         * posix/unistd.h (encrypt): Likewise.
11451 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11453         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11454         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11455         DL_CALL_DT_FINI() that call the functions directly.
11456         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11457         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11458         * elf/dl-fini.c: Likewise.
11460 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11462         * malloc/hooks.c (memalign_check): Add alignment rounding.
11463         * malloc/malloc.c (_mid_memalign): New function.
11464         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11465         Implement by calling _mid_memalign.
11466         * manual/probes.texi (Memory Allocation Probes): Remove
11467         memory_valloc_retry and memory_pvalloc_retry.
11469 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11471         * locale/programs/locarchive.c (open_archive): Add const
11472         qualifier to ARCHIVEFNAME and copy default fname to
11473         DEFAULT_FNAME.
11475         [BZ #15601]
11476         * libio/tst-widetext.input: Rename Oriya to Odia.
11477         * locale/iso-639.def: Likewise.
11479         * manual/probes.texi (Mathematical Function Probes): Add
11480         documentation for sin, cos, asin and acos probes.
11481         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11482         (__sin32): Add slowasin probe.
11483         (__cos32): Add slowacos probe.
11484         (__mpsin): Add slowsin probe.
11485         (__mpcos): Add slowcos probe.
11487 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11489         [BZ #15483]
11490         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11491         thread-local __sim_exceptions_thread and global
11492         __sim_exceptions_global.
11493         (__sim_disabled_exceptions): Change to thread-local
11494         __sim_disabled_exceptions_thread and global
11495         __sim_disabled_exceptions_global.
11496         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11497         and global __sim_round_mode_global.
11498         (__simulate_exceptions): Use thread-local floating-point state and
11499         set global state from it as needed.
11500         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11501         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11502         __sim_round_mode_thread.
11503         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11504         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11505         and global __sim_exceptions_global.
11506         (__sim_disabled_exceptions): Change to thread-local
11507         __sim_disabled_exceptions_thread and global
11508         __sim_disabled_exceptions_global.
11509         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11510         and global __sim_round_mode_global.
11511         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11512         (SIM_SET_GLOBAL): Likewise.
11513         * sysdeps/powerpc/soft-fp/sfp-machine.h
11514         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11515         __sim_round_mode_thread.
11516         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11517         __sim_disabled_exceptions_thread.
11518         (__sim_exceptions): Change to __sim_exceptions_thread.
11519         (__sim_disabled_exceptions): Change to
11520         __sim_disabled_exceptions_thread.
11521         (__sim_round_mode): Change to __sim_round_mode_thread.
11522         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11523         thread-local floating-point state and set global state from it as
11524         needed.
11525         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11526         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11527         (__sim_disabled_exceptions): Remove extern declaration.
11528         (feenableexcept): Use thread-local floating-point state and set
11529         global state from it as needed.
11530         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11531         extern declaration.
11532         (__sim_disabled_exceptions): Likewise.
11533         (__sim_round_mode): Likewise.
11534         (__fegetenv): Use thread-local floating-point state.
11535         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11536         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11537         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11538         floating-point state and set global state from it as needed.
11539         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11540         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11541         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11542         Likewise.
11543         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11544         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11545         Likewise.
11546         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11547         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11548         Use __sim_round_mode_thread.
11549         * math/test-fenv-tls.c: New file.
11550         * math/Makefile (tests): Add test-fenv-tls.
11551         ($(objpfx)test-fenv-tls): Depend on
11552         $(common-objpfx)nptl/libpthread.so.
11554 2013-11-19  Andreas Schwab  <schwab@suse.de>
11556         * locale/programs/locale.c (show_info): Decode wordarray elements.
11557         * locale/categories.def (LC_MONETARY): Add element for
11558         _NL_MONETARY_CRNCYSTR.
11559         * locale/C-monetary.c (conversion_rate): New variable.
11560         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11561         element.
11563 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11565         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11566         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11568 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11570         * elf/Makefile (tst-auxv): New test.
11571         * elf/tst-auxv.c: New
11572         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11574 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11576         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11577         (hidden_proto): Caller changed.
11578         (hidden_tls_proto): New macro.
11579         (libc_hidden_tls_proto): Likewise.
11580         (rtld_hidden_tls_proto): Likewise.
11581         (libm_hidden_tls_proto): Likewise.
11582         (libresolv_hidden_tls_proto): Likewise.
11583         (librt_hidden_tls_proto): Likewise.
11584         (libdl_hidden_tls_proto): Likewise.
11585         (libnss_files_hidden_tls_proto): Likewise.
11586         (libnsl_hidden_tls_proto): Likewise.
11587         (libnss_nisplus_hidden_tls_proto): Likewise.
11588         (libutil_hidden_tls_proto): Likewise.
11590 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11592         [BZ #10253]
11593         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11594         (decompose_rpath): Defer expansion to fillin_rpath.
11595         (_dl_init_paths): Pass linkmap to fillin_rpath.
11597 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11599         * benchtests/Makefile: Add strsep.
11600         * benchtests/bench-strsep.c: New file: strsep benchtest.
11601         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11603 2013-11-18  Andreas Schwab  <schwab@suse.de>
11605         * locale/programs/locale.c (show_info) [case byte]: Check for
11606         '\377' instead of '\177'.
11607         * locale/C-monetary.c (not_available): Always use "\377".
11608         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11609         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11610         detect unavailable sign_posn locale elements.
11611         * locale/localeconv.c (__localeconv): For grouping and
11612         mon_grouping handle "\177" and "\377" like no grouping.
11613         (INT_ELEM): New macro.  Use it to set all numeric members.
11614         * locale/programs/ld-monetary.c (monetary_read)
11615         <tok_mon_grouping>: Normalize single -1 to the empty string.
11616         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11617         Likewise.
11619 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11621         [BZ #16055]
11622         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11623         when we match (nil).
11624         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11626 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11628         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11629         (NO_TEST_INLINE): Update value.
11630         (ERRNO_UNCHANGED): Likewise.
11631         (ERRNO_EDOM): Likewise.
11632         (ERRNO_ERANGE): Likewise.
11633         (IGNORE_RESULT): Likewise.
11634         (check_float_internal): Check signs of NaN results if
11635         TEST_NAN_SIGN used.
11636         (check_complex): Pass TEST_NAN_SIGN flag through to second
11637         check_float_internal call.
11638         (copysign_test_data): Add tests with quiet NaNs as second
11639         argument.  Use TEST_NAN_SIGN.
11640         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11641         TEST_NAN_SIGN.
11642         (signbit_test_data): Add tests of quiet NaN argument.
11643         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11645         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11646         $ignore_result.
11647         (parse_args): Handle function results specified as IGNORE.
11648         * math/libm-test.inc (IGNORE_RESULT): New macro.
11649         (check_float_internal): Do not check numerical result if flag
11650         IGNORE_RESULT set.
11651         (check_complex): Pass through IGNORE_RESULT to second
11652         check_float_internal call.
11653         (check_int): Do not check numerical result if flag IGNORE_RESULT
11654         set.
11655         (check_long): Likewise.
11656         (check_bool): Likewise.
11657         (check_longlong): Likewise.
11658         (lrint_test_data): Add tests of infinite and NaN arguments.
11659         (lrint_tonearest_test_data): Likewise.
11660         (lrint_towardzero_test_data): Likewise.
11661         (lrint_downward_test_data): Likewise.
11662         (lrint_upward_test_data): Likewise.
11663         (llrint_test_data): Likewise.
11664         (llrint_tonearest_test_data): Likewise.
11665         (llrint_towardzero_test_data): Likewise.
11666         (llrint_downward_test_data): Likewise.
11667         (llrint_upward_test_data): Likewise.
11668         (lround_test_data): Likewise.
11669         (llround_test_data): Likewise.
11671         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11672         (ERRNO_UNCHANGED): Update value.
11673         (ERRNO_EDOM): Likewise.
11674         (ERRNO_ERANGE): Likewise.
11675         (NO_TEST_INLINE_FLOAT): New macro.
11676         (NO_TEST_INLINE_DOUBLE): Likewise.
11677         (enable_test): New function.
11678         (RUN_TEST_f_f): Check enable_test before running test.
11679         (RUN_TEST_2_f): Likewise.
11680         (RUN_TEST_fff_f): Likewise.
11681         (RUN_TEST_c_f): Likewise.
11682         (RUN_TEST_f_f1): Likewise.
11683         (RUN_TEST_fF_f1): Likewise.
11684         (RUN_TEST_fI_f1): Likewise.
11685         (RUN_TEST_ffI_f1): Likewise.
11686         (RUN_TEST_c_c): Likewise.
11687         (RUN_TEST_cc_c): Likewise.
11688         (RUN_TEST_f_i): Likewise.
11689         (RUN_TEST_f_i_tg): Likewise.
11690         (RUN_TEST_ff_i_tg): Likewise.
11691         (RUN_TEST_f_b): Likewise.
11692         (RUN_TEST_f_b_tg): Likewise.
11693         (RUN_TEST_f_l): Likewise.
11694         (RUN_TEST_f_L): Likewise.
11695         (RUN_TEST_fFF_11): Likewise.
11696         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11697         conditionals.
11698         (cosh_test_data): Likewise.
11699         (exp_test_data): Likewise.
11700         (expm1_test_data): Likewise.
11701         (hypot_test_data): Likewise.
11702         (pow_test_data): Likewise.
11703         (sinh_test_data): Likewise.
11704         (tanh_test_data): Likewise.
11705         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11706         flags argument.
11708         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11709         tests with quiet NaN input and output.
11710         (acosh_test_data): Likewise.
11711         (asin_test_data): Likewise.
11712         (asinh_test_data): Likewise.
11713         (atan_test_data): Likewise.
11714         (atanh_test_data): Likewise.
11715         (atan2_test_data): Likewise.
11716         (cbrt_test_data): Likewise.
11717         (cos_test_data): Likewise.
11718         (cosh_test_data): Likewise.
11719         (erf_test_data): Likewise.
11720         (erfc_test_data): Likewise.
11721         (exp_test_data): Likewise.
11722         (exp10_test_data): Likewise.
11723         (exp2_test_data): Likewise.
11724         (expm1_test_data): Likewise.
11725         (hypot_test_data): Likewise.
11726         (j0_test_data): Likewise.
11727         (j1_test_data): Likewise.
11728         (jn_test_data): Likewise.
11729         (lgamma_test_data): Likewise.
11730         (log_test_data): Likewise.
11731         (log10_test_data): Likewise.
11732         (log1p_test_data): Likewise.
11733         (log2_test_data): Likewise.
11734         (pow_test_data): Likewise.
11735         (scalb_test_data): Likewise.
11736         (sin_test_data): Likewise.
11737         (sincos_test_data): Likewise.
11738         (sinh_test_data): Likewise.
11739         (tan_test_data): Likewise.
11740         (tanh_test_data): Likewise.
11741         (tgamma_test_data): Likewise.
11742         (y0_test_data): Likewise.
11743         (y1_test_data): Likewise.
11744         (yn_test_data): Likewise.
11746         [BZ #16167]
11747         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11748         argument being NaN and avoid computations with second argument in
11749         that case.
11750         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11751         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11752         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11754 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11756         * locale/iso-639.def: Add Chitwani Tharu (the).
11758 2013-11-14  Andreas Schwab  <schwab@suse.de>
11760         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11761         word instead of empty string.
11763 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11766         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11768         (__fe_nomask_env): Likewise.
11770 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11772         * benchtests/bench-timing.h: Include time.h.
11774 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11776         [BZ #15997]
11777         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11778         to 3.4.0 for x32.
11779         * sysdeps/unix/sysv/linux/configure: Regenerated.
11781 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11783         [BZ #16151]
11784         * stdlib/strtod_l.c (round_and_return): Do not consider
11785         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11786         exponent one less than half the least subnormal exponent.
11787         * stdlib/test-strtod-round-data: Add more tests.
11788         * stdlib/tst-strtod-round.c (tests): Regenerated.
11790 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11792         [BZ #14143]
11793         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11794         (__fe_mask_env): Likewise.
11795         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11796         libm_hidden_proto and add function prototype.
11797         (__fe_mask_env): Add function prototype.
11798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11799         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11801         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11803         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11805 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11807         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11808         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11810 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11812         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11813         of htab_find_slot().
11815 2013-11-11  David S. Miller  <davem@davemloft.net>
11817         [BZ #16150]
11818         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11819         symbol in the non-vis3 case in static builds.
11820         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11821         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11822         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11823         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11825 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11827         [BZ #387]
11828         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11829         it is empty.
11831 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11833         * benchtests/Makefile: Add bench-strtod.
11834         * benchtests/bench-strtod.c: New file: strtod benchtest
11836 2013-11-11  Andreas Schwab  <schwab@suse.de>
11838         [BZ #16153]
11839         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11840         terminating NUL in key length.
11842 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11844         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11845         Add artificial ODP entry for vDSO symbol for PPC64.
11846         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11847         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11849 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11851         [BZ #15374]
11852         * nss/getent.c (services_keys): Recognize services starting with digit.
11854 2013-11-06  David S. Miller  <davem@davemloft.net>
11856         [BZ #15985]
11857         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11858         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11860 2013-11-06  Will Newton  <will.newton@linaro.org>
11862         * manual/memory.texi (Malloc Examples): Remove register
11863         keyword from examples.
11865 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11867         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11869 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11871         [BZ #6981]
11872         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11873         depending on [__GCC_IEC_559 > 0].
11874         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11875         depending on [__GCC_IEC_559_COMPLEX > 0].
11877 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11879         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11880         to iso-639.def.
11882 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11884         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11886 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11888         [BZ #16112]
11889         * malloc/malloc (malloc_info): Do not handle first bin as
11890         special case.
11892 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11894         * locale/iso-639.def: Add Central Nahuatl (nhn).
11896 2013-11-01  Bruno Haible  <bruno@clisp.org>
11898         [BZ #7003]
11899         * manual/math.texi (BSD Random): Specify range upper bound as
11900         in POSIX.
11902 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11904         * locale/iso-639.def: Add Meadow Mari (mhr).
11906 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11908         [BZ #14752], [BZ #15763]
11909         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11910         Validate name.
11911         * rt/tst_shm.c: Add test for escaping directory.
11913 2013-10-31  Andreas Schwab  <schwab@suse.de>
11915         [BZ #15917]
11916         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11917         followed by 'x' as part of digit sequence.
11918         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11920 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11922         [BZ #16037]
11923         * configure.ac: allow GNU Make 4.0 and greater.
11924         * configure: Regenerated.
11926 2013-10-30  Will Newton  <will.newton@linaro.org>
11928         [BZ #16038]
11929         * malloc/hooks.c (memalign_check): Limit alignment to the
11930         maximum representable power of two.
11931         * malloc/malloc.c (__libc_memalign): Likewise.
11932         * malloc/tst-memalign.c (do_test): Add test for very
11933         large alignment values.
11934         * malloc/tst-posix_memalign.c (do_test): Likewise.
11936 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11938         [BZ #11087]
11939         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
11940         (munmap_chunk): Likewise.
11941         (mremap_chunk): Likewise.
11943 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
11945         [BZ #15799]
11946         * stdlib/div.c (div): Remove obsolete code.
11947         * stdlib/ldiv.c (ldiv): Likewise.
11948         * stdlib/lldiv.c (lldiv): Likewise.
11950 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11952         [BZ #16071]
11953         * nss/nss_files/files-XXX.c (get_contents_ret): New
11954         enumerator.
11955         (get_contents): New function.
11956         (internal_getent): Use it.  Expand size of LINEBUFLEN.
11958 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
11960         * configure.in: Moved to ...
11961         * configure.ac: ... here. Change reference to configure.in
11962         to configure.ac.
11963         * sysdeps/arm/preconfigure.ac: ... here.
11964         configure.in to configure.ac.
11965         * sysdeps/gnu/configure.in: Moved to ...
11966         * sysdeps/gnu/configure.ac: ... here.
11967         * sysdeps/i386/configure.in: Moved to ...
11968         * sysdeps/i386/configure.ac: ... here.
11969         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
11970         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
11971         * sysdeps/mach/configure.in: Moved to ...
11972         * sysdeps/mach/configure.ac: ... here.
11973         * sysdeps/mach/hurd/configure.in: Moved to ...
11974         * sysdeps/mach/hurd/configure.ac: ... here.
11975         * sysdeps/powerpc/configure.in: Moved to ...
11976         * sysdeps/powerpc/configure.ac: ... here.
11977         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
11978         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
11979         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
11980         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
11981         * sysdeps/s390/s390-32/configure.in: Moved to ...
11982         * sysdeps/s390/s390-32/configure.ac: ... here.
11983         * sysdeps/s390/s390-64/configure.in: Moved to ...
11984         * sysdeps/s390/s390-64/configure.ac: ... here.
11985         * sysdeps/sh/configure.in: Moved to ...
11986         * sysdeps/sh/configure.ac: ... here.
11987         * sysdeps/sparc/configure.in: Moved to ...
11988         * sysdeps/sparc/configure.ac: ... here.
11989         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
11990         * sysdeps/unix/sysv/linux/configure.ac: ... here.
11991         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
11992         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
11993         * sysdeps/x86_64/configure.in: Moved to ...
11994         * sysdeps/x86_64/configure.ac: ... here.
11995         * sysdeps/x86_64/preconfigure.in: Moved to ...
11996         * sysdeps/x86_64/preconfigure.ac: ... here.
11997         * aclocal.m4: Change reference to configure.in to configure.ac.
11998         * config.h.in: Likewise.
11999         * manual/install.texi: Likewise.
12000         * manual/maint.texi: Likewise.
12001         * Makefile: Likewise.
12002         * malloc/Makefile: Likewise.
12003         * nscd/Makefile: Likewise.
12004         * Makeconfig: Change reference to configure.in and
12005         preconfigure.in to configure.ac and preconfigure.ac
12006         respectively.
12007         * INSTALL: Regenerated.
12008         * configure: Likewise.
12009         * sysdeps/gnu/configure: Likewise.
12010         * sysdeps/i386/configure: Likewise.
12011         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12012         * sysdeps/mach/configure: Likewise.
12013         * sysdeps/mach/hurd/configure: Likewise.
12014         * sysdeps/powerpc/configure: Likewise.
12015         * sysdeps/powerpc/powerpc32/configure: Likewise.
12016         * sysdeps/powerpc/powerpc64/configure: Likewise.
12017         * sysdeps/s390/s390-32/configure: Likewise.
12018         * sysdeps/s390/s390-64/configure: Likewise.
12019         * sysdeps/sh/configure: Likewise.
12020         * sysdeps/sparc/configure: Likewise.
12021         * sysdeps/unix/sysv/linux/configure: Likewise.
12022         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12023         * sysdeps/x86_64/configure: Likewise.
12024         * sysdeps/x86_64/preconfigure: Likewise.
12026 2013-10-29  Andreas Schwab  <schwab@suse.de>
12028         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12030 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12032         * benchtests/pow-inputs: Add new inputs.
12034         * benchtests/exp-inputs: Add new inputs.
12036         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12037         conditional check for return value.
12038         (__cos32): Likewise.
12040 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12042         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12043         to provide a boost for large inputs with word alignment.
12044         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12045         implementation based on optimized PPC64 strcpy.
12046         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12047         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12048         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12049         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12051 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12053         [BZ #2801]
12054         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12056 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12058         [BZ #14876]
12059         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12060         * time/tst-strptime.c (day_tests): Add testcase.
12062 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12064         [BZ #14029]
12065         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12067 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12069         [BZ #16074]
12070         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12071         MAP_FAILED on error.
12073 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12075         [BZ #16072]
12076         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12077         heap for large requests.
12079 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12081         [BZ #9954]
12082         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12083         result if the result has no associated interface.
12084         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12085         interface for all 127.X.Y.Z addresses.
12087 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12089         * locale/iso-639.def: Add Ligurian (lij)
12091 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12093         [BZ #15825]
12094         * sunrpc/rpc_main.c: Document rpcgen -5.
12096 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12098         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12100 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12102         [BZ #10278]
12103         * posix/glob.c: Match only directories when trailing slash is present.
12104         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12105         (main): Add testcase.
12107 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12109         [BZ #15670]
12110         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12112 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12114         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12115         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12116         AUTH_DES and cindex for FIPS 140-2.
12117         (DES Encryption): Add cindex FIPS 46-3.
12119         * locale/locarchive.h (struct locarhandle): Add fname.
12120         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12121         if an optional argument was specified to --list-archive,
12122         otherwise NULL.
12123         * locale/programs/locarchive.c (show_archive_content): Take new
12124         argument fname and pass it via ah.fname to open_archive.
12125         * locale/programs/localedef.h: Update decl.
12126         (open_archive): If AH->fname is non-null, open that file
12127         rather than the default file name, and don't ignore ENOENT.
12128         (create_archive): Set AH.fname to NULL.
12129         (delete_locales_from_archive): Likewise.
12130         (add_locales_to_archive): Likewise.
12131         * locale/programs/locfile.c (write_all_categories): Likewise.
12133 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12134             Aldy Hernandez  <aldyh@redhat.com>
12136         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12137         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12138         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12139         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12140         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12141         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12143         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12144         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12145         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12146         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12147         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12148         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12149         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12150         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12151         Likewise.
12152         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12153         Likewise.
12154         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12155         Likewise.
12156         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12157         Likewise.
12158         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12159         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12160         Likewise.
12161         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12162         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12163         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12164         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12165         Likewise.
12166         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12167         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12168         * sysdeps/powerpc/preconfigure: Likewise.
12169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12170         Likewise.
12171         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12172         Replace contents of file by #include of <fenv_libc.h>.
12173         * sysdeps/powerpc/soft-fp/sfp-machine.h
12174         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12175         and <sys/prctl.h>.
12176         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12177         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12178         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12179         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12180         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12181         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12183         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12184         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12187         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12189         Allow copysignl PLT reference to be missing.
12191 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12192             Joseph Myers  <joseph@codesourcery.com
12194         [BZ #15948]
12195         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12196         single character.
12197         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12199 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12201         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12202         * elf/tst-tls1.c: Likewise.
12203         * elf/tst-tls10.h: Likewise.
12204         * elf/tst-tls14.c: Likewise.
12205         * elf/tst-tls2.c: Likewise.
12206         * elf/tst-tls3.c: Likewise.
12207         * elf/tst-tls4.c: Likewise.
12208         * elf/tst-tls5.c: Likewise.
12209         * elf/tst-tls6.c: Likewise.
12210         * elf/tst-tls7.c: Likewise.
12211         * elf/tst-tls8.c: Likewise.
12212         * elf/tst-tls9.c: Likewise.
12213         * elf/tst-tlsmod1.c: Likewise.
12214         * elf/tst-tlsmod13.c: Likewise.
12215         * elf/tst-tlsmod13a.c: Likewise.
12216         * elf/tst-tlsmod14a.c: Likewise.
12217         * elf/tst-tlsmod16a.c: Likewise.
12218         * elf/tst-tlsmod16b.c: Likewise.
12219         * elf/tst-tlsmod2.c: Likewise.
12220         * elf/tst-tlsmod3.c: Likewise.
12221         * elf/tst-tlsmod4.c: Likewise.
12222         * elf/tst-tlsmod5.c: Likewise.
12223         * elf/tst-tlsmod6.c: Likewise.
12225 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12227         [BZ #12486]
12228         * malloc/malloc.c: remove checks for statistics.
12230 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12232         [BZ #15277]
12233         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12234         * inet/tst-network.c: Add testcase.
12236 2013-10-17  Andreas Schwab  <schwab@suse.de>
12238         [BZ #15218]
12239         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12240         to determine canonical name.
12242 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12244         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12245         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12246         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12247         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12248         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12249         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12250         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12251         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12252         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12253         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12254         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12255         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12256         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12257         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12258         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12259         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12262         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12263         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12264         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12266         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12267         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12268         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12269         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12270         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12271         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12272         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12273         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12274         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12275         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12276         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12277         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12278         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12279         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12280         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12281         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12282         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12283         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12284         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12285         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12286         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12287         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12288         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12289         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12290         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12291         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12292         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12293         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12294         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12296         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12297         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12298         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12299         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12300         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12301         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12303 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12305         [BZ #16041]
12306         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12307         make result into a quiet NaN.
12309 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12311         * soft-fp/adddf3.c: Fix horizontal whitespace.
12312         * soft-fp/addsf3.c: Likewise.
12313         * soft-fp/addtf3.c: Likewise.
12314         * soft-fp/divdf3.c: Likewise.
12315         * soft-fp/divsf3.c: Likewise.
12316         * soft-fp/divtf3.c: Likewise.
12317         * soft-fp/double.h: Likewise.
12318         * soft-fp/eqdf2.c: Likewise.
12319         * soft-fp/eqsf2.c: Likewise.
12320         * soft-fp/eqtf2.c: Likewise.
12321         * soft-fp/extenddftf2.c: Likewise.
12322         * soft-fp/extended.h: Likewise.
12323         * soft-fp/extendsfdf2.c: Likewise.
12324         * soft-fp/extendsftf2.c: Likewise.
12325         * soft-fp/extendxftf2.c: Likewise.
12326         * soft-fp/fixdfdi.c: Likewise.
12327         * soft-fp/fixdfsi.c: Likewise.
12328         * soft-fp/fixdfti.c: Likewise.
12329         * soft-fp/fixsfdi.c: Likewise.
12330         * soft-fp/fixsfsi.c: Likewise.
12331         * soft-fp/fixsfti.c: Likewise.
12332         * soft-fp/fixtfdi.c: Likewise.
12333         * soft-fp/fixtfsi.c: Likewise.
12334         * soft-fp/fixtfti.c: Likewise.
12335         * soft-fp/fixunsdfdi.c: Likewise.
12336         * soft-fp/fixunsdfsi.c: Likewise.
12337         * soft-fp/fixunsdfti.c: Likewise.
12338         * soft-fp/fixunssfdi.c: Likewise.
12339         * soft-fp/fixunssfsi.c: Likewise.
12340         * soft-fp/fixunssfti.c: Likewise.
12341         * soft-fp/fixunstfdi.c: Likewise.
12342         * soft-fp/fixunstfsi.c: Likewise.
12343         * soft-fp/fixunstfti.c: Likewise.
12344         * soft-fp/floatdidf.c: Likewise.
12345         * soft-fp/floatdisf.c: Likewise.
12346         * soft-fp/floatditf.c: Likewise.
12347         * soft-fp/floatsidf.c: Likewise.
12348         * soft-fp/floatsisf.c: Likewise.
12349         * soft-fp/floatsitf.c: Likewise.
12350         * soft-fp/floattidf.c: Likewise.
12351         * soft-fp/floattisf.c: Likewise.
12352         * soft-fp/floattitf.c: Likewise.
12353         * soft-fp/floatundidf.c: Likewise.
12354         * soft-fp/floatundisf.c: Likewise.
12355         * soft-fp/floatunditf.c: Likewise.
12356         * soft-fp/floatunsidf.c: Likewise.
12357         * soft-fp/floatunsisf.c: Likewise.
12358         * soft-fp/floatunsitf.c: Likewise.
12359         * soft-fp/floatuntidf.c: Likewise.
12360         * soft-fp/floatuntisf.c: Likewise.
12361         * soft-fp/floatuntitf.c: Likewise.
12362         * soft-fp/fmadf4.c: Likewise.
12363         * soft-fp/fmasf4.c: Likewise.
12364         * soft-fp/fmatf4.c: Likewise.
12365         * soft-fp/gedf2.c: Likewise.
12366         * soft-fp/gesf2.c: Likewise.
12367         * soft-fp/getf2.c: Likewise.
12368         * soft-fp/ledf2.c: Likewise.
12369         * soft-fp/lesf2.c: Likewise.
12370         * soft-fp/letf2.c: Likewise.
12371         * soft-fp/muldf3.c: Likewise.
12372         * soft-fp/mulsf3.c: Likewise.
12373         * soft-fp/multf3.c: Likewise.
12374         * soft-fp/negdf2.c: Likewise.
12375         * soft-fp/negsf2.c: Likewise.
12376         * soft-fp/negtf2.c: Likewise.
12377         * soft-fp/op-1.h: Likewise.
12378         * soft-fp/op-2.h: Likewise.
12379         * soft-fp/op-4.h: Likewise.
12380         * soft-fp/op-8.h: Likewise.
12381         * soft-fp/op-common.h: Likewise.
12382         * soft-fp/quad.h: Likewise.
12383         * soft-fp/single.h: Likewise.
12384         * soft-fp/soft-fp.h: Likewise.
12385         * soft-fp/sqrtdf2.c: Likewise.
12386         * soft-fp/sqrtsf2.c: Likewise.
12387         * soft-fp/sqrttf2.c: Likewise.
12388         * soft-fp/subdf3.c: Likewise.
12389         * soft-fp/subsf3.c: Likewise.
12390         * soft-fp/subtf3.c: Likewise.
12391         * soft-fp/truncdfsf2.c: Likewise.
12392         * soft-fp/trunctfdf2.c: Likewise.
12393         * soft-fp/trunctfsf2.c: Likewise.
12394         * soft-fp/trunctfxf2.c: Likewise.
12395         * soft-fp/unorddf2.c: Likewise.
12396         * soft-fp/unordsf2.c: Likewise.
12397         * soft-fp/unordtf2.c: Likewise.
12399 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12401         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12402         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12404 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12406         * elf/dl-libc.c: Clear initfini list after freeing.
12408 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12410         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12411         * soft-fp/addsf3.c: Likewise.
12412         * soft-fp/addtf3.c: Likewise.
12413         * soft-fp/divdf3.c: Likewise.
12414         * soft-fp/divsf3.c: Likewise.
12415         * soft-fp/divtf3.c: Likewise.
12416         * soft-fp/double.h: Likewise.
12417         * soft-fp/eqdf2.c: Likewise.
12418         * soft-fp/eqsf2.c: Likewise.
12419         * soft-fp/eqtf2.c: Likewise.
12420         * soft-fp/extenddftf2.c: Likewise.
12421         * soft-fp/extended.h: Likewise.
12422         * soft-fp/extendsfdf2.c: Likewise.
12423         * soft-fp/extendsftf2.c: Likewise.
12424         * soft-fp/extendxftf2.c: Likewise.
12425         * soft-fp/fixdfdi.c: Likewise.
12426         * soft-fp/fixdfsi.c: Likewise.
12427         * soft-fp/fixdfti.c: Likewise.
12428         * soft-fp/fixsfdi.c: Likewise.
12429         * soft-fp/fixsfsi.c: Likewise.
12430         * soft-fp/fixsfti.c: Likewise.
12431         * soft-fp/fixtfdi.c: Likewise.
12432         * soft-fp/fixtfsi.c: Likewise.
12433         * soft-fp/fixtfti.c: Likewise.
12434         * soft-fp/fixunsdfdi.c: Likewise.
12435         * soft-fp/fixunsdfsi.c: Likewise.
12436         * soft-fp/fixunsdfti.c: Likewise.
12437         * soft-fp/fixunssfdi.c: Likewise.
12438         * soft-fp/fixunssfsi.c: Likewise.
12439         * soft-fp/fixunssfti.c: Likewise.
12440         * soft-fp/fixunstfdi.c: Likewise.
12441         * soft-fp/fixunstfsi.c: Likewise.
12442         * soft-fp/fixunstfti.c: Likewise.
12443         * soft-fp/floatdidf.c: Likewise.
12444         * soft-fp/floatdisf.c: Likewise.
12445         * soft-fp/floatditf.c: Likewise.
12446         * soft-fp/floatsidf.c: Likewise.
12447         * soft-fp/floatsisf.c: Likewise.
12448         * soft-fp/floatsitf.c: Likewise.
12449         * soft-fp/floattidf.c: Likewise.
12450         * soft-fp/floattisf.c: Likewise.
12451         * soft-fp/floattitf.c: Likewise.
12452         * soft-fp/floatundidf.c: Likewise.
12453         * soft-fp/floatundisf.c: Likewise.
12454         * soft-fp/floatunsidf.c: Likewise.
12455         * soft-fp/floatunsisf.c: Likewise.
12456         * soft-fp/floatuntidf.c: Likewise.
12457         * soft-fp/floatuntisf.c: Likewise.
12458         * soft-fp/floatuntitf.c: Likewise.
12459         * soft-fp/fmadf4.c: Likewise.
12460         * soft-fp/fmasf4.c: Likewise.
12461         * soft-fp/fmatf4.c: Likewise.
12462         * soft-fp/gedf2.c: Likewise.
12463         * soft-fp/gesf2.c: Likewise.
12464         * soft-fp/getf2.c: Likewise.
12465         * soft-fp/ledf2.c: Likewise.
12466         * soft-fp/lesf2.c: Likewise.
12467         * soft-fp/letf2.c: Likewise.
12468         * soft-fp/muldf3.c: Likewise.
12469         * soft-fp/mulsf3.c: Likewise.
12470         * soft-fp/multf3.c: Likewise.
12471         * soft-fp/negdf2.c: Likewise.
12472         * soft-fp/negsf2.c: Likewise.
12473         * soft-fp/negtf2.c: Likewise.
12474         * soft-fp/op-1.h: Likewise.
12475         * soft-fp/op-2.h: Likewise.
12476         * soft-fp/op-4.h: Likewise.
12477         * soft-fp/op-8.h: Likewise.
12478         * soft-fp/op-common.h: Likewise.
12479         * soft-fp/quad.h: Likewise.
12480         * soft-fp/single.h: Likewise.
12481         * soft-fp/soft-fp.h: Likewise.
12482         * soft-fp/sqrtdf2.c: Likewise.
12483         * soft-fp/sqrtsf2.c: Likewise.
12484         * soft-fp/sqrttf2.c: Likewise.
12485         * soft-fp/subdf3.c: Likewise.
12486         * soft-fp/subsf3.c: Likewise.
12487         * soft-fp/subtf3.c: Likewise.
12488         * soft-fp/truncdfsf2.c: Likewise.
12489         * soft-fp/trunctfdf2.c: Likewise.
12490         * soft-fp/trunctfsf2.c: Likewise.
12491         * soft-fp/trunctfxf2.c: Likewise.
12492         * soft-fp/unorddf2.c: Likewise.
12493         * soft-fp/unordsf2.c: Likewise.
12494         * soft-fp/unordtf2.c: Likewise.
12496 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12498         [BZ #15672]
12499         * misc/error.c (error_tail): Fix possible buffer overflow.
12501 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12503         [BZ #13028]
12504         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12505         address.
12507 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12509         [BZ #832]
12510         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12511         testing pipefail option.
12513 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12515         * soft-fp/double.h: Indent preprocessor directives inside #if.
12516         * soft-fp/extended.h: Likewise.
12517         * soft-fp/op-2.h: Likewise.
12518         * soft-fp/op-4.h: Likewise.
12519         * soft-fp/op-common.h: Likewise.
12520         * soft-fp/quad.h: Likewise.
12521         * soft-fp/single.h: Likewise.
12522         * soft-fp/soft-fp.h: Likewise.
12524 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12526         * iconv/iconv_prog.c: Fix typos.
12527         * stdio-common/psiginfo-data.h: Likewise.
12529 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12531         [BZ #15764]
12532         * locale/setlocale.c: Fix typo.
12534 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12536         [BZ #16036]
12537         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12538         signaling NaN arguments.
12539         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12540         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12542         [BZ #14910]
12543         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12544         unordered operands.
12545         * soft-fp/gesf2.c (__gesf2): Likewise.
12546         * soft-fp/getf2.c (__getf2): Likewise.
12547         * soft-fp/ledf2.c (__ledf2): Likewise.
12548         * soft-fp/lesf2.c (__lesf2): Likewise.
12549         * soft-fp/letf2.c (__letf2): Likewise.
12551         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12552         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12553         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12554         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12555         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12556         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12557         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12558         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12559         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12560         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12561         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12562         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12563         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12564         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12565         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12566         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12567         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12568         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12569         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12570         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12571         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12572         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12573         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12574         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12575         * soft-fp/floattidf.c (__floattidf): Likewise.
12576         * soft-fp/floattisf.c (__floattisf): Likewise.
12577         * soft-fp/floattitf.c (__floattitf): Likewise.
12578         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12579         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12580         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12581         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12582         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12583         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12584         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12585         * soft-fp/gesf2.c (__gesf2): Likewise.
12586         * soft-fp/getf2.c (__getf2): Likewise.
12587         * soft-fp/ledf2.c (__ledf2): Likewise.
12588         * soft-fp/lesf2.c (__lesf2): Likewise.
12589         * soft-fp/letf2.c (__letf2): Likewise.
12591         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12592         Undefine and redefine.
12593         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12594         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12595         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12596         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12597         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12598         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12599         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12600         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12601         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12602         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12603         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12604         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12605         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12606         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12607         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12609         [BZ #16032]
12610         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12611         without decrementing exponent if mantissa >= that for the
12612         denominator, not >.
12613         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12614         denominator, not >.  Decrement exponent in < case instead of
12615         incrementing in >= case.
12616         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12617         without decrementing exponent if mantissa >= that for the
12618         denominator, not >.
12620         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12621         computing saturated result for unsigned overflow.
12623 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624             Jeff Law  <law@redhat.com>
12626         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12627         (atan2Mp): Add systemtap probe marker.
12628         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12629         (__ieee754_log): Add systemtap probe marker.
12630         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12631         (atanMp): Add systemtap probe marker.
12632         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12633         (tanMp): Add systemtap probe marker.
12634         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12635         (__slowexp): Add systemtap probe marker.
12636         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12637         (__slowpow): Add systemtap probe marker.
12638         * manual/probes.texi: Document probes.
12640 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12642         [BZ #15362]
12643         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12644         written.
12645         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12646         written.
12647         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12648         written to buffer but not flushed.
12649         * libio/iofwrite_u.c:  Likewise.
12650         * libio/iopadn.c:  Return bytes returned even if EOF was
12651         encountered.
12652         * libio/iowpadn.c:  Likewise.
12653         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12654         if _IO_padn does not write the whole buffer.
12655         [!COMPILE_WPRINTF] (PAD): Likewise.
12657 2013-10-10  David S. Miller  <davem@davemloft.net>
12659         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12660         directory block.
12662 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12664         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12665         instead of FSF address.
12666         * soft-fp/fixdfti.c: Likewise.
12667         * soft-fp/fixsfti.c: Likewise.
12668         * soft-fp/fixtfti.c: Likewise.
12669         * soft-fp/fixunsdfti.c: Likewise.
12670         * soft-fp/fixunssfti.c: Likewise.
12671         * soft-fp/fixunstfti.c: Likewise.
12672         * soft-fp/floattidf.c: Likewise.
12673         * soft-fp/floattisf.c: Likewise.
12674         * soft-fp/floattitf.c: Likewise.
12675         * soft-fp/floatuntidf.c: Likewise.
12676         * soft-fp/floatuntisf.c: Likewise.
12677         * soft-fp/floatuntitf.c: Likewise.
12678         * soft-fp/trunctfxf2.c: Likewise.
12680         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12681         * soft-fp/fixdfti.c: Likewise.
12682         * soft-fp/fixsfti.c: Likewise.
12683         * soft-fp/fixtfti.c: Likewise.
12684         * soft-fp/fixunsdfti.c: Likewise.
12685         * soft-fp/fixunssfti.c: Likewise.
12686         * soft-fp/fixunstfti.c: Likewise.
12687         * soft-fp/floattidf.c: Likewise.
12688         * soft-fp/floattisf.c: Likewise.
12689         * soft-fp/floattitf.c: Likewise.
12690         * soft-fp/floatuntidf.c: Likewise.
12691         * soft-fp/floatuntisf.c: Likewise.
12692         * soft-fp/floatuntitf.c: Likewise.
12693         * soft-fp/trunctfxf2.c: Likewise.
12695 2013-10-10  David S. Miller  <davem@davemloft.net>
12697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12699 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12701         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12702         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12703         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12704         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12705         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12706         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12707         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12709         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12710         for NaNs before doing comparisons on argument.
12711         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12712         Likewise.
12714 2013-10-10  Will Newton  <will.newton@linaro.org>
12716         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12717         passed to _int_memalign does not overflow.
12719 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12721         * scripts/bench.pl: Add include-sources directive.
12722         * benchtests/README: Update documentation.
12724 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12726         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12727         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12728         instead of FP_INIT_ROUNDMODE.
12729         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12730         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12732         [BZ #16034]
12733         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12734         copy class of input value.
12735         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12736         not handle exceptions.
12737         * soft-fp/negsf2.c (__negsf2): Likewise.
12738         * soft-fp/negtf2.c (__negtf2): Likewise.
12739         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12741 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12743         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12744         semicolon.  From Linux kernel.
12746 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12748         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12750 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12752         [BZ #156]
12753         * manual/socket.texi: Added statement about buffer
12754         for gethostbyname2_r.
12756 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12758         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12759         Use .p2align directive instead, throughout.
12760         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12761         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12762         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12763         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12765         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12766         * sysdeps/x86_64/strchr.S: Likewise.
12767         * sysdeps/x86_64/strrchr.S: Likewise.
12769 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12771         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12773         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12775         * sysdeps/generic/math_private.h (__mpsin1): Remove
12776         declaration.
12777         (__mpcos1): Likewise.
12778         (__mpsin): New argument __range_reduce.
12779         (__mpcos): Likewise.
12780         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12781         (slow): Use __mpsin and __mpcos.
12782         (slow1): Likewise.
12783         (slow2): Likewise.
12784         (sloww): Likewise.
12785         (sloww1): Likewise.
12786         (sloww2): Likewise.
12787         (bsloww): Likewise.
12788         (bsloww1): Likewise.
12789         (bsloww2): Likewise.
12790         (cslow2): Likewise.
12791         (csloww): Likewise.
12792         (csloww1): Likewise.
12793         (csloww2): Likewise.
12794         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12795         range_reduce.  Merge in __mpsin1.
12796         (__mpcos): Likewise.
12797         (__mpsin1): Remove.
12798         (__mpcos1): Likewise.
12800 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12802         * locale/loadlocale.c (_nl_intern_locale_data): Use
12803         LOCFILE_ALIGNED_P.
12804         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12805         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12806         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12807         obstack data is appropriately aligned.
12808         (obstack_int32_grow_fast): Likewise.
12809         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12810         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12811         (add_locale_uint32_array): Likewise.
12813 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12815         * benchtests/Makefile: Remove ARGLIST and RET variables.
12816         ($(objpfx)bench-%.c): Pass only function name to the script.
12817         * benchtests/README: Update documentation.
12818         * benchtests/acos-inputs: Add new directives.
12819         * benchtests/acosh-inputs: Likewise.
12820         * benchtests/asin-inputs: Likewise.
12821         * benchtests/asinh-inputs: Likewise.
12822         * benchtests/atan-inputs: Likewise.
12823         * benchtests/atanh-inputs: Likewise.
12824         * benchtests/cos-inputs: Likewise.
12825         * benchtests/cosh-inputs: Likewise.
12826         * benchtests/exp-inputs: Likewise.
12827         * benchtests/log-inputs: Likewise.
12828         * benchtests/pow-inputs: Likewise.
12829         * benchtests/rint-inputs: Likewise.
12830         * benchtests/sin-inputs: Likewise.
12831         * benchtests/sinh-inputs: Likewise.
12832         * benchtests/tan-inputs: Likewise.
12833         * benchtests/tanh-inputs: Likewise.
12834         * scripts/bench.pl: Add support for new directives.
12836 2013-10-07  Alan Modra  <amodra@gmail.com>
12838         * README: Fix careless merge.
12840 2013-10-05  Alan Modra  <amodra@gmail.com>
12842         * NEWS: Mention powerpc64le support and bugs fixed.
12843         * README: Both big-endian and little-endian powerpc64 supported.
12845 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12847         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12848         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12849         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12850         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12852 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12854         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12855         match prototype.
12857 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12859         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12860         Move -mhard-float appending from
12861         ports/sysdeps/powerpc/powerpc32/Makefile.
12862         [$(with-fp) = yes] (ASFLAGS): Likewise.
12863         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12864         * sysdeps/powerpc/nofpu: Move directory from
12865         ports/sysdeps/powerpc/nofpu.
12866         * sysdeps/powerpc/soft-fp: Move directory from
12867         ports/sysdeps/powerpc/soft-fp.
12868         * sysdeps/powerpc/powerpc32/405: Move directory from
12869         ports/sysdeps/powerpc/powerpc32/405.
12870         * sysdeps/powerpc/powerpc32/440: Move directory from
12871         ports/sysdeps/powerpc/powerpc32/440.
12872         * sysdeps/powerpc/powerpc32/464: Move directory from
12873         ports/sysdeps/powerpc/powerpc32/464.
12874         * sysdeps/powerpc/powerpc32/476: Move directory from
12875         ports/sysdeps/powerpc/powerpc32/476.
12876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12877         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12879         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12881         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12883         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12885         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12886         * README: Update for powerpc-*-linux-gnu software floating point
12887         support in libc.
12889         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12890         case to powerpc/powerpc32*.
12891         * sysdeps/unix/sysv/linux/configure: Regenerated.
12893         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12894         (_FPU_MASK_OM): Define as 0x04.
12895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12896         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12897         0x00c10080.
12898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12899         0x0000003c.
12900         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12903         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12904         getcontext_e500.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12906         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12907         setcontext_e500.
12908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12909         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12910         and setcontext_e500.
12912 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12914         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12916 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12918         * manual/threads.texi (Default Thread Attributes): Fix typo.
12920 2013-10-04  Will Newton  <will.newton@linaro.org>
12922         * malloc/Makefile: Add tst-memalign.
12923         * malloc/tst-memalign.c: New file.
12925         * malloc/tst-posix_memalign.c: Add comments.
12926         (do_test): Add comments and call free on all potentially
12927         allocated pointers. Add space after cast.
12929         * malloc/tst-pvalloc.c: Add comments.
12930         (do_test): Add comments and call free on all potentially
12931         allocated pointers. Remove duplicate check for NULL pointer.
12932         Add space after cast.
12934         * malloc/tst-valloc.c: Add comments.
12935         (do_test): Add comments and call free on all potentially
12936         allocated pointers. Remove duplicate check for NULL pointer.
12937         Add space after cast.
12939 2013-10-04  Alan Modra  <amodra@gmail.com>
12941         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12942         Use stdint types in rather than __attribute__((mode())).
12943         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12945 2013-10-04  Alan Modra  <amodra@gmail.com>
12947         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
12948         Correct handling of unaligned relocs for little-endian.
12949         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
12951 2013-10-04  Alan Modra  <amodra@gmail.com>
12953         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
12954         * configure: Regenerate.
12955         * nptl/shlib-versions: Powerpc*le starts at 2.18.
12956         * shlib-versions: Likewise.
12958 2013-10-04  Alan Modra  <amodra@gmail.com>
12960         * string/tester.c (test_memrchr): Increment reported test cycle.
12962 2013-10-04  Alan Modra  <amodra@gmail.com>
12964         * string/test-memcpy.c (do_one_test): When reporting errors, print
12965         string address and don't overrun end of string.
12967 2013-10-04  Alan Modra  <amodra@gmail.com>
12969         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
12970         insrdi.  Make better use of reg selection to speed exit slightly.
12971         Schedule entry path a little better.  Remove useless "are we done"
12972         checks on entry to main loop.  Handle wrapping around zero address.
12973         Correct main loop count.  Handle single left-over word from main
12974         loop inline rather than by using loop_small.  Remove extra word
12975         case in loop_small caused by wrong loop count.  Add little-endian
12976         support.
12977         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12978         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
12979         cache hint.
12980         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12981         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
12982         support.  Avoid rlwimi.
12983         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
12985 2013-10-04  Alan Modra  <amodra@gmail.com>
12987         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
12988         insrdi.  Formatting.
12989         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
12990         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12991         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
12992         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12993         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12994         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
12996 2013-10-04  Alan Modra  <amodra@gmail.com>
12998         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
12999         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13000         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13001         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13002         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13003         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13004         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13005         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13006         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13007         use of regs.  Use power7 mtocrf.  Tidy function tails.
13009 2013-10-04  Alan Modra  <amodra@gmail.com>
13011         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13012         Formatting.  Consistently use rXXX register defines or rN defines.
13013         Use early exit labels that avoid restoring unused non-volatile regs.
13014         Make cr field use more consistent with rWORDn compares.  Rename
13015         regs used as shift registers for unaligned loop, using rN defines
13016         for short lifetime/multiple use regs.
13017         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13018         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13019         addi 1,1,64 to pop stack frame.  Simplify return value code.
13020         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13022 2013-10-04  Alan Modra  <amodra@gmail.com>
13024         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13025         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13026         rather than rlwimi.
13027         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13028         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13029         little-endian support.  Correct typos.
13030         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13031         rather than rlwimi.
13032         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13033         in loop and entry code to keep "and." results.
13034         (strchr): Add little-endian support.  Comment.  Move cntlzd
13035         earlier in tail.
13036         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13038 2013-10-04  Alan Modra  <amodra@gmail.com>
13040         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13041         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13042         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13043         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13045 2013-10-04  Alan Modra  <amodra@gmail.com>
13047         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13048         (rTMP): Define as r11.
13049         (strcmp): Add little-endian support.  Optimise tail.
13050         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13051         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13052         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13053         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13054         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13055         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13056         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13058 2013-10-04  Alan Modra  <amodra@gmail.com>
13060         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13061         little-endian support.  Remove unnecessary "are we done" tests.
13062         Handle "s" wrapping around zero and extremely large "size".
13063         Correct main loop count.  Handle single left-over word from main
13064         loop inline rather than by using small_loop.  Correct comments.
13065         Delete "zero" tail, use "end_max" instead.
13066         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13068 2013-10-04  Alan Modra  <amodra@gmail.com>
13070         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13071         support.  Don't branch over align.
13072         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13073         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13074         support.  Rearrange tmp reg use to suit.  Comment.
13075         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13077 2013-10-04  Alan Modra  <amodra@gmail.com>
13079         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13081 2013-10-04  Alan Modra  <amodra@gmail.com>
13083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13084         conditional form of branch and link when obtaining pc.
13085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13087 2013-10-04  Alan Modra  <amodra@gmail.com>
13089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13090         HIWORD/LOWORD.
13091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13094 2013-10-04  Alan Modra  <amodra@gmail.com>
13096         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13097         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13098         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13099         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13100         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13101         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13102         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13103         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13104         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13105         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13107 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13108             Alistair Popple <alistair@ozlabs.au.ibm.com>
13109             Alan Modra <amodra@gmail.com>
13111         [BZ #15723]
13112         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13113         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13114         _dl_hwcap access for little-endian.
13115         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13116         destroy vmx regs when saving unaligned.
13117         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13118         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13119         destroy vmx regs when saving unaligned.
13121 2013-10-04  Alan Modra  <amodra@gmail.com>
13123         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13124         Don't use a union to pack hi/low value.
13126 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13128         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13129         for little-endian.
13130         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13131         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13132         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13133         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13134         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13136 2013-10-04  Alan Modra  <amodra@gmail.com>
13138         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13139         constants to usual value for .cst8 section, and remove redundant
13140         high address load.
13141         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13142         constant for 0x1p52.  Load little-endian words of double from
13143         correct stack offsets.
13145 2013-10-04  Alan Modra  <amodra@gmail.com>
13147         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13148         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13149         words of double from correct stack offsets.
13150         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13151         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13152         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13153         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13154         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13155         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13156         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13157         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13158         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13159         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13160         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13161         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13162         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13163         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13164         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13165         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13166         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13168 2013-10-04  Alan Modra  <amodra@gmail.com>
13170         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13171         64-bit int/double union.
13172         (_FPU_SETCW): Likewise.
13173         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13174         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13176 2013-10-04  Alan Modra  <amodra@gmail.com>
13178         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13179         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13181 2013-10-04  Alan Modra  <amodra@gmail.com>
13183         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13184         use vector int constants.
13185         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13187 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13189         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13190         array with long long.
13191         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13192         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13193         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13194         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13195         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13196         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13197         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13198         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13199         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13200         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13201         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13202         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13203         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13205 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13207         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13208         (__signbit): Likewise.  Correct for little-endian.
13209         (__signbitl): Call __signbit.
13210         (lrint): Correct for little-endian.
13211         (lrintf): Call lrint.
13213 2013-10-04  Alan Modra  <amodra@gmail.com>
13215         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13216         union 32-bit int array member with 64-bit int array.
13217         (t515, tm256): Double rather than long double.
13218         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13220 2013-10-04  Alan Modra  <amodra@gmail.com>
13222         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13223         Delete.
13224         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13225         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13226         version of math_ldbl.h.
13228 2013-10-04  Alan Modra  <amodra@gmail.com>
13230         [BZ #15734], [BZ #15735]
13231         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13232         all uses of ieee875 long double macros and unions.  Simplify test
13233         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13234         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13235         normalize after ldbl_extract_mantissa, and don't add hidden bit
13236         already handled.  Don't treat low word of ieee854 mantissa like
13237         low word of IBM long double and mask off bit when testing for
13238         zero.
13239         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13240         all uses of ieee875 long double macros and unions.  Simplify tests
13241         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13242         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13243         two1022, instead use their values.  Recognise that tests for large
13244         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13245         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13246         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13247         test for 0.0L and nan.  Correct negation.
13248         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13249         ieee875 long double macros and unions.  Correct output for large
13250         magnitude x.  Correct absolute value calculation.
13251         (__erfcl): Likewise.
13252         * math/libm-test.inc: Add tests for errors discovered in IBM long
13253         double versions of fmodl, remainderl, erfl and erfcl.
13255 2013-10-04  Alan Modra  <amodra@gmail.com>
13257         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13258         all uses of ieee854 long double macros and unions.  Simplify tests
13259         for long doubles that are fully specified by the high double.
13260         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13261         Likewise.
13262         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13263         Remove dead code too.
13264         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13265         (__ieee754_ynl): Likewise.
13266         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13267         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13268         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13269         Remove dead code too.
13270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13273         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13274         Simplify.
13275         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13276         Simplify.
13277         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13278         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13279         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13280         Comment on variable precision.
13281         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13282         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13283         Likewise.
13284         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13285         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13286         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13287         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13288         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13290 2013-10-04  Alan Modra  <amodra@gmail.com>
13292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13293         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13294         all uses of ieee854 long double macros and unions.
13295         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13296         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13297         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13298         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13299         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13300         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13301         Likewise.
13302         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13303         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13304         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13305         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13306         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13307         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13308         Simplify sign and nan test too.
13309         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13310         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13311         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13312         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13313         Likewise.
13314         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13315         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13316         Likewise.
13317         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13318         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13319         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13320         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13321         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13322         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13324 2013-10-04  Alan Modra  <amodra@gmail.com>
13326         * stdio-common/printf_size.c (__printf_size): Don't use
13327         union ieee854_long_double in fpnum union.
13328         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13329         signbit macro to retrieve sign from long double.
13330         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13331         retrieve sign from long double.
13332         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13333         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13334         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13335         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13336         * math/test-misc.c (main): Don't use union ieee854_long_double.
13338 2013-10-04  Alan Modra  <amodra@gmail.com>
13340         [BZ #15680]
13341         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13342         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13343         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13344         calculation.  Remove unnecessary test for denormal exponent.
13345         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13346         Correct handling of denormals.  Avoid undefined shift behaviour.
13347         Correct normalisation of low mantissa when low double is denormal.
13348         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13349         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13350         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13351         Correct normalisation of low mantissa.  Test for overflow of high
13352         mantissa and normalise.
13353         (ldbl_nearbyint): Use more readable constant for two52.
13354         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13355         (__mpn_construct_long_double): Fix test for overflow of high
13356         mantissa and correct normalisation.  Avoid undefined shift.
13358 2013-10-04  Alan Modra  <amodra@gmail.com>
13360         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13361         (union ibm_extended_long_double): Define as an array of ieee754_double.
13362         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13363         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13364         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13365         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13366         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13367         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13369         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13370         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13371         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13372         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13374 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13376         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13377         page size instead of calling getpagesize.
13379         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13380         (LOCFILE_ALIGN_MASK): Likewise.
13381         (LOCFILE_ALIGN_UP): Likewise.
13382         (LOCFILE_ALIGNED_P): Likewise.
13383         * locale/programs/ld-collate.c (collate_output): Use the new
13384         macros instead of __alignof__ (int32_t).
13385         * locale/weight.h (findidx): Likewise.
13387 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13389         [BZ #431]
13390         * manual/string.texi: Fix strncat and wcsncat.
13392 2013-10-03  Brooks Moses  <bmoses@google.com>
13394         [BZ #15915]
13395         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13396         * Makerules: ...here, and adjust associated comments.
13398 2013-10-02  Will Newton  <will.newton@linaro.org>
13400         * malloc/Makefile: Add tst-pvalloc.
13401         * malloc/tst-pvalloc.c: New file.
13403 2013-10-02  Will Newton  <will.newton@linaro.org>
13405         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13406         improve test coverage.
13408 2013-10-02  Will Newton  <will.newton@linaro.org>
13410         * malloc/Makefile: Add tst-posix_memalign.
13411         * malloc/tst-posix_memalign.c: New file.
13413 2013-10-01  Eric Blake  <eblake@redhat.com>
13415         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13416         Use __THROWNL rather than __THROW on static functions.
13418 2013-09-30  Petr Machata  <pmachata@redhat.com>
13420         * elf/elf.h (R_AARCH64_ABS16): New macro.
13421         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13422         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13423         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13424         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13425         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13426         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13427         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13428         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13429         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13430         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13431         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13432         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13433         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13434         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13435         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13436         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13437         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13438         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13439         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13440         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13441         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13442         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13443         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13444         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13445         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13446         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13447         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13448         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13449         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13450         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13451         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13452         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13453         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13454         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13455         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13456         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13457         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13458         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13459         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13460         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13461         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13462         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13463         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13464         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13465         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13466         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13467         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13468         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13469         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13470         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13471         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13472         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13473         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13474         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13475         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13476         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13477         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13478         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13479         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13480         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13481         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13482         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13483         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13484         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13485         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13486         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13487         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13488         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13489         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13490         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13491         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13492         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13493         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13494         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13495         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13496         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13497         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13498         (R_AARCH64_TLSDESC_LDR): Likewise.
13499         (R_AARCH64_TLSDESC_ADD): Likewise.
13500         (R_AARCH64_TLSDESC_CALL): Likewise.
13502 2013-09-30  Andreas Schwab  <schwab@suse.de>
13504         [BZ #15048]
13505         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13506         the nss database lookup.
13507         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13508         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13510 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13512         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13514 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13517         ${Bash-specific parameter/pattern/string} parameter expansion.
13518         * sysdeps/unix/make-syscalls.sh: Likewise.
13520 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13522         * sysdeps/sh/stackguard-macros.h: New file.
13524 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13528         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13529         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13531         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13533 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13535         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13536         Fix thread ID register.
13538 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13540         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13541         [POSIX || UNIX98]: Require rather than permitting all symbols from
13542         <time.h>.
13543         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13544         element of struct sched_param.
13545         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13546         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13547         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13548         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13549         constant.
13551 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13553         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13554         argument calculation.
13556 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13558         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13559         Expect macro.
13560         [POSIX] (pthread_attr_t): Do not require type.
13561         [POSIX] (pthread_cond_t): Likewise.
13562         [POSIX] (pthread_condattr_t): Likewise.
13563         [POSIX] (pthread_key_t): Likewise.
13564         [POSIX] (pthread_mutex_t): Likewise.
13565         [POSIX] (pthread_mutexattr_t): Likewise.
13566         [POSIX] (pthread_once_t): Likewise.
13567         [POSIX] (pthread_t): Likewise.
13568         [POSIX-based standards] (pthread_atfork): Expect function.
13570 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13571             Richard Sandiford  <richard@codesourcery.com>
13573         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13574         (swap_endianness_p): New extern variable.
13575         (set_big_endian): New inline function.
13576         (maybe_swap_uint32): Likewise.
13577         (maybe_swap_uint32_array): Likewise.
13578         (maybe_swap_uint32_obstack): Likewise.
13579         * locale/programs/locfile.c: Include <stdbool.h>.
13580         (swap_endianness_p): New variable.
13581         (add_locale_uint32): Call maybe_swap_uint32.
13582         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13583         (write_locale_data): Call maybe_swap_uint32_array.
13584         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13585         maybe_swap_uint32.
13586         (obstack_int32_grow_fast): Likewise.
13587         (output_weightwc): Call maybe_swap_uint32_obstack.
13588         (collate_output): Likewise.
13589         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13590         (OPT_LITTLE_ENDIAN): Likewise.
13591         (options): Add --little-endian and --big-endian options.
13592         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13593         * locale/programs/locarchive.c: Include "locfile.h".
13594         (GET): New macro.
13595         (SET): Likewise.
13596         (INC): Likewise.
13597         (create_archive): Use the new macros to access fields of
13598         structures directly mapped from or written to locale archives.
13599         (oldlocrecentcmp): Likewise.
13600         (enlarge_archive): Likewise.
13601         (insert_name): Likewise.
13602         (add_alias): Likewise.
13603         (add_locale): Likewise.
13604         (delete_locales_from_archive): Likewise.
13605         (show_archive_content): Likewise.
13606         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13607         locale data.
13609 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13611         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13612         http://www.gnu.org/doc/freemanuals.texi.
13613         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13615 2013-09-24  Will Newton  <will.newton@linaro.org>
13617         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13618         macro.
13620 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13622         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13623         unsigned char.
13625 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13627         * manual/threads.texi (POSIX Threads): Fix a typo.
13629 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13631         [BZ #14547]
13632         * string/tst-strcoll-overflow.c: New test case.
13633         * string/Makefile (xtests): Add tst-strcoll-overflow.
13634         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13635         cache if string sizes may cause integer overflow.
13637         [BZ #14547]
13638         * string/strcoll_l.c (coll_seq): New members rule, idx,
13639         save_idx and back_us.
13640         (get_next_seq_nocache): New function.
13641         (do_compare_nocache): New function.
13642         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13643         when malloc fails.
13645 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13647         [BZ #15754]
13648         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13649         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13650         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13652         [BZ #15754]
13653         * elf/Makefile (tests): Add tst-ptrguard1.
13654         (tests-static): Add tst-ptrguard1-static.
13655         (tst-ptrguard1-ARGS): Define.
13656         (tst-ptrguard1-static-ARGS): Define.
13657         * elf/tst-ptrguard1.c: New file.
13658         * elf/tst-ptrguard1-static.c: New file.
13659         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13660         * sysdeps/i386/stackguard-macros.h: Likewise.
13661         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13662         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13663         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13664         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13665         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13666         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13668 2013-09-23  Hector Marco  <hecmargi@upv.es>
13669             Ismael Ripoll  <iripoll@disca.upv.es>
13670             Carlos O'Donell  <carlos@redhat.com>
13672         [BZ #15754]
13673         * sysdeps/generic/stackguard-macros.h: Define
13674         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13675         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13676         Define __pointer_chk_guard_local.
13677         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13678         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13680 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13682         [BZ #15859]
13683         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13685 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13687         * include/string.h (__ffs): Declare as hidden.
13688         * string/ffs.c (__ffs): Define as hidden.
13689         * sysdeps/i386/ffs.c (__ffs): Likewise.
13690         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13691         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13692         * sysdeps/s390/ffs.c (__ffs): Likewise.
13693         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13695 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13697         * NEWS: Mention malloc probes.
13699         * malloc/arena.c (new_heap): New memory_heap_new probe.
13700         (grow_heap): New memory_heap_more probe.
13701         (shrink_heap): New memory_heap_less probe.
13702         (heap_trim): New memory_heap_free probe.
13703         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13704         (systrim): New memory_sbrk_less probe.
13705         * manual/probes.texi: Document them.
13707         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13708         * manual/probes.texi: Document it.
13710         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13711         (__libc_realloc): Add memory_realloc_retry probe.
13712         (__libc_memalign): Add memory_memalign_retry probe.
13713         (__libc_valloc): Add memory_valloc_retry probe.
13714         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13715         (__libc_calloc): Add memory_calloc_retry probe.
13716         * manual/probes.texi: Document them.
13718         * malloc/arena.c (get_free_list): Add probe
13719         memory_arena_reuse_free_list.
13720         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13721         and memory_arena_reuse.
13722         (arena_get2) [!PER_THREAD]: Likewise.
13723         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13724         memory_arena_reuse_realloc.
13725         * manual/probes.texi: Document them.
13727         * malloc/malloc.c (__libc_free): Add
13728         memory_mallopt_free_dyn_thresholds probe.
13729         (__libc_mallopt): Add multiple memory_mallopt probes.
13730         * manual/probes.texi: Document them.
13732         * malloc/malloc.c: Include stap-probe.h.
13733         (__libc_mallopt): Add memory_mallopt probe.
13734         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13735         * manual/probes.texi: New.
13736         * manual/Makefile (chapters): Add probes.
13737         * manual/threads.texi: Set next node.
13739 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13741         [BZ #15963, #13985]
13742         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13743         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13744         Add `Chinese' to `nan' entry name.
13746 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13748         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13749         (POLYNOMIAL): Likewise.
13750         (TAYLOR_SINCOS): Likewise.
13751         (TAYLOR_SLOW): Likewise.
13752         (__sin): Use TAYLOR_SINCOS.
13753         (__cos): Likewise.
13754         (slow): Use TAYLOR_SLOW.
13755         (sloww): Likewise.
13756         (bsloww): Likewise.
13757         (csloww): Likewise.
13759 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13761         * stdlib/strtod_l.c: Fix buffer overrun.
13763 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13765         * benchtests/Makefile (bench): Add sincos.
13766         * benchtests/bench-sincos.c: New file.
13768         * math/libm-test.inc (cos_test_data): New test inputs.
13769         (sin_test_data): Likewise.
13771         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13772         macro.
13773         (__sin): Use it.
13774         (__cos): Likewise.
13775         (slow1): Likewise.
13776         (slow2): Likewise.
13777         (sloww1): Likewise.
13778         (sloww2): Likewise.
13779         (bsloww1): Likewise.
13780         (bsloww2): Likewise.
13781         (cslow2): Likewise.
13782         (csloww1): Likewise.
13783         (csloww2): Likewise.
13785         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13786         function.
13787         (__sin): Use it.
13788         (__cos): Likewise.
13790         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13791         gotos.
13792         (__cos): Likewise.
13794 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13796         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13797         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13798         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13799         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13800         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13801         * elf/cache.c (print_entry): Handle the new cache flags.
13803 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13804             Aldy Hernandez  <aldyh@redhat.com>
13806         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13807         Change condition to [_SOFT_FLOAT].
13808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13809         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13812         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13813         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13814         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13815         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13820         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13823         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13824         declaration.
13826 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13828         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13829         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13830         (__longjmp): Use LOAD_GP to load saved GPRs.
13831         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13832         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13833         (__sigsetjmp): Use SAVE_GP to save GPRs.
13835         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13836         Do not append -msoft-float.
13837         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13839 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13841         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13843 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13845         [BZ #15966]
13846         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13847         (_FPU_GETCW): Use initial "__" on variable and field names but not
13848         on macro parameter name.
13849         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13850         parentheses around reference to macro parameter.
13852 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13854         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13855         prototype.
13856         (ctype_startup): Use uint32_t in cast and sizeof for
13857         ctype->charnames.
13859 2013-09-11  Jia Liu  <proljc@gmail.com>
13861         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13862         __daddr_t_defined.
13863         [__FreeBSD__]: Likewise.
13865 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13867         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13868         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13869         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13870         (strchr): Remove __strchr_sse42 ifunc selection.
13871         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13872         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13874 2013-09-11  Will Newton  <will.newton@linaro.org>
13876         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13877         parameter to RES. Remove hardcoded 1000 value.
13878         * benchtests/bench-skeleton.c (main): Pass RES parameter
13879         to TIMING_INIT and multiply result by 1000.
13881 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13885 2013-09-11  Andreas Schwab  <schwab@suse.de>
13887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13888         if not defined.
13889         (O_TMPFILE) [__USE_GNU]: Define.
13890         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13891         Define.
13893 2013-09-11  Will Newton  <will.newton@linaro.org>
13895         [BZ #15857]
13896         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13897         does not overflow.
13899 2013-09-11  Will Newton  <will.newton@linaro.org>
13901         [BZ #15856]
13902         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13903         does not overflow.
13905 2013-09-11  Will Newton  <will.newton@linaro.org>
13907         [BZ #15855]
13908         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13909         does not overflow.
13911 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13913         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13914         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13915         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13916         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13917         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13919 2013-09-10  Allan McRae  <allan@archlinux.org>
13921         [BZ #15748]
13922         * manual/arith.texi (Parsing of Floats): Clarify
13923         cross-reference.
13925         [BZ #15849]
13926         * manual/install.texi (Running make install): Mention
13927         --enable-pt-chown.
13928         * INSTALL: Regenerated.
13930 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13932         * csu/init-first.c (_init): Remove the !SHARED condition around
13933         FPU control word initialization.
13934         * elf/dl-support.c (_dl_fpu_control): New variable.
13935         (_dl_aux_init) <AT_FPUCW>: Initialize it.
13936         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
13937         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
13938         * math/test-fpucw-static.c: New file.
13939         * math/test-fpucw-ieee.c: New file.
13940         * math/test-fpucw-ieee-static.c: New file.
13941         * math/Makefile (tests): Add `test-fpucw-ieee' and
13942         `$(tests-static)'.
13943         (tests-static): New variable.
13944         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
13945         dependency to...
13946         [($(build-shared),yes)]
13947         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13948         ... this.
13949         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
13950         New dependency.
13952 2013-09-09  Allan McRae  <allan@archlinux.org>
13954         [BZ #15939]
13955         * manual/string.texi (Collation Functions): Fix typo in
13956         strcoll example.
13957         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
13959         [BZ #15893]
13960         * stdlib/isomac.c (get_null_defines): Fix memory leak.
13962         [BZ #15892]
13963         * libio/memstream.c (open_memstream): Fix memory leak.
13964         * libio/wmemstream.c (open_wmemstream): Likewise.
13966         [BZ #15895]
13967         * nscd/netgroupcache.c: Fix nesting of ifdefs.
13969 2013-09-09  Will Newton  <will.newton@linaro.org>
13971         * malloc/Makefile: Add tst-realloc to tests.
13972         * malloc/tst-realloc.c: New file.
13974 2013-09-09  Allan McRae  <allan@archlinux.org>
13976         [BZ #15844]
13977         * COPYING: Update from GNU website to fix FSF address.
13978         * COPYING.LIB: Likewise.
13980 2013-09-06  David S. Miller  <davem@davemloft.net>
13982         * po/zh_TW.po: Update Chinese (traditional) translation from
13983         translation project.
13985 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
13986             Joseph Myers  <joseph@codesourcery.com>
13988         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
13989         "localeinfo.h".
13990         (obstack_chunk_alloc): New macro.
13991         (obstack_chunk_free): Likewise.
13992         (record_offset): New function.
13993         (init_locale_data): Likewise.
13994         (align_locale_data): Likewise.
13995         (add_locale_empty): Likewise.
13996         (add_locale_raw_data): Likewise.
13997         (add_locale_raw_obstack): Likewise.
13998         (add_locale_string): Likewise.
13999         (add_locale_wstring): Likewise.
14000         (add_locale_uint32): Likewise.
14001         (add_locale_uint32_array): Likewise.
14002         (add_locale_char): Likewise.
14003         (start_locale_structure): Likewise.
14004         (end_locale_structure): Likewise.
14005         (start_locale_prelude): Likewise.
14006         (end_locale_prelude): Likewise.
14007         (write_locale_data): Take locale_file structure rather than an
14008         iovec.
14009         * locale/programs/locfile.h: Include "obstack.h".
14010         (struct locale_file): Change to store locale file contents instead
14011         of header.
14012         (init_locale_data): New prototype.
14013         (align_locale_data): Likewise.
14014         (add_locale_empty): Likewise.
14015         (add_locale_raw_data): Likewise.
14016         (add_locale_raw_obstack): Likewise.
14017         (add_locale_string): Likewise.
14018         (add_locale_wstring): Likewise.
14019         (add_locale_uint32): Likewise.
14020         (add_locale_uint32_array): Likewise.
14021         (add_locale_char): Likewise.
14022         (start_locale_structure): Likewise.
14023         (end_locale_structure): Likewise.
14024         (start_locale_prelude): Likewise.
14025         (end_locale_prelude): Likewise.
14026         (write_locale_data): Update prototype.
14027         * locale/programs/3level.h (struct TABLE): Remove result field.
14028         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14029         Use new locale_file interface.
14030         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14031         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14032         * locale/programs/ld-address.c (address_output): Use new
14033         locale_file interface.
14034         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14035         NO_ADD_LOCALE.
14036         (collate_finish): Don't call collseq_table_finalize.
14037         (collate_output): Use new locale_file interface.
14038         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14039         in file.
14040         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14041         (TABLE): Move defines earlier in file.
14042         (ELEMENT): Likewise.
14043         (DEFAULT): Likewise.
14044         (wctrans_table_add): Move macro and inline function earlier in
14045         file.
14046         (struct wctype_table): Move type earlier in file.
14047         (add_locale_wctype_table): New static prototype.
14048         (struct locale_ctype_t): Use logical types instead of struct iovec
14049         pointers for members.
14050         (ctype_output): Use new locale_file interface.
14051         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14052         new locale_file interface.
14053         (allocate_arrays): Update for use of new locale_file interface.
14054         * locale/programs/ld-identification.c (identification_output): Use
14055         new locale_file interface.
14056         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14057         * locale/programs/ld-messages.c (messages_output): Likewise.
14058         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14059         * locale/programs/ld-name.c (name_output): Likewise.
14060         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14061         * locale/programs/ld-paper.c (paper_output): Likewise.
14062         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14063         * locale/programs/ld-time.c (time_output): Likewise.
14065 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14067         * benchtests/Makefile: Add memrchr benchmark.
14068         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14069         benchmark as memrchr.
14070         * benchtests/bench-memrchr-ifunc.c: New file.
14071         * benchtests/bench-memrchr.c: New file.
14073 2013-09-06   Will Newton  <will.newton@linaro.org>
14075         * benchtests/Makefile (string-bench): Add memcpy.
14077 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14078             Cong Wang  <amwang@redhat.com>
14080         [BZ #15850]
14081         * sysdeps/unix/sysv/linux/bits/in.h
14082         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14083         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14084         before __USE_KERNEL_IPV6_DEFS uses.
14085         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14086         IPPROTO_BEETPH.
14087         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14088         sockaddr_in6, or ipv6_mreq.
14090 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14092         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14093         memory access for final bytes in some large inputs.
14094         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14096 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14098         * string/test-memrchr.c: New file.
14099         * string/test-memrchr-ifunc.c: New file.
14100         * string/Makefile: Add new memrchr testcase.
14102 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14104         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14105         fanotify_init returns EPERM.
14107 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14109         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14110         errors.
14111         (top level): Treat second token from macro or constant entries for
14112         allowed headers as allowed.
14113         * include/complex.h: Condition internal declarations on
14114         [!_ISOMAC].
14115         * include/fenv.h: Condition include of <stdbool.h> and internal
14116         declarations on [!_ISOMAC].
14118 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14120         [BZ #15923]
14121         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14123 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14125         * configure.in (--enable-versioning): Remove configure option.
14126         (libc_cv_asm_symver_directive): Remove configure test.
14127         (libc_cv_ld_version_script_option): Likewise.
14128         (VERSIONING): Remove variable and AC_SUBST.
14129         (DO_VERSIONING): Remove AC_DEFINE.
14130         * configure: Regenerated.
14131         * config.h.in (DO_VERSIONING): Remove macro.
14132         * Makerules [$(versioning) = yes]: Change conditionals to
14133         [$(build-shared) = yes].
14134         * config.make.in (versioning): Remove variable.
14135         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14136         [$(build-shared) = yes].
14137         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14138         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14139         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14140         [$(build-shared) = yes].
14141         * extra-lib.mk [$(versioning) = yes]: Likewise.
14142         * hurd/Makefile [$(versioning) = yes]: Likewise.
14143         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14144         [SHARED].
14145         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14146         [SHARED].
14147         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14148         [SHARED && !NO_HIDDEN].
14149         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14150         [SHARED].
14151         [SHARED && DO_VERSIONING]: Likewise..
14152         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14153         [$(build-shared) = yes].
14154         * manual/install.texi (--disable-versioning): Remove
14155         documentation.
14156         * INSTALL: Regenerated.
14157         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14158         to [SHARED].
14159         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14160         [$(build-shared) = yes].
14161         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14162         * sysdeps/i386/i686/multiarch/strstr-c.c
14163         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14164         [SHARED && !NO_HIDDEN].
14165         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14166         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14167         * sysdeps/powerpc/powerpc32/dl-machine.c
14168         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14169         * sysdeps/powerpc/powerpc32/sysdep.h
14170         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14171         to [SHARED && PIC && !NO_HIDDEN].
14172         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14173         conditional to [SHARED].
14175 2013-09-04   Will Newton  <will.newton@linaro.org>
14177         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14178         * benchtests/bench-string.h: Include bench-timing.h instead
14179         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14180         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14181         call to HP_TIMING_DIFF_INIT.
14182         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14183         instead of hp-timing.h macros.
14184         * benchtests/bench-memchr.c: Likewise.
14185         * benchtests/bench-memcmp.c: Likewise.
14186         * benchtests/bench-memcpy.c: Likewise.
14187         * benchtests/bench-memmem.c: Likewise.
14188         * benchtests/bench-memmove.c: Likewise.
14189         * benchtests/bench-memset.c: Likewise.
14190         * benchtests/bench-rawmemchr.c: Likewise.
14191         * benchtests/bench-strcasecmp.c: Likewise.
14192         * benchtests/bench-strcasestr.c: Likewise.
14193         * benchtests/bench-strcat.c: Likewise.
14194         * benchtests/bench-strchr.c: Likewise.
14195         * benchtests/bench-strcmp.c: Likewise.
14196         * benchtests/bench-strcpy.c: Likewise.
14197         * benchtests/bench-strcpy_chk.c: Likewise.
14198         * benchtests/bench-strlen.c: Likewise.
14199         * benchtests/bench-strncasecmp.c: Likewise.
14200         * benchtests/bench-strncat.c: Likewise.
14201         * benchtests/bench-strncmp.c: Likewise.
14202         * benchtests/bench-strncpy.c: Likewise.
14203         * benchtests/bench-strnlen.c: Likewise.
14204         * benchtests/bench-strpbrk.c: Likewise.
14205         * benchtests/bench-strrchr.c: Likewise.
14206         * benchtests/bench-strspn.c: Likewise.
14207         * benchtests/bench-strstr.c: Likewise.
14209 2013-09-04  Will Newton  <will.newton@linaro.org>
14211         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14213 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14215         [BZ #15427]
14216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14217         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14218         * math/libm-test.inc (lgamma_test_data): Add more tests.
14219         * sysdeps/i386/fpu/libm-test-ulps: Update.
14220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14222 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14224         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14226         Add ifunc.
14227         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14228         Add strcmp-sse2-unaligned
14229         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14231 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14233         * Versions.def (libc): Add GLIBC_2.19.
14235 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14237         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14238         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14240 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14242         [BZ #14155]
14243         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14244         intermediate calculations in recurrence.
14245         (__ieee754_ynf): Likewise.
14246         * math/libm-test.inc (jn_test_data): Do not allow spurious
14247         underflow exception.  Add more tests.
14248         (yn_test_data): Add more tests.
14249         * sysdeps/i386/fpu/libm-test-ulps: Update.
14250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14252 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14254         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14256 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14258         * csu/init-first.c: Fix then/than typos.
14259         * locale/programs/ld-collate.c: Likewise.
14260         * locale/programs/linereader.h: Likewise.
14261         * manual/charset.texi: Likewise.
14262         * manual/filesys.texi: Likewise.
14263         * manual/stdio.texi: Likewise.
14264         * manual/string.texi: Likewise.
14265         * stdlib/fmtmsg.c: Likewise.
14266         * sysdeps/i386/stpncpy.S: Likewise.
14267         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14268         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14269         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14270         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14272 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14274         * elf/dl-open.c: Fix typos.
14275         * iconvdata/gbbig5.c: Likewise.
14276         * iconvdata/iso-2022-jp.c: Likewise.
14277         * iconv/gconv_int.h: Likewise.
14278         * iconv/loop.c: Likewise.
14279         * nis/rpcsvc/nis.h: Likewise.
14280         * resolv/ns_name.c: Likewise.
14281         * stdio-common/vfscanf.c: Likewise.
14282         * streams/stropts.h: Likewise.
14283         * sunrpc/rpc_thread.c: Likewise.
14284         * sysdeps/i386/strpbrk.S: Likewise.
14285         * sysdeps/ieee754/k_standard.c: Likewise.
14286         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14287         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14288         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14289         * sysdeps/mach/hurd/profil.c: Likewise.
14290         * sysdeps/s390/dl-procinfo.h: Likewise.
14291         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14292         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14293         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14294         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14295         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14297 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14299         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14300         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14302 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14304         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14305         aix specific files.
14306         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14307         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14308         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14309         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14310         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14311         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14312         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14313         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14315 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14316             Roland McGrath  <roland@hack.frob.com>
14318         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14319         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14321 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14323         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14324         __executable_start symbol instead of _start.
14326 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14328         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14329         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14330         Move macros to...
14331         * sysdeps/gnu/ldsodefs.h: ... this new file.
14333         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14334         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14335         instead of ELFOSABI_LINUX.
14337         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14338         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14339         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14340         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14341         Likewise.
14342         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14343         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14344         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14345         Likewise.
14346         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14347         (ibm_extended_long_double): Add ieee_nan member.
14348         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14349         (do_test): New function.
14351         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14352         TEST_TRUNC.
14353         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14354         functions, renamed from truncdfsf_test, trunctfsf_test,
14355         trunctfdf_test.
14356         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14357         functions.
14358         (do_test): Run all these.
14360 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14362         * argp/argp-help.c: Fix typos.
14363         * argp/argp-parse.c: Likewise.
14364         * debug/backtracesyms.c: Likewise.
14365         * elf/elf.h: Likewise.
14366         * malloc/malloc.c: Likewise.
14367         * nis/nis_print.c: Likewise.
14368         * resolv/res_comp.c: Likewise.
14369         * stdlib/stdlib.h: Likewise.
14370         * sunrpc/clnt_tcp.c: Likewise.
14371         * sunrpc/clnt_udp.c: Likewise.
14372         * sunrpc/clnt_unix.c: Likewise.
14373         * sysdeps/unix/bsd/ptsname.c: Likewise.
14374         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14375         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14377         Likewise.
14378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14379         Likewise.
14380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14381         Likewise.
14382         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14384 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14386         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14387         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14389 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14391         [BZ #15897]
14392         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14393         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14394         ($(objpfx)bug-dl-leaf): New rule.
14395         ($(objpfx)bug-dl-leaf.so): Likewise.
14396         ($(objpfx)bug-dl-leaf.out): Likewise.
14397         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14398         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14399         * dlfcn/bug-dl-leaf.c: New test.
14400         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14401         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14402         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14403         (dlclose): Likewise.
14404         (dlmopen): Likewise.
14406 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14408         * include/netdb.h [!_ISOMAC]:
14409         Don't include <tls.h>.
14410         (h_errno, __libc_h_errno): Move declaration and macros out of
14411         [_LIBC_REENTRANT].
14413         * include/resolv.h [_RESOLV_H_]:
14414         Don't include <tls.h>.
14415         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14416         * resolv/res_libc.c: Don't include <tls.h>.
14417         (_res): Use __attribute__ ((nocommon)) in place of
14418         __attribute__ ((section (".bss"))).
14420         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14421         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14423         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14425         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14426         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14428         * resolv/res_mkquery.c: Include <sys/time.h>.
14430         * inet/ifreq.c: Moved to ...
14431         * sysdeps/unix/ifreq.c: ... here.
14432         * inet/ifreq.c: New file, true stub version.
14434         * socket/sa_len.c: New file.
14435         * socket/Makefile (aux): Add it.
14436         * sysdeps/unix/sysv/linux/Makefile
14437         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14438         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14439         and #include <socket/sa_len.c>.
14440         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14441         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14443         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14444         * bits/socket.h: ... here.
14446         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14447         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14448         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14450 2013-08-27  Andreas Schwab  <schwab@suse.de>
14452         [BZ #15736]
14453         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14454         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14455         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14456         * string/test-strcasecmp.c (test_main): Run tests in several
14457         locales.
14458         * string/test-strncasecmp.c (test_main): Likewise.
14460         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14461         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14462         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14463         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14464         (__strncasecmp_ssse3) [PIC]: Likewise.
14466 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14468         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14470         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14471         instead of explicitly declaring xdecrypt.
14472         * nis/nss_nis/nis-publickey.c: Likewise.
14474 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14476         [BZ #15890]
14477         * nscd/aicache.c: Include res_hconf.h.
14478         (addhstaiX): Initialize res_hconf.
14480 2013-08-26  Andreas Schwab  <schwab@suse.de>
14482         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14483         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14485 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14487         * nscd/aicache.c (addhstaiX): Fix indentation.
14489 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14491         * configure.ac: Quote $build_pt_chown test.
14492         * configure: Regenerated.
14494 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14496         [BZ #15532]
14497         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14498         * math/s_cexpf.c (__cexpf): Likewise.
14499         * math/s_cexpl.c (__cexpl): Likewise.
14500         * math/libm-test.inc (cexp_test_data): Correct expected return
14501         value for NaN + i0.  Add another test.
14503 2013-08-22  David S. Miller  <davem@davemloft.net>
14505         * po/ca.po: Update Catalan translation from translation project.
14506         * po/uk.po: Add Ukrainian translations from translation project.
14508 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14510         [BZ #15797]
14511         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14512         is infinite, not alongside NaN test.
14513         * math/s_fdimf.c (__fdimf): Likewise.
14514         * math/s_fdiml.c (__fdiml): Likewise.
14515         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14516         errno is unchanged.
14518 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14520         * argp/argp-help.c: Fix typos.
14521         * crypt/speeds.c: Likewise.
14522         * csu/check_fds.c: Likewise.
14523         * elf/dl-load.c: Likewise.
14524         * elf/dl-open.c: Likewise.
14525         * elf/reldep3.c: Likewise.
14526         * elf/reldep.c: Likewise.
14527         * elf/sprof.c: Likewise.
14528         * iconv/iconv_charmap.c: Likewise.
14529         * iconv/skeleton.c: Likewise.
14530         * iconv/strtab.c: Likewise.
14531         * io/lockf64.c: Likewise.
14532         * libio/libioP.h: Likewise.
14533         * resolv/gai_notify.c: Likewise.
14534         * resolv/ns_name.c: Likewise.
14535         * resolv/ns_samedomain.c: Likewise.
14536         * resolv/res_send.c: Likewise.
14537         * stdlib/random.c: Likewise.
14538         * sunrpc/rpc/xdr.h: Likewise.
14539         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14540         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14541         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14542         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14543         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14544         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14545         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14546         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14547         * sysdeps/mach/hurd/check_fds.c: Likewise.
14548         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14549         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14551         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14552         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14553         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14554         * sysdeps/pthread/aio_notify.c: Likewise.
14555         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14556         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14558         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14559         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14561 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14563         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14564         version if bit_Slow_SSE4_2 is set.
14565         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14566         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14568 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14570         [BZ #15867]
14571         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14572         trampoline stack frame information.
14573         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14575         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14576         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14577         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14578         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14579         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14580         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14581         sa_flags value.
14582         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14583         interrupting a syscall and set with option SA_SIGINFO.
14585 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14587         [BZ #15531]
14588         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14589         argument is infinite.
14590         * math/s_cprojf.c (__cprojf): Likewise.
14591         * math/s_cprojl.c (__cprojl): Likewise.
14592         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14593         * math/libm-test.inc (cproj_test_data): Add more tests.
14595         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14597         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14598         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14599         size.  Use __ffs to determine corresponding shift.
14601 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14602             Roland McGrath  <roland@hack.frob.com>
14604         * Makefile (INSTALL): Remove trailing blank lines from output of
14605         makeinfo.
14607 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14609         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14610         Align 32 bit compat elf_greg to 8 bytes.
14612 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14614         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14616 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14618         * string/strcoll_l.c (coll_seq): New structure.
14619         (get_next_seq_cached): New function.
14620         (get_next_seq): New function.
14621         (do_compare): New function.
14622         (STRCOLL): Use GNU style definition.  Simplify implementation
14623         by using get_next_seq, get_next_seq_cached and do_compare.
14625 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14627         [BZ #14699]
14628         CVE-2013-4237
14629         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14630         member.
14631         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14632         member.
14633         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14634         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14635         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14636         conditional.
14637         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14638         GETDENTS_64BIT_ALIGNED.
14639         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14640         * manual/filesys.texi (Reading/Closing Directory): Document
14641         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14642         strongly.
14643         * manual/conf.texi (Limits for Files): Add portability note to
14644         NAME_MAX, PATH_MAX.
14645         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14647 2013-08-13  Andreas Schwab  <schwab@suse.de>
14649         [BZ #15749]
14650         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14651         of fabs.
14652         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14653         LDBL_MAX_EXP >= 16384]: Add tests for it.
14655 2013-08-12  David S. Miller  <davem@davemloft.net>
14657         * version.h (RELEASE): Set to "development".
14658         (VERSION): Set to "2.18.90".
14659         * NEWS: Add 2.19 section.
14661 2013-08-03  David S. Miller  <davem@davemloft.net>
14663         * po/ko.po: Update Korean translation from translation project.
14665 2013-08-01  David S. Miller  <davem@davemloft.net>
14667         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14668         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14669         Bilka.
14671 2013-07-30  David S. Miller  <davem@davemloft.net>
14673         * po/fr.po: Update French translation from translation project.
14675 2013-07-28  David S. Miller  <davem@davemloft.net>
14677         * po/cs.po: Update Czech translation from translation project.
14679         * po/sv.po: Update Swedish translation from translation project.
14681 2013-07-27  David S. Miller  <davem@davemloft.net>
14683         * po/eo.po: Update Esperanto translation from translation project.
14685         * po/vi.po: Update Vietnamese translation from translation project.
14687         * po/de.po: Update German translation from translation project.
14689 2013-07-26  David S. Miller  <davem@davemloft.net>
14691         * po/bg.po: Update Bulgarian translation from translation project.
14693         * po/nl.po: Update Dutch translation from translation project.
14694         * po/pl.po: Update Polish translation from translation project.
14695         * po/ru.po: Update Russian translation from translation project.
14697 2013-07-24  David S. Miller  <davem@davemloft.net>
14699         * po/libc.pot: Update.
14701 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14703         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14704         variable page size.
14705         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14706         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14707         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14709 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14711         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14713 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14714             Andreas Schwab  <schwab@suse.de>
14715             Roland McGrath  <roland@hack.frob.com>
14716             Joseph Myers  <joseph@codesourcery.com>
14717             Carlos O'Donell  <carlos@redhat.com>
14719         [BZ #15755]
14720         * config.h.in: Define HAVE_PT_CHOWN.
14721         * config.make.in (build-pt-chown): New variable.
14722         * configure.in (--enable-pt_chown): New configure option.
14723         * configure: Regenerate.
14724         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14725         build-pt-chown is enabled.
14726         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14727         pt_chown to fix pty ownership.
14728         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14729         CLOSE_ALL_FDS.
14730         * manual/install.texi (Configuring and compiling): Mention
14731         --enable-pt_chown. Add @findex for grantpt.
14732         * INSTALL: Regenerate.
14734 2013-07-20  David S. Miller  <davem@davemloft.net>
14736         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14737         difference between 32-bit and 64-bit.
14739 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14741         [BZ #15711]
14742         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14743         Avoid system header dependency with -ffreestanding.
14744         ($(objpfx)bits/syscall%d): Likewise.
14746 2013-07-13  David S. Miller  <davem@davemloft.net>
14748         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14749         underflows from atanl/atan2l due to bug 15319.
14750         (casinh_test_data): Likewise.
14752 2013-07-07  David S. Miller  <davem@davemloft.net>
14754         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14756 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14758         * sysdeps/i386/fpu/libm-test-ulps: Update.
14759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14761 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14763         * configure.in (--enable-lock-elision): Fix message text.
14764         * INSTALL: Regenerate.
14765         * configure: Regenerate.
14767 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14769         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14771 2013-07-03  Andreas Jaeger  <aj@suse.de>
14773         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14774         define.
14775         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14776         (ptrace_peeksiginfo_args): Add.
14777         (__ptrace_peeksiginfo_flags): Add.
14778         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14779         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14780         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14782 2013-07-03  Allan McRae  <allan@archlinux.org>
14784         * sysdeps/i386/fpu/libm-test-ulps: Update.
14786 2013-07-02  David S. Miller  <davem@davemloft.net>
14788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14790 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14792         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14794 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14796         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14797         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14799 2013-07-02  Andi Kleen <ak@linux.intel.com>
14801         * config.h.in (ENABLE_LOCK_ELISION): Add.
14802         * configure.in (--enable-lock-elision): Add option.
14803         * manual/install.texi: Document --enable lock elision.
14804         * configure: Regenerate
14805         * INSTALL: Regenerate.
14807 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14809         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14810         SSE4.2 strcasecmp for libc.a.
14811         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14813 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14815         [BZ #13304]
14816         * soft-fp/op-common.h (_FP_FMA): New macro.
14817         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14818         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14819         (_FP_MUL_MEAT_1_imm): ... here.
14820         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14821         (_FP_MUL_MEAT_1_wide): ... here.
14822         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14823         (_FP_MUL_MEAT_1_hard): ... here.
14824         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14825         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14826         (_FP_MUL_MEAT_2_wide): ... here.
14827         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14828         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14829         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14830         (_FP_MUL_MEAT_2_gmp): ... here.
14831         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14832         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14833         (_FP_MUL_MEAT_4_wide): ... here.
14834         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14835         (_FP_MUL_MEAT_4_gmp): ... here.
14836         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14837         (_FP_WFRACBITS_DW_S): Likewise.
14838         (_FP_WFRACXBITS_DW_S): Likewise.
14839         (_FP_HIGHBIT_DW_S): Likewise.
14840         (FP_FMA_S): Likewise.
14841         (_FP_FRAC_HIGH_DW_S): Likewise.
14842         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14843         (_FP_WFRACBITS_DW_D): Likewise.
14844         (_FP_WFRACXBITS_DW_D): Likewise.
14845         (_FP_HIGHBIT_DW_D): Likewise.
14846         (FP_FMA_D): Likewise.
14847         (_FP_FRAC_HIGH_DW_D): Likewise.
14848         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14849         (_FP_WFRACBITS_DW_E): Likewise.
14850         (_FP_WFRACXBITS_DW_E): Likewise.
14851         (_FP_HIGHBIT_DW_E): Likewise.
14852         (FP_FMA_E): Likewise.
14853         (_FP_FRAC_HIGH_DW_E): Likewise.
14854         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14855         (_FP_WFRACBITS_DW_Q): Likewise.
14856         (_FP_WFRACXBITS_DW_Q): Likewise.
14857         (_FP_HIGHBIT_DW_Q): Likewise.
14858         (FP_FMA_Q): Likewise.
14859         (_FP_FRAC_HIGH_DW_Q): Likewise.
14860         * soft-fp/fmasf4.c: New file.
14861         * soft-fp/fmadf4.c: Likewise.
14862         * soft-fp/fmatf4.c: Likewise.
14864 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14867         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14868         Silvermont.
14869         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14870         macro.
14871         (index_Slow_SSE4_2): Likewise.
14872         (index_Prefer_PMINUB_for_stringop): Likewise.
14873         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14874         bit_Slow_SSE4_2 is set.
14875         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14876         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14878 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14880         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14881         rtld_global._dl_hwcap2.
14882         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14883         POWER8.
14884         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14885         POWER8 feature descriptions defined in _dl_hwcap2.
14886         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14887         string handling for POWER8 feature bits.
14888         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14889         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14890         _dl_powerpc_cap_flags.
14891         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14892         * sysdeps/powerpc/rtld-global-offsets.sym
14893         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14894         _dl_hwcap2 in the rtld_global_ro structure.
14896 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14898         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14899         hardware capabilities in support of AT_HWCAP2.
14900         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14901         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14902         GLRO(dl_hwcap2).
14903         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14904         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14905         explicitly the unknown a_type display mechanism is used.
14906         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14907         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14908         struct member.
14909         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14910         to macro prototype for AT_HWCAP2 support.
14911         * sysdeps/i386/dl-procinfo.h: Likewise.
14912         * sysdeps/s390/dl-procinfo.h: Likewise.
14913         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14914         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14915         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14916         return -1 for unknown a_type display fallback.
14917         * sysdeps/sparc/dl-procinfo.h: Likewise.
14918         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14919         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14921 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14923         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
14924         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
14926 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
14928         [BZ #12492]
14929         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
14930         mprotect making __stack_prot writable.
14932 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
14933             Joseph Myers  <joseph@codesourcery.com>
14935         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
14936         as being properly aligned.
14938 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
14940         * dlfcn/modstatic5.c: New file.
14941         * dlfcn/tststatic5.c: New file.
14942         * dlfcn/Makefile (tests): Add tststatic5.
14943         (tests-static): Likewise.
14944         (modules-names): Add modstatic5.
14945         (tststatic5-ENV): New variable.
14946         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
14948         [BZ #15022]
14949         * elf/dl-support.c (_dl_main_map): New variable.
14950         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
14951         (_dl_nns, _dl_load_adds): Set to 1.
14952         (_dl_initial_searchlist): Refer to _dl_main_map.
14953         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
14954         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
14955         call to _dl_get_origin.
14956         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
14957         around call_map.
14958         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
14959         * dlfcn/modstatic3.c: New file.
14960         * dlfcn/tststatic3.c: New file.
14961         * dlfcn/tststatic4.c: New file.
14962         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
14963         (tests-static): Likewise.
14964         (modules-names): Add modstatic3.
14965         (tststatic3-ENV, tststatic4-ENV): New variables.
14966         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
14967         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
14969 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
14971         * configure.in (CC): Require GCC version 4.4 or later.
14972         * configure: Regenerated.
14973         * manual/install.texi (Tools for Compilation): Update GCC version
14974         requirement.
14975         * INSTALL: Regenerated.
14977 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14979         [BZ #15674]
14980         * string/test-memcmp.c (check2): New.
14981         (main): Call check2.
14983         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
14985 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
14987         [BZ #15022]
14988         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
14989         over to...
14990         (dl_open_worker) [!SHARED]: ... here.
14992 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14994         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
14996 2013-06-25  Richard Henderson  <rth@redhat.com>
14998         * locale/programs/locarchive.c: Include <libc-internal.h>
15000 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15002         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15003         trailing whitespace removed.
15005 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15007         [BZ #10283]
15008         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15009         * locale/programs/locarchive.c: Include libc-mmap.h.
15010         (prepare_address_space): Take two new outputs (the mmap base and len).
15011         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15012         values.
15013         (create_archive): Declare new mmap base and len values for
15014         prepare_address_space, and store the result in ah.
15015         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15016         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15017         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15018         Declare new mmap base and len values for
15019         prepare_address_space, and store the result in new_ah.
15020         (open_archive): Declare new mmap base and len values for
15021         prepare_address_space, and store the result in ah.
15022         (close_archive): If ah->mmap_base is not NULL, use that and
15023         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15024         * sysdeps/generic/libc-mmap.h: New file.
15026 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15028         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15029         (ALIGN_UP): Likewise.
15030         (PTR_ALIGN_DOWN): Likewise.
15031         (PTR_ALIGN_UP): Likewise.
15033 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15035         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15036         entry mapped to PPC_PLATFORM_POWER8.
15037         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15038         POWER8.
15039         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15040         (_dl_string_platform): Add case for exporting platform position for
15041         POWER8.
15042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15043         search path to sysdeps/powerpc/powerpc32/power8 directory.
15044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15045         search path to sysdeps/powerpc/powerpc64/power8 directory.
15046         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15047         power7 directories.
15048         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15049         power7 directories.
15051 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15053         * INSTALL: Regenerate.
15055         * nscd/connections.c (nscd_init): Fix comment.
15057 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15059         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15061         [BZ #15667]
15062         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15063         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15065 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15067         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15068         DL_DST_REQ_STATIC.
15069         (DL_DST_REQ_STATIC): Remove macro.
15071 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15073         [BZ #7006]
15074         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15075         with a shift of 0 bits.
15077 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15079         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15080         $(tststatic-ENV).
15082 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15084         [BZ #15655]
15085         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15087 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15089         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15090         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15091         accepts -fno-tree-loop-distribute-patterns.
15092         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15093         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15094         recursive call.
15095         * string/memset.c (memset): Likewise.
15096         * string/test-memmove.c (simple_memmove): Disable loop transformation
15097         to library calls.
15098         * string/test-memset.c (simple_memset): Likewise.
15099         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15100         * benchtests/bench-memset.c (simple_memset): Likewise.
15101         * configure: Regenerated.
15103 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15105         * math/test-misc.c (main): Ignore fesetround failure when failures
15106         of subsequent rounding tests would be ignored.
15108         [BZ #15654]
15109         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15110         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15111         * math/fegetenv.c (__fegetenv): Return 0.
15112         * math/fegetexcept.c (fegetexcept): Return 0.
15113         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15114         FE_TONEAREST.
15115         * math/feholdexcpt.c (feholdexcept): Return 0.
15116         * math/fesetenv.c (__fesetenv): Return 0.
15117         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15118         argument FE_TONEAREST.
15119         * math/feupdateenv.c (__feupdateenv): Return 0.
15120         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15122 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15124         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15125         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15126         ($(objpfx)rtld-%.os rules): Use them.
15128 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15130         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15131         fields.
15133 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15135         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15136         length of target pattern, then descending length of dependency pattern.
15137         * configure.in (AWK): Require gawk 3.1.2 or newer.
15138         * manual/install.texi (Tools for Compilation): Say that we do.
15139         * configure: Regenerated.
15141         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15142         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15143         * scripts/sysd-rules.awk: ... this new script.
15144         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15145         than a glob-style pattern.
15147 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15149         * math/test-misc.c (main): Do not treat incorrectly rounded
15150         conversions as failure unless ROUNDING_TESTS passes.
15152 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15154         [BZ #15631]
15155         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15156         restore exception state around main square root computation, then
15157         check for inexactness explicitly.
15159         * math/libm-test.inc (fma_test_data): Add another test.
15161 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15163         * manual/threads.texi (Non-POSIX Extensions): New document
15164         node.  Document pthread_getattr_default_np and
15165         pthread_setattr_default_np.
15167         * Versions.def (libpthread): Add GLIBC_2.18.
15168         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15170         Likewise.
15171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15172         Likewise.
15173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15174         Likewise.
15175         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15176         Likewise.
15177         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15178         Likewise.
15179         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15180         Likewise.
15181         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15182         Likewise.
15183         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15184         Likewise.
15185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15186         Likewise.
15188 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15191         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15193 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15194             H.J. Lu  <hjl.tools@gmail.com>
15196         [BZ #15627]
15197         * sysdeps/x86_64/rtld-memset.c: Remove file.
15198         * sysdeps/x86_64/rtld-memset.S: New file.
15200 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15202         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15203         (test_in_one_mode): Take arguments for whether the rounding mode
15204         is supported for each floating-point type.
15205         (do_test): Pass new arguments to test_in_one_mode using
15206         ROUNDING_TESTS.
15208 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15210         * posix/tst-waitid.c (do_test): Distinguish different instances of
15211         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15212         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15213         before entering the kernel for waitpid.
15215 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15217         * NEWS: Fix note on clock function precision.  Text by Roland
15218         McGrath.
15220 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15222         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15223         it into place only when and if the sanity check passes.
15225 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15227         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15228         output for whether conversion result is exact.  Take argument
15229         indicating whether type is IBM long double.
15230         (round_for_all): Change need_exact field to ibm_ld.
15231         * stdlib/tst-strtod-round.c (struct exactness): New type.
15232         (struct test): Change bool ld_ok field to struct exactness exact.
15233         (TEST): Update all definitions for change to field.
15234         (tests): Regenerate array contents.
15235         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15236         field value.  Check for IBM long double here.
15237         (do_test): Update calls to test_in_one_mode.
15239 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15241         [BZ #12515]
15242         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15243         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15245 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15247         [BZ #15605]
15248         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15249         generated by the compiler on loop optimizations.
15250         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15251         general definitions.
15253 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15255         * math/bug-nextafter.c: Include <math-tests.h>.
15256         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15257         the relevant type.
15258         * math/bug-nexttoward.c: Include <math-tests.h>.
15259         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15260         the relevant type.
15261         * math/test-misc.c: Include <math-tests.h>.
15262         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15263         the relevant type.
15265 2013-06-12  Andreas Jaeger  <aj@suse.de>
15267         * po/ia.po: Update Interlingua translation from translation
15268         project.
15270 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15272         * include/fenv.h: Include stdbool.h.
15273         (struct rm_ctx): New structure.
15274         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15275         Define macro.
15276         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15277         (SET_RESTORE_ROUNDF): Likewise.
15278         (SET_RESTORE_ROUNDL): Likewise.
15279         (SET_RESTORE_ROUND_NOEX): Likewise.
15280         (SET_RESTORE_ROUND_NOEXF): Likewise.
15281         (SET_RESTORE_ROUND_NOEXL): Likewise.
15282         (SET_RESTORE_ROUND_53BIT): Likewise.
15283         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15284         (libc_feresetround_noexf_ctx): Likewise.
15285         (libc_feresetround_noexl_ctx): Likewise.
15286         (libc_feholdsetround_53bit_ctx): Likewise.
15287         (libc_feresetround_53bit_ctx): Likewise.
15288         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15289         (libc_feholdexcept_setround_sse_ctx): New function.
15290         (libc_fesetenv_sse_ctx): Likewise.
15291         (libc_feupdateenv_sse_ctx): Likewise.
15292         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15293         (libc_feholdexcept_setround_387_ctx): Likewise.
15294         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15295         (libc_feholdsetround_387_prec_ctx): Likewise.
15296         (libc_feholdsetround_387_ctx): Likewise.
15297         (libc_feholdsetround_387_53bit_ctx): Likewise.
15298         (libc_feholdsetround_sse_ctx): Likewise.
15299         (libc_feresetround_sse_ctx): Likewise.
15300         (libc_feresetround_387_ctx): Likewise.
15301         (libc_feupdateenv_387_ctx): Likewise.
15302         (libc_feholdexcept_setroundf_ctx): Define macro.
15303         (libc_fesetenvf_ctx): Likewise.
15304         (libc_feupdateenvf_ctx): Likewise.
15305         (libc_feholdsetroundf_ctx): Likewise.
15306         (libc_feresetroundf_ctx): Likewise.
15307         (libc_feholdexcept_setround_ctx): Likewise.
15308         (libc_fesetenv_ctx): Likewise.
15309         (libc_feupdateenv_ctx): Likewise.
15310         (libc_feholdsetround_ctx): Likewise.
15311         (libc_feresetround_ctx): Likewise.
15312         (libc_feholdexcept_setroundl_ctx): Likewise.
15313         (libc_feupdateenvl_ctx): Likewise.
15314         (libc_feholdsetroundl_ctx): Likewise.
15315         (libc_feresetroundl_ctx): Likewise.
15316         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15317         (libc_feresetround_53bit_ctx): Likewise.
15319 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15321         * locale/iso-639.def: Convert to UTF-8.
15323 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15325         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15326         (EXCEPTION_TESTS_double): Likewise.
15327         (EXCEPTION_TESTS_long_double): Likewise.
15328         (EXCEPTION_TESTS): Likewise.
15329         * math/libm-test.inc (test_exceptions): Only test exceptions if
15330         EXCEPTION_TESTS (FLOAT).
15332 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15334         * benchtests/Makefile (string-bench): Add strcpy_chk and
15335         stpcpy_chk.
15336         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15337         * benchtests/bench-stpcpy_chk.c: New file.
15338         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15339         * benchtests/bench-strcpy_chk.c: New file.
15340         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15341         code.
15342         (do_test): Likewise.
15344 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15346         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15347         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15348         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15349         with tabs where appropriate.
15350         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15351         dl-procinfo.h.
15352         [PPC_PLATFORM_PPC440]: Likewise.
15353         [PPC_PLATFORM_PPC464]: Likewise.
15354         [PPC_PLATFORM_PPC476]: Likewise.
15355         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15356         ppc464, and ppc476 platform strings merging from ports/
15357         dl-procinfo.h.
15359 2013-06-11  Andreas Schwab  <schwab@suse.de>
15361         [BZ #14991]
15362         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15363         (from_ucs4_idx): Regenerate.
15364         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15365         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15366         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15367         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15368         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15369         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15370         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15371         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15372         from FROM_LOOP and TO_LOOP specific macros.
15373         (BODY): Handle combining characters.
15374         * iconvdata/BIG5HKSCS.irreversible: Update.
15375         * iconvdata/BIG5HKSCS.precomposed: New file.
15376         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15377         characters.
15378         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15380 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15382         * include/sys/time.h: Fix indentation and add copyright header.
15384         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15385         (do_test): Likewise.
15386         * string/test-memchr.c (do_one_test): Likewise.
15387         (do_test): Likewise.
15388         * string/test-memcmp.c (do_one_test): Likewise.
15389         (do_test): Likewise.
15390         * string/test-memcpy.c (do_one_test): Likewise.
15391         (do_test): Likewise.
15392         * string/test-memmem.c (do_one_test): Likewise.
15393         (do_test): Likewise.
15394         (do_random_tests): Likewise.
15395         * string/test-memmove.c (do_one_test): Likewise.
15396         (do_test): Likewise.
15397         * string/test-memset.c (do_one_test): Likewise.
15398         (do_test): Likewise.
15399         * string/test-rawmemchr.c (do_one_test): Likewise.
15400         (do_test): Likewise.
15401         * string/test-strcasecmp.c (do_one_test): Likewise.
15402         (do_test): Likewise.
15403         * string/test-strcasestr.c (do_one_test): Likewise.
15404         (do_test): Likewise.
15405         * string/test-strcat.c (do_one_test): Likewise.
15406         (do_test): Likewise.
15407         * string/test-strchr.c (do_one_test): Likewise.
15408         (do_test): Likewise.
15409         * string/test-strcmp.c (do_one_test): Likewise.
15410         (do_test): Likewise.
15411         * string/test-strcpy.c (do_one_test): Likewise.
15412         (do_test): Likewise.
15413         * string/test-string.h: Likewise.
15414         (test_init): Likewise.
15415         * string/test-strlen.c (do_one_test): Likewise.
15416         (do_test): Likewise.
15417         * string/test-strncasecmp.c (do_one_test): Likewise.
15418         (do_test): Likewise.
15419         * string/test-strncat.c (do_one_test): Likewise.
15420         (do_test): Likewise.
15421         * string/test-strncmp.c (do_one_test): Likewise.
15422         (do_test_limit): Likewise.
15423         (do_test): Likewise.
15424         * string/test-strncpy.c (do_one_test): Likewise.
15425         (do_test): Likewise.
15426         * string/test-strnlen.c (do_one_test): Likewise.
15427         (do_test): Likewise.
15428         * string/test-strpbrk.c (do_one_test): Likewise.
15429         (do_test): Likewise.
15430         * string/test-strrchr.c (do_one_test): Likewise.
15431         (do_test): Likewise.
15432         * string/test-strspn.c (do_one_test): Likewise.
15433         (do_test): Likewise.
15434         * string/test-strstr.c (do_one_test): Likewise.
15435         (do_test): Likewise.
15437         * benchtests/Makefile (string-bench): Add string benchmarks.
15438         * benchtests/bench-bcopy-ifunc.c: New file.
15439         * benchtests/bench-bcopy.c: New file.
15440         * benchtests/bench-bzero-ifunc.c: New file.
15441         * benchtests/bench-bzero.c: New file.
15442         * benchtests/bench-memccpy-ifunc.c: New file.
15443         * benchtests/bench-memccpy.c: New file.
15444         * benchtests/bench-memchr-ifunc.c: New file.
15445         * benchtests/bench-memchr.c: New file.
15446         * benchtests/bench-memcmp-ifunc.c: New file.
15447         * benchtests/bench-memcmp.c: New file.
15448         * benchtests/bench-memmem-ifunc.c: New file.
15449         * benchtests/bench-memmem.c: New file.
15450         * benchtests/bench-memmove-ifunc.c: New file.
15451         * benchtests/bench-memmove.c: New file.
15452         * benchtests/bench-mempcpy-ifunc.c: New file.
15453         * benchtests/bench-mempcpy.c: New file.
15454         * benchtests/bench-memset-ifunc.c: New file.
15455         * benchtests/bench-memset.c: New file.
15456         * benchtests/bench-rawmemchr-ifunc.c: New file.
15457         * benchtests/bench-rawmemchr.c: New file.
15458         * benchtests/bench-stpcpy-ifunc.c: New file.
15459         * benchtests/bench-stpcpy.c: New file.
15460         * benchtests/bench-stpncpy-ifunc.c: New file.
15461         * benchtests/bench-stpncpy.c: New file.
15462         * benchtests/bench-strcasecmp-ifunc.c: New file.
15463         * benchtests/bench-strcasecmp.c: New file.
15464         * benchtests/bench-strcasestr-ifunc.c: New file.
15465         * benchtests/bench-strcasestr.c: New file.
15466         * benchtests/bench-strcat-ifunc.c: New file.
15467         * benchtests/bench-strcat.c: New file.
15468         * benchtests/bench-strchr-ifunc.c: New file.
15469         * benchtests/bench-strchr.c: New file.
15470         * benchtests/bench-strchrnul-ifunc.c: New file.
15471         * benchtests/bench-strchrnul.c: New file.
15472         * benchtests/bench-strcmp-ifunc.c: New file.
15473         * benchtests/bench-strcmp.c: New file.
15474         * benchtests/bench-strcpy-ifunc.c: New file.
15475         * benchtests/bench-strcpy.c: New file.
15476         * benchtests/bench-strcspn-ifunc.c: New file.
15477         * benchtests/bench-strcspn.c: New file.
15478         * benchtests/bench-strlen-ifunc.c: New file.
15479         * benchtests/bench-strlen.c: New file.
15480         * benchtests/bench-strncasecmp-ifunc.c: New file.
15481         * benchtests/bench-strncasecmp.c: New file.
15482         * benchtests/bench-strncat-ifunc.c: New file.
15483         * benchtests/bench-strncat.c: New file.
15484         * benchtests/bench-strncmp-ifunc.c: New file.
15485         * benchtests/bench-strncmp.c: New file.
15486         * benchtests/bench-strncpy-ifunc.c: New file.
15487         * benchtests/bench-strncpy.c: New file.
15488         * benchtests/bench-strnlen-ifunc.c: New file.
15489         * benchtests/bench-strnlen.c: New file.
15490         * benchtests/bench-strpbrk-ifunc.c: New file.
15491         * benchtests/bench-strpbrk.c: New file.
15492         * benchtests/bench-strrchr-ifunc.c: New file.
15493         * benchtests/bench-strrchr.c: New file.
15494         * benchtests/bench-strspn-ifunc.c: New file.
15495         * benchtests/bench-strspn.c: New file.
15496         * benchtests/bench-strstr-ifunc.c: New file.
15497         * benchtests/bench-strstr.c: New file.
15499         * benchtests/Makefile: Disable parallel execution of targets.
15500         (string-bench): Add memcpy.
15501         (benchset): New variable to store a list of benchmark sets.
15502         (bench-func): Renamed from bench.
15503         (bench-set): New target.
15504         (bench): Depend on bench-func and bench-set.
15505         * benchtests/README: Add section on benchmark sets.
15506         * benchtests/bench-memcpy-ifunc.c: New file.
15507         * benchtests/bench-memcpy.c: New file.
15508         * benchtests/bench-string.h: New file.
15510 2013-06-11  Andreas Schwab  <schwab@suse.de>
15512         [BZ #15577]
15513         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15514         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15515         values in the triple.
15516         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15517         terminator in the group key.
15519 2013-06-11  Andreas Jaeger  <aj@suse.de>
15521         * po/zh_TW.po: Update Chinese (traditional) translation from
15522         translation project.
15524 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15526         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15527         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15528         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15529         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15530         (clock_getcpuclockid): Likewise.
15531         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15532         Add weak_alias and libc_hidden_def.
15533         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15534         * rt/clock_gettime.c (clock_gettime): Rename to
15535         __clock_gettime.  Add weak_alias and libc_hidden_def.
15536         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15537         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15538         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15539         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15540         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15541         Likewise.
15542         * rt/clock_settime.c (clock_settime): Rename to
15543         __clock_settime.  Add weak_alias and libc_hidden_def.
15544         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15546 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15548         * mach/err_boot.sub: Remove trailing whitespace.
15549         * mach/err_ipc.sub: Likewise.
15550         * mach/err_mach.sub: Likewise.
15552         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15553         (ROUNDING_TESTS_double): Likewise.
15554         (ROUNDING_TESTS_long_double): Likewise.
15555         (ROUNDING_TESTS): Likewise.
15556         * math/libm-test.inc: Include <math-tests.h>.
15557         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15558         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15559         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15560         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15562 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15564         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15565         of assigning.
15567 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15569         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15570         otherwise empty TRANS lines.
15571         * sysdeps/gnu/errlist.c: Regenerated.
15573         * catgets/gencat.c (error_print): Use (void) in function
15574         definition.
15575         * crypt/crypt_util.c (__init_des): Likewise.
15576         * crypt/speeds.c (Stop): Likewise.
15577         (main): Likewise.
15578         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15579         * inet/ruserpass.c (token): Likewise.
15580         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15581         * intl/localealias.c (extend_alias_table): Likewise.
15582         * intl/plural-exp.c (init_germanic_plural): Likewise.
15583         * libio/fcloseall.c (__fcloseall): Likewise.
15584         * libio/genops.c (_IO_flush_all): Likewise.
15585         (_IO_flush_all_linebuffered): Likewise.
15586         (_IO_cleanup): Likewise.
15587         (_IO_iter_begin): Likewise.
15588         (_IO_iter_end): Likewise.
15589         (_IO_list_lock): Likewise.
15590         (_IO_list_unlock): Likewise.
15591         (_IO_list_resetlock): Likewise.
15592         * libio/getchar.c (getchar): Likewise.
15593         * libio/getchar_u.c (getchar_unlocked): Likewise.
15594         * libio/getwchar.c (getwchar): Likewise.
15595         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15596         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15597         * login/getpt.c (__getpt): Likewise.
15598         * login/tst-utmp.c (main): Likewise.
15599         * malloc/hooks.c (__malloc_check_init): Likewise.
15600         * malloc/malloc.c (__malloc_stats): Likewise.
15601         * malloc/mtrace.c (tr_break): Likewise.
15602         (mtrace): Likewise.
15603         (muntrace): Likewise.
15604         * misc/fstab.c (endfsent): Likewise.
15605         * misc/getclktck.c (__getclktck): Likewise.
15606         * misc/getdtsz.c (__getdtablesize): Likewise.
15607         * misc/gethostid.c (gethostid): Likewise.
15608         * misc/getpagesize.c (__getpagesize): Likewise.
15609         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15610         (__get_nprocs): Likewise.
15611         (__get_phys_pages): Likewise.
15612         (__get_avphys_pages): Likewise.
15613         * misc/getttyent.c (getttyent): Likewise.
15614         (setttyent): Likewise.
15615         (endttyent): Likewise.
15616         * misc/getusershell.c (getusershell): Likewise.
15617         (endusershell): Likewise.
15618         (setusershell): Likewise.
15619         (initshells): Likewise.
15620         * misc/hsearch.c (__hdestroy): Likewise.
15621         * misc/sync.c (sync): Likewise.
15622         * misc/syslog.c (closelog_internal): Likewise.
15623         (closelog): Likewise.
15624         * misc/ttyslot.c (ttyslot): Likewise.
15625         * misc/vhangup.c (vhangup): Likewise.
15626         * posix/fork.c (__fork): Likewise.
15627         * posix/getegid.c (__getegid): Likewise.
15628         * posix/geteuid.c (__geteuid): Likewise.
15629         * posix/getgid.c (__getgid): Likewise.
15630         * posix/getpid.c (__getpid): Likewise.
15631         * posix/getppid.c (__getppid): Likewise.
15632         * posix/getuid.c (__getuid): Likewise.
15633         * posix/pause.c (pause): Likewise.
15634         * posix/setpgrp.c (setpgrp): Likewise.
15635         * posix/setsid.c (__setsid): Likewise.
15636         * posix/test-vfork.c (noop): Likewise.
15637         * resolv/gethnamaddr.c (_endhtent): Likewise.
15638         (_gethtent): Likewise.
15639         (ht_endhostent): Likewise.
15640         (gethostent): Likewise.
15641         (dns_service): Likewise.
15642         * stdlib/drand48.c (drand48): Likewise.
15643         * stdlib/lrand48.c (lrand48): Likewise.
15644         * stdlib/mrand48.c (mrand48): Likewise.
15645         * stdlib/rand.c (rand): Likewise.
15646         * stdlib/random.c (__random): Likewise.
15647         * stdlib/setenv.c (clearenv): Likewise.
15648         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15649         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15650         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15651         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15652         (__get_nprocs): Likewise.
15653         (__get_phys_pages): Likewise.
15654         (__get_avphys_pages): Likewise.
15655         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15656         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15657         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15658         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15659         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15660         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15661         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15662         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15663         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15664         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15665         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15666         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15667         * sysdeps/posix/clock.c (clock): Likewise.
15668         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15669         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15670         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15671         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15672         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15673         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15674         (__get_nprocs_conf): Likewise.
15675         (__get_phys_pages): Likewise.
15676         (__get_avphys_pages): Likewise.
15677         * time/clock.c (clock): Likewise.
15678         * time/tzset.c (__tzname_max): Likewise.
15680 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15682         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15683         (__bswap_32): Do not use "register".
15684         * crypt/crypt.c (_ufc_doit_r): Likewise.
15685         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15686         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15687         * gmon/gmon.c (__monstartup): Likewise.
15688         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15689         * hurd/hurdmalloc.c (more_memory): Likewise.
15690         (malloc): Likewise.
15691         (free): Likewise.
15692         (realloc): Likewise.
15693         (malloc_fork_prepare): Likewise.
15694         (malloc_fork_parent): Likewise.
15695         (malloc_fork_child): Likewise.
15696         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15697         (_svcauth_des): Likewise.
15698         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15699         * inet/inet_net.c (inet_network): Likewise.
15700         * inet/inet_netof.c (inet_netof): Likewise.
15701         * inet/rcmd.c (__validuser2_sa): Likewise.
15702         * io/fts.c (fts_open): Likewise.
15703         (fts_load): Likewise.
15704         (fts_close): Likewise.
15705         (fts_read): Likewise.
15706         (fts_children): Likewise.
15707         (fts_build): Likewise.
15708         (fts_stat): Likewise.
15709         (fts_sort): Likewise.
15710         (fts_alloc): Likewise.
15711         (fts_lfree): Likewise.
15712         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15713         (_IO_file_xsgetn): Likewise.
15714         (_IO_file_xsgetn_mmap): Likewise.
15715         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15716         (_IO_cookie_write): Likewise.
15717         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15718         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15719         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15720         * malloc/obstack.c (_obstack_begin): Likewise.
15721         (_obstack_begin_1): Likewise.
15722         (_obstack_newchunk): Likewise.
15723         (_obstack_allocated_p): Likewise.
15724         (obstack_free): Likewise.
15725         (_obstack_memory_used): Likewise.
15726         * misc/getttyent.c (getttynam): Likewise.
15727         (getttyent): Likewise.
15728         (skip): Likewise.
15729         (value): Likewise.
15730         * misc/getusershell.c (initshells): Likewise.
15731         * misc/syslog.c (__vsyslog_chk): Likewise.
15732         * misc/ttyslot.c (ttyslot): Likewise.
15733         * nis/nis_hash.c (__nis_hash): Likewise.
15734         * posix/fnmatch_loop.c (FCT): Likewise.
15735         * posix/getconf.c (print_all): Likewise.
15736         (main): Likewise.
15737         * posix/getopt.c (exchange): Likewise.
15738         * posix/glob.c (globfree): Likewise.
15739         (prefix_array): Likewise.
15740         (__glob_pattern_type): Likewise.
15741         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15742         (NS_GET32): Likewise.
15743         (NS_PUT16): Likewise.
15744         (NS_PUT32): Likewise.
15745         * resolv/gethnamaddr.c (getanswer): Likewise.
15746         (gethostbyname2): Likewise.
15747         (gethostbyaddr): Likewise.
15748         (_gethtent): Likewise.
15749         (_gethtbyname2): Likewise.
15750         (_gethtbyaddr): Likewise.
15751         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15752         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15753         * resolv/res_init.c (__res_vinit): Likewise.
15754         (net_mask): Likewise.
15755         * resolv/res_mkquery.c (outchar): Likewise.
15756         (PRINT): Likewise.
15757         * stdio-common/printf_fp.c (outchar): Likewise.
15758         (PRINT): Likewise.
15759         * stdio-common/printf_fphex.c (outchar): Likewise.
15760         (PRINT): Likewise.
15761         * stdio-common/printf_size.c (outchar): Likewise.
15762         (PRINT): Likewise.
15763         * stdio-common/test_rdwr.c (main): Likewise.
15764         * stdio-common/tfformat.c (matches): Likewise.
15765         * stdio-common/vfprintf.c (outchar): Likewise.
15766         (printf_unknown): Likewise.
15767         (buffered_vfprintf): Likewise.
15768         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15769         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15770         (ReadFile): Likewise.
15771         * stdlib/qsort.c (SWAP): Likewise.
15772         (_quicksort): Likewise.
15773         * stdlib/setenv.c (__add_to_environ): Likewise.
15774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15775         * stdlib/strtol_l.c (__strtol_l): Likewise.
15776         * stdlib/tst-strtod.c (main): Likewise.
15777         * stdlib/tst-strtol.c (main): Likewise.
15778         * stdlib/tst-strtoll.c (main): Likewise.
15779         * string/bits/string2.h (__strcmp_cc): Likewise.
15780         (__strcmp_cg): Likewise.
15781         (__strcspn_c1): Likewise.
15782         (__strcspn_c2): Likewise.
15783         (__strcspn_c3): Likewise.
15784         (__strspn_c1): Likewise.
15785         (__strspn_c2): Likewise.
15786         (__strspn_c3): Likewise.
15787         (__strsep_1c): Likewise.
15788         (__strsep_2c): Likewise.
15789         (__strsep_3c): Likewise.
15790         * string/memccpy.c (__memccpy): Likewise.
15791         * string/stpcpy.c (__stpcpy): Likewise.
15792         * string/strcmp.c (strcmp): Likewise.
15793         * string/strrchr.c (strrchr): Likewise.
15794         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15795         Likewise.
15796         * sysdeps/mach/hurd/getcwd.c
15797         (_hurd_canonicalize_directory_name_internal): Likewise.
15798         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15799         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15800         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15801         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15802         Likewise, in both definitions.
15803         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15804         definitions.
15805         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15806         64] (__bswap_64): Likewise.
15807         * time/test_time.c (main): Likewise.
15808         * time/tzfile.c (__tzfile_read): Likewise.
15809         (__tzfile_compute): Likewise.
15810         * time/tzset.c (__tzset_parse_tz): Likewise.
15811         (tzset_internal): Likewise.
15812         (compute_change): Likewise.
15813         * wcsmbs/wcscat.c (__wcscat): Likewise.
15814         * wcsmbs/wcschr.c (wcschr): Likewise.
15815         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15816         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15817         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15818         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15819         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15820         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15821         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15822         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15823         * wcsmbs/wmemset.c (wmemset): Likewise.
15825 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15827         * scripts/config.guess: Update to version 2013-05-16.
15828         * scripts/config.sub: Update to version 2013-04-24.
15829         * scripts/install-sh: Update to version 2011-11-20.07.
15830         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15831         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15833 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15835         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15836         * elf/sln.c: Likewise.
15837         * hurd/hurd/ioctl.h: Likewise.
15838         * hurd/hurdmalloc.c: Likewise.
15839         * hurd/xattr.c: Likewise.
15840         * include/shlib-compat.h: Likewise.
15841         * inet/ruserpass.c: Likewise.
15842         * libio/iofgets_u.c: Likewise.
15843         * libio/iofgetws_u.c: Likewise.
15844         * locale/programs/ld-identification.c: Likewise.
15845         * locale/programs/ld-time.c: Likewise.
15846         * mach/msg-destroy.c: Likewise.
15847         * nss/nss_files/files-netgrp.c: Likewise.
15848         * resolv/res_data.c: Likewise.
15849         * soft-fp/op-1.h: Likewise.
15850         * soft-fp/op-2.h: Likewise.
15851         * soft-fp/op-4.h: Likewise.
15852         * soft-fp/op-common.h: Likewise.
15853         * stdio-common/printf_fphex.c: Likewise.
15854         * stdlib/strtod_l.c: Likewise.
15855         * sunrpc/rpc/clnt.h: Likewise.
15856         * sysdeps/generic/framestate.c: Likewise.
15857         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15858         * sysdeps/i386/bsd-setjmp.S: Likewise.
15859         * sysdeps/i386/__longjmp.S: Likewise.
15860         * sysdeps/i386/setjmp.S: Likewise.
15861         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15862         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15863         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15864         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15865         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15866         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15867         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15868         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15869         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15870         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15871         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15872         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15873         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15874         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15875         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15876         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15877         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15878         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15879         * sysdeps/ieee754/support.c: Likewise.
15880         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15881         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15882         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15883         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15884         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15885         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15886         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15887         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15888         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15889         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15890         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15891         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15892         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15893         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15894         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15895         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15896         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15899 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15901         * posix/transbug.c: Remove executable mode.
15903 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15905         * crypt/speeds.c: Remove trailing whitespace.
15906         * dlfcn/default.c: Likewise.
15907         * elf/ifuncdep2.c: Likewise.
15908         * elf/ifuncmain1.c: Likewise.
15909         * elf/ifuncmain1vis.c: Likewise.
15910         * elf/testobj.h: Likewise.
15911         * elf/tst-stackguard1.c: Likewise.
15912         * gmon/sys/gmon.h: Likewise.
15913         * hurd/hurdmsg.c: Likewise.
15914         * hurd/new-fd.c: Likewise.
15915         * hurd/ports-get.c: Likewise.
15916         * iconvdata/ibm1008_420.c: Likewise.
15917         * inet/tst-getni1.c: Likewise.
15918         * inet/tst-getni2.c: Likewise.
15919         * libio/ioungetc.c: Likewise.
15920         * libio/wfiledoalloc.c: Likewise.
15921         * manual/libm-err-tab.pl: Likewise.
15922         * math/w_dremf.c: Likewise.
15923         * misc/ftruncate.c: Likewise.
15924         * posix/bug-glob2.c: Likewise.
15925         * posix/tst-pcre.c: Likewise.
15926         * posix/wait4.c: Likewise.
15927         * resolv/README: Likewise.
15928         * resolv/res_debug.h: Likewise.
15929         * resolv/tst-inet_ntop.c: Likewise.
15930         * setjmp/bug269-setjmp.c: Likewise.
15931         * soft-fp/extended.h: Likewise.
15932         * soft-fp/op-1.h: Likewise.
15933         * soft-fp/op-2.h: Likewise.
15934         * soft-fp/op-4.h: Likewise.
15935         * soft-fp/op-8.h: Likewise.
15936         * soft-fp/testit.c: Likewise.
15937         * stdio-common/bug16.c: Likewise.
15938         * stdlib/random.c: Likewise.
15939         * sunrpc/rpcsvc/rquota.x: Likewise.
15940         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
15941         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
15942         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15943         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
15944         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
15945         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
15946         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
15947         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
15948         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
15949         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
15950         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
15951         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
15952         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
15953         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
15954         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
15955         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
15956         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
15957         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
15958         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
15959         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
15960         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
15961         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
15962         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
15963         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
15964         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
15965         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
15966         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15967         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
15968         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
15969         * sysdeps/ieee754/s_lib_version.c: Likewise.
15970         * sysdeps/mach/hurd/check_fds.c: Likewise.
15971         * sysdeps/mach/hurd/getsockname.c: Likewise.
15972         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
15973         * sysdeps/mach/hurd/recvfrom.c: Likewise.
15974         * sysdeps/powerpc/bits/link.h: Likewise.
15975         * sysdeps/powerpc/dl-procinfo.c: Likewise.
15976         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
15977         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
15978         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
15979         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
15980         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
15981         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
15982         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
15983         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
15984         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
15985         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
15986         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
15987         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
15988         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
15989         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
15990         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
15991         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
15992         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
15993         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
15994         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
15995         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
15996         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
15997         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15998         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
15999         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16000         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16001         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16002         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16003         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16004         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16005         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16006         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16008         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16009         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16010         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16011         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16012         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16013         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16014         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16015         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16016         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16017         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16018         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16019         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16020         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16021         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16022         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16023         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16024         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16026         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16027         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16028         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16029         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16030         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16031         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16032         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16033         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16034         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16035         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16036         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16037         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16038         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16039         * sysdeps/powerpc/sysdep.h: Likewise.
16040         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16041         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16042         * sysdeps/sh/dl-trampoline.S: Likewise.
16043         * sysdeps/sh/memset.S: Likewise.
16044         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16045         * sysdeps/sh/strlen.S: Likewise.
16046         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16047         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16048         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16049         * sysdeps/sparc/sparc32/rem.S: Likewise.
16050         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16051         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16052         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16053         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16054         * sysdeps/sparc/sparc32/urem.S: Likewise.
16055         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16056         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16057         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16058         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16059         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16060         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16061         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16062         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16063         * sysdeps/unix/bsd/times.c: Likewise.
16064         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16065         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16069         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16070         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16071         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16072         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16073         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16074         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16075         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16076         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16077         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16078         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16079         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16080         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16081         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16082         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16083         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16084         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16085         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16086         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16087         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16088         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16089         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16090         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16091         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16092         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16093         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16094         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16095         * sysdeps/x86_64/strcspn.S: Likewise.
16097 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16099         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16100         generated file.  Regenerate properly from gen-translit.pl.
16101         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16102         locale/C-translit.h.
16104 2013-06-05  Andreas Schwab  <schwab@suse.de>
16106         [BZ #15100]
16107         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16108         week as 6 instead of -1.
16109         * time/tst-strptime.c (day_tests): Add test case.
16111 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16113         * sysdeps/generic/math_private.h
16114         (libc_feholdexcept_setround_53bit): Replace with
16115         libc_feholdsetround_53bit.
16116         (libc_feupdateenv_53bit): Replace with
16117         libc_feresetround_53bit.
16118         (SET_RESTORE_ROUND_53BIT): Adjust.
16120 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16122         * string/test-strchrnul.c: Add copyright header.
16124         * posix/tst-getaddrinfo4.c: Increase test timeout.
16126 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16128         [BZ #15536]
16129         * math/libm-test.inc (MAX_EXP): Remove
16130         (MIN_EXP): Define.
16131         (ulp): Use MIN_EXP - MANT_DIG.
16132         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16134 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16136         * po/be.po: Revert last change.
16137         * po/zh_CN.po: Likewise.
16138         * po/header.pot: Likewise.
16140 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16142         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16143         link-libc-deps to empty as target-specific variable.
16144         * Makerules (link-libc-args): New variable.
16145         (libc-for-link): Likewise.
16146         (link-libc-deps): Likewise.
16147         (lib%.so): Depend on $(link-libc-deps).  Link with
16148         $(link-libc-args).
16149         (build-module): Link with $(link-libc-args).
16150         (build-module-asneeded): Likewise.
16151         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16152         list of objects.
16153         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16154         target-specific variable.
16155         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16156         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16157         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16158         libc.
16159         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16160         libc and ld.so.
16161         ($(objpfx)libpcprofile.so): Likewise.
16162         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16163         libc_nonshared.a.
16164         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16165         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16166         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16167         $(link-libc-deps).
16168         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16169         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16170         * login/Makefile ($(objpfx)libutil.so): Likewise.
16171         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16172         * math/Makefile ($(objpfx)libm.so): Likewise.
16173         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16174         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16175         variable instead of depending directly on libc.
16176         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16177         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16178         $(link-libc-deps).
16179         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16180         libc.
16181         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16182         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16183         ($(objpfx)libanl.so): Likewise.
16184         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16185         ld.so.
16186         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16187         $(link-libc-deps).
16188         * sysdeps/i386/fpu/Makefile: Remove file.
16189         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16190         ($(objpfx)libm.so): Remove dependency on ld.so.
16192 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16194         [BZ # 15553]
16195         * nis/yp_xdr.c (XDRMAXNAME): Define.
16196         (XDRMAXRECORD): Define.
16197         (xdr_domainname): Use XDRMAXNAME.
16198         (xdr_mapname): Likewise.
16199         (xdr_peername): Likewise.
16200         (xdr_keydat): Use XDRMAXRECORD.
16201         (xdr_valdat): Likewise.
16203 2013-05-30  Jeff Law  <law@redhat.com>
16205         [BZ #14256]
16206         * manual/errno.texi (ESTALE): Update to account for more than
16207         just NFS file systems.
16208         * sysdeps/gnu/errlist.c: Regenerated.
16210 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16212         [BZ #15465]
16213         * elf/Makefile (tests): Add tst-null-argv.
16214         (modules-names):  Add tst-null-argv-lib.
16215         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16216         (tst-null-argv-ENV): Set environment for tst-null-argv.
16217         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16218         (RTLD_PROGNAME): New macro.
16219         * elf/tst-null-argv.c: New test case.
16220         * elf/tst-null-argv-lib.c: Library for test case.
16221         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16222         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16223         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16224         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16225         * elf/dl-init.c (call_init): Likewise.
16226         (_dl_init): Likewise.
16227         * elf/dl-load.c (print_search_path): Likewise.
16228         (_dl_map_object): Likewise.
16229         * elf/dl-lookup.c (do_lookup_x): Likewise.
16230         (add_dependency): Likewise.
16231         (_dl_lookup_symbol_x): Likewise.
16232         (_dl_debug_bindings): Likewise.
16233         * elf/dl-open.c (_dl_show_scope): Likewise.
16234         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16235         * elf/dl-version.c (match_symbol): Likewise.
16236         (_dl_check_map_versions): Likewise.
16237         * elf/rtld.c (dl_main): Likewise.
16238         (print_unresolved): Use RTLD_PROGNAME.
16239         (print_missing_version): Likewise.
16240         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16241         (elf_machine_rela): Likewise.
16242         * sysdeps/powerpc/powerpc32/dl-machine.c
16243         (__process_machine_rela): Likewise.
16244         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16245         Likewise.
16246         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16247         Likewise.
16248         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16249         Likewise.
16250         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16251         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16252         Likewise.
16253         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16254         Likewise.
16255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16257 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16259         * po/be.po: Add descriptive title.
16260         * po/zh_CN.po: Likewise.
16261         * po/header.pot: Likewise.
16263 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16265         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16266         error message.
16267         (enlarge_archive): Likewise.
16269 2013-05-28  Ben North  <ben@redfrontdoor.org>
16271         * manual/arith.texi (frexp): It is the magnitude of the return
16272         value which lies in [0.5, 1), not the return value itself.
16274 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16278 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16280         * stdio-common/bug26.c (main): Correct fscanf template.
16282         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16283         declare _dl_skip_args.
16285         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16286         Don't declare.
16288         * manual/platform.texi: Add missing @end deftypefun.
16290 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16292         [BZ #15529]
16293         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16294         bit of mantissa of 2^16382.
16295         * math/libm-test.inc (hypot_test_data): Add more tests.
16297         * math/libm-test.inc: Add drem and pow10 to list of tested
16298         functions.
16299         (pow10_test): New function.
16300         (drem_test): Likewise.
16301         (drem_test_tonearest): Likewise.
16302         (drem_test_towardzero): Likewise.
16303         (drem_test_downward): Likewise.
16304         (drem_test_upward): Likewise.
16305         (main): Call the new functions.
16307         * math/libm-test.inc (finite_test_data): Remove.
16308         (finite_test): Run tests from isfinite_test_data.
16309         (gamma_test_data): Remove.
16310         (gamma_test): Run tests from lgamma_test_data.
16311         * sysdeps/i386/fpu/libm-test-ulps: Update.
16312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16314 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16316         * manual/platform.texi: Add PowerPC PPR function set documentation.
16317         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16318         implementation.
16320 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16322         * math/libm-test.inc (MAX_EXP): Define.
16323         (ULPDIFF): Define.
16324         (ulp): New function.
16325         (check_float_internal): Use ULPDIFF.
16326         (cpow_test): Disable failing test.
16327         (check_ulp): Test ulp() implemetnation.
16328         (main): Call check_ulp before starting tests.
16330 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16332         * math/gen-libm-test.pl (generate_testfile): Do not handle
16333         START_DATA and END_DATA.
16334         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16335         END_DATA.
16336         (acos_tonearest_test_data): Likewise.
16337         (acos_towardzero_test_data): Likewise.
16338         (acos_downward_test_data): Likewise.
16339         (acos_upward_test_data): Likewise.
16340         (acosh_test_data): Likewise.
16341         (asin_test_data): Likewise.
16342         (asin_tonearest_test_data): Likewise.
16343         (asin_towardzero_test_data): Likewise.
16344         (asin_downward_test_data): Likewise.
16345         (asin_upward_test_data): Likewise.
16346         (asinh_test_data): Likewise.
16347         (atan_test_data): Likewise.
16348         (atanh_test_data): Likewise.
16349         (atan2_test_data): Likewise.
16350         (cabs_test_data): Likewise.
16351         (cacos_test_data): Likewise.
16352         (cacosh_test_data): Likewise.
16353         (carg_test_data): Likewise.
16354         (casin_test_data): Likewise.
16355         (casinh_test_data): Likewise.
16356         (catan_test_data): Likewise.
16357         (catanh_test_data): Likewise.
16358         (cbrt_test_data): Likewise.
16359         (ccos_test_data): Likewise.
16360         (ccosh_test_data): Likewise.
16361         (ceil_test_data): Likewise.
16362         (cexp_test_data): Likewise.
16363         (cimag_test_data): Likewise.
16364         (clog_test_data): Likewise.
16365         (clog10_test_data): Likewise.
16366         (conj_test_data): Likewise.
16367         (copysign_test_data): Likewise.
16368         (cos_test_data): Likewise.
16369         (cos_tonearest_test_data): Likewise.
16370         (cos_towardzero_test_data): Likewise.
16371         (cos_downward_test_data): Likewise.
16372         (cos_upward_test_data): Likewise.
16373         (cosh_test_data): Likewise.
16374         (cosh_tonearest_test_data): Likewise.
16375         (cosh_towardzero_test_data): Likewise.
16376         (cosh_downward_test_data): Likewise.
16377         (cosh_upward_test_data): Likewise.
16378         (cpow_test_data): Likewise.
16379         (cproj_test_data): Likewise.
16380         (creal_test_data): Likewise.
16381         (csin_test_data): Likewise.
16382         (csinh_test_data): Likewise.
16383         (csqrt_test_data): Likewise.
16384         (ctan_test_data): Likewise.
16385         (ctan_tonearest_test_data): Likewise.
16386         (ctan_towardzero_test_data): Likewise.
16387         (ctan_downward_test_data): Likewise.
16388         (ctan_upward_test_data): Likewise.
16389         (ctanh_test_data): Likewise.
16390         (ctanh_tonearest_test_data): Likewise.
16391         (ctanh_towardzero_test_data): Likewise.
16392         (ctanh_downward_test_data): Likewise.
16393         (ctanh_upward_test_data): Likewise.
16394         (erf_test_data): Likewise.
16395         (erfc_test_data): Likewise.
16396         (exp_test_data): Likewise.
16397         (exp_tonearest_test_data): Likewise.
16398         (exp_towardzero_test_data): Likewise.
16399         (exp_downward_test_data): Likewise.
16400         (exp_upward_test_data): Likewise.
16401         (exp10_test_data): Likewise.
16402         (exp2_test_data): Likewise.
16403         (expm1_test_data): Likewise.
16404         (fabs_test_data): Likewise.
16405         (fdim_test_data): Likewise.
16406         (finite_test_data): Likewise.
16407         (floor_test_data): Likewise.
16408         (fma_test_data): Likewise.
16409         (fma_towardzero_test_data): Likewise.
16410         (fma_downward_test_data): Likewise.
16411         (fma_upward_test_data): Likewise.
16412         (fmax_test_data): Likewise.
16413         (fmin_test_data): Likewise.
16414         (fmod_test_data): Likewise.
16415         (fpclassify_test_data): Likewise.
16416         (frexp_test_data): Likewise.
16417         (gamma_test_data): Likewise.
16418         (hypot_test_data): Likewise.
16419         (ilogb_test_data): Likewise.
16420         (isfinite_test_data): Likewise.
16421         (isgreater_test_data): Likewise.
16422         (isgreaterequal_test_data): Likewise.
16423         (isinf_test_data): Likewise.
16424         (isless_test_data): Likewise.
16425         (islessequal_test_data): Likewise.
16426         (islessgreater_test_data): Likewise.
16427         (isnan_test_data): Likewise.
16428         (isnormal_test_data): Likewise.
16429         (issignaling_test_data): Likewise.
16430         (isunordered_test_data): Likewise.
16431         (j0_test_data): Likewise.
16432         (j1_test_data): Likewise.
16433         (jn_test_data): Likewise.
16434         (ldexp_test_data): Likewise.
16435         (lgamma_test_data): Likewise.
16436         (lrint_test_data): Likewise.
16437         (lrint_tonearest_test_data): Likewise.
16438         (lrint_towardzero_test_data): Likewise.
16439         (lrint_downward_test_data): Likewise.
16440         (lrint_upward_test_data): Likewise.
16441         (llrint_test_data): Likewise.
16442         (llrint_tonearest_test_data): Likewise.
16443         (llrint_towardzero_test_data): Likewise.
16444         (llrint_downward_test_data): Likewise.
16445         (llrint_upward_test_data): Likewise.
16446         (log_test_data): Likewise.
16447         (log10_test_data): Likewise.
16448         (log1p_test_data): Likewise.
16449         (log2_test_data): Likewise.
16450         (logb_test_data): Likewise.
16451         (logb_downward_test_data): Likewise.
16452         (lround_test_data): Likewise.
16453         (llround_test_data): Likewise.
16454         (modf_test_data): Likewise.
16455         (nearbyint_test_data): Likewise.
16456         (nextafter_test_data): Likewise.
16457         (nexttoward_test_data): Likewise.
16458         (pow_test_data): Likewise.
16459         (pow_tonearest_test_data): Likewise.
16460         (pow_towardzero_test_data): Likewise.
16461         (pow_downward_test_data): Likewise.
16462         (pow_upward_test_data): Likewise.
16463         (remainder_test_data): Likewise.
16464         (remainder_tonearest_test_data): Likewise.
16465         (remainder_towardzero_test_data): Likewise.
16466         (remainder_downward_test_data): Likewise.
16467         (remainder_upward_test_data): Likewise.
16468         (remquo_test_data): Likewise.
16469         (rint_test_data): Likewise.
16470         (rint_tonearest_test_data): Likewise.
16471         (rint_towardzero_test_data): Likewise.
16472         (rint_downward_test_data): Likewise.
16473         (rint_upward_test_data): Likewise.
16474         (round_test_data): Likewise.
16475         (scalb_test_data): Likewise.
16476         (scalbn_test_data): Likewise.
16477         (scalbln_test_data): Likewise.
16478         (signbit_test_data): Likewise.
16479         (sin_test_data): Likewise.
16480         (sin_tonearest_test_data): Likewise.
16481         (sin_towardzero_test_data): Likewise.
16482         (sin_downward_test_data): Likewise.
16483         (sin_upward_test_data): Likewise.
16484         (sincos_test_data): Likewise.
16485         (sinh_test_data): Likewise.
16486         (sinh_tonearest_test_data): Likewise.
16487         (sinh_towardzero_test_data): Likewise.
16488         (sinh_downward_test_data): Likewise.
16489         (sinh_upward_test_data): Likewise.
16490         (sqrt_test_data): Likewise.
16491         (tan_test_data): Likewise.
16492         (tan_tonearest_test_data): Likewise.
16493         (tan_towardzero_test_data): Likewise.
16494         (tan_downward_test_data): Likewise.
16495         (tan_upward_test_data): Likewise.
16496         (tanh_test_data): Likewise.
16497         (tgamma_test_data): Likewise.
16498         (trunc_test_data): Likewise.
16499         (y0_test_data): Likewise.
16500         (y1_test_data): Likewise.
16501         (yn_test_data): Likewise.
16502         (significand_test_data): Likewise.
16504         * math/gen-libm-test.pl (@functions): Remove variable.
16505         (generate_testfile): Don't handle START and END lines.
16506         * math/libm-test.inc (START): New macro.
16507         (END): Likewise.
16508         (END_COMPLEX): Likewise.
16509         (acos_test): Use END macro without arguments.
16510         (acos_test_tonearest): Likewise.
16511         (acos_test_towardzero): Likewise.
16512         (acos_test_downward): Likewise.
16513         (acos_test_upward): Likewise.
16514         (acosh_test): Likewise.
16515         (asin_test): Likewise.
16516         (asin_test_tonearest): Likewise.
16517         (asin_test_towardzero): Likewise.
16518         (asin_test_downward): Likewise.
16519         (asin_test_upward): Likewise.
16520         (asinh_test): Likewise.
16521         (atan_test): Likewise.
16522         (atanh_test): Likewise.
16523         (atan2_test): Likewise.
16524         (cabs_test): Likewise.
16525         (cacos_test): Use END_COMPLEX macro without arguments.
16526         (cacosh_test): Likewise.
16527         (carg_test): Use END macro without arguments.
16528         (casin_test): Use END_COMPLEX macro without arguments.
16529         (casinh_test): Likewise.
16530         (catan_test): Likewise.
16531         (catanh_test): Likewise.
16532         (cbrt_test): Use END macro without arguments.
16533         (ccos_test): Use END_COMPLEX macro without arguments.
16534         (ccosh_test): Likewise.
16535         (ceil_test): Use END macro without arguments.
16536         (cexp_test): Use END_COMPLEX macro without arguments.
16537         (cimag_test): Use END macro without arguments.
16538         (clog_test): Use END_COMPLEX macro without arguments.
16539         (clog10_test): Likewise.
16540         (conj_test): Likewise.
16541         (copysign_test): Use END macro without arguments.
16542         (cos_test): Likewise.
16543         (cos_test_tonearest): Likewise.
16544         (cos_test_towardzero): Likewise.
16545         (cos_test_downward): Likewise.
16546         (cos_test_upward): Likewise.
16547         (cosh_test): Likewise.
16548         (cosh_test_tonearest): Likewise.
16549         (cosh_test_towardzero): Likewise.
16550         (cosh_test_downward): Likewise.
16551         (cosh_test_upward): Likewise.
16552         (cpow_test): Use END_COMPLEX macro without arguments.
16553         (cproj_test): Likewise.
16554         (creal_test): Use END macro without arguments.
16555         (csin_test): Use END_COMPLEX macro without arguments.
16556         (csinh_test): Likewise.
16557         (csqrt_test): Likewise.
16558         (ctan_test): Likewise.
16559         (ctan_test_tonearest): Likewise.
16560         (ctan_test_towardzero): Likewise.
16561         (ctan_test_downward): Likewise.
16562         (ctan_test_upward): Likewise.
16563         (ctanh_test): Likewise.
16564         (ctanh_test_tonearest): Likewise.
16565         (ctanh_test_towardzero): Likewise.
16566         (ctanh_test_downward): Likewise.
16567         (ctanh_test_upward): Likewise.
16568         (erf_test): Use END macro without arguments.
16569         (erfc_test): Likewise.
16570         (exp_test): Likewise.
16571         (exp_test_tonearest): Likewise.
16572         (exp_test_towardzero): Likewise.
16573         (exp_test_downward): Likewise.
16574         (exp_test_upward): Likewise.
16575         (exp10_test): Likewise.
16576         (exp2_test): Likewise.
16577         (expm1_test): Likewise.
16578         (fabs_test): Likewise.
16579         (fdim_test): Likewise.
16580         (finite_test): Likewise.
16581         (floor_test): Likewise.
16582         (fma_test): Likewise.
16583         (fma_test_towardzero): Likewise.
16584         (fma_test_downward): Likewise.
16585         (fma_test_upward): Likewise.
16586         (fmax_test): Likewise.
16587         (fmin_test): Likewise.
16588         (fmod_test): Likewise.
16589         (fpclassify_test): Likewise.
16590         (frexp_test): Likewise.
16591         (gamma_test): Likewise.
16592         (hypot_test): Likewise.
16593         (ilogb_test): Likewise.
16594         (isfinite_test): Likewise.
16595         (isgreater_test): Likewise.
16596         (isgreaterequal_test): Likewise.
16597         (isinf_test): Likewise.
16598         (isless_test): Likewise.
16599         (islessequal_test): Likewise.
16600         (islessgreater_test): Likewise.
16601         (isnan_test): Likewise.
16602         (isnormal_test): Likewise.
16603         (issignaling_test): Likewise.
16604         (isunordered_test): Likewise.
16605         (j0_test): Likewise.
16606         (j1_test): Likewise.
16607         (jn_test): Likewise.
16608         (ldexp_test): Likewise.
16609         (lgamma_test): Likewise.
16610         (lrint_test): Likewise.
16611         (lrint_test_tonearest): Likewise.
16612         (lrint_test_towardzero): Likewise.
16613         (lrint_test_downward): Likewise.
16614         (lrint_test_upward): Likewise.
16615         (llrint_test): Likewise.
16616         (llrint_test_tonearest): Likewise.
16617         (llrint_test_towardzero): Likewise.
16618         (llrint_test_downward): Likewise.
16619         (llrint_test_upward): Likewise.
16620         (log_test): Likewise.
16621         (log10_test): Likewise.
16622         (log1p_test): Likewise.
16623         (log2_test): Likewise.
16624         (logb_test): Likewise.
16625         (logb_test_downward): Likewise.
16626         (lround_test): Likewise.
16627         (llround_test): Likewise.
16628         (modf_test): Likewise.
16629         (nearbyint_test): Likewise.
16630         (nextafter_test): Likewise.
16631         (nexttoward_test): Likewise.
16632         (pow_test): Likewise.
16633         (pow_test_tonearest): Likewise.
16634         (pow_test_towardzero): Likewise.
16635         (pow_test_downward): Likewise.
16636         (pow_test_upward): Likewise.
16637         (remainder_test): Likewise.
16638         (remainder_test_tonearest): Likewise.
16639         (remainder_test_towardzero): Likewise.
16640         (remainder_test_downward): Likewise.
16641         (remainder_test_upward): Likewise.
16642         (remquo_test): Likewise.
16643         (rint_test): Likewise.
16644         (rint_test_tonearest): Likewise.
16645         (rint_test_towardzero): Likewise.
16646         (rint_test_downward): Likewise.
16647         (rint_test_upward): Likewise.
16648         (round_test): Likewise.
16649         (scalb_test): Likewise.
16650         (scalbn_test): Likewise.
16651         (scalbln_test): Likewise.
16652         (signbit_test): Likewise.
16653         (sin_test): Likewise.
16654         (sin_test_tonearest): Likewise.
16655         (sin_test_towardzero): Likewise.
16656         (sin_test_downward): Likewise.
16657         (sin_test_upward): Likewise.
16658         (sincos_test): Likewise.
16659         (sinh_test): Likewise.
16660         (sinh_test_tonearest): Likewise.
16661         (sinh_test_towardzero): Likewise.
16662         (sinh_test_downward): Likewise.
16663         (sinh_test_upward): Likewise.
16664         (sqrt_test): Likewise.
16665         (tan_test): Likewise.
16666         (tan_test_tonearest): Likewise.
16667         (tan_test_towardzero): Likewise.
16668         (tan_test_downward): Likewise.
16669         (tan_test_upward): Likewise.
16670         (tanh_test): Likewise.
16671         (tgamma_test): Likewise.
16672         (trunc_test): Likewise.
16673         (y0_test): Likewise.
16674         (y1_test): Likewise.
16675         (yn_test): Likewise.
16676         (significand_test): Likewise.
16678 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16680         [BZ #15381]
16681         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16683 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16685         [BZ #14894]
16686         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16687         __ppc_mdoio and __ppc_mdoom.
16688         * manual/platform.texi: Document new functions __ppc_yield,
16689         __ppc_mdoio and __ppc_mdoom.
16691 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16693         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16694         (main): Mention "tls" pseudo-hwcap is legacy.
16695         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16697 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16699         * math/gen-libm-test.pl (parse_args): Output only string of
16700         arguments as text for test name, not full call or descriptions of
16701         tests for extra outputs.
16702         (generate_testfile): Do not pass function name to parse_args.
16703         Generate this_func variable from START.
16704         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16705         field to arg_str.
16706         (struct test_ff_f_data): Likewise.
16707         (test_ff_f_data_nexttoward): Likewise.
16708         (struct test_fi_f_data): Likewise.
16709         (struct test_fl_f_data): Likewise.
16710         (struct test_if_f_data): Likewise.
16711         (struct test_fff_f_data): Likewise.
16712         (struct test_c_f_data): Likewise.
16713         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16714         (struct test_fF_f1_data): Likewise.
16715         (struct test_ffI_f1_data): Likewise.
16716         (struct test_c_c_data): Rename test_name field to arg_str.
16717         (struct test_cc_c_data): Likewise.
16718         (struct test_f_i_data): Likewise.
16719         (struct test_ff_i_data): Likewise.
16720         (struct test_f_l_data): Likewise.
16721         (struct test_f_L_data): Likewise.
16722         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16723         and extra2_name.
16724         (COMMON_TEST_SETUP): New macro.
16725         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16726         (COMMON_TEST_CLEANUP): Likewise.
16727         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16728         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16729         macros.
16730         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16731         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16732         macros.
16733         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16734         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16735         cleanup macros.
16736         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16737         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16738         macros.
16739         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16740         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16741         macros.
16742         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16743         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16744         cleanup macros.
16745         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16746         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16747         cleanup macros.
16748         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16749         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16750         cleanup macros.
16751         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16752         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16753         macros.
16754         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16755         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16756         macros.
16757         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16758         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16759         macros.
16760         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16761         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16762         cleanup macros.
16763         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16764         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16765         cleanup macros.
16766         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16767         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16768         macros.
16769         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16770         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16771         cleanup macros.
16772         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16773         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16774         macros.
16775         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16776         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16777         macros.
16778         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16779         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16780         cleanup macros.
16781         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16783 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16785         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16786         to _sifields.sigfault.
16787         (si_addr_lsb): Define new macro.
16788         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16789         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16790         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16792 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16794         [BZ #15441]
16795         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16796         returns -1.
16797         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16798         null return -1.
16799         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16800         loading the domain.
16802 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16804         * math/gen-libm-test.pl (parse_args): Do not include expected
16805         result in test name.
16806         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16807         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16808         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16810         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16813 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16815         * benchtests/Makefile: Sort function entries.
16817         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16818         tanh, asinh, acosh, atanh.
16819         * benchtests/acos-inputs: New file.
16820         * benchtests/acosh-inputs: New file.
16821         * benchtests/asin-inputs: New file.
16822         * benchtests/asinh-inputs: New file.
16823         * benchtests/atanh-inputs: New file.
16824         * benchtests/cosh-inputs: New file.
16825         * benchtests/log-inputs: New file.
16826         * benchtests/sinh-inputs: New file.
16827         * benchtests/tanh-inputs: New file.
16829 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16831         [BZ #15339]
16832         * posix/tst-getaddrinfo4.c: New test.
16833         * posix/Makefile (tests): Add it.
16835 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16837         [BZ #15339]
16838         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16839         when no services were used.
16840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16841         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16843 2013-05-21  Andreas Schwab  <schwab@suse.de>
16845         [BZ #15014]
16846         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16847         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16848         successful.
16849         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16850         redundant variable declarations and reallocation of buffer when
16851         parsing as IPv6 address.  Always set NSS status when called from
16852         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16853         buffer too small.  Correct computation of needed size.
16854         * nss/Makefile (tests): Add test-digits-dots.
16855         * nss/test-digits-dots.c: New test.
16857 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16859         * benchtests/Makefile: Remove instructions for adding
16860         benchmark tests.
16861         * benchtests/README: New file to explain how to execute and
16862         enhance the benchmark tests.
16864 2013-05-21  Andreas Schwab  <schwab@suse.de>
16866         [BZ #15493]
16867         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16868         * setjmp/tst-sigsetjmp.c: New test.
16870 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16872         * sysdeps/x86_64/memset.S (memset): New implementation.
16873         (__bzero): Likewise.
16874         (__memset_tail): New function.
16876 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16878         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16879         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16880         __memcpy_sse2_unaligned ifunc selection.
16881         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16882         Add memcpy-sse2-unaligned.S.
16883         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16884         Add: __memcpy_sse2_unaligned.
16886 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16888         [BZ #15490]
16889         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16890         math_force_eval before restoring floating-point envrionment.
16891         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16892         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16893         Likewise.
16894         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16895         <math_private.h>.
16896         (__nearbyintl): Use math_force_eval before restoring
16897         floating-point environment.
16898         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16900         * math/gen-libm-test.pl (special_functions): Remove.
16901         (parse_args): Don't handle TEST_extra.  Handle functions with no
16902         return value.
16903         * math/libm-test.inc (struct test_sincos_data): Replace with
16904         struct test_fFF_11_data.
16905         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16906         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16907         (sincos_test_data): Change element type to struct
16908         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16909         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16910         RUN_TEST_LOOP_sincos.
16911         * math/README.libm-test: Don't mention special handling of
16912         individual functions.
16913         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16914         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16915         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16916         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16917         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16920         * math/gen-libm-test.pl (get_variable): Remove function.
16921         (parse_args): Don't show pointer parameters to call in test
16922         names.  Use "extra output N" in test names for extra outputs
16923         rather than naming variables.
16925 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
16927         [BZ #15488]
16928         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
16929         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
16930         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
16931         double tests.
16932         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
16933         disable.
16934         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
16935         check_long_double.
16937         * math/gen-libm-test.pl (@tests): Remove variable.
16938         ($count): Likewise.
16939         (new_test): Remove function.
16940         (show_exceptions): New function.
16941         (special_functions): Use show_exceptions instead of new_test.
16942         (parse_args): Likewise.
16943         (generate_testfile): Pass only function name in generated call to
16944         print_max_error or print_complex_max_error.
16945         (get_ulps): Do not handle complex tests specially.
16946         (output_test): Rename to ...
16947         (get_all_ulps_for_test): ... this.  Return a string rather than
16948         printing to a file.  Require ulps to be present.
16949         (output_ulps): Generate arrays rather than #defines.
16950         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
16951         (struct ulp_data): New type.
16952         (BUILD_COMPLEX_ULP): Remove macro.
16953         (compare_ulp_data): New function.
16954         (find_ulps): Likewise.
16955         (find_test_ulps): Likewise.
16956         (find_function_ulps): Likewise.
16957         (find_complex_function_ulps): Likewise.
16958         (print_max_error): Determine allowed ulps using
16959         find_function_ulps.
16960         (print_complex_max_error): Determine allowed ulps using
16961         find_complex_function_ulps.
16962         (check_float_internal): Determine max ulps using find_test_ulps.
16963         (check_float): Do not take max_ulp parameter.  Update call to
16964         check_float_internal.
16965         (check_complex): Likewise.
16966         (check_int): Do not take max_ulp parameter.
16967         (check_long): Likewise.
16968         (check_bool): Likewise.
16969         (check_longlong): Likewise.
16970         (struct test_f_f_data): Remove max_ulp field.
16971         (struct test_ff_f_data): Likewise.
16972         (struct test_ff_f_data_nexttoward): Likewise.
16973         (struct test_fi_f_data): Likewise.
16974         (struct test_fl_f_data): Likewise.
16975         (struct test_if_f_data): Likewise.
16976         (struct test_fff_f_data): Likewise.
16977         (struct test_c_f_data): Likewise.
16978         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
16979         (struct test_fF_f1_data): Likewise.
16980         (struct test_ffI_f1_data): Likewise.
16981         (struct test_c_c_data): Remove max_ulp field.
16982         (struct test_cc_c_data): Likewise.
16983         (struct test_f_i_data): Likewise.
16984         (struct test_ff_i_data): Likewise.
16985         (struct test_f_l_data): Likewise.
16986         (struct test_f_L_data): Likewise.
16987         (struct test_sincos_data): Likewise.
16988         (RUN_TEST_f_f): Do not handle ulps.
16989         (RUN_TEST_LOOP_f_f): Likewise.
16990         (RUN_TEST_2_f): Likewise.
16991         (RUN_TEST_LOOP_2_f): Likewise.
16992         (RUN_TEST_fff_f): Likewise.
16993         (RUN_TEST_LOOP_fff_f): Likewise.
16994         (RUN_TEST_c_f): Likewise.
16995         (RUN_TEST_LOOP_c_f): Likewise.
16996         (RUN_TEST_f_f1): Likewise.
16997         (RUN_TEST_LOOP_f_f1): Likewise.
16998         (RUN_TEST_fF_f1): Likewise.
16999         (RUN_TEST_LOOP_fF_f1): Likewise.
17000         (RUN_TEST_fI_f1): Likewise.
17001         (RUN_TEST_LOOP_fI_f1): Likewise.
17002         (RUN_TEST_ffI_f1): Likewise.
17003         (RUN_TEST_LOOP_ffI_f1): Likewise.
17004         (RUN_TEST_c_c): Likewise.
17005         (RUN_TEST_LOOP_c_c): Likewise.
17006         (RUN_TEST_cc_c): Likewise.
17007         (RUN_TEST_LOOP_cc_c): Likewise.
17008         (RUN_TEST_f_i): Likewise.
17009         (RUN_TEST_LOOP_f_i): Likewise.
17010         (RUN_TEST_f_i_tg): Likewise.
17011         (RUN_TEST_LOOP_f_i_tg): Likewise.
17012         (RUN_TEST_ff_i_tg): Likewise.
17013         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17014         (RUN_TEST_f_b): Likewise.
17015         (RUN_TEST_LOOP_f_b): Likewise.
17016         (RUN_TEST_f_b_tg): Likewise.
17017         (RUN_TEST_LOOP_f_b_tg): Likewise.
17018         (RUN_TEST_f_l): Likewise.
17019         (RUN_TEST_LOOP_f_l): Likewise.
17020         (RUN_TEST_f_L): Likewise.
17021         (RUN_TEST_LOOP_f_L): Likewise.
17022         (RUN_TEST_sincos): Likewise.
17023         (RUN_TEST_LOOP_sincos): Likewise.
17025 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17027         [BZ #15480]
17028         [BZ #15485]
17029         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17030         main case of finite arguments, set rounding mode to FE_TONEAREST
17031         and discard exceptions.
17032         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17033         exceptions.
17034         (remainder_tonearest_test_data): New variable.
17035         (remainder_test_tonearest): New function.
17036         (remainder_towardzero_test_data): New variable.
17037         (remainder_test_towardzero): New function.
17038         (remainder_downward_test_data): New variable.
17039         (remainder_test_downward): New function.
17040         (remainder_upward_test_data): New variable.
17041         (remainder_test_upward): New function.
17042         (main): Call the new test functions.
17044         * math/libm-test.inc (struct test_f_f1_data): Remove field
17045         extra_init.
17046         (struct test_fF_f1_data): Likewise.
17047         (struct test_ffI_f1_data): Likewise.
17048         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17049         based on value of EXTRA_EXPECTED.
17050         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17051         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17052         EXTRA_VAR based on value of EXTRA_EXPECTED.
17053         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17054         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17055         EXTRA_VAR based on value of EXTRA_EXPECTED.
17056         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17057         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17058         EXTRA_VAR based on value of EXTRA_EXPECTED.
17059         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17060         * math/gen-libm-test.pl (parse_args): Don't output initializers
17061         for extra output values.
17063         * math/libm-test.inc (check_int): Expect result to be exactly
17064         equal to expected value and do not handle ulps.
17065         (check_long): Likewise.
17066         (check_longlong): Likewise.
17068         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17069         exceptions.
17070         (cimag_test_data): Likewise.
17071         (conj_test_data): Likewise.
17072         (copysign_test_data): Likewise.
17073         (cproj_test_data): Likewise.
17074         (creal_test_data): Likewise.
17075         (fabs_test_data): Likewise.
17076         (fdim_test_data): Likewise.
17077         (finite_test_data): Likewise.
17078         (floor_test_data): Likewise.
17079         (fmax_test_data): Likewise.
17080         (fmin_test_data): Likewise.
17081         (fmod_test_data): Likewise.
17082         (fpclassify_test_data): Likewise.
17083         (frexp_test_data): Likewise.
17084         (ilogb_test_data): Likewise.
17085         (isfinite_test_data): Likewise.
17086         (isgreater_test_data): Likewise.
17087         (isgreaterequal_test_data): Likewise.
17088         (isinf_test_data): Likewise.
17089         (isless_test_data): Likewise.
17090         (islessequal_test_data): Likewise.
17091         (islessgreater_test_data): Likewise.
17092         (isnan_test_data): Likewise.
17093         (isnormal_test_data): Likewise.
17094         (issignaling_test_data): Likewise.
17095         (isunordered_test_data): Likewise.
17096         (ldexp_test_data): Likewise.
17097         (lrint_test_data): Likewise.
17098         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17099         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17100         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17101         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17102         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17103         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17104         test input.
17105         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17106         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17107         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17108         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17109         that test input.
17110         (lrint_downward_test_data): Test for "inexact" exceptions.
17111         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17112         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17113         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17114         test input.
17115         (lrint_upward_test_data): Test for "inexact" exceptions.
17116         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17117         test input.
17118         (llrint_test_data): Test for "inexact" exceptions.
17119         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17120         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17121         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17122         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17123         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17124         (llrint_downward_test_data): Test for "inexact" exceptions.
17125         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17126         (llrint_upward_test_data): Test for "inexact" exceptions.
17127         (logb_test_data): Likewise.
17128         (logb_downward_test_data): Likewise.
17129         (nextafter_test_data): Likewise.
17130         (nexttoward_test_data): Likewise.
17131         (remainder_test_data): Likewise.
17132         (remquo_test_data): Likewise.
17133         (scalbn_test_data): Likewise.
17134         (scalbln_test_data): Likewise.
17135         (signbit_test_data): Likewise.
17136         (sqrt_test_data): Likewise.
17137         (significand_test_data): Likewise.
17139 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17141         [BZ #15424]
17142         * benchtests/bench-modf.c (struct args): Mark arg0 as
17143         volatile.
17144         * scripts/bench.pl: Mark members of struct args as volatile.
17146 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17148         [BZ # 15497]
17149         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17150         negative infinity on POWER6 or lower.
17151         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17153 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17155         [BZ #15442]
17156         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17157         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17158         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17159         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17160         (_FP_SETQNAN): New macro.
17161         (_FP_SETQNAN_SEMIRAW): Likewise.
17162         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17163         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17164         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17165         (FP_EXTEND): Use _FP_FRAC_SNANP.
17166         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17167         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17168         into account.
17169         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17170         New macro.
17171         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17172         Likewise.
17174 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17176         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17177         with DIVIDE_BY_ZERO_EXCEPTION.
17178         (gamma_test_data): Likewise.
17179         (lgamma_test_data): Likewise.
17180         (log_test_data): Likewise.
17181         (log10_test_data): Likewise.
17182         (log2_test_data): Likewise.
17183         (tgamma_test_data): Likewise.
17185         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17186         (acos_test_tonearest): Likewise.
17187         (acos_test_towardzero): Likewise.
17188         (acos_test_downward): Likewise.
17189         (acos_test_upward): Likewise.
17190         (acosh_test): Likewise.
17191         (asin_test): Likewise.
17192         (asin_test_tonearest): Likewise.
17193         (asin_test_towardzero): Likewise.
17194         (asin_test_downward): Likewise.
17195         (asin_test_upward): Likewise.
17196         (asinh_test): Likewise.
17197         (atan_test): Likewise.
17198         (atanh_test): Likewise.
17199         (atan2_test): Likewise.
17200         (cabs_test): Likewise.
17201         (cacos_test): Likewise.
17202         (cacosh_test): Likewise.
17203         (casin_test): Likewise.
17204         (casinh_test): Likewise.
17205         (catan_test): Likewise.
17206         (catanh_test): Likewise.
17207         (cbrt_test): Likewise.
17208         (ccos_test): Likewise.
17209         (ccosh_test): Likewise.
17210         (cexp_test): Likewise.
17211         (clog_test): Likewise.
17212         (clog10_test): Likewise.
17213         (cos_test): Likewise.
17214         (cos_test_tonearest): Likewise.
17215         (cos_test_towardzero): Likewise.
17216         (cos_test_downward): Likewise.
17217         (cos_test_upward): Likewise.
17218         (cosh_test): Likewise.
17219         (cosh_test_tonearest): Likewise.
17220         (cosh_test_towardzero): Likewise.
17221         (cosh_test_downward): Likewise.
17222         (cosh_test_upward): Likewise.
17223         (cpow_test): Likewise.
17224         (csin_test): Likewise.
17225         (csinh_test): Likewise.
17226         (csqrt_test): Likewise.
17227         (ctan_test): Likewise.
17228         (ctan_test_tonearest): Likewise.
17229         (ctan_test_towardzero): Likewise.
17230         (ctan_test_downward): Likewise.
17231         (ctan_test_upward): Likewise.
17232         (ctanh_test): Likewise.
17233         (ctanh_test_tonearest): Likewise.
17234         (ctanh_test_towardzero): Likewise.
17235         (ctanh_test_downward): Likewise.
17236         (ctanh_test_upward): Likewise.
17237         (erf_test): Likewise.
17238         (erfc_test): Likewise.
17239         (exp_test): Likewise.
17240         (exp_test_tonearest): Likewise.
17241         (exp_test_towardzero): Likewise.
17242         (exp_test_downward): Likewise.
17243         (exp_test_upward): Likewise.
17244         (exp10_test): Likewise.
17245         (exp2_test): Likewise.
17246         (expm1_test): Likewise.
17247         (fmod_test): Likewise.
17248         (gamma_test): Likewise.
17249         (hypot_test): Likewise.
17250         (j0_test): Likewise.
17251         (j1_test): Likewise.
17252         (jn_test): Likewise.
17253         (lgamma_test): Likewise.
17254         (log_test): Likewise.
17255         (log10_test): Likewise.
17256         (log1p_test): Likewise.
17257         (log2_test): Likewise.
17258         (logb_test_downward): Likewise.
17259         (pow_test): Likewise.
17260         (pow_test_tonearest): Likewise.
17261         (pow_test_towardzero): Likewise.
17262         (pow_test_downward): Likewise.
17263         (pow_test_upward): Likewise.
17264         (remainder_test): Likewise.
17265         (remquo_test): Likewise.
17266         (sin_test): Likewise.
17267         (sin_test_tonearest): Likewise.
17268         (sin_test_towardzero): Likewise.
17269         (sin_test_downward): Likewise.
17270         (sin_test_upward): Likewise.
17271         (sincos_test): Likewise.
17272         (sinh_test): Likewise.
17273         (sinh_test_tonearest): Likewise.
17274         (sinh_test_towardzero): Likewise.
17275         (sinh_test_downward): Likewise.
17276         (sinh_test_upward): Likewise.
17277         (sqrt_test): Likewise.
17278         (tan_test): Likewise.
17279         (tan_test_tonearest): Likewise.
17280         (tan_test_towardzero): Likewise.
17281         (tan_test_downward): Likewise.
17282         (tan_test_upward): Likewise.
17283         (tanh_test): Likewise.
17284         (tgamma_test): Likewise.
17285         (y0_test): Likewise.
17286         (y1_test): Likewise.
17287         (yn_test): Likewise.
17289         * math/gen-libm-test.pl (adjust_arg): Remove function.
17290         (special_function): Remove argument $in_func.  Only handle
17291         generating output for tables of tests, not inside functions.
17292         (parse_args): Likewise.
17293         (generate_testfile): Remove variable $in_func.  Update call to
17294         parse_args.
17295         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17296         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17297         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17298         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17299         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17300         (MAX_VALUE_INIT): Rename macro to max_value.
17301         (MIN_VALUE_INIT): Rename macro to min_value.
17302         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17303         (plus_zero): Remove variable.
17304         (minus_zero): Likewise.
17305         (plus_infty): Likewise.
17306         (minus_infty): Likewise.
17307         (qnan_value): Likewise.
17308         (max_value): Likewise.
17309         (min_value): Likewise.
17310         (min_subnorm_value): Likewise.
17312 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17314         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17315         uint64_t or uint32_t usage.
17316         * crypt/sha256-block.c: Likewise.
17317         * crypt/sha256-crypt.c: Likewise.
17318         * crypt/sha256.c: Likewise.
17319         * crypt/sha512-block.c: Likewise.
17320         * crypt/sha512-crypt.c: Likewise.
17321         * crypt/sha512.c: Likewise.
17322         * debug/backtrace-tst.c: Likewise.
17323         * debug/pcprofiledump.c: Likewise.
17324         * elf/cache.c: Likewise.
17325         * elf/dl-cache.c: Likewise.
17326         * elf/dl-misc.c: Likewise.
17327         * elf/dl-profile.c: Likewise.
17328         * elf/dl-support.c: Likewise.
17329         * elf/ldconfig.c: Likewise.
17330         * elf/sprof.c: Likewise.
17331         * iconv/dummy-repertoire.c: Likewise.
17332         * iconv/iconv_charmap.c: Likewise.
17333         * iconv/skeleton.c: Likewise.
17334         * iconvdata/8bit-generic.c: Likewise.
17335         * iconvdata/cp737.h: Likewise.
17336         * iconvdata/cp775.h: Likewise.
17337         * iconvdata/ibm1008.h: Likewise.
17338         * iconvdata/ibm1025.h: Likewise.
17339         * iconvdata/ibm1046.h: Likewise.
17340         * iconvdata/ibm1097.h: Likewise.
17341         * iconvdata/ibm1112.h: Likewise.
17342         * iconvdata/ibm1122.h: Likewise.
17343         * iconvdata/ibm1123.h: Likewise.
17344         * iconvdata/ibm1124.h: Likewise.
17345         * iconvdata/ibm1129.h: Likewise.
17346         * iconvdata/ibm1130.h: Likewise.
17347         * iconvdata/ibm1132.h: Likewise.
17348         * iconvdata/ibm1133.h: Likewise.
17349         * iconvdata/ibm1137.h: Likewise.
17350         * iconvdata/ibm1140.h: Likewise.
17351         * iconvdata/ibm1141.h: Likewise.
17352         * iconvdata/ibm1142.h: Likewise.
17353         * iconvdata/ibm1143.h: Likewise.
17354         * iconvdata/ibm1144.h: Likewise.
17355         * iconvdata/ibm1145.h: Likewise.
17356         * iconvdata/ibm1146.h: Likewise.
17357         * iconvdata/ibm1147.h: Likewise.
17358         * iconvdata/ibm1148.h: Likewise.
17359         * iconvdata/ibm1149.h: Likewise.
17360         * iconvdata/ibm1153.h: Likewise.
17361         * iconvdata/ibm1154.h: Likewise.
17362         * iconvdata/ibm1155.h: Likewise.
17363         * iconvdata/ibm1156.h: Likewise.
17364         * iconvdata/ibm1157.h: Likewise.
17365         * iconvdata/ibm1158.h: Likewise.
17366         * iconvdata/ibm1160.h: Likewise.
17367         * iconvdata/ibm1161.h: Likewise.
17368         * iconvdata/ibm1162.h: Likewise.
17369         * iconvdata/ibm1163.h: Likewise.
17370         * iconvdata/ibm1164.h: Likewise.
17371         * iconvdata/ibm1166.h: Likewise.
17372         * iconvdata/ibm1167.h: Likewise.
17373         * iconvdata/ibm12712.h: Likewise.
17374         * iconvdata/ibm1390.h: Likewise.
17375         * iconvdata/ibm1399.h: Likewise.
17376         * iconvdata/ibm16804.h: Likewise.
17377         * iconvdata/ibm4517.h: Likewise.
17378         * iconvdata/ibm4899.h: Likewise.
17379         * iconvdata/ibm4909.h: Likewise.
17380         * iconvdata/ibm4971.h: Likewise.
17381         * iconvdata/ibm5347.h: Likewise.
17382         * iconvdata/ibm803.h: Likewise.
17383         * iconvdata/ibm856.h: Likewise.
17384         * iconvdata/ibm901.h: Likewise.
17385         * iconvdata/ibm902.h: Likewise.
17386         * iconvdata/ibm9030.h: Likewise.
17387         * iconvdata/ibm9066.h: Likewise.
17388         * iconvdata/ibm921.h: Likewise.
17389         * iconvdata/ibm922.h: Likewise.
17390         * iconvdata/ibm9448.h: Likewise.
17391         * iconvdata/isiri-3342.h: Likewise.
17392         * iconvdata/jis0201.h: Likewise.
17393         * include/link.h: Likewise.
17394         * include/netdb.h: Likewise.
17395         * inet/check_native.c: Likewise.
17396         * inet/check_pf.c: Likewise.
17397         * inet/getipv4sourcefilter.c: Likewise.
17398         * inet/getnameinfo.c: Likewise.
17399         * inet/getsourcefilter.c: Likewise.
17400         * inet/htonl.c: Likewise.
17401         * inet/setipv4sourcefilter.c: Likewise.
17402         * inet/setsourcefilter.c: Likewise.
17403         * inet/test-inet6_opt.c: Likewise.
17404         * inet/tst-network.c: Likewise.
17405         * locale/C-collate.c: Likewise.
17406         * locale/C-ctype.c: Likewise.
17407         * locale/C-time.c: Likewise.
17408         * locale/C-translit.h: Likewise.
17409         * locale/loadarchive.c: Likewise.
17410         * locale/programs/3level.h: Likewise.
17411         * locale/programs/charmap.c: Likewise.
17412         * locale/programs/charmap.h: Likewise.
17413         * locale/programs/ld-address.c: Likewise.
17414         * locale/programs/ld-collate.c: Likewise.
17415         * locale/programs/ld-ctype.c: Likewise.
17416         * locale/programs/ld-identification.c: Likewise.
17417         * locale/programs/ld-measurement.c: Likewise.
17418         * locale/programs/ld-messages.c: Likewise.
17419         * locale/programs/ld-monetary.c: Likewise.
17420         * locale/programs/ld-name.c: Likewise.
17421         * locale/programs/ld-numeric.c: Likewise.
17422         * locale/programs/ld-paper.c: Likewise.
17423         * locale/programs/ld-telephone.c: Likewise.
17424         * locale/programs/ld-time.c: Likewise.
17425         * locale/programs/linereader.c: Likewise.
17426         * locale/programs/locale.c: Likewise.
17427         * locale/programs/locarchive.c: Likewise.
17428         * locale/programs/locfile.h: Likewise.
17429         * locale/programs/repertoire.c: Likewise.
17430         * locale/programs/simple-hash.c: Likewise.
17431         * locale/programs/simple-hash.h: Likewise.
17432         * malloc/memusage.c: Likewise.
17433         * malloc/memusagestat.c: Likewise.
17434         * nis/nis_defaults.c: Likewise.
17435         * nis/nis_hash.c: Likewise.
17436         * nis/nis_print.c: Likewise.
17437         * nis/nis_xdr.c: Likewise.
17438         * nscd/connections.c: Likewise.
17439         * nscd/hstcache.c: Likewise.
17440         * nscd/nscd_gethst_r.c: Likewise.
17441         * nscd/nscd_getserv_r.c: Likewise.
17442         * nscd/nscd_helper.c: Likewise.
17443         * nscd/servicescache.c: Likewise.
17444         * nss/makedb.c: Likewise.
17445         * nss/nss_db/db-XXX.c: Likewise.
17446         * nss/nss_db/db-initgroups.c: Likewise.
17447         * nss/nss_db/db-netgrp.c: Likewise.
17448         * nss/nss_files/files-network.c: Likewise.
17449         * nss/nss_files/files-parse.c: Likewise.
17450         * posix/bug-regex5.c: Likewise.
17451         * posix/fnmatch_loop.c: Likewise.
17452         * posix/regcomp.c: Likewise.
17453         * posix/regexec.c: Likewise.
17454         * posix/tst-rfc3484-2.c: Likewise.
17455         * posix/tst-rfc3484-3.c: Likewise.
17456         * posix/tst-rfc3484.c: Likewise.
17457         * resolv/nss_dns/dns-canon.c: Likewise.
17458         * resolv/nss_dns/dns-network.c: Likewise.
17459         * resolv/res_init.c: Likewise.
17460         * resolv/res_mkquery.c: Likewise.
17461         * resolv/tst-aton.c: Likewise.
17462         * stdlib/cxa_atexit.c: Likewise.
17463         * stdlib/cxa_finalize.c: Likewise.
17464         * stdlib/gen-fpioconst.c: Likewise.
17465         * stdlib/strtol_l.c: Likewise.
17466         * string/tst-endian.c: Likewise.
17467         * sunrpc/auth_des.c: Likewise.
17468         * sunrpc/clnt_udp.c: Likewise.
17469         * sunrpc/rtime.c: Likewise.
17470         * sunrpc/svcauth_des.c: Likewise.
17471         * sunrpc/xdr.c: Likewise.
17472         * sunrpc/xdr_intXX_t.c: Likewise.
17473         * sunrpc/xdr_rec.c: Likewise.
17474         * sysdeps/generic/ldconfig.h: Likewise.
17475         * sysdeps/generic/ldsodefs.h: Likewise.
17476         * sysdeps/generic/memusage.h: Likewise.
17477         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17478         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17479         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17480         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17481         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17482         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17483         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17484         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17485         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17487         * sysdeps/posix/getaddrinfo.c: Likewise.
17488         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17489         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17490         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17491         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17492         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17493         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17494         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17495         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17496         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17497         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17498         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17499         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17500         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17501         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17502         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17503         * sysdeps/x86_64/dl-tls.h: Likewise.
17504         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17505         * time/alt_digit.c: Likewise.
17506         * time/era.c: Likewise.
17507         * wcsmbs/tst-c16c32-1.c: Likewise.
17509 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17511         * math/libm-test.inc (struct test_sincos_data): New type.
17512         (RUN_TEST_LOOP_sincos): New macro.
17513         (sincos_test_data): New variable.
17514         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17516 2013-05-16  Richard Henderson  <rth@redhat.com>
17518         * math/atest-exp2.c (LIMB64): New macro.
17519         (CONSTSZ): New macro.
17520         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17521         (hexdig): Move ...
17522         (print_mpn_fp): ... to function scope.
17523         (read_mpn_hex): Remove.
17524         (get_log2): Remove.
17525         (exp2_mpn): Use mp_log2.
17526         (main): Use mp_exp1.
17528 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17530         * math/libm-test.inc: Remove comment about not testing "inexact"
17531         exceptions.
17532         (INEXACT_EXCEPTION): New macro.
17533         (NO_INEXACT_EXCEPTION): Likewise.
17534         (INVALID_EXCEPTION_OK): Update value.
17535         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17536         (OVERFLOW_EXCEPTION_OK): Likewise.
17537         (UNDERFLOW_EXCEPTION_OK): Likewise.
17538         (IGNORE_ZERO_INF_SIGN): Likewise.
17539         (ERRNO_UNCHANGED): Likewise.
17540         (ERRNO_EDOM): Likewise.
17541         (ERRNO_ERANGE): Likewise.
17542         (test_exceptions): Handle testing "inexact" exceptions.
17543         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17544         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17545         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17546         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17547         INEXACT_EXCEPTION.
17548         (rint_towardzero_test_data): Likewise.
17549         (rint_downward_test_data): Likewise.
17550         (rint_upward_test_data): Likewise.
17552         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17553         with OVERFLOW_EXCEPTION.
17554         (exp10_test_data): Likewise.
17555         (exp2_test_data): Likewise.
17556         (expm1_test_data): Likewise.
17557         (lgamma_test_data): Likewise.
17558         (pow_test_data): Likewise.
17559         (tgamma_test_data): Likewise.
17560         (yn_test_data): Remove duplicate test of overflow.
17562         * math/libm-test.inc (struct test_cc_c_data): New type.
17563         (RUN_TEST_LOOP_cc_c): New macro.
17564         (cpow_test_data): New variable.
17565         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17567         * math/libm-test.inc (struct test_f_L_data): New type.
17568         (RUN_TEST_LOOP_f_L): New macro.
17569         (llrint_test_data): New variable.
17570         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17571         (llrint_tonearest_test_data): New variable.
17572         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17573         (llrint_towardzero_test_data): New variable.
17574         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17575         (llrint_downward_test_data): New variable.
17576         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17577         (llrint_upward_test_data): New variable.
17578         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17579         (llround_test_data): New variable.
17580         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17582 2013-05-13  Peter Collingbourne  <pcc@google.com>
17584         * math/atest-exp2.c (get_log2): Remove const attribute.
17586 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17588         * math/libm-test.inc (struct test_f_l_data): New type.
17589         (RUN_TEST_LOOP_f_l): New macro.
17590         (lrint_test_data): New variable.
17591         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17592         (lrint_tonearest_test_data): New variable.
17593         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17594         (lrint_towardzero_test_data): New variable.
17595         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17596         (lrint_downward_test_data): New variable.
17597         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17598         (lrint_upward_test_data): New variable.
17599         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17600         (lround_test_data): New variable.
17601         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17603 2013-05-15  Peter Collingbourne  <pcc@google.com>
17605         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17606         (EXTRACT_WORDS64) Use where appropriate.
17607         (INSERT_WORDS64) Likewise.
17609         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17610         constraints with x constraints.
17611         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17613         * malloc/obstack.c (_obstack_compat): Add initializer.
17615 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17617         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17618         si_trapno and add si_addr_lsb to _sifields.sigfault.
17619         (si_trapno): Remove macro.
17620         (si_addr_lsb): Define new macro.
17621         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17623 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17625         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17626         instead of TEST_f_l.
17627         (llrint_test_tonearest): Likewise.
17628         (llrint_test_towardzero): Likewise.
17629         (llrint_test_downward): Likewise.
17630         (llrint_test_upward): Likewise.
17631         (llround_test): Likewise.
17633         * math/libm-test.inc (struct test_f_i_data): Add comment.
17634         (RUN_TEST_LOOP_f_b): New macro.
17635         (RUN_TEST_LOOP_f_b_tg): Likewise.
17636         (finite_test_data): New variable.
17637         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17638         (isfinite_test_data): New variable.
17639         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17640         (isinf_test_data): New variable.
17641         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17642         (isnan_test_data): New variable.
17643         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17644         (isnormal_test_data): New variable.
17645         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17646         (issignaling_test_data): New variable.
17647         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17648         (signbit_test_data): New variable.
17649         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17651         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17652         with INVALID_EXCEPTION.
17653         (acosh_test_data): Likewise.
17654         (asin_test_data): Likewise.
17655         (atanh_test_data): Likewise.
17656         (fmod_test_data): Likewise.
17657         (log_test_data): Likewise.
17658         (log10_test_data): Likewise.
17659         (log2_test_data): Likewise.
17660         (pow_test_data): Likewise.
17661         (sqrt_test_data): Likewise.
17662         (y0_test_data): Likewise.
17663         (y1_test_data): Likewise.
17664         (yn_test_data): Likewise.
17666         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17667         function contents.
17669         * math/libm-test.inc (struct test_ff_i_data): New type.
17670         (RUN_TEST_LOOP_ff_i_tg): New macro.
17671         (isgreater_test_data): New variable.
17672         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17673         (isgreaterequal_test_data): New variable.
17674         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17675         (isless_test_data): New variable.
17676         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17677         (islessequal_test_data): New variable.
17678         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17679         (islessgreater_test_data): New variable.
17680         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17681         (isunordered_test_data): New variable.
17682         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17684 2013-05-14  David S. Miller  <davem@davemloft.net>
17686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17688 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17690         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17692         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17693         extra_test to int.
17694         (struct test_f_i_data): Change type of max_ulp to int.
17696         * math/libm-test.inc (test_ffI_f1_data): New type.
17697         (RUN_TEST_LOOP_ffI_f1): New macro.
17698         (remquo_test_data): New variable.
17699         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17701         * setjmp/tst-setjmp-fp.c: New file.
17702         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17703         (link-libm): New variable.
17704         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17706         * math/libm-test.inc (struct test_f_i_data): New type.
17707         (RUN_TEST_LOOP_f_i): New macro.
17708         (RUN_TEST_LOOP_f_i_tg): Likewise.
17709         (fpclassify_test_data): New variable.
17710         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17711         (ilogb_test_data): New variable.
17712         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17714         * math/libm-test.inc (scalbln_test): Correct function name in END
17715         call.
17717         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17718         (RUN_TEST_LOOP_fI_f1): New macro.
17719         (frexp_test_data): New variable.
17720         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17722         * math/libm-test.inc (struct test_fF_f1_data): New type.
17723         (RUN_TEST_LOOP_fF_f1): New macro.
17724         (modf_test_data): New variable.
17725         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17727         * math/libm-test.inc (struct test_f_f1_data): New type.
17728         (RUN_TEST_LOOP_f_f1): New macro.
17729         (gamma_test_data): New variable.
17730         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17731         (lgamma_test_data): New variable.
17732         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17734 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17736         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17737         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17738         (main): Comment "tls" pseudo-hwcap.
17740 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17742         * math/libm-test.inc (struct test_fl_f_data): New type.
17743         (RUN_TEST_LOOP_fl_f): New variable.
17744         (scalbln_test_data): New variable.
17745         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17747         * math/libm-test.inc (struct test_fi_f_data): New type.
17748         (RUN_TEST_LOOP_fi_f): New macro.
17749         (ldexp_test_data): New variable.
17750         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17751         (scalbn_test_data): New variable.
17752         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17754         * math/libm-test.inc (struct test_c_f_data): New type.
17755         (RUN_TEST_LOOP_c_f): New macro.
17756         (cabs_test_data): New variable.
17757         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17758         (carg_test_data): New variable.
17759         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17760         (cimag_test_data): New variable.
17761         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17762         (creal_test_data): New variable.
17763         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17765         * math/libm-test.inc (struct test_if_f_data): New type.
17766         (RUN_TEST_LOOP_if_f): New macro.
17767         (jn_test_data): New variable.
17768         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17769         (yn_test_data): New variable.
17770         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17772         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17774 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17776         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17777         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17779 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17781         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17782         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17783         (bench-deps): Add bench-timing.h.
17784         * benchtests-bench-skeleton.c: Include bench-timing.h.
17785         (main): Use TIMING_* macros instead of clock_gettime.
17786         * benchtests/bench-timing.h: New file.
17788         [BZ #14582]
17789         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17790         Renamed from _LIB_VERSION.
17791         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17793 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17795         * math/libm-test.inc (struct test_fff_f_data): New type.
17796         (RUN_TEST_LOOP_fff_f): New macro.
17797         (fma_test_data): New variable.
17798         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17799         (fma_towardzero_test_data): New variable.
17800         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17801         (fma_downward_test_data): New variable.
17802         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17803         (fma_upward_test_data): New variable.
17804         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17806         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17807         (struct test_c_c_data): New type.
17808         (RUN_TEST_LOOP_c_c): New macro.
17809         (cacos_test_data): New variable.
17810         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17811         (cacosh_test_data): New variable.
17812         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17813         (casin_test_data): New variable.
17814         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17815         (casinh_test_data): New variable.
17816         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17817         (catan_test_data): New variable.
17818         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17819         (catanh_test_data): New variable.
17820         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17821         (ccos_test_data): New variable.
17822         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17823         (ccosh_test_data): New variable.
17824         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17825         (cexp_test_data): New variable.
17826         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17827         (clog_test_data): New variable.
17828         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17829         (clog10_test_data): New variable.
17830         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17831         (conj_test_data): New variable.
17832         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17833         (cproj_test_data): New variable.
17834         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17835         (csin_test_data): New variable.
17836         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17837         (csinh_test_data): New variable.
17838         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17839         (csqrt_test_data): New variable.
17840         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17841         (ctan_test_data): New variable.
17842         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17843         (ctan_tonearest_test_data): New variable.
17844         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17845         (ctan_towardzero_test_data): New variable.
17846         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17847         (ctan_downward_test_data): New variable.
17848         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17849         (ctan_upward_test_data): New variable.
17850         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17851         (ctanh_test_data): New variable.
17852         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17853         (ctanh_tonearest_test_data): New variable.
17854         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17855         (ctanh_towardzero_test_data): New variable.
17856         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17857         (ctanh_downward_test_data): New variable.
17858         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17859         (ctanh_upward_test_data): New variable.
17860         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17861         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17862         of BUILD_COMPLEX.
17864         * math/libm-test.inc (struct test_ff_f_data): New type.
17865         (struct test_ff_f_data_nexttoward): Likewise.
17866         (RUN_TEST_LOOP_2_f): New macro.
17867         (RUN_TEST_LOOP_ff_f): Likewise.
17868         (atan2_test_data): New variable.
17869         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17870         (copysign_test_data): New variable.
17871         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17872         (fdim_test_data): New variable.
17873         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17874         (fmax_test_data): New variable.
17875         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17876         (fmin_test_data): New variable.
17877         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17878         (fmod_test_data): New variable.
17879         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17880         (hypot_test_data): New variable.
17881         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17882         (nextafter_test_data): New variable.
17883         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17884         (nexttoward_test_data): New variable.
17885         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17886         (pow_test_data): New variable.
17887         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17888         (pow_tonearest_test_data): New variable.
17889         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17890         (pow_towardzero_test_data): New variable.
17891         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17892         (pow_downward_test_data): New variable.
17893         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17894         (pow_upward_test_data): New variable.
17895         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17896         (remainder_test_data): New variable.
17897         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17898         (scalb_test_data): New variable.
17899         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17900         * sysdeps/i386/fpu/libm-test-ulps: Update.
17902 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17904         * math/libm-test.inc (fma_test): Use max_value instead of local
17905         variable fltmax.
17906         (nextafter_test): Likewise.
17908         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17909         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17910         (acos_downward_test_data): New variable.
17911         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17912         (acos_upward_test_data): New variable.
17913         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17914         (acosh_test_data): New variable.
17915         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17916         (asin_test_data): New variable.
17917         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17918         (asin_tonearest_test_data): New variable.
17919         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17920         (asin_towardzero_test_data): New variable.
17921         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17922         (asin_downward_test_data): New variable.
17923         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17924         (asin_upward_test_data): New variable.
17925         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17926         (asinh_test_data): New variable.
17927         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
17928         (atan_test_data): New variable.
17929         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
17930         (atanh_test_data): New variable.
17931         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
17932         (cbrt_test_data): New variable.
17933         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
17934         (ceil_test_data): New variable.
17935         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
17936         (cos_test_data): New variable.
17937         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
17938         (cos_tonearest_test_data): New variable.
17939         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17940         (cos_towardzero_test_data): New variable.
17941         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17942         (cos_downward_test_data): New variable.
17943         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17944         (cos_upward_test_data): New variable.
17945         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17946         (cosh_test_data): New variable.
17947         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
17948         (cosh_tonearest_test_data): New variable.
17949         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17950         (cosh_towardzero_test_data): New variable.
17951         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17952         (cosh_downward_test_data): New variable.
17953         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17954         (cosh_upward_test_data): New variable.
17955         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17956         (erf_test_data): New variable.
17957         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
17958         (erfc_test_data): New variable.
17959         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
17960         (exp_test_data): New variable.
17961         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
17962         (exp_tonearest_test_data): New variable.
17963         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17964         (exp_towardzero_test_data): New variable.
17965         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17966         (exp_downward_test_data): New variable.
17967         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17968         (exp_upward_test_data): New variable.
17969         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17970         (exp10_test_data): New variable.
17971         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
17972         (exp2_test_data): New variable.
17973         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
17974         (expm1_test_data): New variable.
17975         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
17976         (fabs_test_data): New variable.
17977         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
17978         (floor_test_data): New variable.
17979         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
17980         (j0_test_data): New variable.
17981         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
17982         (j1_test_data): New variable.
17983         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
17984         (log_test_data): New variable.
17985         (log_test): Run tests with RUN_TEST_LOOP_f_f.
17986         (log10_test_data): New variable.
17987         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
17988         (log1p_test_data): New variable.
17989         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
17990         (log2_test_data): New variable.
17991         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
17992         (logb_test_data): New variable.
17993         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
17994         (logb_downward_test_data): New variable.
17995         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17996         (nearbyint_test_data): New variable.
17997         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
17998         (rint_test_data): New variable.
17999         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18000         (rint_tonearest_test_data): New variable.
18001         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18002         (rint_towardzero_test_data): New variable.
18003         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18004         (rint_downward_test_data): New variable.
18005         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18006         (rint_upward_test_data): New variable.
18007         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18008         (round_test_data): New variable.
18009         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18010         (sin_test_data): New variable.
18011         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18012         (sin_tonearest_test_data): New variable.
18013         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18014         (sin_towardzero_test_data): New variable.
18015         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18016         (sin_downward_test_data): New variable.
18017         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18018         (sin_upward_test_data): New variable.
18019         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18020         (sinh_test_data): New variable.
18021         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18022         (sinh_tonearest_test_data): New variable.
18023         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18024         (sinh_towardzero_test_data): New variable.
18025         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18026         (sinh_downward_test_data): New variable.
18027         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18028         (sinh_upward_test_data): New variable.
18029         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18030         (sqrt_test_data): New variable.
18031         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18032         (tan_test_data): New variable.
18033         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18034         (tan_tonearest_test_data): New variable.
18035         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18036         (tan_towardzero_test_data): New variable.
18037         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18038         (tan_downward_test_data): New variable.
18039         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18040         (tan_upward_test_data): New variable.
18041         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18042         (tanh_test_data): New variable.
18043         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18044         (tgamma_test_data): New variable.
18045         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18046         (trunc_test_data): New variable.
18047         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18048         (y0_test_data): New variable.
18049         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18050         (y1_test_data): New variable.
18051         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18052         (significand_test_data): New variable.
18053         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18055 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18057         [BZ #12387]
18058         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18060 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18062         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18064 2013-05-10  Andreas Jaeger  <aj@suse.de>
18066         [BZ #15448]
18067         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18068         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18070 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18072         * math/gen-libm-test.pl (adjust_arg): New function.
18073         (special_functions): Handle generating output in both functions
18074         and arrays.
18075         (parse_args): Likewise.
18076         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18077         $in_func argument to parse_args.
18078         * math/libm-test.inc (struct test_f_f_data): New type.
18079         (IF_ROUND_INIT_): New macro.
18080         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18081         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18082         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18083         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18084         (ROUND_RESTORE_): Likewise.
18085         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18086         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18087         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18088         (ROUND_RESTORE_FE_UPWARD): Likewise.
18089         (RUN_TEST_LOOP_f_f): New macro.
18090         (acos_test_data): New variable.
18091         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18092         (acos_tonearest_test_data): New variable.
18093         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18095 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18097         * benchtests/bench-skeleton.c (startup): Fix coding style.
18099 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18101         [BZ #6809]
18102         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18103         negative infinity argument.
18104         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18105         negative infinity argument.
18106         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18107         negative infinity argument.
18108         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18109         domain errors.
18111 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18113         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18114         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18115         * iconv/iconv_prog.c (main): Likewise.
18116         * locale/programs/charmap-dir.c (charmap_readdir)
18117         (fopen_uncompressed): Likewise.
18118         * locale/programs/locfile.c (siblings_uncached)
18119         (write_locale_data): Use lstat64 instead of lstat.
18120         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18121         stat.
18123 2013-05-10  Andreas Jaeger  <aj@suse.de>
18125         [BZ #15395]
18126         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18127         localization.
18128         Include <locale.h>.
18130 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18132         * elf/dl-close.c (_dl_close_worker): Add comments.
18134 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18136         [BZ #15359]
18137         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18138         high part of pi/2.
18139         (__ieee754_rem_pio2l): Update comments.
18141         [BZ #15429]
18142         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18143         high part of pi/2.
18144         (__ieee754_rem_pio2l): Update comments.
18146         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18147         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18149         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18150         M_PI_4l.
18152         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18153         (M_PI_34_LOG10El): Likewise.
18154         (M_PI2_LOG10El): Likewise.
18155         (M_PI4_LOG10El): Likewise.
18156         (M_PI_LOG10El): Likewise.
18158 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18160         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18162 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18164         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18165         (MINUS_ZERO_INIT): Likewise.
18166         (PLUS_INFTY_INIT): Likewise.
18167         (MINUS_INFTY_INIT): Likewise.
18168         (QNAN_VALUE_INIT): Likewise.
18169         (MAX_VALUE_INIT): Likewise.
18170         (MIN_VALUE_INIT): Likewise.
18171         (MIN_SUBNORM_VALUE_INIT): Likewise.
18172         (plus_zero): Initialize with PLUS_ZERO_INIT.
18173         (minus_zero): Initialize with MINUS_ZERO_INIT.
18174         (plus_infty): Initialize with PLUS_INFTY_INIT.
18175         (minus_infty): Initialize with MINUS_INFTY_INIT.
18176         (qnan_value): Initialize with QNAN_VALUE_INIT.
18177         (max_value): Initialize with MAX_VALUE_INIT.
18178         (min_value): Initialize with MIN_VALUE_INIT.
18179         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18181         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18182         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18183         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18184         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18186         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18187         (RUN_TEST_2_f): Likewise.
18188         (RUN_TEST_ff_f): Likewise.
18189         (RUN_TEST_fi_f): Likewise.
18190         (RUN_TEST_fl_f): Likewise.
18191         (RUN_TEST_fff_f): Likewise.
18192         (RUN_TEST_c_f): Likewise.
18193         (RUN_TEST_f_f1): Likewise.
18194         (RUN_TEST_fF_f1): Likewise.
18195         (RUN_TEST_fI_f1): Likewise.
18196         (RUN_TEST_ffI_f1): Likewise.
18197         (RUN_TEST_c_c): Likewise.
18198         (RUN_TEST_cc_c): Likewise.
18199         (RUN_TEST_f_i): Likewise.
18200         (RUN_TEST_f_i_tg): Likewise.
18201         (RUN_TEST_ff_i_tg): Likewise.
18202         (RUN_TEST_f_b): Likewise.
18203         (RUN_TEST_f_b_tg): Likewise.
18204         (RUN_TEST_f_l): Likewise.
18205         (RUN_TEST_f_L): Likewise.
18206         (RUN_TEST_sincos): Likewise.
18207         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18208         whether to show exceptions.  Do not include ");\n" in return
18209         value.
18210         (special_functions): Output call to RUN_TEST_sincos instead of
18211         check_float calls.  Update calls to new_test.
18212         (parse_args): Output call to single RUN_TEST_* macro instead of
18213         check_* calls and other assignments.  Update calls to new_test.
18215         [BZ #2546]
18216         [BZ #2560]
18217         [BZ #5159]
18218         [BZ #15426]
18219         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18220         input to result for tgamma overflow.
18221         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18222         (gamma_coeff): New variable.
18223         (NCOEFF): New macro.
18224         (gamma_positive): New function.
18225         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18226         underflow here.  Use gamma_positive instead of exp (lgamma) for
18227         other arguments.
18228         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18229         (gamma_coeff): New variable.
18230         (NCOEFF): New macro.
18231         (gammaf_positive): New function.
18232         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18233         underflow here.  Use gamma_positive instead of exp (lgamma) for
18234         other arguments.
18235         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18236         (gamma_coeff): New variable.
18237         (NCOEFF): New macro.
18238         (gammal_positive): New function.
18239         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18240         underflow here.  Use gamma_positive instead of exp (lgamma) for
18241         other arguments.
18242         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18243         (gamma_coeff): New variable.
18244         (NCOEFF): New macro.
18245         (gammal_positive): New function.
18246         (__ieee754_gammal_r): Handle positive infinity, overflow and
18247         underflow here.  Handle NaN the same as positive infinity.  Remove
18248         check x < 0xffffffff for negative integers.  Use gamma_positive
18249         instead of exp (lgamma) for other arguments.
18250         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18251         (gamma_coeff): New variable.
18252         (NCOEFF): New macro.
18253         (gammal_positive): New function.
18254         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18255         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18256         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18257         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18258         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18259         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18260         * sysdeps/generic/math_private.h (__gamma_productf): New
18261         prototype.
18262         (__gamma_product): Likewise.
18263         (__gamma_productl): Likewise.
18264         * math/Makefile (libm-calls): Add gamma_product.
18265         * math/libm-test.inc (tgamma_test): Add more tests.
18266         * sysdeps/i386/fpu/libm-test-ulps: Update.
18267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18269 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18271         * benchtests/bench-skeleton.c (main): Preheat CPU.
18273 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18275         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18277 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18279         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18280         and _dl_skip_args_internal.
18282 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18284         * manual/message.texi (Message Translation): Talk about users.
18285         Message to key mapping impacts design.
18287 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18289         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18291         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18293         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18294         * sysdeps/wordsize-64/glob64.c: ... here.
18296         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18297         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18298         New macros.
18300         * debug/getlogin_r_chk.c: Moved to ...
18301         * login/getlogin_r_chk.c: ... here.
18302         * debug/Makefile (routines): Move getlogin_r_chk to ...
18303         * login/Makefile (routines): ... here.
18304         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18305         * login/Versions (libc: GLIBC_2.4): ... here.
18307         * io/poll.c (__poll): Renamed from poll.
18308         Add libc_hidden_def.
18309         (poll): Define as weak alias.
18311         * debug/ptsname_r_chk.c: Moved to ...
18312         * login/ptsname_r_chk.c: ... here.
18313         * debug/Makefile (routines): Move ptsname_r_chk to ...
18314         * login/Makefile (routines): ... here.
18315         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18316         * login/Versions (libc: GLIBC_2.4): ... here.
18318         * posix/getlogin.c: Moved to ...
18319         * login/getlogin.c: ... here.
18320         * posix/getlogin_r.c: Moved to ...
18321         * login/getlogin_r.c: ... here.
18322         * posix/getlogin_r.c: Moved to ...
18323         * login/getlogin_r.c: ... here.
18324         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18325         * login/Makefile (routines): ... here.
18326         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18327         * login/Versions (libc: GLIBC_2.0): ... here.
18329         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18330         (setrlimit): Define as weak alias.
18332         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18333         Call __ names for open, ftruncate, and close.
18334         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18335         (truncate): Define as weak alias.
18337 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18339         * math/gen-libm-test.pl (parse_args): Initialize x before each
18340         test of frexp, modf and remquo.
18342         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18343         test signgam value.
18345 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18347         [BZ #15418]
18348         [BZ #15419]
18349         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18350         internal tests.
18351         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18353 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18355         * elf/dl-writev.h: New file.
18356         * elf/dl-misc.c: Include it.
18357         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18358         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18360 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18362         * math/libm-test.inc (noXFails): Remove variable.
18363         (noXPasses): Likewise.
18364         (BUILD_COMPLEX_INT): Remove macro.
18365         (print_screen): Remove xfail argument.
18366         (print_screen_max_error): Likewise.
18367         (update_stats): Likewise.
18368         (print_max_error): Likewise.  Update calls to other affected
18369         functions.
18370         (print_complex_max_error): Likewise.
18371         (test_single_exception): Update calls to print_screen.
18372         (test_single_errno): Likewise.
18373         (check_float_internal): Remove xfail argument.  Update calls to
18374         other affected functions.
18375         (check_float): Likewise.
18376         (check_complex): Likewise.
18377         (check_int): Likewise.
18378         (check_long): Likewise.
18379         (check_bool): Likewise.
18380         (check_longlong): Likewise.
18381         (main): Don't print noXFails and noXPasses.
18382         * math/gen-libm-test.pl (top level): Don't mention expected
18383         failure handling in comment.
18384         (new_test): Don't handle expected failures.
18385         (parse_args): Don't mention expected failure handling in comment.
18386         (generate_testfile): Don't handle expected failures.
18387         (parse_ulps): Likewise.
18388         (print_ulps_file): Likewise.
18389         (get_failure): Remove function.
18390         (output_test): Don't handle expected failures.
18391         * make/README.libm-test: Don't mention expected failure handling.
18393         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18394         (minus_zero): Likewise.
18395         (plus_infty): Likewise.
18396         (minus_infty): Likewise.
18397         (qnan_value): Likewise.
18398         (max_value): Likewise.
18399         (min_value): Likewise.
18400         (min_subnorm_value): Likewise.
18401         (initialize): Do not initialize those variables dynamically.
18403 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18405         * io/open.c (__open_2): Moved to ...
18406         * io/open_2.c: ... this new file.
18407         * io/open64.c (__open64_2): Moved to ...
18408         * io/open64_2.c: ... this new file.
18409         * io/openat.c (__openat_2): Moved to ...
18410         * io/openat_2.c: ... this new file.
18411         * io/openat64.c (__openat64_2): Moved to ...
18412         * io/openat64_2.c: ... this new file.
18413         * io/Makefile (routines): Add them.
18414         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18415         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18416         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18417         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18418         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18419         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18420         (__openat64): Add hidden_ver.
18421         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18422         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18424         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18425         Separately conditionalize setting of GLRO(dl_sysinfo) so
18426         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18427         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18429 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18431         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18432         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18433         definition.
18434         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18435         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18436         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18437         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18438         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18440 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18442         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18443         test signgam value.
18445         * math/libm-test.inc (hypot_test): Do not use
18446         IGNORE_ZERO_INF_SIGN.
18448 2013-05-03  Andreas Jaeger  <aj@suse.de>
18450         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18451         Linux 3.9.
18452         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18453         (PF_MAX): Adjust for VSOCK change.
18455 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18457         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18459 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18461         [BZ #15264]
18462         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18463         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18464         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18466 2013-05-02  David S. Miller  <davem@davemloft.net>
18468         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18470 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18472         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18474 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18476         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18478 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18480         [BZ #14952]
18481         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18482         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18483         Use __attribute__ ((__gnu_inline__)).
18484         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18485         Don't use __attribute__ ((__gnu_inline__)).
18487 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18489         [BZ #15423]
18490         * math/s_catan.c (__catan): Handle small real or imaginary part of
18491         input specially to avoid spurious underflow.
18492         * math/s_catanf.c (__catanf): Likewise.
18493         * math/s_catanh.c (__catanh): Likewise.
18494         * math/s_catanhf.c (__catanhf): Likewise.
18495         * math/s_catanhl.c (__catanhl): Likewise.
18496         * math/s_catanl.c (__catanl): Likewise.
18497         * math/libm-test.inc (catan_test): Add more tests.
18498         (catanh_test): Likewise.
18499         * sysdeps/i386/fpu/libm-test-ulps: Update.
18500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18502 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18504         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18506 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18508         [BZ #15416]
18509         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18510         accurately for denominator in atan2.
18511         * math/s_catanf.c (__catanf): Likewise.
18512         * math/s_catanh.c (__catanh): Likewise.
18513         * math/s_catanhf.c (__catanhf): Likewise.
18514         * math/s_catanhl.c (__catanhl): Likewise.
18515         * math/s_catanl.c (__catanl): Likewise.
18516         * math/libm-test.inc (catan_test): Add more tests.
18517         (catanh_test): Likewise.
18518         * sysdeps/i386/fpu/libm-test-ulps: Update.
18519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18521 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18523         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18525         * benchtests/Makefile (bench): Remove slow benchmarks.
18526         * benchtests/atan-inputs: Add slow benchmark inputs.
18527         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18528         (BENCH_FUNC): Accept variant offset.
18529         (VARIANT): Define.
18530         * benchtests/bench-skeleton.c (main): Run benchmark for each
18531         variant.
18532         * benchtests/cos-inputs: Add slow benchmark inputs.
18533         * benchtests/exp-inputs: Likewise.
18534         * benchtests/pow-inputs: Likewise.
18535         * benchtests/sin-inputs: Likewise.
18536         * benchtests/slowatan-inputs: Remove.
18537         * benchtests/slowatan.c: Remove.
18538         * benchtests/slowcos-inputs: Remove.
18539         * benchtests/slowcos.c: Remove.
18540         * benchtests/slowexp-inputs: Remove.
18541         * benchtests/slowexp.c: Remove.
18542         * benchtests/slowpow-inputs: Remove.
18543         * benchtests/slowpow.c: Remove.
18544         * benchtests/slowsin-inputs: Remove.
18545         * benchtests/slowsin.c: Remove.
18546         * benchtests/slowtan-inputs: Remove.
18547         * benchtests/slowtan.c: Remove.
18548         * benchtests/tan-inputs: Add slow benchmark inputs.
18549         * scripts/bench.pl: Parse comments and directives.
18551         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18552         in CPPFLAGS.
18553         ($(objpfx)bench-%.c): Remove *-ITER.
18554         * benchtests/bench-modf.c: Remove definition of ITER.
18555         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18556         (main): Loop for DURATION seconds instead of fixed number of
18557         iterations.
18558         * scripts/bench.pl: Don't expect iterations in parameters.
18560 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18562         * io/fchdir.c (__fchdir): Renamed from fchdir.
18563         (fchdir): Define as weak alias.
18565 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18567         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18568         (ERRNO_EDOM): Likewise.
18569         (ERRNO_ERANGE): Likewise.
18570         (noErrnoTests): New variable.
18571         (init_max_error): Set errno to 0.
18572         (test_single_errno): New function.
18573         (test_errno): Likewise.
18574         (check_float_internal): Call test_errno.  Set errno to 0.
18575         (check_complex): Refer to errno tests in comment.
18576         (check_int): Call test_errno.  Set errno to 0.
18577         (check_long): Likewise.
18578         (check_bool): Likewise.
18579         (check_longlong): Likewise.
18580         (cos_test): Use ERRNO_* flags for errno tests instead of
18581         check_int.
18582         (expm1_test): Likewise.
18583         (fmod_test): Likewise.
18584         (ilogb_test): Likewise.
18585         (lgamma_test): Likewise.
18586         (pow_test): Likewise.
18587         (remainder_test): Likewise.
18588         (sin_test): Likewise.
18589         (tan_test): Likewise.
18590         (yn_test): Likewise.
18591         (initialize): Set errno to 0.
18592         (main): Print number of errno tests.
18593         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18595 2013-04-29  Andreas Jaeger  <aj@suse.de>
18597         [BZ #15084]
18598         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18599         and RES_USEVC.
18601         [BZ #15085]
18602         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18603         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18604         unimplemented.
18606         [BZ #15380]
18607         * stdlib/random.c (__initstate): Return NULL if
18608         __initstate fails.
18610         [BZ #15086]
18611         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18612         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18613         RES_SNGLKUPREOP.
18615 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18619 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18621         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18622         of individual tests.
18623         (casin_test): Likewise.
18624         (casinh_test): Likewise.
18626 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18628         [BZ #15409]
18629         * math/s_catan.c (__catan): Handle arguments with large real or
18630         imaginary part separately without squaring.
18631         * math/s_catanf.c (__catanf): Likewise.
18632         * math/s_catanh.c (__catanh): Likewise.
18633         * math/s_catanhf.c (__catanhf): Likewise.
18634         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18635         and redefine.
18636         (__catanhl): Handle arguments with large real or imaginary part
18637         separately without squaring.
18638         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18639         and redefine.
18640         (__catanl): Handle arguments with large real or imaginary part
18641         separately without squaring.
18642         * math/libm-test.inc (catan_test): Add more tests.
18643         (catanh_test): Likewise.
18644         * sysdeps/i386/fpu/libm-test-ulps: Update.
18645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18647 2013-04-27  Andreas Jaeger  <aj@suse.de>
18649         [BZ #15007]
18650         * stdlib/stdlib.h: Update guards for qecvt.
18651         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18652         <stdlib.h>.
18654 2013-04-27  Allan McRae  <allan@archlinux.org>
18656         * sysdeps/i386/fpu/libm-test-ulps: Update.
18658 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18660         [BZ #15406]
18661         * math/s_catan.c: Include <float.h>.
18662         (__catan): Ensure underflow exception occurs for underflowed
18663         result.
18664         * math/s_catanf.c: Include <float.h>.
18665         (__catanf): Ensure underflow exception occurs for underflowed
18666         result.
18667         * math/s_catanh.c: Include <float.h>.
18668         (__catanh): Ensure underflow exception occurs for underflowed
18669         result.
18670         * math/s_catanhf.c: Include <float.h>.
18671         (__catanhf): Ensure underflow exception occurs for underflowed
18672         result.
18673         * math/s_catanhl.c: Include <float.h>.
18674         (__catanhl): Ensure underflow exception occurs for underflowed
18675         result.
18676         * math/s_catanl.c: Include <float.h>.
18677         (__catanl): Ensure underflow exception occurs for underflowed
18678         result.
18679         * math/libm-test.inc (catan_test): Add more tests.
18680         (catanh_test): Likewise.
18682         [BZ #15405]
18683         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18684         underflowed result.
18685         * math/s_ccoshf.c (__ccoshf): Likewise.
18686         * math/s_ccoshl.c (__ccoshl): Likewise.
18687         * math/s_csin.c (__csin): Likewise.
18688         * math/s_csinf.c (__csinf): Likewise.
18689         * math/s_csinh.c (__csinh): Likewise.
18690         * math/s_csinhf.c (__csinhf): Likewise.
18691         * math/s_csinhl.c (__csinhl): Likewise.
18692         * math/s_csinl.c (__csinl): Likewise.
18693         * math/libm-test.inc (ccos_test): Add more tests.
18694         (ccosh_test): Likewise.
18695         (csin_test): Likewise.
18696         (csinh_test): Likewise.
18698 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18700         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18701         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18702         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18703         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18704         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18705         powerpc/power5+/fpu folders.
18706         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18709 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18713 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18715         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18716         additions to variable.
18717         [$(config-machine) = x86_64] (modules-names): Likewise.
18718         ($(objpfx)tst-audit3): Remove dependency.
18719         ($(objpfx)tst-audit3.out): Likewise.
18720         ($(objpfx)tst-audit4): Likewise.
18721         ($(objpfx)tst-audit4.out): Likewise.
18722         ($(objpfx)tst-audit5): Likewise.
18723         ($(objpfx)tst-audit5.out): Likewise.
18724         ($(objpfx)tst-audit6): Likewise.
18725         ($(objpfx)tst-audit6.out): Likewise.
18726         ($(objpfx)tst-audit7): Likewise.
18727         ($(objpfx)tst-audit7.out): Likewise.
18728         (tst-audit3-ENV): Remove variable.
18729         (tst-audit4-ENV): Likewise.
18730         (tst-audit5-ENV): Likewise.
18731         (tst-audit6-ENV): Likewise.
18732         (tst-audit7-ENV): Likewise.
18733         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18734         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18735         addition to variable.
18736         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18737         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18738         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18739         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18740         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18741         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18742         tst-audit3, tst-audit4 and tst-audit5.
18743         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18744         tst-audit6 and tst-audit7.
18745         [$(subdir) = elf] (modules-names): Add audit modules for those
18746         tests.
18747         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18748         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18749         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18750         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18751         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18752         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18753         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18754         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18755         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18756         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18757         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18758         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18759         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18760         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18761         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18762         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18763         Likewise.
18764         [$(subdir) = elf && $(config-cflags-avx) = yes]
18765         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18766         [$(subdir) = elf && $(config-cflags-avx) = yes]
18767         (CFLAGS-tst-auditmod4a.c): Likewise.
18768         [$(subdir) = elf && $(config-cflags-avx) = yes]
18769         (CFLAGS-tst-auditmod4b.c): Likewise.
18770         [$(subdir) = elf && $(config-cflags-avx) = yes]
18771         (CFLAGS-tst-auditmod6b.c): Likewise.
18772         [$(subdir) = elf && $(config-cflags-avx) = yes]
18773         (CFLAGS-tst-auditmod6c.c): Likewise.
18774         [$(subdir) = elf && $(config-cflags-avx) = yes]
18775         (CFLAGS-tst-auditmod7b.c): Likewise.
18776         * elf/tst-audit3.c: Move to ...
18777         * sysdeps/x86_64/tst-audit3.c: ... here.
18778         * elf/tst-audit4.c: Move to ...
18779         * sysdeps/x86_64/tst-audit4.c: ... here.
18780         * elf/tst-audit5.c: Move to ...
18781         * sysdeps/x86_64/tst-audit5.c: ... here.
18782         * elf/tst-audit6.c: Move to ...
18783         * sysdeps/x86_64/tst-audit6.c: ... here.
18784         * elf/tst-audit7.c: Move to ...
18785         * sysdeps/x86_64/tst-audit7.c: ... here.
18786         * elf/tst-auditmod3a.c: Move to ...
18787         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18788         * elf/tst-auditmod3b.c: Move to ...
18789         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18790         * elf/tst-auditmod4a.c: Move to ...
18791         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18792         * elf/tst-auditmod4b.c: Move to ...
18793         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18794         * elf/tst-auditmod5a.c: Move to ...
18795         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18796         * elf/tst-auditmod5b.c: Move to ...
18797         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18798         * elf/tst-auditmod6a.c: Move to ...
18799         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18800         * elf/tst-auditmod6b.c: Move to ...
18801         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18802         * elf/tst-auditmod6c.c: Move to ...
18803         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18804         * elf/tst-auditmod7a.c: Move to ...
18805         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18806         * elf/tst-auditmod7b.c: Move to ...
18807         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18809 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18811         [BZ #15366]
18812         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18813         define unconditionally.
18814         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18815         define unconditionally.
18816         (INT8_C, INT16_C, etc.): Likewise.
18818 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18820         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18821         __ehdr_start with hidden visibility.
18823         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18825 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18827         * math/libm-test.inc (cos_test): Use accurate hex constants.
18828         (sincost_test): Likewise.
18830 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18832         * math/libm-test.inc (catan_test): Add more tests.
18833         (catanh_test): Likewise.
18835         * math/s_catanf.c (__catanf): Use suffixed floating-point
18836         constants.
18837         * math/s_catanhf.c (__catanhf): Likewise.
18838         * math/s_catanhl.c (__catanhl): Likewise.
18839         * math/s_catanl.c (__catanl): Likewise.
18841         [BZ #15394]
18842         * math/s_catan.c (__catan): Calculate imaginary part of result
18843         with log1p not log unless computing log of number close to 0.
18844         * math/s_catanf.c (__catanf): Likewise.
18845         * math/s_catanl.c (__catanl): Likewise.
18846         * math/s_catanh.c (__catanh): Calculate real part of result with
18847         log1p not log unless computing log of number close to 0.
18848         * math/s_catanhf.c (__catanhf): Likewise.
18849         * math/s_catanhl.c (__catanhl): Likewise.
18850         * math/libm-test.inc (catan_test): Add more tests.
18851         (catanh_test): Likewise.
18852         * sysdeps/i386/fpu/libm-test-ulps: Update.
18853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18855 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18857         * benchtests/Makefile: Mention files in which fast and slow
18858         paths of math functions are implemented.
18860 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18862         * sysdeps/posix/timespec_get.c: New file.
18864 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18866         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18867         POWER.
18868         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18869         for POWER.
18870         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18871         powerpc/power5/fpu folders.
18872         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18873         * benchtests/Makefile: Add modf testcase.
18874         * benchtests/bench-modf.c: New file: Benchmark test for mo
18876 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18878         [BZ #14888]
18879         * time/Makefile (tests): Add tst-strptime-whitespace.
18880         * time/strptime_l.c (get_number): Use ISSPACE.
18881         (__strptime_internal): Likewise.
18882         * time/tst-strptime-whitespace.c: New test case.
18884 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18886         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18887         member.
18888         (_nss_files_init): Set it here.
18890 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18892         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18893         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18894         unsigned.
18896 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18898         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18900 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18902         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18903         size just once.
18905 2013-04-21  David S. Miller  <davem@davemloft.net>
18907         * po/ru.po: Update Russion translation from translation project.
18909 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18911         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18912         and setfsgid.
18914 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18916         * configure.in: Remove i386 configure warning. Remove i386 case.
18917         * configure: Regenerate.
18918         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18919         Add example to error message.
18920         * sysdeps/i386/configure: Regenerate.
18922 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18924         * benchtests/Makefile (bench): Add cos, tan, slowcos and
18925         slowtan.
18926         * benchtests/cos-inputs: New file.
18927         * benchtests/slowcos-inputs: New file.
18928         * benchtests/slowcos.c: New file.
18929         * benchtests/slowtan-inputs: New file.
18930         * benchtests/slowtan.c: New file.
18931         * benchtests/tan-inputs: New file.
18933 2013-04-16  Roland McGrath  <roland@hack.frob.com>
18935         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
18936         considered kosher.
18938 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18940         * benchtests/Makefile: Include cppflags-iterator.mk to add
18941         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
18943         * Makefile.in (bench-clean): New target.
18944         * benchtests/Makefile (bench-clean): Likewise.
18946 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
18948         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
18950 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
18952         * stdio-common/tstdiomisc.c: Fix coding-style violation.
18954 2013-04-15  Andreas Schwab  <schwab@suse.de>
18956         * nscd/grpcache.c (cache_addgr): Properly check for short write.
18957         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18958         * nscd/pwdcache.c (cache_addpw): Likewise.
18959         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
18960         more than recsize.
18962 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18964         * benchtests/Makefile (bench): Write all output to
18965         bench-out.tmp together.
18967 2013-04-15  Andreas Schwab  <schwab@suse.de>
18969         * nscd/nscd.c (main): Don't fork again after closing files.
18971 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
18973         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
18975         * benchtests/Rules (bench-deps): Collect dependencies into a
18976         single variable.  Add Makefile to dependencies.
18977         ($(objpfx)bench-%.c): Depend on bench-deps.
18979 2013-04-12  Roland McGrath  <roland@hack.frob.com>
18980             Xavier Roche  <roche+kml2@exalead.com>
18982         [BZ #15361]
18983         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
18984         just that it's a file descriptor.
18985         * manual/llio.texi (Synchronizing AIO Operations): Update description
18986         for EBADF error from aio_fsync.
18988 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
18990         * Rules (bench): Move target definition...
18991         * benchtests/Makefile: ... here.
18993 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
18995         * math/libm-test.inc (cos_test): Fix PI/2 test.
18996         (sincos_test): Likewise.
18997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18998         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19000 2013-04-11  Andreas Schwab  <schwab@suse.de>
19002         [BZ #13988]
19003         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19004         accept exponent character only when digits were seen.
19005         * stdio-common/Makefile (tests): Add bug26.
19006         * stdio-common/bug26.c: New file.
19008         [BZ #14293]
19009         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19010         non-freeable.
19012 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19014         * Makeconfig (rtld-prefix): Define built linker prefix.
19015         * Rules (run-bench): Use it.
19016         * math/Makefile (run-regen-ulps): Likewise.
19018         * Rules (bench): Remove eval.
19020 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19021             Roland McGrath  <roland@hack.frob.com>
19022             Ondrej Bilka  <neleai@seznam.cz>
19024         [BZ #15346]
19025         * time/getdate.c: Include ctype.h and alloca.h.
19026         (__getdate_r): Trim leading and trailing spaces of input.
19027         * time/tst-getdate.c (tests): Add tests with leading and
19028         trailing spaces.
19030 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19032         [BZ #14280]
19033         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19034         when computing value.
19036 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19038         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19039         Use testrun.sh to run libm tests.
19041         [BZ #15309]
19042         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19044 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19046         [BZ #15264]
19047         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19049 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19051         * Makefile.in (regen-ulps): New target.
19052         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19053         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19054         [ifneq (no,$(PERL)] (regen-ulps): New target.
19055         [ifeq (no,$(PERL)] (regen-ulps): New target.
19056         * math/libm-test.inc (ulps_file_name): Define.
19057         (output_dir): New variable.
19058         (options): Add "output-dir" option.
19059         (parse_opt): Handle 'o' case.
19060         (main): If output_dir is non-NULL use it as a prefix
19061         otherwise use "".
19062         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19066         [BZ #10060, #10062]
19067         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19068         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19069         fail configure if __sync_val_compare_and_swap is not inlined.
19070         * sysdeps/i386/configure: Regenerate.
19071         * configure.in: Build for i686 when configured for i386.
19072         * configure: Regenerate.
19073         * README: Remove i386 reference.
19075 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19077         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19078         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19080 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19082         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19083         (lmsnanval): New variables.
19084         (F): Add conversion tests.
19085         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19086         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19088         * stdio-common/tstdiomisc.c (F): Properly collect individual
19089         tests' results.
19091         [BZ #14686, #15336]
19092         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19093         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19094         Instead, use input NaN values or generate a qNaN by arithmetic
19095         operation.  Also fix bugs to comply with the standard.
19096         * math/libm-test.inc (remainder_test): Add more tests.
19098         [BZ #15335, #15342]
19099         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19101         input NaN values or generate a qNaN by arithmetic operation.
19103         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19104         unreachable code.
19106         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19107         definitions.
19109 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19111         [BZ #14478]
19112         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19113         underflowed result.
19114         * math/s_cexpf.c (__cexpf): Likewise.
19115         * math/s_cexpl.c (__cexpl): Likewise.
19116         * math/libm-test.inc (cexp_test): Add more tests.
19118 2013-04-03  Andreas Schwab  <schwab@suse.de>
19120         [BZ #15330]
19121         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19122         order arrays from heap if bigger than alloca cutoff.
19124 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19126         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19127         (SNAN_TESTS_double): Refer to GCC PR56831.
19128         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19129         GCC PR56828.
19131 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19133         * Rules (bench): Move bench.out after the run is complete.
19135         * Rules (bench): Echo currently running benchmark.
19137         * benchtests/Makefile (bench): Add atan and slowatan.
19138         * benchtests/atan-inputs: New file.
19139         * benchtests/slowatan-inputs: New file.
19140         * benchtests/slowatan.c: New file.
19142         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19143         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19144         its value.
19146         [BZ #15305]
19147         * sysdeps/unix/sysv/linux/kernel-features.h
19148         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19149         __ASSUME_XFS_RESTRICTED_CHOWN.
19150         * sysdeps/unix/sysv/linux/pathconf.c
19151         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19152         Save and restore errno.
19154 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19156         [BZ #15327]
19157         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19158         arguments using __kernel_casinh.
19159         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19160         arguments using __kernel_casinhf.
19161         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19162         arguments using __kernel_casinhl.
19163         * math/libm-test.inc (cacosh_test): Add more tests.
19164         * sysdeps/i386/fpu/libm-test-ulps: Update.
19165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19167 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19169         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19170         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19172         * bench/Makefile (bench): Add sin and slowsin.
19173         * benchtests/sin-inputs: New file.
19174         * benchtests/slowsin-inputs: New file.
19175         * benchtests/slowsin.c: New file.
19177         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19178         (bench): Add slowexp and slowpow.
19179         (exp-ITER): Increase iterations.
19180         (pow-ITER): Likewise.
19181         * benchtests/exp-inputs: Change input.
19182         * benchtests/pow-inputs: Likewise.
19183         * benchtests/slowexp-inputs: New file.
19184         * benchtests/slowexp.c: New file.
19185         * benchtests/slowpow-inputs: New file.
19186         * benchtests/slowpow.c: New file.
19188 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19190         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19191         instructions.
19192         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19193         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19194         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19195         * benchtests/Makefile: Add rint benchtest.
19196         * benchtests/rint-inputs: Input for rint benchtest.
19198 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19200         * Versions.def (libm): Add GLIBC_2.18.
19201         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19202         hidden libm prototypes.
19203         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19204         * math/Makefile (libm-calls): Add s_issignaling.
19205         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19206         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19207         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19208         declaration.
19209         * math/math.h [__USE_GNU] (issignaling): New macro.
19210         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19211         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19212         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19213         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19214         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19215         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19216         * manual/arith.texi (issignaling): New section.
19217         * manual/libm-err-tab.pl (@all_functions): Update comment.
19218         * math/gen-libm-test.pl (parse_args): Apply special handling for
19219         issignaling.
19220         * math/libm-test.inc (print_float, issignaling_test): New
19221         functions.
19222         (check_float_internal): Add issignaling checks.
19223         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19224         default definition.
19225         * sysdeps/powerpc/math-tests.h: New file.
19226         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19227         tests.
19228         * math/test-snan.c (TEST_FUNC): Likewise.
19230 2013-03-30  David S. Miller  <davem@davemloft.net>
19232         * po/de.po: Update from translation team.
19234 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19236         [BZ #10357]
19237         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19238         imaginary part less than 1.0 and real part less than 0.5
19239         specially.
19240         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19241         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19242         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19243         (cacos_test): Add more tests.
19244         (casin_test): Likewise.
19245         (casinh_test): Likewise.
19246         * sysdeps/i386/fpu/libm-test-ulps: Update.
19247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19249 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19251         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19252         ONE with its value.
19254         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19255         (__pow_mp): Replace ONE and MONE with their values.
19256         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19257         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19258         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19259         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19261         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19263         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19265         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19266         (__pow_mp): Replace ZERO and MZERO with their values.
19267         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19268         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19269         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19271         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19272         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19273         (__sqr): Likewise.
19275         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19277         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19279 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19281         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19282         Declare with __attribute__ ((weak)).
19283         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19284         Call __call_tls_dtors only if it's not NULL.
19286 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19288         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19289         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19290         magic __ehdr_start linker symbol if it's defined.
19291         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19292         them up here if it was already done.
19294         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19295         (_dl_aux_init): Use const in cast when setting it.
19296         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19297         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19298         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19300         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19301         Declare them here.
19302         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19303         * csu/libc-tls.c: Nor here.
19304         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19306         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19307         (__libc_message): Never call vsyslog.
19309 2013-03-28  Alan Modra  <amodra@gmail.com>
19311         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19312         Define as empty.
19313         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19314         Likewise.
19316 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19318         [BZ #15214]
19319         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19320         underflow.
19321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19323 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19325         [BZ #15304]
19326         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19327         Don't add gid passed as argument.
19329         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19331 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19333         [BZ #15307]
19334         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19335         imaginary part between 1.0 and 1.5 and real part less than 0.5
19336         specially.
19337         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19338         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19339         * math/libm-test.inc (cacos_test): Add more tests.
19340         (casin_test): Likewise.
19341         (casinh_test): Likewise.
19342         * sysdeps/i386/fpu/libm-test-ulps: Update.
19343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19345 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19347         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19348         constants.
19349         (norm): Likewise.
19350         (denorm): Likewise.
19351         (__dbl_mp): Likewise.
19352         (add_magnitudes): Likewise.
19353         (sub_magnitudes): Likewise.
19354         (__add): Likewise.
19355         (__sub): Likewise.
19356         (__mul): Likewise.
19357         (__sqr): Likewise.
19358         (__inv): Likewise.
19359         (__dvd): Likewise.
19361         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19362         commented code.
19363         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19364         (__dubcos): Likewise.
19365         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19366         (__ieee754_acos): Likewise.
19367         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19368         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19369         (__exp1): Likewise.
19370         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19371         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19372         (log1): Likewise.
19373         (my_log2): Likewise.
19374         (checkint): Likewise.
19375         * sysdeps/ieee754/dbl-64/e_remainder.c
19376         (__ieee754_remainder): Likewise.
19377         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19379         (bsloww): Likewise.
19380         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19382         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19383         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19384         MANTISSA_STORE_T to store computations on mantissa.  Use
19385         macros for rounding and division.
19386         (denorm): Likewise.
19387         (__dbl_mp): Likewise.
19388         (add_magnitudes): Likewise.
19389         (sub_magnitudes): Likewise.
19390         (__mul): Likewise.
19391         (__sqr): Likewise.
19392         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19393         powers of two in terms of TWOPOW macro.
19394         (mp_no): Make type of mantissa as MANTISSA_T.
19395         [!RADIXI]: Define RADIXI.
19396         [!TWO52]: Define TWO52.
19397         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19399 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19401         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19402         llroundl symbol when building for PPC32.
19404 2013-03-24  Mark H Weaver  <mhw@netris.org>
19406         * manual/arith.texi (Normalization Functions): Fix prototypes for
19407         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19409 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19411         [BZ #13889]
19412         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19413         high value to check if expl overflow.
19414         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19415         to check for underflow and overflow.
19416         * math/libm-test.inc: Add exp test.
19418 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19420         [BZ #11120]
19421         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19422         with NOT_IN_libc.
19424 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19426         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19427         symbol.
19429 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19431         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19432         wrap blocks consisting of several statements.
19434         * sysdeps/generic/math-tests.h: New file.
19435         * sysdeps/i386/fpu/math-tests.h: Likewise.
19436         * math/test-snan.c: Include it.
19437         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19439 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19441         [BZ #15285]
19442         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19443         (__ieee754_j0l): Do not improve calculations using cos of twice
19444         input for inputs above LDBL_MAX / 2.0L.
19445         (__ieee754_y0l): Likewise.
19446         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19447         (__ieee754_j1l): Do not improve calculations using cos of twice
19448         input for inputs above LDBL_MAX / 2.0L.
19449         (__ieee754_y1l): Likewise.
19450         * math/libm-test.inc (j0_test): Add another test.
19451         (j1_test): Likewise.
19452         (y0_test): Likewise.
19453         (y1_test): Likewise.
19454         * sysdeps/i386/fpu/libm-test-ulps: Update.
19456 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19458         * Rules ($(objpfx)bench-%.c): Include code from a C source
19459         file.
19461 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19463         [BZ #15287]
19464         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19465         imaginary part 1.0 and real part less than 0.5 specially.
19466         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19467         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19468         * math/libm-test.inc (cacos_test): Add more tests.
19469         (casin_test): Likewise.
19470         (casinh_test): Likewise.
19471         * sysdeps/i386/fpu/libm-test-ulps: Update.
19472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19474 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19476         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19477         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19479 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19481         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19482         * config.make.in (config-cflags-sse4): Remove variable.
19483         (config-cflags-avx): Likewise.
19484         (config-cflags-sse2avx): Likewise.
19485         (config-cflags-novzeroupper): Likewise.
19486         (config-asflags-i686): Likewise.
19487         (have-mfma4): Likewise.
19488         (have-as-vis3): Likewise.
19489         (MIG): Likewise.
19490         * configure.in (MIG): Do not AC_SUBST.
19491         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19492         (libc_cv_cc_sse4): Do not AC_SUBST.
19493         (libc_cv_cc_avx): Likewise.
19494         (libc_cv_cc_sse2avx): Likewise.
19495         (libc_cv_cc_novzeroupper): Likewise.
19496         (libc_cv_cc_fma4): Likewise.
19497         (libc_cv_as_i686): Likewise.
19498         (libc_cv_sparc_as_vis3): Likewise.
19499         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19500         LIBC_CONFIG_VAR.
19501         (config-asflags-i686): Likewise.
19502         (config-cflags-avx): Likewise.
19503         (config-cflags-sse2avx): Likewise.
19504         (have-mfma4): Likewise.
19505         (config-cflags-novzeroupper): Likewise.
19506         * sysdeps/mach/configure.in (MIG): Likewise.
19507         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19508         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19509         LIBC_CONFIG_VAR.
19510         (config-cflags-avx): Likewise.
19511         (config-cflags-sse2avx): Likewise.
19512         (have-mfma4): Likewise.
19513         (config-cflags-novzeroupper): Likewise.
19514         * configure: Regenerated.
19515         * sysdeps/i386/configure: Likewise.
19516         * sysdeps/mach/configure: Likewise.
19517         * sysdeps/sparc/configure: Likewise.
19518         * sysdeps/x86_64/configure: Likewise.
19520 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19522         [BZ #14812]
19523         * locale/programs/localedef.c (options): Put N_ translation marker
19524         on argument names, not just descriptions.
19526 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19528         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19530 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19532         [BZ #14176]
19533         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19535 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19537         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19538         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19539         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19540         [!BEFORE_ABORT] (before_abort): New function.
19541         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19542         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19543         (writev_for_fatal): New function.
19544         (WRITEV_FOR_FATAL): New macro; call that.
19545         (backtrace_and_maps): New function.
19546         (BEFORE_ABORT): New macro; call that.
19547         (struct str_list): Type removed.
19548         (__libc_message, __libc_fatal): Functions removed.
19549         Include <sysdeps/posix/libc_fatal.c> instead.
19551 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19553         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19554         constants.
19555         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19556         double constants.
19558 2013-03-19  Andreas Schwab  <schwab@suse.de>
19560         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19561         * sysdeps/gnu/configure: Regenerate.
19563         * configure.in: Substitute libc_cv_rtlddir.
19564         * configure: Regenerate.
19565         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19566         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19567         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19568         * elf/Makefile (install-others, CFLAGS-interp.c)
19569         (ldso_install, common-ldd-rewrite): Likewise.
19570         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19571         $(inst_slibdir)/$(rtld-installed-name).
19572         * scripts/rellns-sh: Add -p option.
19573         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19574         for source.
19576 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19578         * manual/nptl.texi: Renamed to ...
19579         * manual/threads.texi: ... this.
19580         * manual/Makefile (chapters): Update.
19582 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19584         [BZ #14812]
19585         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19586         on argument names, not just descriptions.
19587         * malloc/memusagestat.c (options): Likewise.
19588         * nss/getent.c (options): Likewise.
19590 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19592         [BZ #14812]
19593         * iconv/iconv_prog.c (options): Put N_ translation marker
19594         on argument names, not just descriptions.
19595         * iconv/iconvconfig.c (options): Likewise.
19597 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19599         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19600         implementation which is faster on all x86_64 architectures.
19601         Tested on AMD, Intel Nehalem, SNB, IVB.
19602         * sysdeps/x86_64/strnlen.S: Likewise.
19604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19605         Remove all multiarch strlen and strnlen versions.
19606         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19607         Remove strlen and strnlen related parts.
19609         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19610         Inline strlen part.
19611         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19613         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19614         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19615         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19616         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19617         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19618         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19620 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19622         * manual/memory.texi (Malloc Tunable Parameters):
19623         Sort parameters alphabetically. Add comments for missing entries.
19625 2013-03-17  David S. Miller  <davem@davemloft.net>
19627         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19629 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19631         [BZ #15283]
19632         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19633         for arguments at most half maximum finite value.
19634         * math/libm-test.inc (j0_test): Add more tests.
19635         (j1_test): Likewise.
19636         (y0_test): Likewise.
19637         (y1_test): Likewise.
19638         * sysdeps/i386/fpu/libm-test-ulps: Update.
19639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19641         [BZ #14155]
19642         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19643         1 / x and functions P and Q for arguments above 0x1p256L.
19644         (__ieee754_y0l): Likewise.
19645         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19646         (__ieee754_y1l): Likewise.
19647         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19648         (j1_test): Likewise.
19649         (y0_test): Likewise.
19650         (y1_test): Likewise.
19652 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19654         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19655         variable.
19657 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19659         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19660         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19661         zero since it's initialized to EXEC_PAGESIZE.
19663         * sysdeps/unix/sysv/linux/ldsodefs.h
19664         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19665         * sysdeps/generic/ldsodefs.h: ... here.
19667 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19669         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19671         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19672         math/test-snan.c.
19673         * math/test-snan.c: Renamed from
19674         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19675         * math/Makefile (tests): Add test-snan.
19676         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19677         test-powerpc-snan.
19679         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19680         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19681         functions.
19682         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19683         __builtin_nan family of functions.
19684         * math/libm-test.inc (initialize): Initialize qnan_value with
19685         __builtin_nan family of functions.
19686         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19687         Remove variables.
19688         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19689         Remove functions.
19690         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19691         storage class.  Initialize qNaN_var and sNaN_var with
19692         __builtin_nan and __builtin_nans families of functions,
19693         respectively.
19695         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19696         (sqrt_test): Remove duplicate test with qNaN input.
19697         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19698         (round_test, signbit_test, significand_test): Note missing +/-Inf
19699         as well as qNaN tests.
19701         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19702         qNaN_var.  Fix a few strings, too.
19703         * math/libm-test.inc (nan_value): Rename to qnan_value.
19704         * math/gen-libm-test.pl (%beautify): Adjust to that.
19705         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19706         * math/test-misc.c (main): Likewise.
19707         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19708         to __qnan_bytes, and __qnan_union, respectively.
19709         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19710         Likewise.
19711         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19712         and lqnanval, respectively.
19713         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19714         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19715         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19716         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19718         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19719         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19720         doubles.
19722         * math/test-misc.c (main): Fix copy'n'pastos.
19723         * misc/tst-efgcvt.c (special): Likewise.
19725         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19726         Remove declarations.
19728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19730         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19731         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19732         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19733         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19735 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19737         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19738         macro to return vdso values correctly in IFUNC implementations.
19739         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19740         Optimization by using IFUNC.
19742 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19743             Richard Henderson  <rth@redhat.com>
19744             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19746         * Makefile.in (bench): New target.
19747         * NEWS: Mention the benchmark framework.
19748         * Rules (bench): Likewise.
19749         (binaries-bench): Generate binaries for functions to
19750         benchmark.
19751         * benchtests/Makefile: New makefile for benchmark tests.
19752         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19753         programs.
19754         * benchtests/exp-inputs: New input file for EXP function.
19755         * benchtests/pow-inputs: New input file for POW function.
19756         * scripts/bench.pl: New script to generate source files for
19757         benchmark programs.
19759 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19761         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19762         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19763         computations on mantissa.  Use macros for rounding and
19764         division.
19765         (denorm): Likewise.
19766         (__dbl_mp): Likewise.
19767         (add_magnitudes): Likewise.
19768         (sub_magnitudes): Likewise.
19769         (__mul): Likewise.
19770         (__sqr): Likewise.
19771         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19772         powers of two in terms of TWOPOW macro.
19773         (mp_no): Make type of mantissa as MANTISSA_T.
19774         [!RADIXI]: Define RADIXI.
19775         [!TWO52]: Define TWO52.
19776         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19778         * manual/nptl.texi (cindex): Modify threads to pthreads.
19780 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19782         * sysdeps/x86_64/preconfigure: Regenerated.
19784 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19786         [BZ #14155]
19787         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19788         0x1p28 and above.
19789         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19790         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19791         0x1p28 and above.
19792         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19793         * math/libm-test.inc (j0_test): Do not allow one spurious
19794         underflow exception.
19795         (y1_test): Likewise.
19797 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19799         * manual/Makefile (chapters): Add nptl.
19800         * manual/debug.texi (Debugging Support): Add link to Threads
19801         chapter.
19802         * manual/nptl.texi: New file.
19804         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19806 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19808         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19809         for non-NULL pointer before the memory validity test. Pointed
19810         out by Holger Brunck <holger.brunck@keymile.com>.
19812 2013-03-13  Andreas Schwab  <schwab@suse.de>
19814         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19815         instead of .os.
19817 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19819         * timezone/zic.c: Update from tzcode 2013b.
19821 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19823         * manual/install.texi (Configuring and compiling):
19824         Mention i686 and i586.
19825         * INSTALL: Regenerate.
19827 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19829         * sysdeps/init_array/elf-init.c: New file.
19830         * csu/elf-init.c
19831         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19832         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19834         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19835         __gmon_start__ as global, but as static with a .preinit_array pointer.
19836         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19837         * sysdeps/init_array/crti.S: New file, empty except for comments.
19838         * sysdeps/init_array/crtn.S: Likewise.
19840 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19842         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19843         definining bcopy.
19844         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19845         Remove Prefer_SSE_for_memop.
19846         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19847         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19848         HAS_PREFER_SSE_FOR_MEMOP.
19849         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19850         memset-x86-64.
19851         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19852         Remove bzero, memset ifunc support.
19853         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19854         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19855         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19856         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19858 2013-03-11  Andreas Schwab  <schwab@suse.de>
19860         [BZ #15234]
19861         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19862         by SHLIB_COMPAT.
19863         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19864         (GLIBC_2.16): Remove pthread_atfork.
19866 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19868         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19869         (ptestcases.h): Likewise.
19871 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19873         * Makeconfig ($(common-objpfx)config.status): Depend on
19874         sysdeps/*/preconfigure{,.in} too.
19876 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19878         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19879         (__free_hook): Use void * instead of __malloc_ptr_t.
19880         (__malloc_hook): Likewise.
19881         (__realloc_hook): Likewise.
19882         (__memalign_hook): Likewise.
19883         (__after_morecore_hook): Likewise.
19884         * malloc/arena.c (save_malloc_hook): Likewise.
19885         (save_free_hook): Likewise.
19886         * malloc/hooks.c (malloc_hook_ini): Likewise.
19887         (realloc_hook_ini): Likewise.
19888         (memalign_hook_ini): Likewise.
19889         * malloc/malloc.c (malloc_hook_ini): Likewise.
19890         (realloc_hook_ini): Likewise.
19891         (memalign_hook_ini): Likewise.
19892         (__free_hook): Likewise.
19893         (__malloc_hook): Likewise.
19894         (__realloc_hook): Likewise.
19895         (__memalign_hook): Likewise.
19896         (__libc_malloc): Likewise.
19897         (__libc_free): Likewise.
19898         (__libc_realloc): Likewise.
19899         (__libc_memalign): Likewise.
19900         (__libc_valloc): Likewise.
19901         (__libc_pvalloc): Likewise.
19902         (__libc_calloc): Likewise.
19903         (__posix_memalign): Likewise.
19904         * malloc/morecore.c (__sbrk): Likewise.
19905         (__default_morecore): Likewise.
19907         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19909         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19910         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19911         __malloc_ptrdiff_t.
19913         * malloc/malloc.h (__malloc_size_t): Remove macro.
19914         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19915         __malloc_size_t.
19916         (old_memalign_hook): Likewise.
19917         (old_realloc_hook): Likewise.
19918         (struct hdr): Likewise.
19919         (flood): Likewise.
19920         (mallochook): Likewise.
19921         (memalignhook): Likewise.
19922         (reallochook): Likewise.
19923         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
19924         (tr_old_realloc_hook): Likewise.
19925         (tr_old_memalign_hook): Likewise.
19926         (tr_mallochook): Likewise.
19927         (tr_reallochook): Likewise.
19928         (tr_memalignhook): Likewise.
19930 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
19933         default_ldbl_pack and using as default implementation.
19934         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
19935         implementation.
19936         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
19937         redundant definition.
19938         (ldbl_insert_mantissa): Likewise.
19939         (ldbl_canonicalize): Likewise.
19940         (ldbl_nearbyint): Likewise.
19941         (ldbl_pack): Rename to ldbl_pack_ppc.
19942         (ldbl_unpack): Rename to ldbl_unpack_ppc.
19943         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
19944         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
19946 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19948         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
19949         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
19951         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
19952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
19953         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
19954         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
19955         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
19957 2013-03-07  Andreas Jaeger  <aj@suse.de>
19959         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19960         bits/mman-linux.h.
19962 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19964         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
19965         Include mpa.h and declare __MPEXP.
19966         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
19967         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19968         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19969         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
19970         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19971         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
19972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
19974         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
19975         (__slowpow): Use long double EXPL and LOGL functions to
19976         compute POW.
19977         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
19978         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19979         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
19980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
19981         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
19982         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
19985         intermediate variable to calculate exponent.
19986         (__sqr): Likewise.
19987         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19988         Likewise.
19989         (__sqr): Likewise.
19991         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
19992         [!NO__SQR]: Define __sqr.
19993         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
19994         and NO__SQR.  Remove all code except __mul and __sqr.  Include
19995         sysdeps/ieee754/dbl-64/mpa.c.
19996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19998         [BZ #12723]
19999         * posix/Makefile (tests): Add tst-pathconf.
20000         * posix/tst-pathconf.c: New test case.
20001         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20002         _PC_PIPE_BUF.
20003         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20005 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20007         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20009 2013-03-06  Andreas Jaeger  <aj@suse.de>
20011         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20012         definition via __MAP_ANONYMOUS.
20014         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20015         it's not part of Linux headers.
20017         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20018         (MAP_HUGE_MASK): Define.
20020         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20021         Define.
20022         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20023         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20024         Define.
20025         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20026         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20027         Define.
20028         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20029         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20030         Define.
20031         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20033         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20034         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20035         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20036         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20037         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20038         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20040         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20041         Handle f2fs.
20043         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20044         Handle f2fs and efivarfs.
20046         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20047         f2fs.
20049         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20050         (EFIVARFS_MAGIC): Add.
20051         (F2FS_LINK_MAX): Add.
20053 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20055         * stdio-common/vfprintf.c: Replace __builtin_expect with
20056         __glibc_unlikely.
20058 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20060         [BZ #13550]
20061         * sysdeps/generic/bp-sym.h: Remove file.
20062         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20063         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20064         <bp-sym.h> and <bp-asm.h>.
20065         (__longjmp): Don't use BP_SYM.
20066         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20067         and <bp-asm.h>.
20068         (memcpy): Don't use BP_SYM.
20069         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20070         <bp-sym.h> and <bp-asm.h>.
20071         (memcpy): Don't use BP_SYM.
20072         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20073         <bp-asm.h>.
20074         (memcpy): Don't use BP_SYM.
20075         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20076         <bp-asm.h>.
20077         (memset): Don't use BP_SYM.
20078         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20079         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20080         (__bzero): Don't use BP_SYM.
20081         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20082         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20083         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20084         <bp-sym.h> and <bp-asm.h>.
20085         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20086         pointers.
20087         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20088         <bp-sym.h> and <bp-asm.h>.
20089         (memcpy): Don't use BP_SYM.
20090         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20091         <bp-sym.h> and <bp-asm.h>.
20092         (memset): Don't use BP_SYM.
20093         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20094         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20095         (__bzero): Don't use BP_SYM.
20096         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20097         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20098         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20099         <bp-sym.h> and <bp-asm.h>.
20100         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20101         pointers.
20102         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20103         <bp-sym.h> and <bp-asm.h>.
20104         (memcpy): Don't use BP_SYM.
20105         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20106         <bp-sym.h> and <bp-asm.h>.
20107         (memset): Don't use BP_SYM.
20108         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20109         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20110         (__bzero): Don't use BP_SYM.
20111         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20112         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20114         <bp-sym.h> and <bp-asm.h>.
20115         (__memchr): Don't use BP_SYM.
20116         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20117         <bp-sym.h> and <bp-asm.h>.
20118         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20119         pointers.
20120         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20121         <bp-sym.h> and <bp-asm.h>.
20122         (memcpy): Don't use BP_SYM.
20123         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20124         <bp-sym.h> and <bp-asm.h>.
20125         (__mempcpy): Don't use BP_SYM.
20126         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20127         <bp-sym.h> and <bp-asm.h>.
20128         (__memrchr): Don't use BP_SYM.
20129         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20130         <bp-sym.h> and <bp-asm.h>.
20131         (memset): Don't use BP_SYM.
20132         (__bzero): Likewise.
20133         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20134         <bp-sym.h> and <bp-asm.h>.
20135         (__rawmemchr): Don't use BP_SYM.
20136         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20137         <bp-sym.h> and <bp-asm.h>.
20138         (__STRCMP): Don't use BP_SYM.
20139         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20140         <bp-sym.h> and <bp-asm.h>.
20141         (strchr): Don't use BP_SYM.
20142         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20143         <bp-sym.h> and <bp-asm.h>.
20144         (__strchrnul): Don't use BP_SYM.
20145         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20146         <bp-sym.h> and <bp-asm.h>.
20147         (strlen): Don't use BP_SYM.
20148         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20149         <bp-sym.h> and <bp-asm.h>.
20150         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20151         pointers.
20152         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20153         <bp-sym.h> and <bp-asm.h>.
20154         (__strnlen): Don't use BP_SYM.
20155         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20156         <bp-sym.h> and <bp-asm.h>.
20157         (__GI__setjmp): Don't use BP_SYM.
20158         (_setjmp): Likewise.
20159         (__sigsetjmp): Likewise.
20160         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20161         (L(start_addresses)): Don't use BP_SYM.
20162         (_start): Likewise.
20163         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20164         <bp-asm.h>.
20165         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20166         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20167         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20168         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20169         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20170         <bp-asm.h>.
20171         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20172         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20173         about bounded pointers.
20174         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20175         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20176         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20177         <bp-asm.h>.
20178         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20179         about bounded pointers.  Remove GKM FIXME comments.
20180         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20181         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20182         <bp-asm.h>.
20183         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20184         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20185         Remove GKM FIXME comments.
20186         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20187         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20188         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20189         <bp-asm.h>.
20190         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20191         about bounded pointers.  Remove GKM FIXME comment.
20192         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20193         and <bp-asm.h>.
20194         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20195         pointers.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20197         <bp-sym.h> and <bp-asm.h>.
20198         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20200         <bp-sym.h> and <bp-asm.h>.
20201         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20202         comment.
20204 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20206         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20207         call free(NULL).
20209 2013-03-05  David S. Miller  <davem@davemloft.net>
20211         * po/es.po: Update from translation team.
20213 2013-03-05  Andreas Jaeger  <aj@suse.de>
20215         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20216         <bits/mman-linux.h>.
20217         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20218         is fine.
20219         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20220         <bits/mman-linux.h> to end of file.
20221         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20222         is fine.
20223         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20224         <bits/mman-linux.h> to end of file.
20225         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20226         is fine.
20227         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20228         <bits/mman-linux.h> to end of file.
20230         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20231         (MCL_CURRENT, MCL_FUTURE): Define here.
20233 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20235         [BZ #15232]
20236         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20237         attribute_hidden.
20238         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20240 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20242         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20243         fourth parameter needed for rt_sigprocmask syscall.
20244         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20245         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20246         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20247         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20248         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20249         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20251 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20253         [BZ #13550]
20254         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20255         comment about bounded pointers.
20256         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20257         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20259 2013-03-04  Andreas Jaeger  <aj@suse.de>
20261         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20262         common definitions.
20264         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20265         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20266         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20267         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20268         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20269         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20271 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20273         [BZ #15055]
20274         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20275         __ieee754_sqrl instead of __sqrl.
20277 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20279         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20280         * sysdeps/powerpc/fpu_control.h: ... here.
20281         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20282         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20283         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20284         * sysdeps/powerpc/bits/mathinline.h: ... here.
20286 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20288         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20289         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20290         to just [NEED_DL_SYSINFO_DSO].
20291         * elf/dl-support.c: Likewise.
20292         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20293         * elf/rtld.c (dl_main): Likewise.
20294         * elf/setup-vdso.h (setup_vdso): Likewise.
20295         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20296         * sysdeps/unix/sysv/linux/dl-sysdep.c
20297         (_dl_discover_osversion): Likewise.
20299 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20301         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20302         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20304 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20306         * NEWS: Mention libm performance improvements and non-x86 PI
20307         futex support.
20309         * csu/libc-start.c (__pthread_initialize_minimal): Change
20310         function arguments.
20311         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20313 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20315         [BZ #13550]
20316         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20317         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20318         <bp-sym.h> and <bp-asm.h>.
20319         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20320         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20321         and <bp-asm.h>.
20322         (memcpy): Don't use BP_SYM.
20323         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20324         <bp-asm.h>.
20325         (__mpn_add_n): Don't use BP_SYM.
20326         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20327         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20328         and <bp-asm.h>.
20329         (__mpn_addmul_1): Don't use BP_SYM.
20330         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20331         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20332         <bp-sym.h>.
20333         (_setjmp): Don't use BP_SYM.
20334         (__novmx_setjmp): Likewise.
20335         (__GI__setjmp): Likewise.
20336         (__vmx_setjmp): Likewise.
20337         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20338         <bp-sym.h>.
20339         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20340         (__bzero): Don't use BP_SYM.
20341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20343         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20344         <bp-sym.h> and <bp-asm.h>.
20345         (memcpy): Don't use BP_SYM.
20346         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20347         <bp-sym.h> and <bp-asm.h>.
20348         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20349         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20350         <bp-sym.h> and <bp-asm.h>.
20351         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20352         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20353         <bp-asm.h>.
20354         (__mpn_lshift): Don't use BP_SYM.
20355         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20356         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20357         <bp-asm.h>.
20358         (memset): Don't use BP_SYM.
20359         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20360         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20361         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20362         <bp-asm.h>.
20363         (__mpn_mul_1): Don't use BP_SYM.
20364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20365         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20366         <bp-sym.h> and <bp-asm.h>.
20367         (memcmp): Don't use BP_SYM.
20368         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20369         <bp-sym.h> and <bp-asm.h>.
20370         (memcpy): Don't use BP_SYM.
20371         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20372         <bp-sym.h> and <bp-asm.h>.
20373         (memset): Don't use BP_SYM.
20374         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20375         <bp-sym.h> and <bp-asm.h>.
20376         (strncmp): Don't use BP_SYM.
20377         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20378         <bp-sym.h> and <bp-asm.h>.
20379         (memcpy): Don't use BP_SYM.
20380         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20381         <bp-sym.h> and <bp-asm.h>.
20382         (memset): Don't use BP_SYM.
20383         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20384         <bp-sym.h> and <bp-asm.h>.
20385         (__memchr): Don't use BP_SYM.
20386         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20387         <bp-sym.h> and <bp-asm.h>.
20388         (memcmp): Don't use BP_SYM.
20389         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20390         <bp-sym.h> and <bp-asm.h>.
20391         (memcpy): Don't use BP_SYM.
20392         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20393         <bp-sym.h> and <bp-asm.h>.
20394         (__mempcpy): Don't use BP_SYM.
20395         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20396         <bp-sym.h> and <bp-asm.h>.
20397         (__memrchr): Don't use BP_SYM.
20398         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20399         <bp-sym.h> and <bp-asm.h>.
20400         (memset): Don't use BP_SYM.
20401         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20402         <bp-sym.h> and <bp-asm.h>.
20403         (__rawmemchr): Don't use BP_SYM.
20404         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20405         <bp-sym.h> and <bp-asm.h>.
20406         (__STRCMP): Don't use BP_SYM.
20407         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20408         <bp-sym.h> and <bp-asm.h>.
20409         (strchr): Don't use BP_SYM.
20410         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20411         <bp-sym.h> and <bp-asm.h>.
20412         (__strchrnul): Don't use BP_SYM.
20413         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20414         <bp-sym.h> and <bp-asm.h>.
20415         (strlen): Don't use BP_SYM.
20416         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20417         <bp-sym.h> and <bp-asm.h>.
20418         (strncmp): Don't use BP_SYM.
20419         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20420         <bp-sym.h> and <bp-asm.h>.
20421         (__strnlen): Don't use BP_SYM.
20422         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20423         <bp-asm.h>.
20424         (__mpn_rshift): Don't use BP_SYM.
20425         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20426         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20427         <bp-sym.h> and <bp-asm.h>.
20428         (__sigsetjmp): Don't use BP_SYM.
20429         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20430         (L(start_addresses)): Don't use BP_SYM.
20431         (_start): Likewise.
20432         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20433         <bp-asm.h>.
20434         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20435         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20436         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20437         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20438         <bp-asm.h>.
20439         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20440         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20441         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20442         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20443         <bp-asm.h>.
20444         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20445         comments.
20446         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20447         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20448         <bp-asm.h>.
20449         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20450         FIXME comments.
20451         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20452         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20453         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20454         <bp-asm.h>.
20455         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20456         comment.
20457         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20458         and <bp-asm.h>.
20459         (strncmp): Don't use BP_SYM,
20460         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20461         <bp-asm.h>.
20462         (__mpn_sub_n): Don't use BP_SYM.
20463         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20464         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20465         and <bp-asm.h>.
20466         (__mpn_submul_1): Don't use BP_SYM.
20467         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20469         <bp-sym.h> and <bp-asm.h>.
20470         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20472         <bp-sym.h> and <bp-asm.h>.
20473         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20474         comment.
20476 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20479         Use ZK to minimize writes to Z.
20480         (sub_magnitudes): Simplify code a bit.
20481         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20482         Use ZK to minimize writes to Z.
20483         (sub_magnitudes): Simplify code a bit.
20485 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20487         * csu/gmon-start.c: Add special exception to license text.
20489 2013-02-27  Richard Henderson  <rth@redhat.com>
20491         * scripts/config.guess: Update from config.git.
20492         * scripts/config.sub: Likewise.
20494 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20496         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20498         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20500         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20502         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20504         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20506 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20508         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20509         [$(build-shared = yes].
20511 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20513         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20514         (__mul): Reduce iterations for calculating mantissa.
20516         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20517         MPTWO.
20518         (__mpranred): Likewise.
20520         [BZ #15160]
20521         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20522         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20524 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20526         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20527         Define __attribute__.
20529 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20531         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20532         unused.
20533         * posix/regex_internal.h (__attribute): Remove.
20534         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20535         (re_string_context_at): Likewise.
20536         (bitset_not): Use __attribute__ and mark function as possibly
20537         unused.
20538         (bitset_merge): Likewise.
20539         (bitset_mask): Likewise.
20540         (re_string_char_size_at): Likewise.
20541         (re_string_wchar_at): Likewise.
20542         (re_string_elem_size_at): Likewise.
20544 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20546         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20547         code.
20548         (cc32): Likewise.
20550         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20551         (__acr): Likewise.
20552         (__cpy): Likewise.
20553         (norm): Likewise.
20554         (denorm): Likewise.
20555         (__dbl_mp): Likewise.
20556         (add_magnitudes): Likewise.
20557         (sub_magnitudes): Likewise.
20558         (__mul): Likewise.
20559         (__inv): Likewise.
20561         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20562         style.
20564         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20565         style.
20567         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20568         code.
20570         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20571         up changes with default code.
20572         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20573         Likewise.
20575 2013-02-24  Allan McRae  <allan@archlinux.org>
20577         * manual/socket.texi (The Internet Namespace): Order menu items
20578         to match that in the file.
20580         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20581         node listing of the info page menu.
20583 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20585         [BZ #13550]
20586         * sysdeps/i386/bp-asm.h: Remove file.
20587         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20588         (PARMS): Do not use macros from bp-asm.h.
20589         (S1): Likewise.
20590         (S2): Likewise.
20591         (SIZE): Likewise.
20592         (__mpn_add_n): Do not use BP_SYM
20593         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20594         "bp-asm.h".
20595         (PARMS): Do not use macros from bp-asm.h.
20596         (S1): Likewise.
20597         (SIZE): Likewise.
20598         (__mpn_addmul_1): Do not use BP_SYM
20599         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20600         "bp-asm.h".
20601         (PARMS): Do not use macros from bp-asm.h.
20602         (SIGMSK): Likewise.
20603         (_setjmp): Likewise.  Do not use BP_SYM.
20604         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20605         "bp-asm.h".
20606         (PARMS): Do not use macros from bp-asm.h.
20607         (SIGMSK): Likewise.
20608         (setjmp): Likewise.  Do not use BP_SYM.
20609         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20610         "bp-asm.h".
20611         (PARMS): Do not use macros from bp-asm.h.
20612         (__frexp): Do not use BP_SYM.
20613         (frexp): Likewise.
20614         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20615         "bp-asm.h".
20616         (PARMS): Do not use macros from bp-asm.h.
20617         (__frexpf): Do not use BP_SYM.
20618         (frexpf): Likewise.
20619         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20620         "bp-asm.h".
20621         (PARMS): Do not use macros from bp-asm.h.
20622         (__frexpl): Do not use BP_SYM.
20623         (frexpl): Likewise.
20624         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20625         "bp-asm.h".
20626         (PARMS): Do not use macros from bp-asm.h.
20627         (__remquo): Do not use BP_SYM.
20628         (remquo): Likewise.
20629         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20630         "bp-asm.h".
20631         (PARMS): Do not use macros from bp-asm.h.
20632         (__remquof): Do not use BP_SYM.
20633         (remquof): Likewise.
20634         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20635         "bp-asm.h".
20636         (PARMS): Do not use macros from bp-asm.h.
20637         (__remquol): Do not use BP_SYM.
20638         (remquol): Likewise.
20639         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20640         "bp-asm.h".
20641         (PARMS): Do not use macros from bp-asm.h.
20642         (DEST): Likewise.
20643         (SRC): Likewise.
20644         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20645         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20646         "bp-asm.h".
20647         (PARMS): Do not use macros from bp-asm.h.
20648         (strlen): Do not use BP_SYM.
20649         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20650         "bp-asm.h".
20651         (PARMS): Do not use macros from bp-asm.h.
20652         (S1): Likewise.
20653         (S2): Likewise.
20654         (SIZE): Likewise.
20655         (__mpn_add_n): Do not use BP_SYM.
20656         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20657         "bp-asm.h".
20658         (PARMS): Do not use macros from bp-asm.h.
20659         (S1): Likewise.
20660         (SIZE): Likewise.
20661         (__mpn_addmul_1): Do not use BP_SYM.
20662         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20663         weak_alias.
20664         (bzero): Likewise.
20665         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20666         "bp-asm.h".
20667         (PARMS): Do not use macros from bp-asm.h.
20668         (S): Likewise.
20669         (SIZE): Likewise.
20670         (__mpn_lshift): Do not use BP_SYM.
20671         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20672         "bp-asm.h".
20673         (PARMS): Do not use macros from bp-asm.h.
20674         (DEST): Likewise.
20675         (SRC): Likewise.
20676         (LEN): Likewise.
20677         (memcpy): Likewise.  Do not use BP_SYM.
20678         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20679         libc_hidden_def and weak_alias.
20680         (mempcpy): Do not use BP_SYM in weak_alias.
20681         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20682         "bp-asm.h".
20683         (PARMS): Do not use macros from bp-asm.h.
20684         (DEST): Likewise.
20685         (LEN): Likewise.
20686         [!BZERO_P] (CHR): Likewise.
20687         (memset): Likewise.  Do not use BP_SYM.
20688         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20689         "bp-asm.h".
20690         (PARMS): Do not use macros from bp-asm.h.
20691         (S1): Likewise.
20692         (SIZE): Likewise.
20693         (__mpn_mul_1): Do not use BP_SYM.
20694         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20695         "bp-asm.h".
20696         (PARMS): Do not use macros from bp-asm.h.
20697         (S): Likewise.
20698         (SIZE): Likewise.
20699         (__mpn_rshift): Do not use BP_SYM.
20700         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20701         "bp-asm.h".
20702         (PARMS): Do not use macros from bp-asm.h.
20703         (STR): Likewise.
20704         (CHR): Likewise.
20705         (strchr): Likewise.  Do not use BP_SYM.
20706         (index): Do not use BP_SYM in weak_alias.
20707         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20708         "bp-asm.h".
20709         (PARMS): Do not use macros from bp-asm.h.
20710         (DEST): Likewise.
20711         (SRC): Likewise.
20712         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20713         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20714         "bp-asm.h".
20715         (PARMS): Do not use macros from bp-asm.h.
20716         (strlen): Do not use BP_SYM.
20717         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20718         "bp-asm.h".
20719         (PARMS): Do not use macros from bp-asm.h.
20720         (S1): Likewise.
20721         (S2): Likewise.
20722         (SIZE): Likewise.
20723         (__mpn_sub_n): Do not use BP_SYM.
20724         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20725         "bp-asm.h".
20726         (PARMS): Do not use macros from bp-asm.h.
20727         (S1): Likewise.
20728         (SIZE): Likewise.
20729         (__mpn_submul_1): Do not use BP_SYM.
20730         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20731         "bp-asm.h".
20732         (PARMS): Do not use macros from bp-asm.h.
20733         (S1): Likewise.
20734         (S2): Likewise.
20735         (SIZE): Likewise.
20736         (__mpn_add_n): Do not use BP_SYM.
20737         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20738         weak_alias.
20739         (bzero): Likewise.
20740         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20741         "bp-asm.h".
20742         (PARMS): Do not use macros from bp-asm.h.
20743         (BLK2): Likewise.
20744         (LEN): Likewise.
20745         (memcmp): Do not use BP_SYM.
20746         (bcmp): Do not use BP_SYM in weak_alias.
20747         * sysdeps/i386/i686/memcpy.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         (memcpy): Likewise.  Do not use BP_SYM.
20754         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20755         "bp-asm.h".
20756         (PARMS): Do not use macros from bp-asm.h.
20757         (DEST): Likewise.
20758         (SRC): Likewise.
20759         (LEN): Likewise.
20760         (memmove): Likewise.  Do not use BP_SYM.
20761         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20762         "bp-asm.h".
20763         (PARMS): Do not use macros from bp-asm.h.
20764         (DEST): Likewise.
20765         (SRC): Likewise.
20766         (LEN): Likewise.
20767         (__mempcpy): Likewise.  Do not use BP_SYM.
20768         (mempcpy): Do not use BP_SYM in weak_alias.
20769         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20770         "bp-asm.h".
20771         (PARMS): Do not use macros from bp-asm.h.
20772         (DEST): Likewise.
20773         (LEN): Likewise.
20774         [!BZERO_P] (CHR): Likewise.
20775         (memset): Likewise.  Do not use BP_SYM.
20776         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20777         "bp-asm.h".
20778         (PARMS): Do not use macros from bp-asm.h.
20779         (STR2): Likewise.
20780         (strcmp): Do not use BP_SYM.
20781         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20782         "bp-asm.h".
20783         (PARMS): Do not use macros from bp-asm.h.
20784         (STR): Likewise.
20785         (DELIM): Likewise.
20786         [USE_AS_STRTOK_R] (SAVE): Likewise.
20787         (FUNCTION): Likewise.  Do not use BP_SYM.
20788         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20789         aliases.
20790         (strtok_r): Likewise.
20791         (__GI___strtok_r): Likewise.
20792         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20793         (PARMS): Do not use macros from bp-asm.h.
20794         (S): Likewise.
20795         (SIZE): Likewise.
20796         (__mpn_lshift): Do not use BP_SYM.
20797         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20798         (PARMS): Do not use macros from bp-asm.h.
20799         (STR): Likewise.
20800         (CHR): Likewise.
20801         (__memchr): Do not use BP_SYM.
20802         (memchr): Do not use BP_SYM in weak_alias.
20803         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20804         (PARMS): Do not use macros from bp-asm.h.
20805         (BLK2): Likewise.
20806         (LEN): Likewise.
20807         (memcmp): Do not use BP_SYM.
20808         (bcmp): Do not use BP_SYM in weak_alias.
20809         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20810         (PARMS): Do not use macros from bp-asm.h.
20811         (S1): Likewise.
20812         (SIZE): Likewise.
20813         (__mpn_mul_1): Do not use BP_SYM.
20814         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20815         "bp-asm.h".
20816         (PARMS): Do not use macros from bp-asm.h.
20817         (STR): Likewise.
20818         (CHR): Likewise.
20819         (__rawmemchr): Do not use BP_SYM.
20820         (rawmemchr): Do not use BP_SYM in weak_alias.
20821         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20822         (PARMS): Do not use macros from bp-asm.h.
20823         (S): Likewise.
20824         (SIZE): Likewise.
20825         (__mpn_rshift): Do not use BP_SYM.
20826         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20827         (PARMS): Do not use macros from bp-asm.h.
20828         (SIGMSK): Likewise.
20829         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20830         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20831         (_start): Do not use BP_SYM.
20832         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20833         (PARMS): Do not use macros from bp-asm.h.
20834         (DEST): Likewise.
20835         (SRC): Likewise.
20836         (__stpcpy): Likewise.  Do not use BP_SYM.
20837         (stpcpy): Do not use BP_SYM in weak_alias.
20838         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20839         "bp-asm.h".
20840         (PARMS): Do not use macros from bp-asm.h.
20841         (DEST): Likewise.
20842         (SRC): Likewise.
20843         (LEN): Likewise.
20844         (__stpncpy): Likewise.  Do not use BP_SYM.
20845         (stpncpy): Do not use BP_SYM in weak_alias.
20846         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20847         (PARMS): Do not use macros from bp-asm.h.
20848         (STR): Likewise.
20849         (CHR): Likewise.
20850         (strchr): Likewise.  Do not use BP_SYM.
20851         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20852         "bp-asm.h".
20853         (PARMS): Do not use macros from bp-asm.h.
20854         (STR): Likewise.
20855         (CHR): Likewise.
20856         (__strchrnul): Likewise.  Do not use BP_SYM.
20857         (strchrnul): Do not use BP_SYM in weak_alias.
20858         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20859         "bp-asm.h".
20860         (PARMS): Do not use macros from bp-asm.h.
20861         (STOP): Likewise.
20862         (strcspn): Do not use BP_SYM.
20863         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20864         "bp-asm.h".
20865         (PARMS): Do not use macros from bp-asm.h.
20866         (STR): Likewise.
20867         (STOP): Likewise.
20868         (strpbrk): Likewise.  Do not use BP_SYM.
20869         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20870         "bp-asm.h".
20871         (PARMS): Do not use macros from bp-asm.h.
20872         (STR): Likewise.
20873         (CHR): Likewise.
20874         (strrchr): Likewise.  Do not use BP_SYM.
20875         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20876         (PARMS): Do not use macros from bp-asm.h.
20877         (SKIP): Likewise.
20878         (strspn): Do not use BP_SYM.
20879         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20880         (PARMS): Do not use macros from bp-asm.h.
20881         (STR): Likewise.
20882         (DELIM): Likewise.
20883         (SAVE): Likewise.
20884         (FUNCTION): Likewise.  Do not use BP_SYM.
20885         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20886         aliases.
20887         (strtok_r): Likewise.
20888         (__GI___strtok_r): Likewise.
20889         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20890         (PARMS): Do not use macros from bp-asm.h.
20891         (S1): Likewise.
20892         (S2): Likewise.
20893         (SIZE): Likewise.
20894         (__mpn_sub_n): Do not use BP_SYM.
20895         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20896         "bp-asm.h".
20897         (PARMS): Do not use macros from bp-asm.h.
20898         (S1): Likewise.
20899         (SIZE): Likewise.
20900         (__mpn_submul_1): Do not use BP_SYM.
20901         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20902         <bp-sym.h>.
20903         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20904         and <bp-asm.h>.
20905         (PARMS): Do not use macros from bp-asm.h.
20906         (FLAGS): Likewise.
20907         (PTID): Likewise.
20908         (TLS): Likewise.
20909         (CTID): Likewise.
20910         (__clone): Do not use BP_SYM.
20911         (clone): Do not use BP_SYM in weak_alias.
20912         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20913         and <bp-asm.h>.
20914         (PARMS): Do not use macros from bp-asm.h.
20915         (LEN): Likewise.
20916         (__mmap64): Do not use BP_SYM.
20917         (mmap64): Do not use BP_SYM in weak_alias.
20918         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20919         <bp-sym.h> and <bp-asm.h>.
20920         (PARMS): Do not use macros from bp-asm.h.
20921         (__posix_fadvise64_l64): Do not use BP_SYM.
20922         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20923         (PARMS): Do not use macros from bp-asm.h.
20924         (NSOPS): Likewise.
20925         (semtimedop): Do not use BP_SYM.
20926         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
20927         and <bp-asm.h>.
20929 2013-02-21  Allan McRae  <allan@archlinux.org>
20931         * manual/message.texi (Charset conversion in gettext):
20932         Move @end statement to beginning of line.
20934 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20936         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
20937         static.
20938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20939         Likewise.
20941         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
20942         (denorm): Likewise.
20943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
20944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
20946 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20948         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
20949         tail-call to the resolved function if pltexit isn't needed.
20951 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
20954         or Y being zero as being unlikely.
20955         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20956         Likewise.
20958 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
20960         * manual/nss.texi (System Databases and Name Service Switch):
20961         Remove frobnicate @pxref.
20963 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
20965         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
20966         __attribute__ ((unused)) to __attribute__ ((__unused__)).
20968 2013-02-20  Petr Machata  <pmachata@redhat.com>
20970         * elf/elf.h (R_ARM_TARGET1): New macro.
20971         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
20972         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
20973         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
20974         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
20975         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
20976         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
20977         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
20978         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
20979         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
20980         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
20981         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
20982         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
20983         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
20984         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
20985         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
20986         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
20987         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
20988         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
20989         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
20990         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
20991         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
20992         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
20993         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
20994         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
20995         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
20996         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
20997         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
20998         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
20999         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21000         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21001         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21002         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21003         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21004         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21005         (R_ARM_THM_GOT_BREL12): Likewise.
21006         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21007         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21008         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21009         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21010         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21011         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21012         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21013         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21014         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21016 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21018         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21019         __attribute_used__ to __attribute__ ((unused)).
21021 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21023         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21024         powerpc mpa.c.
21025         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21026         comment formatting.
21027         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21029 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21031         [BZ #13550]
21032         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21033         Remove macro.
21034         (ENTER): Remove both macro definitions.
21035         (LEAVE): Likewise.
21036         (CHECK_BOUNDS_LOW): Likewise.
21037         (CHECK_BOUNDS_HIGH): Likewise.
21038         (CHECK_BOUNDS_BOTH): Likewise.
21039         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21040         (RETURN_BOUNDED_POINTER): Likewise.
21041         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21042         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21043         (POP_ERRNO_LOCATION_RETURN): Likewise.
21044         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21045         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21046         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21047         macros.
21048         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21049         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21050         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21051         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21052         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21053         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21054         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21055         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21056         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21057         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21058         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21059         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21060         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21061         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21062         removed macros.
21063         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21064         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21065         macros.
21066         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21067         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21068         * sysdeps/i386/i586/memset.S (memset): Likewise.
21069         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21070         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21071         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21072         macros.
21073         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21074         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21075         Change uses of L(2) to L(out).
21076         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21077         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21078         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21079         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21080         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21081         removed macros.
21082         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21083         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21084         macros.
21085         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21086         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21087         (RETURN): Do not use macro LEAVE.
21088         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21089         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21090         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21091         * sysdeps/i386/i686/memset.S (memset): Likewise.
21092         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21093         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21094         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21095         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21096         Likewise.
21097         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21098         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21099         L(1_2) and L(1_3) into L(1).
21100         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21101         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21102         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21103         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21104         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21105         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21106         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21107         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21108         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21109         macros.
21110         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21111         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21112         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21113         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21114         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21115         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21116         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21117         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21118         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21119         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21120         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21121         * sysdeps/i386/strspn.S (strspn): Likewise.
21122         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21123         conditional code.
21124         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21125         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21126         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21127         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21128         L(1_3) into L(1_1).
21129         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21130         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21131         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21132         macros.
21133         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21135 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21137         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21138         macro.
21140 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21142         * math/atest-exp.c (exp_mpn): Remove ROUND.
21143         * math/atest-exp2.c (exp_mpn): Likewise.
21144         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21146         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21147         * stdlib/tst-tls-atexit-lib.c: Likewise.
21148         * stdlib/tst-tls-atexit.c: Likewise.
21150 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21152         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21153         and __attribute_alloc_size__.
21155 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21157         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21158         __attribute_alloc_size__.
21159         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21160         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21162 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21164         * include/programs/xmalloc.h: New file.
21165         * catgets/gencat.c: Include it.
21166         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21167         * elf/pldd.c: Likewise.
21168         * iconv/iconv_charmap.c: Likewise.
21169         * iconv/iconvconfig.c: Likewise.
21170         * iconv/strtab.c: Likewise.
21171         * locale/programs/locale.c: Likewise.
21172         * locale/programs/localedef.h: Likewise.
21173         * locale/programs/simple-hash.c: Likewise.
21174         * nscd/nscd.h: Likewise.
21175         * nss/makedb.c: Likewise.
21176         * sysdeps/generic/ldconfig.h: Likewise.
21178 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21180         * Versions.def: Add GLIBC_2.18.
21181         * include/link.h (struct link_map): New member l_tls_dtor_count.
21182         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21183         (__call_tls_dtors): Likewise.
21184         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21185         __cxa_thread_atexit_impl.
21186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21187         Likewise.
21188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21189         Likewise.
21190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21191         Likewise.
21192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21193         Likewise.
21194         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21196         Likewise.
21197         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21198         Likewise.
21199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21200         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21201         Likewise.
21202         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21203         (tests): Add test case tst-tls-atexit.
21204         (modules-names): Add shared library for tst-tls-atexit.
21205         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21206         (GLIBC_PRIVATE): Add __call_tls_dtors.
21207         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21208         for libstdc++.
21209         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21210         * stdlib/tst-tls-atexit.c: New test case.
21211         * stdlib/tst-tls-atexit-lib.c: New test case.
21213         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21215         * elf/Versions (ld): Add _dl_find_dso_for_object.
21216         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21217         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21218         (dl_open_worker): Use _dl_find_dso_for_object.
21219         * elf/dl-sym.c (do_sym): Likewise.
21220         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21222 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21224         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21225         Syntactic changes only.
21226         (_dl_runtime_profile): Do a tail-call to the resolved function.
21228 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21230         [BZ #13550]
21231         * sysdeps/x86_64/bp-asm.h: Remove file.
21232         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21233         <bp-sym.h> and <bp-asm.h>.
21234         (__clone): Do not use BP_SYM.
21235         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21236         <bp-sym.h> and <bp-asm.h>.
21237         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21238         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21239         "bp-asm.h".
21240         (_setjmp): Do not use BP_SYM.
21241         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21242         "bp-asm.h".
21243         (setjmp): Do not use BP_SYM.
21244         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21245         libc_hidden_def.
21246         (mempcpy): Do not use BP_SYM in weak_alias.
21247         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21248         "bp-asm.h".
21249         (strchr): Do not use BP_SYM.
21250         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21251         "bp-asm.h".
21252         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21253         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21254         (_start): Do not use BP_SYM.
21255         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21256         "bp-asm.h".
21257         (strcat): Do not use BP_SYM.
21258         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21259         "bp-asm.h".
21260         (STRCMP): Do not use BP_SYM.
21261         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21262         "bp-asm.h".
21263         (STRCPY): Do not use BP_SYM.
21264         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21265         "bp-asm.h".
21266         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21267         "bp-asm.h".
21268         (FUNCTION): Do not use BP_SYM.
21269         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21270         weak_alias.
21271         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21273 2013-02-17  Andreas Jaeger  <aj@suse.de>
21275         * time/Versions: Sort entries.
21276         * string/Versions: Likewise.
21277         * resolv/Versions: Likewise.
21278         * posix/Versions: Likewise.
21279         * iconv/Versions: Likewise.
21280         * elf/Versions: Likewise.
21281         * wcsmbs/Versions: Likewise.
21283 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21285         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21286         loop termination condition.
21288         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21289         variable to calculate EZ.
21290         (__sqr): Likewise.
21292         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21293         the lower precision input.
21295 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21297         [BZ #13550]
21298         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21299         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21300         (run-via-rtld-prefix): Do not handle %-bp tests.
21301         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21302         (all-object-suffixes): Remove .ob.
21303         (bppfx): Remove variable.
21304         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21305         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21306         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21307         [$(build-bounded) = yes] (libtype.ob): Likewise.
21308         * Makerules (elide-routines.ob): Remove variable.
21309         (do-tests-clean): Do not handle *-bp.out.
21310         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21311         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21312         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21313         (tests): Do not include $(tests-bp.out).
21314         (xtests): Do not include $(xtests-bp.out).
21315         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21316         [$(build-bounded) = yes] ($(addprefix
21317         $(objpfx),$(binaries-bounded))): Remove rule.
21318         ($(objpfx)%-bp.out): Remove rule.
21319         * config.make.in (build-bounded): Remove variable.
21320         * crypt/Makefile [$(build-bounded) = yes]
21321         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21322         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21323         append to variable.
21324         [$(build-bounded) = yes] (install-lib): Likewise.
21325         [$(build-bounded) = yes] (generated): Likewise.
21326         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21327         Remove rule.
21328         * intl/Makefile [$(build-bounded) = yes]
21329         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21330         * math/Makefile [$(build-bounded) = yes]
21331         ($(tests:%=$(objpfx)%-bp): Likewise.
21332         * misc/Makefile [$(build-bounded) = yes]
21333         ($(objpfx)tst-tsearch-bp): Likewise.
21334         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21335         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21336         Remove dependency.
21337         * string/Makefile (o-objects.ob): Remove variable.
21338         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21339         (CFLAGS-.ob): Remove variable.
21340         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21341         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21342         both definitions of variable.
21343         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21344         (ASFLAGS-.ob): Remove variable.
21346 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21348         [BZ #13550]
21349         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21350         Remove __BOUNDED_POINTERS__ from condition.
21351         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21352         * string/bits/string2.h [!__NO_STRING_INLINES &&
21353         !__BOUNDED_POINTERS__]: Likewise.
21354         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21355         Likewise.
21356         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21357         Remove conditional code.
21358         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21359         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21360         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21361         condition.
21363         [BZ #13550]
21364         * csu/libc-start.c: Do not include <bp-sym.h>.
21365         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21366         * elf/dl-open.c: Do not include <bp-sym.h>.
21367         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21368         * math/fegetenv.c: Do not include <bp-sym.h>.
21369         (fegetenv): Do not use BP_SYM in versioned symbols.
21370         * nptl/sysdeps/pthread/bits/libc-lockP.h
21371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21372         <bp-sym.h>.
21373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21374         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21376         (__pthread_mutex_destroy): Likewise.
21377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21378         (__pthread_mutex_lock): Likewise.
21379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21380         (__pthread_mutex_trylock): Likewise.
21381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21382         (__pthread_mutex_unlock): Likewise.
21383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21384         (__pthread_mutexattr_init): Likewise.
21385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21386         (__pthread_mutexattr_destroy): Likewise.
21387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21388         (__pthread_mutexattr_settype): Likewise.
21389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21390         (__pthread_rwlock_init): Likewise.
21391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21392         (__pthread_rwlock_destroy): Likewise.
21393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21394         (__pthread_rwlock_rdlock): Likewise.
21395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21396         (__pthread_rwlock_tryrdlock): Likewise.
21397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21398         (__pthread_rwlock_wrlock): Likewise.
21399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21400         (__pthread_rwlock_trywrlock): Likewise.
21401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21402         (__pthread_rwlock_unlock): Likewise.
21403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21404         (__pthread_key_create): Likewise.
21405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21406         (__pthread_setspecific): Likewise.
21407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21408         (__pthread_getspecific): Likewise.
21409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21410         Likewise.
21411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21412         (_pthread_cleanup_push_defer): Likewise.
21413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21414         (_pthread_cleanup_pop_restore): Likewise.
21415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21416         (pthread_setcancelstate): Likewise.
21417         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21418         <bp-sym.h>.
21419         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21420         (memchr): Do not use BP_SYM in weak_alias.
21421         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21422         (fegetenv): Do not use BP_SYM in versioned symbols.
21423         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21424         (fesetenv): Do not use BP_SYM in versioned symbols.
21425         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21426         (feupdateenv): Do not use BP_SYM in versioned symbols.
21427         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21428         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21429         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21430         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21431         (open64): Do not use BP_SYM in weak_alias.
21432         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21433         (fegetenv): Do not use BP_SYM in versioned symbols.
21434         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21435         (fesetenv): Do not use BP_SYM in versioned symbols.
21436         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21437         (feupdateenv): Do not use BP_SYM in versioned symbols.
21438         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21439         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21440         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21441         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21442         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21443         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21444         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21445         <bp-sym.h>.
21446         (__libc_start_main): Do not use BP_SYM.
21448 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21450         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21451         redundant return line.
21452         (norm): Likewise.
21453         (denorm): Likewise.
21454         (dbl_mp): Likewise.
21455         (sub_magnitudes): Likewise.
21456         (__add): Likewise.
21457         (__sub): Likewise.
21458         (__mul): Likewise.
21459         (__inv): Likewise.
21460         (__dvd): Likewise.
21461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21462         (norm): Likewise.
21463         (denorm): Likewise.
21464         (dbl_mp): Likewise.
21465         (sub_magnitudes): Likewise.
21466         (__add): Likewise.
21467         (__sub): Likewise.
21468         (__mul): Likewise.
21469         (__inv): Likewise.
21470         (__dvd): Likewise.
21472         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21473         instead of __mul.
21474         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21475         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21476         (cc32): Likewise.
21478         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21479         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21480         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21481         of __mul for squares.
21482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21483         function
21484         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21485         Likewise.
21486         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21487         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21489 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21491         [BZ #13550]
21492         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21493         code.
21494         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21495         prototype or function definition.  Rename ubp_* variables and
21496         parameters.  Remove argv definitions conditional on
21497         [__BOUNDED_POINTERS__].
21498         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21499         * elf/dl-runtime.c (_dl_fixup): Likewise.
21500         * include/set-hooks.h (RUN_HOOK): Likewise.
21501         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21502         definition.
21503         * string/strcpy.c (strcpy): Do not use __unbounded.
21504         * sysdeps/generic/frame.h (struct layout): Likewise.
21505         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21506         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21507         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21508         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21509         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21510         (__backtrace): Likewise.
21511         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21512         use __ptrvalue.
21513         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21515         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21516         Likewise.
21517         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21518         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21519         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21520         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21521         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21522         Do not use __unbounded.
21523         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21524         Rename __unboundedrlimits parameter to rlimits in prototype.
21525         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21526         Do not use __unbounded.
21527         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21528         not use __ptrvalue.
21529         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21530         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21531         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21532         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21533         __ptrvalue or __unbounded.
21534         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21535         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21536         use __unbounded.
21537         (__new_msgctl): Do not use __ptrvalue.
21538         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21539         __unbounded.
21540         (__libc_msgrcv): Do not use __ptrvalue.
21541         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21542         startup_info): Do not use __unbounded.
21543         (__libc_start_main): Likewise.  Rename ubp_* variables and
21544         parameters.  Remove argv definitions conditional on
21545         [__BOUNDED_POINTERS__].
21546         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21547         __ptrvalue.
21548         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21549         use __unbounded.
21550         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21551         or __ptrvalue.
21552         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21553         use __unbounded.
21554         (__new_shmctl): Do not use __ptrvalue.
21555         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21556         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21557         Likewise.
21558         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21559         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21560         (__libc_sigaction): Likewise.
21561         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21562         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21563         Likewise.
21564         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21566 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21568         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21570         * string/mempcpy.c: Implement by calling memcpy.
21572 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21574         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21576         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21577         evaluation.
21579         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21580         values in the mantissa.
21582         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21583         minimize writes to Z.
21584         (sub_magnitudes): Simplify code a bit.
21586 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21588         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21589         from the message.  The linker prefixes all warnings with that already.
21591 2013-02-12  Andreas Schwab  <schwab@suse.de>
21593         [BZ #15078]
21594         * posix/regexec.c (extend_buffers): Add parameter min_len.
21595         (check_matching): Pass minimum needed length.
21596         (clean_state_log_if_needed): Likewise.
21597         (get_subexp): Likewise.
21598         * posix/Makefile (tests): Add bug-regex34.
21599         (bug-regex34-ENV): Define.
21600         * posix/bug-regex34.c: New file.
21602         [BZ #11561]
21603         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21604         elements compare against the byte sequence of it, not its name.
21605         * posix/Makefile (tests): Add bug-regex35.
21606         (bug-regex35-ENV): Define.
21607         * posix/bug-regex35.c: New file.
21609 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21611         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21612         comment.
21613         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21614         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21615         (CHECK_EOL): Add undef.
21617 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21619         * bits/stdlib-bsearch.h: New file.
21620         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21621         * stdlib/stdlib.h: Likewise.
21623 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21625         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21626         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21627         declaration.
21628         * manual/search.texi (Array Search Function): Add missing const in
21629         lfind prototype.
21630         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21631         declaration to use rlim_t.
21632         (Basic Scheduling Functions): Remove erroneous const from
21633         sched_getparam prototype.  Remove erroneous * from
21634         sched_get_priority_max and sched_get_priority_min prototypes.
21635         (Resource Usage): Fix summary @comment on vtimes to refer to
21636         sys/vtimes.h rather than vtimes.h.
21637         Add missing *s in vtimes prototype.
21638         (Limits on Resources): Fix ulimit prototype to return long int.
21639         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21640         prototypes to use long int rather than double.
21641         (BSD Random): Fix initstate and setstate to use char *, not void *.
21642         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21643         prototype to make second argument 'struct aiocb64 *const[]'.
21644         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21645         (Status of AIO Operations): Remove erroneous const in aio_return and
21646         aio_return64 prototypes.
21647         (Synchronizing I/O): Fix sync prototype to return void.
21648         * manual/startup.texi (Suboptions): Remove an erroneous const in
21649         getsubopt prototype.
21650         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21651         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21652         use size_t rather than int.
21653         (Scanning All Users): Likewise for getpwent_r.
21654         (Setting Groups): Add missing const to setgroups prototype.
21655         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21656         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21657         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21658         'const void *' rather than 'const char *'.
21659         (Host Address Functions): Likewise for inet_ntop.
21660         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21661         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21662         ssize_t for return value.
21663         (Sending Data): Likewise for send, sendto, sendmsg.
21664         (Socket Option Functions): Add a missing const in setsockopt prototype.
21665         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21666         use wchar_t for the argument.
21667         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21668         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21669         take no arguments.
21670         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21671         double/float/long double for second argument.
21672         Fix return types of significand, significandf, significandl.
21673         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21674         argument in fchmod prototype.
21675         (File Owner): Use uid_t and gid_t in fchown prototype.
21676         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21677         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21678         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21679         use 'const struct dirent **' as argument types to CMP function pointer
21680         argument.
21681         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21682         (File Times): Fix summary magic @comment for struct utimbuf and utime
21683         to refer to utime.h, not time.h.
21684         * manual/string.texi (Argz Functions): Add missing const in
21685         argz_extract and argz_next prototypes.
21686         (Finding Tokens in a String): Likewise for basename.
21687         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21688         (Copying and Concatenation): Fix typo in wmemmove prototype.
21689         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21690         (Signal Stack): Remove erroneous const in sigstack prototype.
21691         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21692         prototype.
21693         (Simple Calendar Time): Likewise for stime.
21694         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21695         prototype.
21696         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21697         say sys/sysctl.h instead.
21698         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21699         and vsyslog prototypes.
21701 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21703         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21704         Remove.
21706 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21708         * misc/sys/mman.h: Fix typo in mremap comment.
21710 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21712         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21713         the '\0' terminator.
21715 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21717         [BZ #13550]
21718         * debug/segfault.c: Don't include <bp-checks.h>.
21719         * sysdeps/generic/bp-checks.h: Remove file.
21720         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21721         (__GETDENTS): Don't use CHECK_N.
21722         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21723         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21724         (__getgroups): Don't use CHECK_N.
21725         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21726         (setgroups): Don't use CHECK_N.
21727         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21728         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21729         (__libc_msgrcv): Don't use CHECK_N.
21730         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21731         (__libc_msgsnd): Don't use CHECK_N.
21732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21733         <bp-checks.h>.
21734         (__libc_pread): Don't use CHECK_N.
21735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21736         include <bp-checks.h>.
21737         (__libc_pread64): Don't use CHECK_N.
21738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21739         include <bp-checks.h>.
21740         (__libc_pwrite): Don't use CHECK_N.
21741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21742         include <bp-checks.h>.
21743         (__libc_pwrite64): Don't use CHECK_N.
21744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21745         <bp-checks.h>.
21746         (__libc_pread): Don't use CHECK_N.
21747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21748         include <bp-checks.h>.
21749         (__libc_pread64): Don't use CHECK_N.
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21751         include <bp-checks.h>.
21752         (__libc_pwrite): Don't use CHECK_N.
21753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21754         include <bp-checks.h>.
21755         (__libc_pwrite64): Don't use CHECK_N.
21756         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21757         (do_pread): Don't use CHECK_N.
21758         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21759         (do_pread64): Don't use CHECK_N.
21760         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21761         (do_pwrite): Don't use CHECK_N.
21762         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21763         (do_pwrite64): Don't use CHECK_N.
21764         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21765         (__libc_readv): Don't use CHECK_N.
21766         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21767         (semop): Don't use CHECK_N.
21768         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21769         <bp-checks.h>.
21770         (semtimedop): Don't use CHECK_N.
21771         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21772         (__libc_pread): Don't use CHECK_N.
21773         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21774         <bp-checks.h>.
21775         (__libc_pread64): Don't use CHECK_N.
21776         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21777         <bp-checks.h>.
21778         (__libc_pwrite): Don't use CHECK_N.
21779         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21780         <bp-checks.h>.
21781         (__libc_pwrite64): Don't use CHECK_N.
21782         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21783         <bp-checks.h>.
21784         (__libc_msgrcv): Don't use CHECK_N.
21785         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21786         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21787         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21788         (__libc_writev): Don't use CHECK_N.
21790 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21792         * string/strcpy.c: Removed unused variable.
21794         * Makeconfig (+sysdep-includes): Define with := rather than =.
21795         Use an existing include/ subdir of each sysdeps dir before it.
21797 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21799         * nscd/connection.c (register_traced_file): Comment function.
21800         [HAVE_INOTIFY] (union __inev): Define.
21801         [HAVE_INOTIFY] (inotify_check_files): New function.
21802         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21803         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21804         clear_db_cache.
21805         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21807 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21809         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21810         loaded if not already and that a failure is permanent.
21812 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21814         [BZ #15006]
21815         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21816         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21818 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21820         [BZ #13550]
21821         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21822         (CHECK_1_NULL_OK): Likewise.
21823         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21824         (__fxstat): Do not use CHECK_1.
21825         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21826         <bp-checks.h>.
21827         (___fxstat64): Do not use CHECK_1.
21828         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21829         <bp-checks.h>.
21830         (__fxstatat): Do not use CHECK_1.
21831         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21832         <bp-checks.h>.
21833         (__fxstatat64): Do not use CHECK_1.
21834         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21835         <bp-checks.h>.
21836         (__fxstat): Do not use CHECK_1.
21837         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21838         <bp-checks.h>.
21839         (__fxstatat): Do not use CHECK_1.
21840         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21841         <bp-checks.h>.
21842         (__getresgid): Do not use CHECK_1.
21843         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21844         <bp-checks.h>.
21845         (__getresuid): Do not use CHECK_1.
21846         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21847         <bp-checks.h>.
21848         (__lxstat): Do not use CHECK_1.
21849         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21850         <bp-checks.h>.
21851         (__old_msgctl): Do not use CHECK_1.
21852         (__new_msgctl): Likewise.
21853         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21854         <bp-checks.h>.
21855         (__new_setrlimit): Do not use CHECK_1.
21856         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21857         <bp-checks.h>.
21858         (__old_shmctl): Do not use CHECK_1.
21859         (__new_shmctl): Likewise.
21860         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21861         <bp-checks.h>.
21862         (__xstat): Do not use CHECK_1.
21863         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21864         (__lxstat): Do not use CHECK_1.
21865         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21866         <bp-checks.h>.
21867         (___lxstat64): Do not use CHECK_1.
21868         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21869         (__old_msgctl): Do not use CHECK_1.
21870         (__new_msgctl): Likewise.
21871         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21872         <bp-checks.h>.
21873         (__gettimeofday): Do not use CHECK_1.
21874         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21875         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21876         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21877         <bp-checks.h>.
21878         (__gettimeofday): Do not use CHECK_1.
21879         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21880         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21881         (__new_shmctl): Do not use CHECK_1.
21882         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21883         <bp-checks.h>.
21884         (do_sigtimedwait): Do not use CHECK_1.
21885         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21886         <bp-checks.h>.
21887         (do_sigwaitinfo): Do not use CHECK_1.
21888         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21889         <bp-checks.h>.
21890         (msgctl): Do not use CHECK_1.
21891         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21892         <bp-checks.h>.
21893         (shmctl): Do not use CHECK_1.
21894         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21895         (ustat): Do not use CHECK_1.
21896         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21897         <bp-checks.h>.
21898         (__fxstat): Do not use CHECK_1.
21899         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21900         <bp-checks.h>.
21901         (__fxstatat): Do not use CHECK_1.
21902         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21903         <bp-checks.h>.
21904         (__lxstat): Do not use CHECK_1.
21905         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21906         <bp-checks.h>.
21907         (__xstat): Do not use CHECK_1.
21908         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21909         (__xstat): Do not use CHECK_1.
21910         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21911         (___xstat64): Do not use CHECK_1.
21913         [BZ #13550]
21914         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21915         definitions.
21916         (CHECK_BOUNDS_HIGH): Likewise.
21917         * string/strcpy.c: Do not include <bp-checks.h>.
21918         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21920 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21922         * nscd/nscd-client.h (__nscd_drop_map_ref):
21923         Add __attribute__ ((unused)).
21924         * nis/nss-nisplus.h (niserr2nss): Likewise.
21926         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
21927         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
21929         * csu/libc-tls.c (init_static_tls, init_slotinfo):
21930         Remove inline keyword.
21931         * include/rounding-mode.h (round_away): Likewise.
21932         * libio/wfileops.c (adjust_wide_data): Likewise.
21933         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
21934         (__m128i_strloadu_tolower): Likewise.
21935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
21936         (__m128i_strloadu_tolower): Likewise.
21937         * time/mktime.c (ydhms_diff): Likewise.
21938         * locale/elem-hash.h (elem_hash): Likewise.
21939         * locale/setlocale.c (setdata): Likewise.
21940         * posix/regex_internal.h (re_string_char_size_at): Likewise.
21941         (re_string_wchar_at): Likewise.
21942         (bitset_not, bitset_merge, bitset_mask): Likewise.
21943         [!(__GNUC__ > 3)] (inline): Remove macro.
21944         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
21945         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
21946         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21947         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
21948         * string/memcmp.c (memcmp_bytes): Likewise.
21949         * locale/programs/locarchive.c (compute_hashval): Likewise.
21950         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
21951         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
21952         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
21953         * nss/getent.c (print_rpc, print_protocols): Likewise.
21954         (print_passwd, print_group, print_aliases): Likewise.
21955         * nis/nss-nisplus.h (niserr2nss): Likewise.
21956         * nscd/connections.c (restart_p): Likewise.
21957         Change return type to bool.
21959 2013-02-05  Roland McGrath  <roland@hack.frob.com>
21961         * Makeconfig (all-Depend-files): Add existing
21962         $(sorted-subdirs:=/Depend) files.
21963         (all-subdirs): Remove nss.
21964         * sysdeps/unix/inet/Subdirs: Add it here instead.
21965         * hesiod/Depend: New file.
21967         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
21968         instead of calling alloca.
21970         * io/lseek.c (__lseek): Rename to __libc_lseek.
21971         Define __lseek as an alias.
21973         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
21975 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
21977         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
21978         else clause and remove check for non-standard endianness.
21980 2013-02-04  David S. Miller  <davem@davemloft.net>
21982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21984 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
21986         [BZ #13550]
21987         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
21988         (__ubp_memchr): Remove prototype.
21989         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
21990         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21991         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
21992         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
21993         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
21994         Remove alias.
21995         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
21996         (__ubp_memchr): Likewise.
21997         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
21998         (__ubp_memchr): Likewise.
21999         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22000         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22001         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22002         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22003         CHECK_STRING.
22004         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22005         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22006         (__getcwd): Do not use CHECK_STRING.
22007         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22008         <bp-checks.h>.
22009         (__real_chown): Do not use CHECK_STRING.
22010         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22011         <bp-checks.h>.
22012         (fchownat): Do not use CHECK_STRING.
22013         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22014         CHECK_STRING.
22015         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22016         <bp-checks.h>.
22017         (__lchown): Do not use CHECK_STRING.
22018         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22019         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22020         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22021         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22023         include <bp-checks.h>.
22024         (truncate64): Do not use CHECK_STRING.
22025         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22026         <bp-checks.h>.
22027         (__real_chown): Do not use CHECK_STRING.
22028         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22029         <bp-checks.h>.
22030         (__lchown): Do not use CHECK_STRING.
22031         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22032         <bp-checks.h>.
22033         (__chown): Do not use CHECK_STRING.
22034         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22035         <bp-checks.h>.
22036         (truncate64): Do not use CHECK_STRING.
22037         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22038         Likewise.
22039         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22040         (__xmknod): Do not use CHECK_STRING.
22041         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22042         <bp-checks.h>.
22043         (__xmknodat): Do not use CHECK_STRING.
22044         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22045         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22047 2013-02-04  Andreas Schwab  <schwab@suse.de>
22049         [BZ #14142]
22050         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22051         * include/netdb.h: Likewise for h_errno.
22052         * elf/tst-stackguard1.c: Include <tls.h>.
22054 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22056         * elf/link.h (struct link_map): Extend the l_addr comment.
22057         * include/link.h (struct link_map): Likewise.
22059 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22061         [BZ #13550]
22062         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22063         (BOUNDED_1): Remove macro.
22064         * debug/backtrace.c: Don't include <bp-checks.h>.
22065         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22066         (__backtrace): Likewise.
22067         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22068         <bp-checks.h>.
22069         (__backtrace): Don't use BOUNDED_1.
22070         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22071         <bp-checks.h>.
22072         (__backtrace): Don't use BOUNDED_1.
22073         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22074         (__backtrace): Don't use BOUNDED_1.
22075         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22076         (shmat): Don't use BOUNDED_N.
22078 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22080         [BZ #13550]
22081         * sysdeps/generic/bp-start.h: Remove file.
22082         * csu/libc-start.c: Don't include <bp-start.h>.
22083         (LIBC_START_MAIN): Set up __environ directly instead of using
22084         INIT_ARGV_and_ENVIRON.
22085         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22086         <bp-start.h>.
22088         [BZ #13550]
22089         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22090         definitions.
22091         (CHECK_FCNTL): Likewise.
22092         (CHECK_N_PAGES): Likewise.
22094         [BZ #13550]
22095         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22096         definitions.
22097         (CHECK_SIGSET_NULL_OK): Likewise.
22098         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22099         <bp-checks.h>.
22100         (sigpending): Don't use CHECK_SIGSET.
22101         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22102         <bp-checks.h>.
22103         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22104         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22105         <bp-checks.h>.
22106         (do_sigsuspend): Don't use CHECK_SIGSET.
22107         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22108         use CHECK_SIGSET.
22109         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22110         (do_sigwait): Don't use CHECK_SIGSET.
22111         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22112         use CHECK_SIGSET.
22113         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22114         include <bp-checks.h>.
22115         (sigpending): Don't use CHECK_SIGSET.
22116         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22117         include <bp-checks.h>.
22118         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22119         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22120         <bp-checks.h>.
22121         (sigpending): Don't use CHECK_SIGSET.
22122         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22123         <bp-checks.h>.
22124         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22126         [BZ #13550]
22127         * sysdeps/generic/bp-semctl.h: Remove file.
22128         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22129         <bp-checks.h> and <bp-semctl.h>.
22130         (__old_semctl): Don't use CHECK_SEMCTL.
22131         (__new_semctl): Likewise.
22132         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22133         and <bp-semctl.h>.
22134         (__old_semctl): Don't use CHECK_SEMCTL.
22135         (__new_semctl): Likewise.
22136         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22137         <bp-checks.h> and <bp-semctl.h>.
22138         (__old_semctl): Don't use CHECK_SEMCTL.
22139         (__new_semctl): Likewise.
22140         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22141         <bp-checks.h> and <bp-semctl.h>.
22142         (semctl): Don't use CHECK_SEMCTL.
22144         [BZ #13550]
22145         * Makerules (elide-bp-thunks): Remove variable.
22146         (elide-routines.oS): Don't use $(elide-bp-thunks).
22147         (elide-routines.os): Likewise.
22148         (elide-routines.o): Likewise.
22149         (elide-routines.op): Likewise.
22150         (elide-routines.og): Likewise.
22151         (objects): Don't use $(bp-thunks).
22152         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22153         include.
22154         (common-generated): Do not add s-proto-bp.d.
22155         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22156         (int): Likewise.
22157         (typ): Likewise.
22158         Do not generate makefile rules for bounded-pointer thunks.
22159         * sysdeps/generic/bp-thunks.h: Remove file.
22160         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22161         * sysdeps/unix/s-proto-bp.S: Likewise.
22163         [BZ #15062]
22164         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22165         parts of result separately when argument is not close to line from
22166         -i to i and one part of argument is small.
22167         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22168         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22169         * math/libm-test.inc (cacos_test): Add more tests.
22170         (casin_test): Likewise.
22171         (casinh_test): Likewise.
22172         * sysdeps/i386/fpu/libm-test-ulps: Update.
22173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22175 2013-01-31  David S. Miller  <davem@davemloft.net>
22177         * po/de.po: Update from translation team.
22179 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22181         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22183 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22185         * configure.in (_AC_PROG_CC_C89): New definition.
22186         * configure: Regenerate.
22188         * configure.in (AC_PROG_CPP): New definition.
22189         * configure: Regenerate.
22191 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22193         * debug/tst-backtrace.h: New file.
22194         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22195         (ret): Remove variable.
22196         (x): Likewise.
22197         (FAIL): Remove macro.
22198         (NO_INLINE): Likewise.
22199         (fn1): Use match function instead of strstr.
22200         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22201         (ret): Remove variable.
22202         (x): Likewise.
22203         (FAIL): Remove macro.
22204         (NO_INLINE): Likewise.
22205         (fn): Use match function instead of strstr.
22206         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22207         (ret): Remove variable.
22208         (x): Likewise.
22209         (FAIL): Remove macro.
22210         (NO_INLINE): Likewise.
22211         (handle_signal): Use match function instead of strstr.
22212         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22213         (ret): Remove variable.
22214         (x): Likewise.
22215         (FAIL): Remove macro.
22216         (NO_INLINE): Likewise.
22217         (handle_signal): Use match function instead of strstr.
22219 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22221         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22223 2013-01-23  David S. Miller  <davem@davemloft.net>
22225         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22226         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22227         argument of CAS if possible.
22228         * sysdeps/sparc/sparc64/bits/atomic.h
22229         (__arch_compare_and_exchange_val_32_acq): Likewise.
22230         (__arch_compare_and_exchange_val_64_acq): Likewise.
22232 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22234         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22235         * sysdeps/posix/ulimit.c: ... this.
22236         Include <limits.h>.
22237         * sysdeps/unix/bsd/ulimit.c: Remove file.
22239 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22241         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22242         (LDFLAGS-tst-array5): Likewise.
22244 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22246         [BZ #15036]
22247         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22248         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22249         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22250         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22252 2013-01-21  David S. Miller  <davem@davemloft.net>
22254         * sysdeps/sparc/backtrace.c: New file.
22255         * sysdeps/sparc/sparc32/backtrace.h: New file.
22256         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22257         * sysdeps/sparc/sparc64/backtrace.h: New file.
22258         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22259         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22260         -funwind-tables.
22262 2013-01-21  Andreas Schwab  <schwab@suse.de>
22264         [BZ #15020]
22265         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22266         closed its stdout.
22268 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22270         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22271         "mpa2.h".
22272         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22274 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22275             Mark Mitchell  <mark@codesourcery.com>
22276             Tom de Vries  <tom@codesourcery.com>
22277             Paul Pluzhnikov  <ppluzhnikov@google.com>
22279         * debug/tst-backtrace2.c: New file.
22280         * debug/tst-backtrace3.c: Likewise.
22281         * debug/tst-backtrace4.c: Likewise.
22282         * debug/tst-backtrace5.c: Likewise.
22283         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22284         (CFLAGS-tst-backtrace3.c): Likewise.
22285         (CFLAGS-tst-backtrace4.c): Likewise.
22286         (CFLAGS-tst-backtrace5.c): Likewise.
22287         (LDFLAGS-tst-backtrace2): Likewise.
22288         (LDFLAGS-tst-backtrace3): Likewise.
22289         (LDFLAGS-tst-backtrace4): Likewise.
22290         (LDFLAGS-tst-backtrace5): Likewise.
22291         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22292         tst-backtrace4 and tst-backtrace5.
22294 2013-01-18  Anton Blanchard  <anton@samba.org>
22295             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22297         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22298         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22299         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22300         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22302         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22303         "+r" and remove output regs list as redundant.  Add explicit inline
22304         asm to specify register of return val to work around compiler codegen
22305         bug.  Remove (int) cast on return value.  Add return type parameter to
22306         use in macro so that this macro does not truncate return value for
22307         64-bit values.
22308         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22309         pass to INTERNAL_VSYSCALL_NCS.
22310         (INLINE_VSYSCALL): Add 'long int' as return type to
22311         INTERNAL_VSYSCALL_NCS macro invocation.
22312         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22313         INTERNAL_VSYSCALL_NCS macro invocation.
22314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22316 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22318         [BZ #14496]
22319         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22320         Fix application of SIMD FP exception mask.
22322         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22323         mp_no from a power of two.
22324         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22325         __mpexp_twomm1.  Use __pow_mp.
22327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22328         multiplication.
22330 2013-01-17  David S. Miller  <davem@davemloft.net>
22332         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22334 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22336         [BZ #15023]
22337         * include/complex.h: Condition contents on [!_COMPLEX_H].
22338         (__kernel_casinhf): New prototype.
22339         (__kernel_casinh): Likewise.
22340         (__kernel_casinhl): Likewise.
22341         * math/Makefile (libm_calls): Add k_casinh.
22342         * math/k_casinh.c: New file.
22343         * math/k_casinhf.c: Likewise.
22344         * math/k_casinhl.c: Likewise.
22345         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22346         finite nonzero arguments.
22347         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22348         finite nonzero arguments.
22349         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22350         finite nonzero arguments.
22351         * math/s_casinh.c: Do not include <float.h>.
22352         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22353         * math/s_casinhf.c: Do not include <float.h>.
22354         (__casinhf): Move code for finite nonzero arguments to
22355         k_casinhf.c.
22356         * math/s_casinhl.c: Do not include <float.h>.
22357         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22358         redefine.
22359         (__casinhl): Move code for finite nonzero arguments to
22360         k_casinhl.c.
22361         * math/libm-test.inc (cacos_test): Add more tests.
22362         * sysdeps/i386/fpu/libm-test-ulps: Update.
22363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22365 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22367         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22368         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22369         [!HAVE_MREMAP]: Remove [defined linux] case.
22370         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22372 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22374         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22376 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22378         * elf/elf.h (R_386_SIZE32): New relocation.
22379         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22380         R_386_SIZE32.
22381         (elf_machine_rela): Likewise.
22382         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22383         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22385 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22387         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22388         (FP_FAST_FMA): Do not define.
22389         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22390         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22391         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22392         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22393         !_SOFT_FLOAT]: Likewise.
22394         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22395         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22396         value.
22397         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22398         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22399         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22400         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22401         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22402         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22403         file.
22405 2013-01-16  Andreas Schwab  <schwab@suse.de>
22407         [BZ #14327]
22408         * include/stdlib.h (__mktemp): Add declaration.
22409         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22410         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22412 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22414         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22415         definitions.
22416         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22417         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22418         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22419         definitions here.
22420         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22421         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22422         definitions.
22423         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22424         and ONE.
22425         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22426         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22428         definitions.
22429         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22430         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22431         definitions.
22432         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22434         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22436 2013-01-15  David S. Miller  <davem@davemloft.net>
22438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22439         trunc{,f} to libm-sysdep_routes.
22440         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22442         file.
22443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22445         file.
22446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22447         file.
22448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22450         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22451         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22452         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22453         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22454         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22455         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22458         nearbyint{,f} to libm-sysdep_routes.
22459         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22461         New file.
22462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22463         file.
22464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22465         New file.
22466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22467         file.
22468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22470         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22471         file.
22472         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22473         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22474         file.
22475         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22476         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22477         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22479         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22480         libc_feholdexcept and libc_fesetenv.
22482 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22484         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22486 2013-01-14  David S. Miller  <davem@davemloft.net>
22488         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22489         (SPARC_ASM_VIS2_IFUNC): Likewise.
22490         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22492         use of 'siam' instruction.
22493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22494         Likewise.
22495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22496         Likewise.
22497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22498         Likewise.
22499         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22501         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22504         file.
22505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22506         file.
22507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22508         file.
22509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22510         file.
22511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22514         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22516         new VIS2 routines.
22517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22520         Likewise.
22521         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22522         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22523         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22524         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22526         routines to libm-sysdep_routines.
22527         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22530         fdim/fdimf to libm-sysdep_routines.
22531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22532         file.
22533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22535         file.
22536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22537         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22538         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22539         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22540         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22541         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22542         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22544 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22547         to optimize copies.
22549         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22550         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22551         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22553         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22554         local variable MPTWO.
22555         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22556         Likewise.
22558 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22560         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22561         GLOB_NOESCAPE.
22563 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22565         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22567 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22569         * manual/pattern.texi (glob_t): Document gl_flags.
22570         (glob64_t): Likewise.
22572 2013-01-11  David S. Miller  <davem@davemloft.net>
22574         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22575         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22576         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22577         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22578         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22579         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22580         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22581         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22582         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22583         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22584         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22585         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22586         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22588         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22589         sparc V9 rather than using V8 code.
22590         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22591         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22593         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22594         Move to...
22595         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22596         Here.
22598 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22600         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22601         not in the main loop.
22602         * configure: Regenerated.
22604 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22606         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22607         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22608         to just #else.
22609         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22610         [!__GLIBC_HAVE_LONG_LONG] case.
22611         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22612         condition to just #else.
22613         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22614         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22615         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22616         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22617         unconditional.
22618         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22619         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22620         #elif condition to just #else.
22621         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22622         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22623         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22624         #elif condition to just #else.
22626 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22628         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22629         (EF_MIPS_ARCH_64): Fix value.
22630         (EF_MIPS_ARCH_32R2): New.
22631         (EF_MIPS_ARCH_64R2): New.
22633 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22635         * Makeconfig (+link-pie-before-libc): New.
22636         (+link-pie-after-libc): Likewise.
22637         (+link-pie-tests): Likewise.
22638         (+link-pie): Rewritten.
22639         (link-before-libc): Remove $(config-LDFLAGS).
22640         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22641         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22642         (config-LDFLAGS): Renamed to ...
22643         (rtld-LDFLAGS): This.
22644         (rtld-tests-LDFLAGS): New macro.
22645         (link-libc-rpath-link): Likewise.
22646         (link-libc-tests-rpath-link): Likewise.
22647         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22648         (link-libc): Prepand $(link-libc-rpath-link).
22649         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22650         (test-program-prefix): New macro.
22651         (test-via-rtld-prefix): Likewise.
22652         (test-program-cmd): Likewise.
22653         (host-test-program-cmd): Likewise.
22654         * Makefile ($(common-objpfx)testrun.sh): Replace
22655         $(run-program-prefix) with $(test-program-prefix).
22656         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22657         $(rtld-LDFLAGS).
22658         ($(common-objpfx)shlib.lds): Likewise.
22659         (build-module-helper): Likewise.
22660         ($(common-objpfx)format.lds): Likewise.
22661         * Rules (binaries-pie-tests): New.
22662         (binaries-pie-notests): Likewise.
22663         (binaries-pie): Rewritten.
22664         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22665         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22666         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22667         (make-test-out): Replace $(host-built-program-cmd) with
22668         $(host-test-program-cmd).
22669         * config.make.in (build-hardcoded-path-in-tests): New variable.
22670         * configure.in (--enable-hardcoded-path-in-tests): New configure
22671         option.
22672         (hardcoded_path_in_tests): New AC_SUBST.
22673         * configure: Regenerated.
22674         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22675         $(built-program-cmd) with $(test-program-cmd).
22676         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22677         (test_program_cmd): This.
22678         * elf/Makefile ($(objpfx)order.out): Run test with
22679         $(test-program-prefix).
22680         ($(objpfx)order2.out): Likewise.
22681         ($(objpfx)tst-initorder.out): Likewise.
22682         ($(objpfx)tst-initorder2.out): Likewise.
22683         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22684         $(test-program-cmd).
22685         ($(objpfx)tst-array1-static.out): Likewise.
22686         ($(objpfx)tst-array2.out): Likewise.
22687         ($(objpfx)tst-array3.out): Likewise.
22688         ($(objpfx)tst-array4.out): Likewise.
22689         ($(objpfx)tst-array5.out): Likewise.
22690         ($(objpfx)tst-array5-static.out): Likewise.
22691         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22692         $(test-program-cmd).
22693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22694         $(run-program-prefix) with $(test-program-prefix).
22695         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22696         (test_program_prefix): This.
22697         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22698         $(run-program-prefix) with $(test-program-prefix).
22699         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22700         (test_program_prefix): This.
22701         * iconvdata/tst-tables.sh: Likewise.
22702         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22703         $(run-program-prefix) with $(test-program-prefix).
22704         ($(objpfx)tst-translit.out): Likewise.
22705         ($(objpfx)tst-gettext2.out): Likewise.
22706         ($(objpfx)tst-gettext4.out): Likewise.
22707         ($(objpfx)tst-gettext6.out): Likewise.
22708         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22709         (test_program_prefix): This.
22710         * intl/tst-gettext2.sh: Likewise.
22711         * intl/tst-gettext4.sh  Likewise.
22712         * intl/tst-gettext6.sh: Likewise.
22713         * intl/tst-translit.sh: Likewise.
22714         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22715         with $(test-program-cmd).
22716         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22717         $(run-program-prefix) with $(test-program-prefix).
22718         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22719         (test_program_prefix): This.
22720         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22721         $(run-program-prefix) with $(test-program-prefix).
22722         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22723         (test_program_prefix): This.
22724         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22725         * posix/Makefile ($(objpfx)globtest.out): Replace
22726         $(run-via-rtld-prefix) and $(test-wrapper) with
22727         $(test-program-prefix) and $(test-via-rtld-prefix).
22728         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22729         $(test-program-prefix).
22730         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22731         $(host-test-program-cmd).
22732         (tst-spawn-ARGS): Likewise.
22733         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22734         $(test-program-prefix).
22735         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22736         (test_via_rtld_prefix): This.
22737         (test_wrapper): Renamed to ...
22738         (test_program_prefix): This.
22739         (run_program_prefix): Replaced by test_program_prefix.
22740         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22741         (test_program_prefix): This.
22742         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22743         with $(host-test-program-cmd).
22744         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22745         $(run-program-prefix) with $(test-program-prefix).
22746         ($(objpfx)tst-printf.out): Likewise.
22747         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22748         $(test-program-cmd).
22749         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22750         (test_program_prefix): This.
22751         * stdio-common/tst-unbputc.sh: Likewise.
22752         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22753         $(run-program-prefix) with $(test-program-prefix).
22754         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22755         (test_program_prefix): This.
22756         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22757         $(built-program-cmd) with $(test-program-cmd).
22759 2013-01-11  Andreas Jaeger  <aj@suse.de>
22761         [BZ #15003]
22762         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22763         value. Sync with Linux 3.7.
22765 2013-01-10  David S. Miller  <davem@davemloft.net>
22767         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22768         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22769         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22771 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22773         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22774         never set.
22775         * configure: Regenerated.
22777 2013-01-10  David S. Miller  <davem@davemloft.net>
22779         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22780         sparc V9 rather than using V8 code.
22781         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22782         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22784 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22786         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22787         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22788         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22789         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22790         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22791         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22792         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22793         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22794         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22795         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22796         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22797         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22798         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22799         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22800         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22801         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22802         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22803         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22804         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22805         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22806         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22807         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22808         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22809         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22810         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22811         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22812         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22814 2013-01-10  David S. Miller  <davem@davemloft.net>
22816         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22818 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22820         * posix/Makefile (tests-static): New variable.
22821         (tests): Add $(tests-static).
22822         (tst-exec-static-ARGS): New variable.
22823         (tst-spawn-static-ARGS): Likewise.
22824         * posix/tst-exec-static.c: New file.
22825         * posix/tst-spawn-static.c: Likewise.
22826         * posix/tst-exec.c: Support run directly.
22827         * posix/tst-spawn.c: Likewise.
22829 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22831         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22832         long.
22833         * math/bits/mathcalls.h (llrint): Likewise.
22834         (llround): Likewise.
22835         * stdlib/stdlib.h (struct drand48_data): Likewise.
22836         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22837         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22838         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22839         Likewise.
22840         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22841         Likewise.
22842         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22843         (elf_greg_t): Likewise.
22844         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22845         (__jmp_buf): Likewise.
22846         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22847         definitions.
22848         (llrint): Likewise, for all definitions.
22849         (llrintl): Likewise.
22851         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22852         Remove [__GNUC__] condition.
22853         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22854         condition to just [__USE_ISOC99].
22855         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22857 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22859         [BZ #14200]
22860         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22861         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22862         defined.
22863         (_POSIX_V6_ILP32_OFF32): Likewise.
22864         (_XBS5_ILP32_OFF32): Likewise.
22865         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22866         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22868 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22870         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22873         doubles __mpexp_twomm1.  Adjust usage.
22874         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22875         Remove.
22877 2013-01-10  Andreas Schwab  <schwab@suse.de>
22879         [BZ #14964]
22880         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22881         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22883 2013-01-09  David S. Miller  <davem@davemloft.net>
22885         [BZ #15003]
22886         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22887         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22888         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22889         (TCP_FASTOPEN): Define.
22890         (tcp_repair_opt): New structure.
22891         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22892         enum values.
22893         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22894         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22895         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22896         (tcp_cookie_transactions): New structure.
22898 2013-01-09  Anton Blanchard  <anton@samba.org>
22900         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22901         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22902         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22903         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22905 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22907         * include/features.h (__USE_ANSI): Remove.
22909 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22911         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22913         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22915 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22917         * sysdeps/s390/fpu/libm-test-ulps: Update.
22919         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22921         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
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/powerpc32/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         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
22950         (__acr): Likewise.
22951         (__cpy): Likewise.
22952         (norm): Likewise.
22953         (denorm): Likewise.
22954         (__mp_dbl): Likewise.
22955         (__dbl_mp): Likewise.
22956         (add_magnitudes): Likewise.
22957         (sub_magnitudes): Likewise.
22958         (__add): Likewise.
22959         (__sub): Likewise.
22960         (__mul): Likewise.
22961         (__inv): Likewise.
22962         (__dvd): Likewise.
22964 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
22966         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
22967         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
22968         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
22969         2 && __USE_EXTERN_INLINES]: Likewise.
22971 2013-01-08  Andreas Jaeger  <aj@suse.de>
22973         [BZ# 14985]
22974         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
22975         Remove.
22976         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22977         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
22979 2013-01-07  Anton Blanchard  <anton@samba.org>
22981         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
22982         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22983         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
22984         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22985         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22986         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22987         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
22988         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
22989         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22990         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22991         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22992         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22993         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
22994         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22995         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22996         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22997         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22998         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22999         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23000         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23001         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23002         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23003         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23004         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23005         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23006         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23008         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23009         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23010         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23011         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23012         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23013         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23014         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23015         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23016         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23017         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23018         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23020         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23021         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23023         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23025 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23027         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23028         (__MALLOC_PMT): Likewise.
23029         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23030         [__GNUC__], only on [_LIBC].
23031         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23032         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23033         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23034         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23035         forward declaration.
23036         (realloc_hook_ini): Likewise.
23037         (memalign_hook_ini): Likewise.
23038         (__libc_memalign): Do not use __MALLOC_PMT in variable
23039         declaration.
23040         (__libc_valloc): Likewise.
23041         (__libc_pvalloc): Likewise.
23042         (__libc_calloc): Likewise.
23043         (__posix_memalign): Likewise.
23045         [BZ #14996]
23046         * math/s_casinh.c: Include <float.h>.
23047         (__casinh): Do not do computation with squaring and square root
23048         for large arguments.
23049         * math/s_casinhf.c: Include <float.h>.
23050         (__casinhf): Do not do computation with squaring and square root
23051         for large arguments.
23052         * math/s_casinhl.c: Include <float.h>.
23053         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23054         (__casinhl): Do not do computation with squaring and square root
23055         for large arguments.
23056         * math/libm-test.inc (casin_test): Add more tests.
23057         (casinh_test): Likewise.
23058         * sysdeps/i386/fpu/libm-test-ulps: Update.
23059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23061 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23063         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23064         (__x86_64_raw_data_cache_size): Likewise.
23065         (__x86_64_data_cache_size_half): Likewise.
23066         (__x86_64_raw_data_cache_size_half): Likewise.
23067         (__x86_64_shared_cache_size): Likewise.
23068         (__x86_64_raw_shared_cache_size): Likewise.
23069         (__x86_64_shared_cache_size_half): Likewise.
23070         (__x86_64_raw_shared_cache_size_half): Likewise.
23071         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23072         to ...
23073         (__x86_data_cache_size): This.
23074         (__x86_64_raw_data_cache_size): Renamed to ...
23075         (__x86_raw_data_cache_size): This.
23076         (__x86_64_data_cache_size_half): Renamed to ...
23077         (__x86_data_cache_size_half): This.
23078         (__x86_64_raw_data_cache_size_half): Renamed to ...
23079         (__x86_raw_data_cache_size_half): This.
23080         (__x86_64_shared_cache_size): Renamed to ...
23081         (__x86_shared_cache_size): This.
23082         (__x86_64_raw_shared_cache_size): Renamed to ...
23083         (__x86_raw_shared_cache_size): This.
23084         (__x86_64_shared_cache_size_half): Renamed to ...
23085         (__x86_shared_cache_size_half): This.
23086         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23087         (__x86_raw_shared_cache_size_half): This.
23088         * sysdeps/x86_64/memcpy.S: Updated.
23089         * sysdeps/x86_64/memset.S: Likewise.
23090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23091         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23092         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23094 2013-01-04  David S. Miller  <davem@davemloft.net>
23096         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23098 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23100         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23101         1 to avoid redefinition warning.
23102         (__USE_GNU): Don't define.
23103         (init_signaling_nan): Protoize.
23105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23107 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23109         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23110         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23111         (__cpymn): Likewise.
23112         (norm): Remove commented code.
23113         (denorm): Likewise.
23114         (__mp_dbl): Likewise.
23115         (__inv): Likewise.
23116         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23117         (__cpymn): Likewise.
23118         (norm): Remove commented code.
23119         (denorm): Likewise.
23120         (__mp_dbl): Likewise.
23121         (__inv): Likewise.
23123         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23124         mp_no value for 1.0 and 2.0.
23125         (norm): Use RADIXI instead of radixi.d.
23126         (denorm): Likewise.
23127         (__mul): Use 0.0 instead of zero.d.
23128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23129         mp_no value for 1.0 and 2.0.
23130         (norm): Use RADIXI instead of radixi.d.
23131         (denorm): Likewise.
23132         (__mul): Use 0.0 instead of zero.d.
23134 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23136         [BZ #14994]
23137         * math/s_casinh.c (__casinh): Reduce finite argument to first
23138         quadrant then set signs of results at the end.
23139         * math/s_casinhf.c (__casinhf): Likewise.
23140         * math/s_casinhl.c (__casinhl): Likewise.
23141         * math/libm-test.inc (casin_test): Add more tests.
23142         (casinh_test): Likewise.
23143         * sysdeps/i386/fpu/libm-test-ulps: Update.
23144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23146 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23148         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23150         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23152         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23153         declarations.
23154         (denorm): Likewise.
23155         (__mp_dbl): Likewise.
23156         (__inv): Likewise.
23158         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23159         and adjust the header comment.
23161         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23162         variable name from declaration.
23164 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23166         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23167         Initialize COMMON_CPUID_INDEX_7 element.
23168         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23169         (CPUID_RTM): Likewise.
23170         (HAS_RTM): Likewise.
23171         (COMMON_CPUID_INDEX_7): New enum.
23173 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23175         [BZ #14981]
23176         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23177         size is zero, record memory as freed.
23179 2013-01-03  Andreas Jaeger  <aj@suse.de>
23181         * po/ia.po: Add new Interlingua translation.
23183 2012-01-03  Allan McRae  <allan@archlinux.org>
23185         * locale/programs/localedef.c: Fix description of '--posix' flag.
23187 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23189         * NEWS: Update dates in second copyright notice.
23190         * README: Update copyright dates in example.
23191         * manual/libc.texinfo: Update copyright dates.
23192         * scripts/test-installation.pl: Update copyright date in --version
23193         output.
23195         * hurd/ctty-input.c: Fix copyright notice formatting.
23196         * hurd/ctty-output.c: Likewise.
23197         * hurd/dtable.c: Likewise.
23198         * hurd/hurd-raise.c: Likewise.
23199         * hurd/hurdprio.c: Likewise.
23200         * hurd/msgportdemux.c: Likewise.
23201         * misc/sys/file.h: Likewise.
23202         * misc/sys/ioctl.h: Likewise.
23203         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23204         * sysdeps/mach/hurd/chdir.c: Likewise.
23205         * sysdeps/mach/hurd/fchdir.c: Likewise.
23206         * sysdeps/mach/hurd/rename.c: Likewise.
23207         * sysdeps/mach/hurd/rmdir.c: Likewise.
23208         * sysdeps/mach/hurd/seekdir.c: Likewise.
23209         * sysdeps/mach/hurd/setsid.c: Likewise.
23210         * sysdeps/posix/wait3.c: Likewise.
23212         * All files with FSF copyright notices: Update copyright dates
23213         using scripts/update-copyrights.
23214         * intl/plural.c: Regenerated.
23215         * locale/programs/charmap-kw.h: Likewise.
23216         * locale/programs/locfile-kw.h: Likewise.
23218 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23220         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23221         four values.
23223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23224         calculation loop and add branch prediction.
23226         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23227         check access beyond bounds of m1np.
23229         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23230         MPTWO.
23231         (__inv): Remove local variable MPTWO to use the global
23232         constant.
23233         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23234         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23235         variable MPTWO.
23236         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23237         MP3HALFS static const.
23239 2013-01-01  David S. Miller  <davem@davemloft.net>
23241         * po/ca.po: Update from translation team.
23243 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23245         * scripts/update-copyrights: New file.
23246         * Makeconfig: Reformat copyright notice.
23247         * ctype/ctype.h: Likewise.
23248         * debug/swprintf_chk.c: Likewise.
23249         * elf/dl-cache.c: Likewise.
23250         * elf/dl-debug.c: Likewise.
23251         * elf/dl-object.c: Likewise.
23252         * grp/initgroups.c: Likewise.
23253         * hurd/Makefile: Likewise.
23254         * hurd/hurd/signal.h: Likewise.
23255         * hurd/hurdfault.c: Likewise.
23256         * hurd/hurdioctl.c: Likewise.
23257         * hurd/hurdlookup.c: Likewise.
23258         * hurd/intr-msg.c: Likewise.
23259         * iconv/gconv_open.c: Likewise.
23260         * libio/swprintf.c: Likewise.
23261         * locale/lc-ctype.c: Likewise.
23262         * locale/nl_langinfo.c: Likewise.
23263         * mach/Machrules: Likewise.
23264         * mach/Makefile: Likewise.
23265         * malloc/obstack.h: Likewise.
23266         * manual/Makefile: Likewise.
23267         * manual/tsort.awk: Likewise.
23268         * misc/bits/stab.def: Likewise.
23269         * nis/nis_print_group_entry.c: Likewise.
23270         * nis/nis_table.c: Likewise.
23271         * nis/nss_compat/compat-pwd.c: Likewise.
23272         * nis/nss_compat/compat-spwd.c: Likewise.
23273         * po/Makefile: Likewise.
23274         * posix/fnmatch.c: Likewise.
23275         * posix/regex.h: Likewise.
23276         * resolv/Makefile: Likewise.
23277         * resolv/nss_dns/dns-network.c: Likewise.
23278         * resolv/res_hconf.c: Likewise.
23279         * scripts/gen-sorted.awk: Likewise.
23280         * soft-fp/soft-fp.h: Likewise.
23281         * stdio-common/printf.h: Likewise.
23282         * stdlib/monetary.h: Likewise.
23283         * stdlib/random.c: Likewise.
23284         * stdlib/random_r.c: Likewise.
23285         * sysdeps/generic/Makefile: Likewise.
23286         * sysdeps/gnu/Makefile: Likewise.
23287         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23288         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23289         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23291         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23292         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23293         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23294         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23295         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23296         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23297         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23298         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23299         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23300         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23301         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23303         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23305         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23306         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23307         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23308         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23309         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23310         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23311         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23312         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23313         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23314         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23315         * sysdeps/mach/hurd/errnos.awk: Likewise.
23316         * sysdeps/mach/hurd/fork.c: Likewise.
23317         * sysdeps/mach/hurd/getcwd.c: Likewise.
23318         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23319         * sysdeps/mach/hurd/mmap.c: Likewise.
23320         * sysdeps/mach/hurd/utimes.c: Likewise.
23321         * sysdeps/mach/hurd/xmknod.c: Likewise.
23322         * sysdeps/posix/profil.c: Likewise.
23323         * sysdeps/posix/readdir_r.c: Likewise.
23324         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23325         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23326         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23327         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23328         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23329         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23330         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23332         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23333         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23334         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23335         * sysdeps/pthread/lio_listio.c: Likewise.
23336         * sysdeps/sparc/dl-procinfo.h: Likewise.
23337         * sysdeps/unix/i386/sysdep.S: Likewise.
23338         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23339         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23340         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23341         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23343         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23344         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23345         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23346         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23347         * sysdeps/wordsize-32/divdi3.c: Likewise.
23348         * time/sys/time.h: Likewise.
23349         * wcsmbs/Makefile: Likewise.
23351 2013-01-01  David S. Miller  <davem@davemloft.net>
23353         * po/fr.po: Update from translation team.
23355         * catgets/gencat.c: Update copyright year.
23356         * csu/version.c: Likewise.
23357         * debug/catchsegv.sh: Likewise.
23358         * debug/pcprofiledump.c: Likewise.
23359         * debug/xtrace.sh: Likewise.
23360         * elf/ldconfig.c: Likewise.
23361         * elf/ldd.bash.in: Likewise.
23362         * elf/pldd.c: Likewise.
23363         * elf/sotruss.ksh: Likewise.
23364         * elf/sprof.c: Likewise.
23365         * iconv/iconv_prog.c: Likewise.
23366         * iconv/iconvconfig.c: Likewise.
23367         * locale/programs/locale.c: Likewise.
23368         * locale/programs/localedef.c: Likewise.
23369         * login/programs/pt_chown.c: Likewise.
23370         * malloc/memusage.sh: Likewise.
23371         * malloc/memusagestat.c: Likewise.
23372         * malloc/mtrace.pl: Likewise.
23373         * nscd/nscd.c: Likewise.
23374         * nss/getent.c: Likewise.
23375         * nss/makedb.c: Likewise.
23376         * posix/getconf.c: Likewise.
23378 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23380         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23381         numbers.
23383 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23385         * math/bits/mathcalls.h (modf): Use __nonnull.
23387 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23389         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23390         (split): Use macro CN instead of the bare value.
23391         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23392         could be used.
23393         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23394         instead of the bare value.
23395         (power1): Likewise.
23397 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23399         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23400         __ATAN_TWOM.
23401         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23403         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23404         their values.
23405         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23406         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23407         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23408         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23410 2012-12-28  Andreas Jaeger  <aj@suse.de>
23412         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23413         values are from Linux 3.7.
23415         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23416         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23418 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23420         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23421         TRUE case.
23423         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23424         (norm): Likewise.
23425         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23426         variables with preprocessor constants.
23427         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23428         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23429         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23431 2012-12-27  Bruno Haible  <bruno@clisp.org>
23433         [BZ #14317]
23434         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23435         only if needed.
23437 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23439         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23440         and use variable directly.
23441         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23443         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23444         MPONE.
23445         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23446         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23447         variable MPONE.
23448         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23450         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23451         include directive.  Remove local variable MPONE.
23452         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23456 2012-12-25  David S. Miller  <davem@davemloft.net>
23458         * version.h (RELEASE): Set to "development".
23459         (VERSION): Set to "2.17.90".
23460         * NEWS: Add 2.18 section.
23462 2012-12-21  David S. Miller  <davem@davemloft.net>
23464         * po/hr.po: Update from translation team.
23466 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23468         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23470 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23472         * NEWS:  Mention new memcpy for MIPS.
23474 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23476         * manual/contrib.texi (Contributors): Spelling correction.
23478 2012-12-15  David S. Miller  <davem@davemloft.net>
23480         * po/ru.po: Update from translation team.
23482 2012-12-13  David S. Miller  <davem@davemloft.net>
23484         * NEWS: Mention IFUNC testsuite enhancements.
23486         * po/pl.po: Update from translation team.
23487         * po/bg.po: Likewise.
23489         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23490         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23492 2012-12-11  David S. Miller  <davem@davemloft.net>
23494         * po/sv.po: Update from translation team.
23496         * po/vi.po: Update from translation team.
23498         * po/cs.po: Update from translation team.
23500         * po/de.po: Update from translation team.
23501         * po/eo.po: Likewise.
23502         * po/nl.po: Likewise.
23504 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23506         [BZ #14246]
23507         * manual/argp.texi (Argp Helper Functions): Move node to follow
23508         Argp Parsing State.
23510         [BZ #14872]
23511         * manual/conf.texi (Limits on File System Capacity): Mention if
23512         terminating null is included in the max size.
23514 2012-12-10  Andreas Jaeger  <aj@suse.de>
23516         * po/cs.po: Update from translation team.
23518 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23520         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23521         void pointer and cast to uintptr_t.
23522         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23523         path.
23524         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23525         * sysdeps/s390/s390-64/memset.S: Likewise.
23527 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23529         [BZ #14833]
23530         * menual/message.texi (Message Translation): Fix typos.
23531         (Helper programs for gettext): Likewise.
23533 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23535         [BZ #14898]
23536         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23537         Change to -1.
23539 2012-12-07  David S. Miller  <davem@davemloft.net>
23541         * po/libc.pot: Update.
23543 2012-12-07  Richard Henderson  <rth@redhat.com>
23545         [BZ #10114]
23546         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23547         normal/normal case to before the switch.
23548         (_FP_DIV): Likewise.
23550 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23551             Mike Frysinger  <vapier@gentoo.org>
23553         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23554         check for __NR_fadvise64_64.
23556 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23558         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23559         0, not just to plain "0" as a statement.
23560         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23561         with cw.
23563 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23565         * NEWS: Use sourceware.org in Bugzilla URL.
23567 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23570         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23572         * stdio-common/tst-put-error.c (do_test): Add newline to the
23573         padded test to ensure flush.
23575 2012-12-05  Jeff Law  <law@redhat.com>
23577         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23579 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23581         * README: Don't refer to ports add-on as distributed separately.
23582         Mention AArch64 in list of systems supported in the ports add-on.
23584         * LICENSES: Add more non-FSF copyright and license notices.
23586         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23587         ((unused)).
23589         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23591         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23592         10000 as width of padded output.
23594 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23596         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23598         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23599         variable LX with __attribute__ ((unused)).
23600         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23601         Likewise.
23602         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23603         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23604         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23605         with __attribute__ ((unused)).
23607 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23609         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23611 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23613         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23614         (CFLAGS-nldbl-acos.c): New variable.
23615         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23616         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23617         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23618         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23619         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23620         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23621         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23622         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23623         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23624         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23625         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23626         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23627         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23628         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23629         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23630         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23631         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23632         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23633         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23634         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23635         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23636         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23637         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23638         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23639         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23640         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23641         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23642         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23643         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23644         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23645         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23646         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23647         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23648         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23649         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23650         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23651         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23652         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23653         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23654         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23655         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23656         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23657         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23658         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23659         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23660         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23661         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23662         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23663         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23664         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23665         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23666         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23667         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23668         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23669         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23670         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23671         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23672         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23673         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23674         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23675         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23676         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23677         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23678         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23679         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23680         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23681         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23682         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23683         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23684         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23685         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23686         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23687         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23688         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23689         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23690         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23691         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23692         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23693         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23694         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23695         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23696         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23697         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23698         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23699         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23700         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23701         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23702         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23703         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23704         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23705         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23706         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23707         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23708         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23709         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23710         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23711         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23714         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23716         [BZ #14914]
23717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23718         whole low double instead of just low 47 bits when splitting values
23719         into two parts.
23721 2012-12-03  Allan McRae  <allan@archlinux.org>
23723         * manual/stdio.texi (Predefined Printf Handlers): Remove
23724         @hsep and @vsep usage.
23726 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23728         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23729         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23731 2012-12-03  Jeff Law  <law@redhat.com>
23733         * time/sys/time.h (settimeofday): Do not mark TV argument
23734         as __nonnull.
23736 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23738         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23739         when currently writing and seek to current position when not.
23740         * libio/Makefile (tests): Remove bug-fclose1.
23741         * libio/bug-fclose1.c: Delete.
23743 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23745         * manual/arith.texi (feenableexcept): Fix typo.
23746         (fedisableexcept): Likewise.
23748 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23750         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23751         second, differently-typed declaration, rather than a cast.
23753 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23755         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23756         * include/rpc/svc.h: ... here.
23758 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23760         [BZ #13013]
23761         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23762         depending n and resplen2 to catch cases where answer
23763         equals answerp2.
23765 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23767         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23768         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23770 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23772         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23774 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23776         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23778 2012-11-28  Jeff Law  <law@redhat.com>
23780         [BZ #13761]
23781         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23782         dataset_temporary.  Track alloca usage into alloca_used.
23783         If dataset is large allocate and release it via malloc/free.
23785 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23787         [BZ #14197]
23788         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23790 2012-11-28  David S. Miller  <davem@davemloft.net>
23792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23794 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23796         [BZ #14803]
23797         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23798         of pi/2 rounded to nearest to 64 bits.
23799         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23800         nearest to 64 bits.
23801         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23802         bits.
23804 2012-11-28  Jeff Law <law@redhat.com>
23805             Martin Osvald <mosvald@redhat.com>
23807         [BZ #14889]
23808         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23809         * sunrpc/svc.c: Include time.h.
23810         (__svc_accept_failed): New function.
23811         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23812         any reason other than EINTR, call __svc_accept_failed.
23813         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23814         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23816 2012-11-28  Andreas Schwab  <schwab@suse.de>
23818         * scripts/abilist.awk: Also handle indirect functions in .opd
23819         section.
23821 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23823         [BZ #13881]
23824         * sysdeps/x86/fpu/powl_helper.c: New file.
23825         * sysdeps/x86/fpu/Makefile: Likewise.
23826         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23827         (p3): New object.
23828         (__ieee754_powl): Use __powl_helper for finite arguments except
23829         integer exponents below 8.
23830         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23831         (p3): New object.
23832         (__ieee754_powl): Use __powl_helper for finite arguments except
23833         integer exponents below 8.
23834         * math/libm-test.inc (pow_test): Add more tests and enable some
23835         previously disabled tests.
23836         * sysdeps/i386/fpu/libm-test-ulps: Update.
23837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23839 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23840             Carlos O'Donell  <carlos_odonell@mentor.com>
23842         * nss/makedb.c (is_prime): Assert that input is odd and greater
23843         than 4.  Note that fact in a comment too.
23844         (next_prime): Add 4 to input.
23846 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23848         [BZ #11741]
23849         * libio/Makefile (tests): Add test case tst-fwrite-error.
23850         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23851         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23852         * libio/tst-fwrite-error.c: New test case.
23854 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23856         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23857         before casting to void *.
23858         * include/libc-internal.h (__pointer_type): New macro.
23859         (__integer_if_pointer_type_sub): Likewise.
23860         (__integer_if_pointer_type): Likewise.
23861         (cast_to_integer): Likewise.
23862         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23863         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23864         before casting to atomic64_t.
23865         (atomic_exchange_acq): Likewise.
23866         (__arch_exchange_and_add_body): Likewise.
23867         (__arch_add_body): Likewise.
23868         (atomic_add_negative): Likewise.
23869         (atomic_add_zero): Likewise.
23871 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23873         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23874         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23875         (add_fdes): Likewise.
23876         (linear_search_fdes): Likewise.
23877         (binary_search_unencoded_fdes): Likewise.
23879 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23881         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23883 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23885         * configure.in: Autodetect C++ header directories.
23886         * configure: Regenerated.
23888 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23890         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23892 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23896 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23898         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23899         LDBL_MANT_DIG == 106]: Disable some tests.
23900         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23901         Likewise.
23902         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23903         Likewise.
23905         [BZ #14871]
23906         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23907         input for small inputs.  Return +/- pi/2 for large inputs.
23908         * math/libm-test.inc (atan_test): Add more tests.
23910         * sysdeps/generic/unwind-dw2-fde-glibc.c
23911         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23912         __attribute__ ((unused)).
23914         [BZ #14645]
23915         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23916         x * y if x and y are nonzero and z is zero.
23918         [BZ #14811]
23919         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23920         nonzero exponents with absolute value below 0x1p-117 to +/-
23921         0x1p-117.
23923         [BZ #14869]
23924         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
23925         up arguments below 2**-450, not just those below 2**-500.
23926         * math/libm-test.inc (hypot_test): Add another test.
23928         [BZ #14868]
23929         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
23930         Return a+b for ratio over 2**120, not 2**60.
23931         * math/libm-test.inc (hypot_test): Add another test.
23933         * math/libm-test.inc (clog_test): Use
23934         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
23935         (clog10_test): Likewise.
23937         [BZ #6778]
23938         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
23940 2012-11-22  Andreas Schwab  <schwab@suse.de>
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23944 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
23946         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
23947         printf output with newline.
23949 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
23951         [BZ #14865]
23952         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
23953         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
23954         -z nodlopen, -z initfirst and -z execstack support.
23955         * configure: Regenerated.
23957         * elf/elf.h (DF_1_NODIRECT): New macro.
23958         (DF_1_IGNMULDEF): Likewise.
23959         (DF_1_NOKSYMS): Likewise.
23960         (DF_1_NOHDR): Likewise.
23961         (DF_1_EDITED): Likewise.
23962         (DF_1_NORELOC): Likewise.
23963         (DF_1_SYMINTPOSE): Likewise.
23964         (DF_1_GLOBAUDIT): Likewise.
23965         (DF_1_SINGLETON): Likewise.
23966         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
23967         DT_1_SUPPORTED_MASK bits.
23968         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
23970 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
23972         * sysdeps/unix/make-syscalls.sh: Document prefixes.
23974 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
23976         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
23977         macro.
23979         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
23980         (sendmmsg): Move declarations...
23981         * socket/sys/socket.h: ... here.
23982         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
23983         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
23984         include it from...
23985         * socket/recvmmsg.c: ... this new file.
23986         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
23987         (sendmmsg): Rename to __sendmmsg, create weak alias and make
23988         definition of __sendmmsg hidden.
23989         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23990         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
23991         Move ENOSYS stub into and include it from...
23992         * socket/sendmmsg.c: ... this new file.
23993         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
23994         (sysdep_routines): Move recvmmsg and sendmmsg...
23995         * socket/Makefile (routines): ... here.
23996         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
23997         (GLIBC_PRIVATE): Add __sendmmsg.
23998         * include/sys/socket.h (__sendmmsg): Add declarations.
23999         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24000         sendmmsg.
24002 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24004         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24005         variable I1 with __attribute__ ((unused)).
24006         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24008 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24010         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24011         DUMMY variables with __attribute__ ((unused)).
24013         * bits/byteswap.h: Include <bits/types.h>.
24014         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24016 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24018         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24019         string_t.  Do not manually set errno.
24020         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24021         length with __strnlen.  Make sure to both set errno and return it on
24022         failure.
24024 2012-11-19  David S. Miller  <davem@davemloft.net>
24026         With help from Joseph Myers.
24027         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24028         very large arguments properly.
24029         * math/libm-test.inc (atan_test): New tests.
24030         (atan2_test): New tests.
24031         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24034 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24036         [BZ #14856]
24037         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24038         Define to 3.
24040         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24041         [POSIX] (EADDRNOTAVAIL): Likewise.
24042         [POSIX] (EAFNOSUPPORT): Likewise.
24043         [POSIX] (EALREADY): Likewise.
24044         [POSIX] (ECONNABORTED): Likewise.
24045         [POSIX] (ECONNREFUSED): Likewise.
24046         [POSIX] (ECONNRESET): Likewise.
24047         [POSIX] (EDESTADDRREQ): Likewise.
24048         [POSIX] (EDQUOT): Likewise.
24049         [POSIX] (EHOSTUNREACH): Likewise.
24050         [POSIX] (EIDRM): Likewise.
24051         [POSIX] (EISCONN): Likewise.
24052         [POSIX] (ELOOP): Likewise.
24053         [POSIX] (EMULTIHOP): Likewise.
24054         [POSIX] (ENETDOWN): Likewise.
24055         [POSIX] (ENETUNREACH): Likewise.
24056         [POSIX] (ENOBUFS): Likewise.
24057         [POSIX] (ENODATA): Likewise.
24058         [POSIX] (ENOLINK): Likewise.
24059         [POSIX] (ENOMSG): Likewise.
24060         [POSIX] (ENOPROTOOPT): Likewise.
24061         [POSIX] (ENOSR): Likewise.
24062         [POSIX] (ENOSTR): Likewise.
24063         [POSIX] (ENOTCONN): Likewise.
24064         [POSIX] (ENOTSOCK): Likewise.
24065         [POSIX] (EOPNOTSUPP): Likewise.
24066         [POSIX] (EOVERFLOW): Likewise.
24067         [POSIX] (EPROTO): Likewise.
24068         [POSIX] (EPROTONOSUPPORT): Likewise.
24069         [POSIX] (EPROTOTYPE): Likewise.
24070         [POSIX] (ESTALE): Likewise.
24071         [POSIX] (ETIME): Likewise.
24072         [POSIX] (ETXTBSY): Likewise.
24073         [POSIX] (EWOULDBLOCK): Likewise.
24074         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24075         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24076         [POSIX] (SEEK_CUR): Likewise.
24077         [POSIX] (SEEK_END): Likewise.
24078         [POSIX || UNIX98] (mode_t): Do not require.
24079         [POSIX] (off_t): Likewise.
24080         [POSIX] (pid_t): Likewise.
24081         [POSIX] (sys/stat.h): Do not allow header.
24082         [POSIX] (unistd.h): Likewise.
24083         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24084         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24085         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24086         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24087         require.
24088         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24089         sigevent): Specify elements.
24090         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24091         entry.
24092         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24093         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24095         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24096         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24097         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24098         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24099         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24100         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24101         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24102         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24103         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24104         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24105         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24106         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24107         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24108         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24109         Likewise.
24110         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24111         Likewise.
24112         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24113         Likewise.
24114         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24115         Likewise.
24116         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24117         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24118         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24119         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24120         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24121         Specify lower bound on value.
24122         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24123         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24124         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24125         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24126         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24127         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24128         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24129         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24130         value.
24131         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24132         as optional.
24133         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24134         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24135         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24136         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24137         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24138         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24139         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24140         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24141         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24142         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24143         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24144         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24145         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24146         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24147         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24148         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24149         entry.
24150         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24151         optional.
24152         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24153         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24154         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24155         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24156         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24157         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24158         Likewise.
24159         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24160         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24161         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24162         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24163         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24164         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24165         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24166         as optional.
24167         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24168         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24169         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24170         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24171         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24172         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24173         specify as optional.
24174         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24175         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24176         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24177         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24178         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24179         [XPG3] (NL_LANGMAX): Likewise.
24180         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24181         [POSIX || XPG3] (NL_NMAX): Likewise.
24182         [POSIX || XPG3] (NL_SETMAX): Likewise.
24183         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24184         [XPG3] (NZERO): Likewise.
24185         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24186         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24187         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24188         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24189         (REG_ERANGE): Expect.
24190         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24191         optional-constant.
24192         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24193         Use (void) in prototype.
24194         [POSIX] (*_t): Allow.
24195         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24196         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24197         (WRDE_BADVAL): Expect.
24199         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24200         expect.
24201         [XPG3 || XPG4] (O_RSYNC): Likewise.
24202         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24203         Likewise.
24204         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24205         [XPG3 || XPG4] (sigqueue): Likewise.
24206         [XPG3 || XPG4] (sigtimedwait): Likewise.
24207         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24208         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24209         [XPG3 || XPG4] (vsnprintf): Likewise.
24210         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24211         Likewise.
24212         [XPG3 || XPG4] (blksize_t): Likewise.
24213         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24214         Likewise.
24215         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24216         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24217         [XPG3 || XPG4] (struct itimerspec): Likewise.
24218         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24219         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24220         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24221         [XPG3 || XPG4] (clockid_t): Likewise.
24222         [XPG3 || XPG4] (timer_t): Likewise.
24223         [XPG3 || XPG4] (clock_getres): Likewise.
24224         [XPG3 || XPG4] (clock_gettime): Likewise.
24225         [XPG3 || XPG4] (clock_settime): Likewise.
24226         [XPG3 || XPG4] (nanosleep): Likewise.
24227         [XPG3 || XPG4] (timer_create): Likewise.
24228         [XPG3 || XPG4] (timer_delete): Likewise.
24229         [XPG3 || XPG4] (timer_gettime): Likewise.
24230         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24231         [XPG3 || XPG4] (timer_settime): Likewise.
24232         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24233         [XPG3 || XPG4] (getlogin_r): Likewise.
24234         [XPG3 || XPG4] (pread): Likewise.
24235         [XPG3 || XPG4] (pthread_atfork): Likewise.
24236         [XPG3 || XPG4] (pwrite): Likewise.
24238         [BZ #14835]
24239         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24240         <bits/siginfo.h>.
24242 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24244         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24245         finalizing MALLSTREAM.
24247         * sysdeps/mach/hurd/syncfs.c: New file.
24249 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24251         [BZ #14719]
24252         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24253         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24254         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24255         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24256         (_nss_dns_gethostbyname4_r): Likewise.
24257         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24258         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24260 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24262         [BZ #13763]
24263         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24265 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24267         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24268         * elf/cache.c (print_entry): Print ",AArch64" for
24269         FLAG_AARCH64_LIB64
24271         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24272         * elf/cache.c (print_entry): Print ",hard-float" for
24273         FLAG_ARM_LIBHF.
24275 2012-11-18  David S. Miller  <davem@davemloft.net>
24277         With help from Joseph Myers.
24278         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24279         cutoff to 2**-13.
24280         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24281         cutoff to 2**-25.
24282         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24283         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24284         small.
24285         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24286         * math/libm-test.inc (y0_test): New tests.
24287         (y1_test): New tests.
24288         * sysdeps/i386/fpu/libm-test-ulps: Update.
24289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24292 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24294         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24295         64-bit targets.
24296         * configure: Regenerated.
24298 2012-11-17  David S. Miller  <davem@davemloft.net>
24300         [BZ #14811]
24301         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24302         nonzero exponents with absolute value below 0x1p-128 to +/-
24303         0x1p-128.
24305 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24307         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24309         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24311         * posix/getconf-speclist.c: New file.
24312         * posix/posix-envs.def: Likewise.
24313         * posix/confstr.c (START_ENV_GROUP): New macro.
24314         (END_ENV_GROUP): Likewise.
24315         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24316         (KNOWN_PRESENT_ENV_STRING): Likewise.
24317         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24318         (UNKNOWN_ENVIRONMENT): Likewise.
24319         (confstr): Include posix-envs.def instead of handling
24320         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24321         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24322         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24323         (END_ENV_GROUP): Likewise.
24324         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24326         (UNKNOWN_ENVIRONMENT): Likewise.
24327         (__sysconf): Include posix-envs.def instead of handling associated
24328         cases directly here.
24329         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24330         preprocessing getconf-speclist.c rather than running getconf or
24331         generating empty file.
24333 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24335         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24337 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24339         [BZ #14672]
24340         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24342 2012-11-16  David S. Miller  <davem@davemloft.net>
24344         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24345         smaller than LDBL_EPSILON/2.0L, just return xm1.
24347 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24349         * elf/tst-array1.c (init): Set constructor priority to 1000.
24350         (fini): Set destructor priority to 1000.
24351         * elf/tst-array2dep.c: Likewise.
24353 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24355         [BZ #11741]
24356         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24357         (_IO_new_file_xsputn): Also return EOF if none of the input
24358         data was written when overflow failed.
24359         * libio/iopadn.c (_IO_padn): Likewise.
24360         * libio/iowpadn.c (_IO_wpadn): Likewise.
24361         * stdio-common/tst-put-error.c: Add copyright notice.
24362         (do_test): Add case for printing padded string.
24363         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24364         _IO_padn returned error.
24365         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24366         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24367         return EOF.
24369 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24371         * libio/libioP.h: Add comment note that the references to C++
24372         bits are now obsolete.
24374 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24376         * math/libm-test.inc (check_complex): Use asprintf.
24378 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24380         * debug/pcprofiledump.c (print_version): Update copyright year.
24381         * malloc/memusagestat.c (print_version): Likewise.
24383 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24385         [BZ #14831]
24386         * elf/Makefile (tests): Add tst-audit8.
24387         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24388         ($(objpfx)tst-audit8.out): New target.
24389         (tst-audit8-ENV): New variable.
24390         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24391         audit if l_reloc_result is NULL.
24392         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24393         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24394         * elf/tst-audit8.c: New file.
24396 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24398         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24399         * misc/Makefile (CFLAGS-select.c): Define.
24400         * posix/Makefile (CFLAGS-pause.c): Define.
24402 2012-11-13  David S. Miller  <davem@davemloft.net>
24404         * crypt/Makefile: Move test targets after toplevel Rules
24405         inclusion.  Grab any necessary sysdep routines when linking.
24406         * crypt/md5.c (md5_process_block): Remove define, we will always
24407         name it __md5_process_block.
24408         (md5_finish_ctx): Update md5_process_block call.
24409         (md5_stream): Likewise.
24410         (md5_process_bytes): Likewise.
24411         (md5_process_block): Rename to __md5_process_block and move to ...
24412         * crypt/md5-block.c: ... here.
24413         * crypt/sha256.c (sha256_process_block): Move to ...
24414         * crypt/sha256-block.c: ... here.
24415         * crypt/sha512.c (sha512_process_block): Move to ...
24416         * crypt/sha512-block.c: ... here.
24417         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24418         path.
24419         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24420         * sysdeps/sparc/sparc64/multiarch/Makefile
24421         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24422         crypt subdir.
24423         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24424         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24425         multiarch changes.
24426         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24427         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24428         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24429         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24430         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24431         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24432         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24433         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24434         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24435         file.
24436         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24437         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24438         file.
24439         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24441 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24443         * timezone/tzselect.ksh: Update from tzcode git revision
24444         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24445         * timezone/zdump.c: Likewise.
24446         * timezone/zic.c: Likewise.
24447         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24448         in TZVERSION setting, not $(PKGVERSION).
24449         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24450         REPORT_BUGS_TO settings.
24452         [BZ #14838]
24453         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24454         macro.
24456 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24458         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24459         detection to immediately after _FP_ROUND().
24460         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24461         bits are 0.
24463 2012-11-11  David S. Miller  <davem@davemloft.net>
24465         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24466         inttypes.h
24467         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24468         __close rather than their public counterparts.
24470 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24472         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24473         file.
24474         [UNIX98] (sem_timedwait): Do not expect.
24475         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24476         [XPG4 || UNIX98] (sockatmark): Do not expect.
24477         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24478         (clock_getcpuclockid): Do not expect.
24479         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24480         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24481         Do not expect.
24482         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24483         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24484         [UNIX98] (vwscanf): Likewise.
24485         [UNIX98] (vswscanf): Likewise.
24487 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24489         * timezone/version.h: Remove file.
24490         * timezone/README: Do not refer to version.h.
24491         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24492         $(objpfx)version.h.
24493         ($(objpfx)zdump.o): Likewise.
24494         ($(objpfx)version.h): New target.
24496         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24497         2012i.
24498         * timezone/README: Don't mention modification to tzselect.ksh.
24499         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24500         work on unmodified tzselect.ksh.  Substitute version numbers in
24501         tzselect.ksh.
24503         * Makefile (format-me): Remove.
24504         (INSTALL): Adjust indentation.  Use commands directly instead of
24505         using $(format-me).
24507         * aclocal.m4 (ACX_PKGVERSION): New macro.
24508         (ACX_BUGURL): Likewise.
24509         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24510         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24511         (REPORT_BUGS_TO): Likewise.
24512         * configure: Regenerated.
24513         * config.h.in (PKGVERSION): New macro.
24514         (REPORT_BUGS_TO): Likewise.
24515         * config.make.in (PKGVERSION): New variable.
24516         (PKGVERSION_TEXI): Likewise.
24517         (REPORT_BUGS_TO): Likewise.
24518         (REPORT_BUGS_TEXI): Likewise.
24519         * Makefile (format-me): Use -I$(common-objpfx)manual.
24520         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24521         ($(common-objpfx)manual/%): New target.
24522         (manual/%): Remove target.
24523         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24524         (print_version): Use PKGVERSION.
24525         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24526         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24527         and REPORT_BUGS_TO.
24528         ($(objpfx)xtrace): Likewise.
24529         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24530         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24531         (print_version): Use PKGVERSION.
24532         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24533         (do_version): Use PKGVERSION.
24534         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24535         REPORT_BUGS_TO.
24536         (common-ldd-rewrite): Likewise.
24537         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24538         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24539         (print_version): Use PKGVERSION.
24540         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24541         * elf/pldd.c (argp_program_bug_address): Remove variable.
24542         (more_help): New function.
24543         (argp): Use more_help.
24544         (print_version): Use PKGVERSION.
24545         * elf/sln.c (main): Use PKGVERSION.
24546         (usage): Use REPORT_BUGS_TO.
24547         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24548         (top level): Use PKGVERSION.
24549         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24550         (print_version): Use PKGVERSION.
24551         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24552         (print_version): Use PKGVERSION.
24553         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24554         (print_version): Use PKGVERSION.
24555         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24556         (print_version): Use PKGVERSION.
24557         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24558         (print_version): Use PKGVERSION.
24559         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24560         (print_version): Use PKGVERSION.
24561         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24562         and BUGURL.
24563         ($(objpfx)memusage): Likewise.
24564         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24565         (do_version): Use PKGVERSION.
24566         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24567         (print_version): Use PKGVERSION.
24568         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24569         ($PKGVERSION): New variable.
24570         ($REPORT_BUGS_TO): Likewise.
24571         (usage): Use $REPORT_BUGS_TO.
24572         (top level): Use $PKGVERSION.
24573         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24574         ($(objpfx)pkgvers.texi): New rule.
24575         ($(objpfx)stamp-pkgvers): Likewise.
24576         * manual/install.texi: Include pkgvers.texi.
24577         (--with-pkgversion): Document new configure option.
24578         (--with-bugurl): Likewise.
24579         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24580         than necessarily for this particular distribution.  Use
24581         REPORT_BUGS_TO for where to report bugs.
24582         * INSTALL: Regenerated.
24583         * manual/libc.texinfo: Include pkgvers.texi.
24584         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24585         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24586         (print_version): Use PKGVERSION.
24587         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24588         (print_version): Use PKGVERSION.
24589         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24590         (print_version): Use PKGVERSION.
24591         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24592         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24593         macro.
24594         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24595         (print_version): Use PKGVERSION.
24596         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24597         (print_version): Use PKGVERSION.
24598         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24599         and PKGVERSION.
24601         * timezone/checktab.awk: Update from tzcode 2012i.
24602         * timezone/ialloc.c: Likewise.
24603         * timezone/private.h: Likewise.
24604         * timezone/scheck.c: Likewise.
24605         * timezone/tzfile.h: Likewise.
24606         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24607         (TZVERSION): Hardcode tzcode version number.
24608         * timezone/zdump.c: Update from tzcode 2012i.
24609         * timezone/zic.c: Likewise.
24610         * timezone/version.h: New file.
24611         * timezone/README: Describe version.h.  Update upstream location.
24613         [BZ #14824]
24614         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24615         (mktemp): Enable declaration.
24616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24617         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24619         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24620         Likewise.
24621         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24622         Likewise.
24623         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24624         Likewise.
24625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24626         Likewise.
24627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24628         Likewise.
24629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24630         Likewise.
24632         [BZ #14821]
24633         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24634         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24635         for copies of such integer values.
24636         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24637         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24639 2012-11-09  Andreas Jaeger  <aj@suse.de>
24641         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24642         definitions and declarations that are provided by
24643         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24645 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24647         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24648         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24649         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24650         definition.
24652 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24654         * elf/elf.h: Update comment before AArch64 relocations.
24656 2012-11-07  David S. Miller  <davem@davemloft.net>
24658         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24659         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24660         (__start_context): Declare.
24661         (__makecontext_ret): Delete.
24662         (__makecontext): Hook up __start_context instead of
24663         __makecontext_ret.
24664         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24665         (sysdep_routines): Add __start_context when in stdlib.
24667 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24669         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24670         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24671         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24672         hardcoded "nm".
24673         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24674         (READELF): New variable.  Use it instead of hardcoded "readelf".
24676 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24678         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24679         * sysdeps/x86/Makefile: Here.
24680         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24681         * sysdeps/x86/tst-xmmymm.sh: This.
24683 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24685         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24686         expectations.
24687         [UNIX98] (pthread_barrier_t): Do not expect.
24688         [UNIX98] (pthread_barrierattr_t): Likewise.
24689         [UNIX98] (pthread_spinlock_t): Likewise.
24690         [UNIX98] (pthread_barrier_destroy): Likewise.
24691         [UNIX98] (pthread_barrier_init): Likewise.
24692         [UNIX98] (pthread_barrier_wait): Likewise.
24693         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24694         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24695         [UNIX98] (pthread_barrierattr_init): Likewise.
24696         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24697         [UNIX98] (pthread_getcpuclockid): Likewise.
24698         [UNIX98] (pthread_mutex_timedlock): Likewise.
24699         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24700         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24701         [UNIX98] (pthread_sigmask): Likewise.
24702         [UNIX98] (pthread_spin_destroy): Likewise.
24703         [UNIX98] (pthread_spin_init): Likewise.
24704         [UNIX98] (pthread_spin_lock): Likewise.
24705         [UNIX98] (pthread_spin_trylock): Likewise.
24706         [UNIX98] (pthread_spin_unlock): Likewise.
24707         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24708         Do not expect.
24709         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24710         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24711         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24712         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24713         [XPG3 || XPG4] (pthread_key_t): Likewise.
24714         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24715         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24716         [XPG3 || XPG4] (pthread_once_t): Likewise.
24717         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24718         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24719         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24720         [XPG3 || XPG4] (pthread_t): Likewise.
24722         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24723         not expect.
24724         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24726         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24727         Change function return type to int.
24729         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24730         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24731         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24732         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24733         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24734         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24735         [!POSIX] (posix_madvise): Likewise.
24736         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24737         && !UNIX98].
24738         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24739         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24740         (mode_t): Likewise.
24741         (posix_mem_offset): Likewise.
24742         (posix_typed_mem_get_info): Likewise.
24743         (posix_typed_mem_open): Likewise.
24745         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24746         Change condition to [XOPEN2K8].
24748         * conform/conformtest.pl: Preprocess allow-header data with -x c
24749         instead of from stdin.
24750         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24751         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24752         [C99-based standards] (cerfc): Likewise.
24753         [C99-based standards] (cexp2): Likewise.
24754         [C99-based standards] (cexpm1): Likewise.
24755         [C99-based standards] (clog10): Likewise.
24756         [C99-based standards] (clog1p): Likewise.
24757         [C99-based standards] (clog2): Likewise.
24758         [C99-based standards] (clgamma): Likewise.
24759         [C99-based standards] (ctgamma): Likewise.
24760         [C99-based standards] (cerff): Likewise.
24761         [C99-based standards] (cerfcf): Likewise.
24762         [C99-based standards] (cexp2f): Likewise.
24763         [C99-based standards] (cexpm1f): Likewise.
24764         [C99-based standards] (clog10f): Likewise.
24765         [C99-based standards] (clog1pf): Likewise.
24766         [C99-based standards] (clog2f): Likewise.
24767         [C99-based standards] (clgammaf): Likewise.
24768         [C99-based standards] (ctgammaf): Likewise.
24769         [C99-based standards] (cerfl): Likewise.
24770         [C99-based standards] (cerfcl): Likewise.
24771         [C99-based standards] (cexp2l): Likewise.
24772         [C99-based standards] (cexpm1l): Likewise.
24773         [C99-based standards] (clog10l): Likewise.
24774         [C99-based standards] (clog1pl): Likewise.
24775         [C99-based standards] (clog2l): Likewise.
24776         [C99-based standards] (clgammal): Likewise.
24777         [C99-based standards] (ctgammal): Likewise.
24778         * conform/data/inttypes.h-data [C99-based standards]: Include
24779         stdint.h-data.  Remove all expectations for stdint.h contents.
24780         [C99-based standards] (PRI*): Do not allow.
24781         [C99-based standards] (SCN*): Likewise.
24782         [C99-based standards] (*_t): Likewise.
24783         [C99-based-standards] (PRId8): Expect macro.
24784         [C99-based-standards] (PRIi8): Likewise.
24785         [C99-based-standards] (PRIo8): Likewise.
24786         [C99-based-standards] (PRIu8): Likewise.
24787         [C99-based-standards] (PRIx8): Likewise.
24788         [C99-based-standards] (PRIX8): Likewise.
24789         [C99-based-standards] (SCNd8): Likewise.
24790         [C99-based-standards] (SCNi8): Likewise.
24791         [C99-based-standards] (SCNo8): Likewise.
24792         [C99-based-standards] (SCNu8): Likewise.
24793         [C99-based-standards] (SCNx8): Likewise.
24794         [C99-based-standards] (PRIdLEAST8): Likewise.
24795         [C99-based-standards] (PRIiLEAST8): Likewise.
24796         [C99-based-standards] (PRIoLEAST8): Likewise.
24797         [C99-based-standards] (PRIuLEAST8): Likewise.
24798         [C99-based-standards] (PRIxLEAST8): Likewise.
24799         [C99-based-standards] (PRIXLEAST8): Likewise.
24800         [C99-based-standards] (SCNdLEAST8): Likewise.
24801         [C99-based-standards] (SCNiLEAST8): Likewise.
24802         [C99-based-standards] (SCNoLEAST8): Likewise.
24803         [C99-based-standards] (SCNuLEAST8): Likewise.
24804         [C99-based-standards] (SCNxLEAST8): Likewise.
24805         [C99-based-standards] (PRIdFAST8): Likewise.
24806         [C99-based-standards] (PRIiFAST8): Likewise.
24807         [C99-based-standards] (PRIoFAST8): Likewise.
24808         [C99-based-standards] (PRIuFAST8): Likewise.
24809         [C99-based-standards] (PRIxFAST8): Likewise.
24810         [C99-based-standards] (PRIXFAST8): Likewise.
24811         [C99-based-standards] (SCNdFAST8): Likewise.
24812         [C99-based-standards] (SCNiFAST8): Likewise.
24813         [C99-based-standards] (SCNoFAST8): Likewise.
24814         [C99-based-standards] (SCNuFAST8): Likewise.
24815         [C99-based-standards] (SCNxFAST8): Likewise.
24816         [C99-based-standards] (PRId16): Likewise.
24817         [C99-based-standards] (PRIi16): Likewise.
24818         [C99-based-standards] (PRIo16): Likewise.
24819         [C99-based-standards] (PRIu16): Likewise.
24820         [C99-based-standards] (PRIx16): Likewise.
24821         [C99-based-standards] (PRIX16): Likewise.
24822         [C99-based-standards] (SCNd16): Likewise.
24823         [C99-based-standards] (SCNi16): Likewise.
24824         [C99-based-standards] (SCNo16): Likewise.
24825         [C99-based-standards] (SCNu16): Likewise.
24826         [C99-based-standards] (SCNx16): Likewise.
24827         [C99-based-standards] (PRIdLEAST16): Likewise.
24828         [C99-based-standards] (PRIiLEAST16): Likewise.
24829         [C99-based-standards] (PRIoLEAST16): Likewise.
24830         [C99-based-standards] (PRIuLEAST16): Likewise.
24831         [C99-based-standards] (PRIxLEAST16): Likewise.
24832         [C99-based-standards] (PRIXLEAST16): Likewise.
24833         [C99-based-standards] (SCNdLEAST16): Likewise.
24834         [C99-based-standards] (SCNiLEAST16): Likewise.
24835         [C99-based-standards] (SCNoLEAST16): Likewise.
24836         [C99-based-standards] (SCNuLEAST16): Likewise.
24837         [C99-based-standards] (SCNxLEAST16): Likewise.
24838         [C99-based-standards] (PRIdFAST16): Likewise.
24839         [C99-based-standards] (PRIiFAST16): Likewise.
24840         [C99-based-standards] (PRIoFAST16): Likewise.
24841         [C99-based-standards] (PRIuFAST16): Likewise.
24842         [C99-based-standards] (PRIxFAST16): Likewise.
24843         [C99-based-standards] (PRIXFAST16): Likewise.
24844         [C99-based-standards] (SCNdFAST16): Likewise.
24845         [C99-based-standards] (SCNiFAST16): Likewise.
24846         [C99-based-standards] (SCNoFAST16): Likewise.
24847         [C99-based-standards] (SCNuFAST16): Likewise.
24848         [C99-based-standards] (SCNxFAST16): Likewise.
24849         [C99-based-standards] (PRId32): Likewise.
24850         [C99-based-standards] (PRIi32): Likewise.
24851         [C99-based-standards] (PRIo32): Likewise.
24852         [C99-based-standards] (PRIu32): Likewise.
24853         [C99-based-standards] (PRIx32): Likewise.
24854         [C99-based-standards] (PRIX32): Likewise.
24855         [C99-based-standards] (SCNd32): Likewise.
24856         [C99-based-standards] (SCNi32): Likewise.
24857         [C99-based-standards] (SCNo32): Likewise.
24858         [C99-based-standards] (SCNu32): Likewise.
24859         [C99-based-standards] (SCNx32): Likewise.
24860         [C99-based-standards] (PRIdLEAST32): Likewise.
24861         [C99-based-standards] (PRIiLEAST32): Likewise.
24862         [C99-based-standards] (PRIoLEAST32): Likewise.
24863         [C99-based-standards] (PRIuLEAST32): Likewise.
24864         [C99-based-standards] (PRIxLEAST32): Likewise.
24865         [C99-based-standards] (PRIXLEAST32): Likewise.
24866         [C99-based-standards] (SCNdLEAST32): Likewise.
24867         [C99-based-standards] (SCNiLEAST32): Likewise.
24868         [C99-based-standards] (SCNoLEAST32): Likewise.
24869         [C99-based-standards] (SCNuLEAST32): Likewise.
24870         [C99-based-standards] (SCNxLEAST32): Likewise.
24871         [C99-based-standards] (PRIdFAST32): Likewise.
24872         [C99-based-standards] (PRIiFAST32): Likewise.
24873         [C99-based-standards] (PRIoFAST32): Likewise.
24874         [C99-based-standards] (PRIuFAST32): Likewise.
24875         [C99-based-standards] (PRIxFAST32): Likewise.
24876         [C99-based-standards] (PRIXFAST32): Likewise.
24877         [C99-based-standards] (SCNdFAST32): Likewise.
24878         [C99-based-standards] (SCNiFAST32): Likewise.
24879         [C99-based-standards] (SCNoFAST32): Likewise.
24880         [C99-based-standards] (SCNuFAST32): Likewise.
24881         [C99-based-standards] (SCNxFAST32): Likewise.
24882         [C99-based-standards] (PRId64): Likewise.
24883         [C99-based-standards] (PRIi64): Likewise.
24884         [C99-based-standards] (PRIo64): Likewise.
24885         [C99-based-standards] (PRIu64): Likewise.
24886         [C99-based-standards] (PRIx64): Likewise.
24887         [C99-based-standards] (PRIX64): Likewise.
24888         [C99-based-standards] (SCNd64): Likewise.
24889         [C99-based-standards] (SCNi64): Likewise.
24890         [C99-based-standards] (SCNo64): Likewise.
24891         [C99-based-standards] (SCNu64): Likewise.
24892         [C99-based-standards] (SCNx64): Likewise.
24893         [C99-based-standards] (PRIdLEAST64): Likewise.
24894         [C99-based-standards] (PRIiLEAST64): Likewise.
24895         [C99-based-standards] (PRIoLEAST64): Likewise.
24896         [C99-based-standards] (PRIuLEAST64): Likewise.
24897         [C99-based-standards] (PRIxLEAST64): Likewise.
24898         [C99-based-standards] (PRIXLEAST64): Likewise.
24899         [C99-based-standards] (SCNdLEAST64): Likewise.
24900         [C99-based-standards] (SCNiLEAST64): Likewise.
24901         [C99-based-standards] (SCNoLEAST64): Likewise.
24902         [C99-based-standards] (SCNuLEAST64): Likewise.
24903         [C99-based-standards] (SCNxLEAST64): Likewise.
24904         [C99-based-standards] (PRIdFAST64): Likewise.
24905         [C99-based-standards] (PRIiFAST64): Likewise.
24906         [C99-based-standards] (PRIoFAST64): Likewise.
24907         [C99-based-standards] (PRIuFAST64): Likewise.
24908         [C99-based-standards] (PRIxFAST64): Likewise.
24909         [C99-based-standards] (PRIXFAST64): Likewise.
24910         [C99-based-standards] (SCNdFAST64): Likewise.
24911         [C99-based-standards] (SCNiFAST64): Likewise.
24912         [C99-based-standards] (SCNoFAST64): Likewise.
24913         [C99-based-standards] (SCNuFAST64): Likewise.
24914         [C99-based-standards] (SCNxFAST64): Likewise.
24915         [C99-based-standards] (PRIdMAX): Likewise.
24916         [C99-based-standards] (PRIiMAX): Likewise.
24917         [C99-based-standards] (PRIoMAX): Likewise.
24918         [C99-based-standards] (PRIuMAX): Likewise.
24919         [C99-based-standards] (PRIxMAX): Likewise.
24920         [C99-based-standards] (PRIXMAX): Likewise.
24921         [C99-based-standards] (SCNdMAX): Likewise.
24922         [C99-based-standards] (SCNiMAX): Likewise.
24923         [C99-based-standards] (SCNoMAX): Likewise.
24924         [C99-based-standards] (SCNuMAX): Likewise.
24925         [C99-based-standards] (SCNxMAX): Likewise.
24926         [C99-based-standards] (PRIdPTR): Likewise.
24927         [C99-based-standards] (PRIiPTR): Likewise.
24928         [C99-based-standards] (PRIoPTR): Likewise.
24929         [C99-based-standards] (PRIuPTR): Likewise.
24930         [C99-based-standards] (PRIxPTR): Likewise.
24931         [C99-based-standards] (PRIXPTR): Likewise.
24932         [C99-based-standards] (SCNdPTR): Likewise.
24933         [C99-based-standards] (SCNiPTR): Likewise.
24934         [C99-based-standards] (SCNoPTR): Likewise.
24935         [C99-based-standards] (SCNuPTR): Likewise.
24936         [C99-based-standards] (SCNxPTR): Likewise.
24937         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
24938         allow.
24939         * conform/data/stdint.h-data: Update comments to clarify
24940         requirements.
24941         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
24942         type.
24943         [C99-based standards] (INT8_MAX): Likewise.
24944         [C99-based standards] (INT16_MIN): Likewise.
24945         [C99-based standards] (INT16_MAX): Likewise.
24946         [C99-based standards] (INT32_MIN): Likewise.
24947         [C99-based standards] (INT32_MAX): Likewise.
24948         [C99-based standards] (INT64_MIN): Likewise.
24949         [C99-based standards] (INT64_MAX): Likewise.
24950         [C99-based standards] (UINT8_MAX): Likewise.
24951         [C99-based standards] (UINT16_MAX): Likewise.
24952         [C99-based standards] (UINT32_MAX): Likewise.
24953         [C99-based standards] (UINT64_MAX): Likewise.
24954         [C99-based standards] (INT_LEAST8_MIN): Likewise.
24955         [C99-based standards] (INT_LEAST8_MAX): Likewise.
24956         [C99-based standards] (INT_LEAST16_MIN): Likewise.
24957         [C99-based standards] (INT_LEAST16_MAX): Likewise.
24958         [C99-based standards] (INT_LEAST32_MIN): Likewise.
24959         [C99-based standards] (INT_LEAST32_MAX): Likewise.
24960         [C99-based standards] (INT_LEAST64_MIN): Likewise.
24961         [C99-based standards] (INT_LEAST64_MAX): Likewise.
24962         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
24963         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
24964         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
24965         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
24966         [C99-based standards] (INT_FAST8_MIN): Likewise.
24967         [C99-based standards] (INT_FAST8_MAX): Likewise.
24968         [C99-based standards] (INT_FAST16_MIN): Likewise.
24969         [C99-based standards] (INT_FAST16_MAX): Likewise.
24970         [C99-based standards] (INT_FAST32_MIN): Likewise.
24971         [C99-based standards] (INT_FAST32_MAX): Likewise.
24972         [C99-based standards] (INT_FAST64_MIN): Likewise.
24973         [C99-based standards] (INT_FAST64_MAX): Likewise.
24974         [C99-based standards] (UINT_FAST8_MAX): Likewise.
24975         [C99-based standards] (UINT_FAST16_MAX): Likewise.
24976         [C99-based standards] (UINT_FAST32_MAX): Likewise.
24977         [C99-based standards] (UINT_FAST64_MAX): Likewise.
24978         [C99-based standards] (INTPTR_MIN): Likewise.
24979         [C99-based standards] (INTPTR_MAX): Likewise.
24980         [C99-based standards] (UINTPTR_MAX): Likewise.
24981         [C99-based standards] (INTMAX_MIN): Likewise.
24982         [C99-based standards] (INTMAX_MAX): Likewise.
24983         [C99-based standards] (UINTMAX_MAX): Likewise.
24984         [C99-based standards] (PTRDIFF_MIN): Likewise.
24985         [C99-based standards] (PTRDIFF_MAX): Likewise.
24986         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
24987         [C99-based standards] (SIZE_MAX): Likewise.
24988         [C99-based standards] (WCHAR_MAX): Likewise.
24989         [C99-based standards] (WINT_MAX): Likewise.
24990         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
24991         constraint on value.
24992         [C99-based standards] (WCHAR_MIN): Likewise.
24993         [C99-based standards] (WINT_MIN): Likewise.
24994         [C99-based standards] (*_t): Allow.
24995         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
24996         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
24997         Include math.h-data and complex.h-data.  Remove all expectations
24998         of math.h and complex.h contents.
24999         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25000         at end of line.
25001         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25002         (struct tm): Expect tag.
25003         [C99-based-standards] (wcstof): Expect function.
25004         [C99-based-standards] (wcstold): Likewise.
25005         [C99-based-standards] (wcstoll): Likewise.
25006         [C99-based-standards] (wcstoull): Likewise.
25007         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25008         macro-int-constant.  Specify type.
25009         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25010         constraint on value.
25011         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25012         Specify type.
25013         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25014         Specify value.
25015         [ISO C standards]: Do not allow headers.
25016         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25017         wcs[abcdefghijklmnopqrstuvwxyz]*.
25018         [ISO C standards] (*_t): Do not allow.
25019         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25020         Expect function.
25021         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25022         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25023         Specify type.
25024         [ISO C standards]: Do not allow headers.
25025         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25026         is[abcdefghijklmnopqrstuvwxyz]*.
25027         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25028         to[abcdefghijklmnopqrstuvwxyz]*.
25029         [ISO C standards] (*_t): Do not allow.
25030         * conform/data/stdalign.h-data: New file.
25031         * conform/data/stdbool.h-data: Likewise.
25032         * conform/data/stdnoreturn.h-data: Likewise.
25034 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25036         [BZ #14815]
25037         * manual/filesys.texi (Directory Entries): Typo fix.
25038         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25040 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25042         * elf/elf.h (EM_AARCH64): New macro.
25043         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25044         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25045         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25046         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25047         (R_AARCH64_TLSDESC): Likewise.
25048         (NT_ARM_TLS): Likewise.
25049         (NT_ARM_HW_BREAK): Likewise.
25050         (NT_ARM_HW_WATCH): Likewise.
25052 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25054         [BZ #14811]
25055         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25056         (__ieee754_powl): Saturate nonzero exponents with absolute value
25057         below 0x1p-79 to +/- 0x1p-79.
25058         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25059         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25060         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25061         nonzero exponents with absolute value below 0x1p-32 to +/-
25062         0x1p-32.
25063         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25064         (__ieee754_powl): Saturate nonzero exponents with absolute value
25065         below 0x1p-79 to +/- 0x1p-79.
25066         * math/libm-test.inc (pow_test): Add more tests.
25068 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25070         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25071         _dl_s390_cap_flags with kernel. Increase string length.
25072         (_dl_s390_platforms): Add z196 and zEC12.
25074 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25076         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25077         Change XOPEN21K to XOPEN2K.
25079 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25081         * string/memmove.c: Use memcpy when possible.
25083 2012-11-06  Andreas Jaeger  <aj@suse.de>
25085         * po/eo.po: Update from translation team.
25087 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25089         [BZ #14793]
25090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25091         exponent and small x and y exponents, scale x or y up.  Increase
25092         by 2 the exponent used in scaling up.
25093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25095         * math/libm-test.inc (fma_test): Add more tests.
25096         (fma_test_towardzero): Likewise.
25097         (fma_test_downward): Likewise.
25098         (fma_test_upward): Likewise.
25100 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25102         [BZ #14805]
25103         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25104         fenv_t *.
25106         [BZ #14801]
25107         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25108         namespace for names of struct fields.
25109         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25110         fenv_t fields.
25111         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25112         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25114 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25116         [BZ #3665]
25117         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25119 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25121         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25122         PTR_DEMANGLE.
25124         [BZ #5246]
25125         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25126         PTR_DEMANGLE.
25128 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25130         [BZ #14797]
25131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25132         definitely overflow as x * y not x * y + z.
25133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25134         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25135         * math/libm-test.inc (fma_test): Add more tests.
25136         (fma_test_towardzero): Likewise.
25137         (fma_test_downward): Likewise.
25138         (fma_test_upward): Likewise.
25140 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25142         [BZ #157]
25144         * include/stub-tag.h: Remove file.
25145         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25146         '#include' of it.
25147         * manual/maint.texi (Porting): Don't reference it.
25148         * Makerules ($(objpfx)stubs): Likewise.
25149         * dirent/closedir.c: Don't include <stub-tag.h>.
25150         * dirent/dirfd.c: Likewise.
25151         * dirent/fdopendir.c: Likewise.
25152         * dirent/getdents.c: Likewise.
25153         * dirent/getdents64.c: Likewise.
25154         * dirent/opendir.c: Likewise.
25155         * dirent/readdir.c: Likewise.
25156         * dirent/readdir64.c: Likewise.
25157         * dirent/readdir64_r.c: Likewise.
25158         * dirent/readdir_r.c: Likewise.
25159         * dirent/rewinddir.c: Likewise.
25160         * dirent/seekdir.c: Likewise.
25161         * dirent/telldir.c: Likewise.
25162         * gmon/profil.c: Likewise.
25163         * grp/setgroups.c: Likewise.
25164         * inet/if_index.c: Likewise.
25165         * io/access.c: Likewise.
25166         * io/chdir.c: Likewise.
25167         * io/chmod.c: Likewise.
25168         * io/chown.c: Likewise.
25169         * io/close.c: Likewise.
25170         * io/dup.c: Likewise.
25171         * io/dup2.c: Likewise.
25172         * io/dup3.c: Likewise.
25173         * io/euidaccess.c: Likewise.
25174         * io/faccessat.c: Likewise.
25175         * io/fchdir.c: Likewise.
25176         * io/fchmod.c: Likewise.
25177         * io/fchmodat.c: Likewise.
25178         * io/fchown.c: Likewise.
25179         * io/fchownat.c: Likewise.
25180         * io/fcntl.c: Likewise.
25181         * io/flock.c: Likewise.
25182         * io/fstatfs.c: Likewise.
25183         * io/fstatfs64.c: Likewise.
25184         * io/fstatvfs.c: Likewise.
25185         * io/fstatvfs64.c: Likewise.
25186         * io/futimens.c: Likewise.
25187         * io/fxstat.c: Likewise.
25188         * io/fxstat64.c: Likewise.
25189         * io/fxstatat.c: Likewise.
25190         * io/fxstatat64.c: Likewise.
25191         * io/getcwd.c: Likewise.
25192         * io/isatty.c: Likewise.
25193         * io/lchmod.c: Likewise.
25194         * io/lchown.c: Likewise.
25195         * io/link.c: Likewise.
25196         * io/linkat.c: Likewise.
25197         * io/lseek.c: Likewise.
25198         * io/lseek64.c: Likewise.
25199         * io/lxstat64.c: Likewise.
25200         * io/mkdir.c: Likewise.
25201         * io/mkdirat.c: Likewise.
25202         * io/mkfifo.c: Likewise.
25203         * io/mkfifoat.c: Likewise.
25204         * io/open.c: Likewise.
25205         * io/open64.c: Likewise.
25206         * io/openat.c: Likewise.
25207         * io/openat64.c: Likewise.
25208         * io/pipe.c: Likewise.
25209         * io/pipe2.c: Likewise.
25210         * io/poll.c: Likewise.
25211         * io/posix_fadvise.c: Likewise.
25212         * io/posix_fadvise64.c: Likewise.
25213         * io/posix_fallocate.c: Likewise.
25214         * io/posix_fallocate64.c: Likewise.
25215         * io/read.c: Likewise.
25216         * io/readlink.c: Likewise.
25217         * io/readlinkat.c: Likewise.
25218         * io/rmdir.c: Likewise.
25219         * io/sendfile.c: Likewise.
25220         * io/sendfile64.c: Likewise.
25221         * io/statfs.c: Likewise.
25222         * io/statfs64.c: Likewise.
25223         * io/statvfs.c: Likewise.
25224         * io/statvfs64.c: Likewise.
25225         * io/symlink.c: Likewise.
25226         * io/symlinkat.c: Likewise.
25227         * io/ttyname.c: Likewise.
25228         * io/ttyname_r.c: Likewise.
25229         * io/umask.c: Likewise.
25230         * io/unlink.c: Likewise.
25231         * io/unlinkat.c: Likewise.
25232         * io/utime.c: Likewise.
25233         * io/utimensat.c: Likewise.
25234         * io/write.c: Likewise.
25235         * io/xmknod.c: Likewise.
25236         * io/xmknodat.c: Likewise.
25237         * io/xstat.c: Likewise.
25238         * io/xstat64.c: Likewise.
25239         * login/getpt.c: Likewise.
25240         * login/grantpt.c: Likewise.
25241         * login/unlockpt.c: Likewise.
25242         * math/e_acoshl.c: Likewise.
25243         * math/e_acosl.c: Likewise.
25244         * math/e_asinl.c: Likewise.
25245         * math/e_atan2l.c: Likewise.
25246         * math/e_atanhl.c: Likewise.
25247         * math/e_coshl.c: Likewise.
25248         * math/e_expl.c: Likewise.
25249         * math/e_fmodl.c: Likewise.
25250         * math/e_gammal_r.c: Likewise.
25251         * math/e_hypotl.c: Likewise.
25252         * math/e_j0l.c: Likewise.
25253         * math/e_j1l.c: Likewise.
25254         * math/e_jnl.c: Likewise.
25255         * math/e_lgammal_r.c: Likewise.
25256         * math/e_log10l.c: Likewise.
25257         * math/e_log2l.c: Likewise.
25258         * math/e_logl.c: Likewise.
25259         * math/e_powl.c: Likewise.
25260         * math/e_rem_pio2l.c: Likewise.
25261         * math/e_sinhl.c: Likewise.
25262         * math/e_sqrtl.c: Likewise.
25263         * math/fclrexcpt.c: Likewise.
25264         * math/fedisblxcpt.c: Likewise.
25265         * math/feenablxcpt.c: Likewise.
25266         * math/fegetenv.c: Likewise.
25267         * math/fegetexcept.c: Likewise.
25268         * math/fegetround.c: Likewise.
25269         * math/feholdexcpt.c: Likewise.
25270         * math/fesetenv.c: Likewise.
25271         * math/fesetround.c: Likewise.
25272         * math/feupdateenv.c: Likewise.
25273         * math/fgetexcptflg.c: Likewise.
25274         * math/fraiseexcpt.c: Likewise.
25275         * math/fsetexcptflg.c: Likewise.
25276         * math/ftestexcept.c: Likewise.
25277         * math/k_cosl.c: Likewise.
25278         * math/k_rem_pio2l.c: Likewise.
25279         * math/k_sinl.c: Likewise.
25280         * math/k_tanl.c: Likewise.
25281         * math/s_asinhl.c: Likewise.
25282         * math/s_atanl.c: Likewise.
25283         * math/s_cbrtl.c: Likewise.
25284         * math/s_erfl.c: Likewise.
25285         * math/s_expm1l.c: Likewise.
25286         * math/s_log1pl.c: Likewise.
25287         * math/s_tanhl.c: Likewise.
25288         * misc/acct.c: Likewise.
25289         * misc/brk.c: Likewise.
25290         * misc/chflags.c: Likewise.
25291         * misc/chroot.c: Likewise.
25292         * misc/fchflags.c: Likewise.
25293         * misc/fgetxattr.c: Likewise.
25294         * misc/flistxattr.c: Likewise.
25295         * misc/fremovexattr.c: Likewise.
25296         * misc/fsetxattr.c: Likewise.
25297         * misc/fsync.c: Likewise.
25298         * misc/ftruncate.c: Likewise.
25299         * misc/futimes.c: Likewise.
25300         * misc/futimesat.c: Likewise.
25301         * misc/getdomain.c: Likewise.
25302         * misc/getdtsz.c: Likewise.
25303         * misc/gethostid.c: Likewise.
25304         * misc/gethostname.c: Likewise.
25305         * misc/getloadavg.c: Likewise.
25306         * misc/getpagesize.c: Likewise.
25307         * misc/getsysstats.c: Likewise.
25308         * misc/getxattr.c: Likewise.
25309         * misc/gtty.c: Likewise.
25310         * misc/ioctl.c: Likewise.
25311         * misc/lgetxattr.c: Likewise.
25312         * misc/listxattr.c: Likewise.
25313         * misc/llistxattr.c: Likewise.
25314         * misc/lremovexattr.c: Likewise.
25315         * misc/lsetxattr.c: Likewise.
25316         * misc/lutimes.c: Likewise.
25317         * misc/madvise.c: Likewise.
25318         * misc/mincore.c: Likewise.
25319         * misc/mlock.c: Likewise.
25320         * misc/mlockall.c: Likewise.
25321         * misc/mmap.c: Likewise.
25322         * misc/mprotect.c: Likewise.
25323         * misc/msync.c: Likewise.
25324         * misc/munlock.c: Likewise.
25325         * misc/munlockall.c: Likewise.
25326         * misc/munmap.c: Likewise.
25327         * misc/preadv.c: Likewise.
25328         * misc/preadv64.c: Likewise.
25329         * misc/ptrace.c: Likewise.
25330         * misc/pwritev.c: Likewise.
25331         * misc/pwritev64.c: Likewise.
25332         * misc/readv.c: Likewise.
25333         * misc/reboot.c: Likewise.
25334         * misc/remap_file_pages.c: Likewise.
25335         * misc/removexattr.c: Likewise.
25336         * misc/revoke.c: Likewise.
25337         * misc/select.c: Likewise.
25338         * misc/setdomain.c: Likewise.
25339         * misc/setegid.c: Likewise.
25340         * misc/seteuid.c: Likewise.
25341         * misc/sethostid.c: Likewise.
25342         * misc/sethostname.c: Likewise.
25343         * misc/setregid.c: Likewise.
25344         * misc/setreuid.c: Likewise.
25345         * misc/setxattr.c: Likewise.
25346         * misc/sstk.c: Likewise.
25347         * misc/stty.c: Likewise.
25348         * misc/swapoff.c: Likewise.
25349         * misc/swapon.c: Likewise.
25350         * misc/sync.c: Likewise.
25351         * misc/syncfs.c: Likewise.
25352         * misc/syscall.c: Likewise.
25353         * misc/truncate.c: Likewise.
25354         * misc/ualarm.c: Likewise.
25355         * misc/usleep.c: Likewise.
25356         * misc/ustat.c: Likewise.
25357         * misc/utimes.c: Likewise.
25358         * misc/vhangup.c: Likewise.
25359         * misc/writev.c: Likewise.
25360         * posix/_exit.c: Likewise.
25361         * posix/alarm.c: Likewise.
25362         * posix/execve.c: Likewise.
25363         * posix/fexecve.c: Likewise.
25364         * posix/fork.c: Likewise.
25365         * posix/fpathconf.c: Likewise.
25366         * posix/getaddrinfo.c: Likewise.
25367         * posix/getegid.c: Likewise.
25368         * posix/geteuid.c: Likewise.
25369         * posix/getgid.c: Likewise.
25370         * posix/getgroups.c: Likewise.
25371         * posix/getlogin.c: Likewise.
25372         * posix/getlogin_r.c: Likewise.
25373         * posix/getpgid.c: Likewise.
25374         * posix/getpid.c: Likewise.
25375         * posix/getppid.c: Likewise.
25376         * posix/getresgid.c: Likewise.
25377         * posix/getresuid.c: Likewise.
25378         * posix/getsid.c: Likewise.
25379         * posix/getuid.c: Likewise.
25380         * posix/glob64.c: Likewise.
25381         * posix/nanosleep.c: Likewise.
25382         * posix/pathconf.c: Likewise.
25383         * posix/pause.c: Likewise.
25384         * posix/posix_madvise.c: Likewise.
25385         * posix/pread.c: Likewise.
25386         * posix/pread64.c: Likewise.
25387         * posix/pwrite.c: Likewise.
25388         * posix/pwrite64.c: Likewise.
25389         * posix/sched_getaffinity.c: Likewise.
25390         * posix/sched_getp.c: Likewise.
25391         * posix/sched_gets.c: Likewise.
25392         * posix/sched_primax.c: Likewise.
25393         * posix/sched_primin.c: Likewise.
25394         * posix/sched_rr_gi.c: Likewise.
25395         * posix/sched_setaffinity.c: Likewise.
25396         * posix/sched_setp.c: Likewise.
25397         * posix/sched_sets.c: Likewise.
25398         * posix/sched_yield.c: Likewise.
25399         * posix/setgid.c: Likewise.
25400         * posix/setlogin.c: Likewise.
25401         * posix/setpgid.c: Likewise.
25402         * posix/setresgid.c: Likewise.
25403         * posix/setresuid.c: Likewise.
25404         * posix/setsid.c: Likewise.
25405         * posix/setuid.c: Likewise.
25406         * posix/sleep.c: Likewise.
25407         * posix/spawni.c: Likewise.
25408         * posix/sysconf.c: Likewise.
25409         * posix/times.c: Likewise.
25410         * posix/wait.c: Likewise.
25411         * posix/wait3.c: Likewise.
25412         * posix/wait4.c: Likewise.
25413         * posix/waitpid.c: Likewise.
25414         * resolv/gai_sigqueue.c: Likewise.
25415         * resource/getpriority.c: Likewise.
25416         * resource/getrlimit.c: Likewise.
25417         * resource/getrusage.c: Likewise.
25418         * resource/nice.c: Likewise.
25419         * resource/setpriority.c: Likewise.
25420         * resource/setrlimit.c: Likewise.
25421         * resource/ulimit.c: Likewise.
25422         * rt/aio_cancel.c: Likewise.
25423         * rt/aio_fsync.c: Likewise.
25424         * rt/aio_read.c: Likewise.
25425         * rt/aio_sigqueue.c: Likewise.
25426         * rt/aio_suspend.c: Likewise.
25427         * rt/aio_write.c: Likewise.
25428         * rt/clock_getres.c: Likewise.
25429         * rt/clock_gettime.c: Likewise.
25430         * rt/clock_nanosleep.c: Likewise.
25431         * rt/clock_settime.c: Likewise.
25432         * rt/lio_listio.c: Likewise.
25433         * rt/mq_close.c: Likewise.
25434         * rt/mq_getattr.c: Likewise.
25435         * rt/mq_notify.c: Likewise.
25436         * rt/mq_open.c: Likewise.
25437         * rt/mq_receive.c: Likewise.
25438         * rt/mq_send.c: Likewise.
25439         * rt/mq_setattr.c: Likewise.
25440         * rt/mq_timedreceive.c: Likewise.
25441         * rt/mq_timedsend.c: Likewise.
25442         * rt/mq_unlink.c: Likewise.
25443         * rt/shm_open.c: Likewise.
25444         * rt/shm_unlink.c: Likewise.
25445         * rt/timer_create.c: Likewise.
25446         * rt/timer_delete.c: Likewise.
25447         * rt/timer_getoverr.c: Likewise.
25448         * rt/timer_gettime.c: Likewise.
25449         * rt/timer_settime.c: Likewise.
25450         * setjmp/__longjmp.c: Likewise.
25451         * setjmp/setjmp.c: Likewise.
25452         * signal/kill.c: Likewise.
25453         * signal/killpg.c: Likewise.
25454         * signal/raise.c: Likewise.
25455         * signal/sigaction.c: Likewise.
25456         * signal/sigaltstack.c: Likewise.
25457         * signal/sigblock.c: Likewise.
25458         * signal/sigignore.c: Likewise.
25459         * signal/sigintr.c: Likewise.
25460         * signal/signal.c: Likewise.
25461         * signal/sigpause.c: Likewise.
25462         * signal/sigpending.c: Likewise.
25463         * signal/sigqueue.c: Likewise.
25464         * signal/sigreturn.c: Likewise.
25465         * signal/sigset.c: Likewise.
25466         * signal/sigsetmask.c: Likewise.
25467         * signal/sigstack.c: Likewise.
25468         * signal/sigsuspend.c: Likewise.
25469         * signal/sigtimedwait.c: Likewise.
25470         * signal/sigvec.c: Likewise.
25471         * signal/sigwait.c: Likewise.
25472         * signal/sigwaitinfo.c: Likewise.
25473         * signal/sysv_signal.c: Likewise.
25474         * socket/accept.c: Likewise.
25475         * socket/accept4.c: Likewise.
25476         * socket/bind.c: Likewise.
25477         * socket/connect.c: Likewise.
25478         * socket/getpeername.c: Likewise.
25479         * socket/getsockname.c: Likewise.
25480         * socket/getsockopt.c: Likewise.
25481         * socket/isfdtype.c: Likewise.
25482         * socket/listen.c: Likewise.
25483         * socket/recv.c: Likewise.
25484         * socket/recvfrom.c: Likewise.
25485         * socket/recvmsg.c: Likewise.
25486         * socket/send.c: Likewise.
25487         * socket/sendmsg.c: Likewise.
25488         * socket/sendto.c: Likewise.
25489         * socket/setsockopt.c: Likewise.
25490         * socket/shutdown.c: Likewise.
25491         * socket/sockatmark.c: Likewise.
25492         * socket/socket.c: Likewise.
25493         * socket/socketpair.c: Likewise.
25494         * stdio-common/ctermid.c: Likewise.
25495         * stdio-common/cuserid.c: Likewise.
25496         * stdio-common/remove.c: Likewise.
25497         * stdio-common/rename.c: Likewise.
25498         * stdio-common/renameat.c: Likewise.
25499         * stdio-common/tempname.c: Likewise.
25500         * stdlib/getcontext.c: Likewise.
25501         * stdlib/makecontext.c: Likewise.
25502         * stdlib/setcontext.c: Likewise.
25503         * stdlib/swapcontext.c: Likewise.
25504         * stdlib/system.c: Likewise.
25505         * streams/fattach.c: Likewise.
25506         * streams/fdetach.c: Likewise.
25507         * streams/getmsg.c: Likewise.
25508         * streams/getpmsg.c: Likewise.
25509         * streams/putmsg.c: Likewise.
25510         * streams/putpmsg.c: Likewise.
25511         * sysdeps/unix/bsd/getpt.c: Likewise.
25512         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25513         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25514         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25516         Likewise.
25517         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25518         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25519         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25520         * sysvipc/msgctl.c: Likewise.
25521         * sysvipc/msgget.c: Likewise.
25522         * sysvipc/msgrcv.c: Likewise.
25523         * sysvipc/msgsnd.c: Likewise.
25524         * sysvipc/semctl.c: Likewise.
25525         * sysvipc/semget.c: Likewise.
25526         * sysvipc/semop.c: Likewise.
25527         * sysvipc/semtimedop.c: Likewise.
25528         * sysvipc/shmat.c: Likewise.
25529         * sysvipc/shmctl.c: Likewise.
25530         * sysvipc/shmdt.c: Likewise.
25531         * sysvipc/shmget.c: Likewise.
25532         * termios/tcdrain.c: Likewise.
25533         * termios/tcflow.c: Likewise.
25534         * termios/tcflush.c: Likewise.
25535         * termios/tcgetattr.c: Likewise.
25536         * termios/tcgetpgrp.c: Likewise.
25537         * termios/tcsendbrk.c: Likewise.
25538         * termios/tcsetattr.c: Likewise.
25539         * termios/tcsetpgrp.c: Likewise.
25540         * time/adjtime.c: Likewise.
25541         * time/clock.c: Likewise.
25542         * time/getitimer.c: Likewise.
25543         * time/gettimeofday.c: Likewise.
25544         * time/setitimer.c: Likewise.
25545         * time/settimeofday.c: Likewise.
25546         * time/stime.c: Likewise.
25547         * time/time.c: Likewise.
25549 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25551         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25552         /usr/old/bin.
25554         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25555         instead of spaces.
25556         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25558 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25560         [BZ #14796]
25561         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25562         FE_TONEAREST before applying Dekker multiplication and Knuth
25563         addition.  Clear inexact exceptions and check for exact zero
25564         results afterwards.
25565         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25566         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25567         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25568         * math/libm-test.inc (fma_test): Add more tests.
25569         (fma_test_towardzero): Likewise.
25570         (fma_test_downward): Likewise.
25571         (fma_test_upward): Likewise.
25572         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25573         function.
25574         (libc_fesetround): New macro.
25575         (libc_fesetroundf): Likewise.
25576         (libc_fesetroundl): Likewise.
25577         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25578         function.
25579         (libc_fesetround_387): Likewise.
25580         (libc_fesetroundf): New macro.
25581         (libc_fesetround): Likewise.
25582         (libc_fesetroundl): Likewise.
25583         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25584         function.
25585         (libc_fesetroundf): New macro.
25586         (libc_fesetround): Likewise.
25587         (libc_fesetroundl): Likewise.
25588         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25589         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25590         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25591         libm_hidden_ver.
25592         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25593         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25594         libm_hidden_def.
25595         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25596         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25597         libm_hidden_ver.
25598         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25599         libm_hidden_def.
25601         [BZ #3439]
25602         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25603         integer constant usable in #if and use that to give value to enum
25604         constant.
25605         (FE_DIVBYZERO): Likewise.
25606         (FE_UNDERFLOW): Likewise.
25607         (FE_OVERFLOW): Likewise.
25608         (FE_INVALID): Likewise.
25609         (FE_INVALID_SNAN): Likewise.
25610         (FE_INVALID_ISI): Likewise.
25611         (FE_INVALID_IDI): Likewise.
25612         (FE_INVALID_ZDZ): Likewise.
25613         (FE_INVALID_IMZ): Likewise.
25614         (FE_INVALID_COMPARE): Likewise.
25615         (FE_INVALID_SOFTWARE): Likewise.
25616         (FE_INVALID_SQRT): Likewise.
25617         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25618         (FE_TONEAREST): Likewise.
25619         (FE_TOWARDZERO): Likewise.
25620         (FE_UPWARD): Likewise.
25621         (FE_DOWNWARD): Likewise.
25622         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25623         (FE_DIVBYZERO): Likewise.
25624         (FE_OVERFLOW): Likewise.
25625         (FE_UNDERFLOW): Likewise.
25626         (FE_INEXACT): Likewise.
25627         (FE_TONEAREST): Likewise.
25628         (FE_DOWNWARD): Likewise.
25629         (FE_UPWARD): Likewise.
25630         (FE_TOWARDZERO): Likewise.
25631         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25632         (FE_UNDERFLOW): Likewise.
25633         (FE_OVERFLOW): Likewise.
25634         (FE_DIVBYZERO): Likewise.
25635         (FE_INVALID): Likewise.
25636         (FE_TONEAREST): Likewise.
25637         (FE_TOWARDZERO): Likewise.
25638         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25639         (FE_OVERFLOW): Likewise.
25640         (FE_UNDERFLOW): Likewise.
25641         (FE_DIVBYZERO): Likewise.
25642         (FE_INEXACT): Likewise.
25643         (FE_TONEAREST): Likewise.
25644         (FE_TOWARDZERO): Likewise.
25645         (FE_UPWARD): Likewise.
25646         (FE_DOWNWARD): Likewise.
25647         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25648         (FE_DIVBYZERO): Likewise.
25649         (FE_OVERFLOW): Likewise.
25650         (FE_UNDERFLOW): Likewise.
25651         (FE_INEXACT): Likewise.
25652         (FE_TONEAREST): Likewise.
25653         (FE_DOWNWARD): Likewise.
25654         (FE_UPWARD): Likewise.
25655         (FE_TOWARDZERO): Likewise.
25657 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25659         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25661 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25663         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25664         commands.  Quote $PWD.
25665         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25666         -x" by "export".
25667         (remove_newlines): Remove.
25669 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25671         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25672         * stdlib/stdlib.h (atof): Moved to ...
25673         * include/bits/stdlib-float.h: Here.  New file.
25674         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25675         * stdlib/bits/stdlib-float.h: New file.
25676         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25677         -mno-sse -mno-mmx.
25678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25679         <xmmintrin.h>.
25681 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25683         * conform/conformtest.pl (@headers): Add fenv.h.
25684         * conform/data/fenv.h-data: New file.
25685         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25686         include of <math/fenv.h>.
25688         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25689         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25690         && !UNIX98].  Enables tests for XOPEN2K8.
25691         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25692         POSIX2008]: Likewise.
25694         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25695         (struct rusage): Do not expect type or its members.
25697         [BZ #3439]
25698         * math/math.h (FP_NAN): Define macro to integer constant usable in
25699         #if and use that to give value to enum constant.
25700         (FP_INFINITE): Likewise.
25701         (FP_ZERO): Likewise.
25702         (FP_SUBNORMAL): Likewise.
25703         (FP_NORMAL): Likewise.
25705 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25707         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25708         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25709         arguments.
25711 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25713         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25714         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25715         autoconf-time if not.
25716         * configure.in: Remove AC_PREREQ.
25718 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25720         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25721         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25722         of the internal implementation.
25724 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25726         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25727         except include of <misc/sys/syslog.h>.
25729 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25732         function returns with a NULL context exit with zero.
25734 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25736         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25738 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25740         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25741         (run_program_cmd): This.
25742         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25743         (tst_langinfo): New variable.  Use it.
25745 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25747         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25748         floating point opcodes.
25750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25752         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25753         variable.
25755         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25757         * sysdeps/mach/hurd/powerpc: Remove directory.
25758         * sysdeps/mach/powerpc: Likewise.
25760 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25762         * scripts/check-local-headers.sh: Ignore c++ headers.
25764 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25766         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25767         __libc_cleanup_region_start argument.
25769 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25771         [BZ #14784]
25772         [BZ #14785]
25773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25774         x * y using scaling, not as x * y + z.
25775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25777         * math/libm-test.inc (fma_test): Add more tests.
25778         (fma_test_towardzero): Likewise.
25779         (fma_test_downward): Likewise.
25780         (fma_test_upward): Likewise.
25782 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25784         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25786 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25788         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25789         New variable.
25791 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25793         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25795 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25798         Fix sort order.
25799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25800         Likewise.
25802 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25805         Fix the order of the list for glibc 2.17.
25806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25807         Likewise.
25809 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25811         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25813 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25815         [BZ #14610]
25816         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25817         for low part of x being zero before using __atanl (y).
25818         * math/libm-test.inc (atan2_test): Add another test.
25820         * manual/install.texi (Configuring and compiling): Document
25821         general use of test-wrapper and test-wrapper-env.
25822         * INSTALL: Regenerated.
25824         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25825         (__fma): Do not extract and scale down low bits on after-rounding
25826         systems when result rounded to normal precision would have normal
25827         exponent.
25828         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25829         (__fmal): Do not extract and scale down low bits on after-rounding
25830         systems when result rounded to normal precision would have normal
25831         exponent.
25832         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25833         (__fmal): Do not extract and scale down low bits on after-rounding
25834         systems when result rounded to normal precision would have normal
25835         exponent.
25836         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25837         macro.
25838         (fma_test): Add more tests.
25839         (fma_test_towardzero): Likewise.
25840         (fma_test_downward): Likewise.
25841         (fma_test_upward): Likewise.
25843 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25845         * sysdeps/i386/tininess.h: Renamed to ...
25846         * sysdeps/x86/tininess.h: This.
25847         * sysdeps/x86_64/tininess.h: Removed.
25849 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25851         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25852         input.  Use $(build-program-cmd).
25853         ($(objpfx)tst-array1-static.out): Likewise.
25854         ($(objpfx)tst-array2.out): Likewise.
25855         ($(objpfx)tst-array3.out): Likewise.
25856         ($(objpfx)tst-array4.out): Likewise.
25857         ($(objpfx)tst-array5.out): Likewise.
25858         ($(objpfx)tst-array5-static.out): Likewise.
25860 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25862         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25863         if defined.
25865         * nss/nsswitch.h (nss_interface_function): Provide new
25866         macro for use with NSS functions.
25867         * grp/initgroups.c: Use new macro.
25868         * nss/getXXbyYY.c: Likewise.
25869         * nss/getXXbyYY_r.c: Likewise.
25870         * nss/getXXent.c: Likewise.
25871         * nss/getXXent_r.c: Likewise.
25872         * sysdeps/posix/getaddrinfo.c: Likewise.
25874 2012-10-30  Andreas Jaeger  <aj@suse.de>
25876         * po/ru.po: Update Russion translation from translation project.
25878 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25880         [BZ #14152]
25881         [BZ #14783]
25882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25883         result and shift together with sticky bit instead of replicating
25884         round-to-nearest rounding.
25885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25887         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25888         missing underflow exceptions.
25889         (fma_test_towardzero): Add more tests.
25890         (fma_test_downward): Likewise.
25891         (fma_test_upward): Likewise.
25893         [BZ #14047]
25894         * sysdeps/generic/tininess.h: New file.
25895         * sysdeps/i386/tininess.h: Likewise.
25896         * sysdeps/sh/tininess.h: Likewise.
25897         * sysdeps/x86_64/tininess.h: Likewise.
25898         * stdlib/tst-strtod-underflow.c: Likewise.
25899         * stdlib/tst-tininess.c: Likewise.
25900         * stdlib/strtod_l.c: Include <tininess.h>.
25901         (round_and_return): Do not set errno for exact underflow cases.
25902         Force an underflow exception when setting errno for underflow.
25903         Determine underflow based on rounding to normal precision if
25904         TININESS_AFTER_ROUNDING.
25905         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25906         ERANGE for exact underflow cases.
25907         * stdlib/Makefile (tests): Add tst-tininess and
25908         tst-strtod-underflow.
25909         ($(objpfx)tst-tininess): Use $(link-libm).
25910         ($(objpfx)tst-strtod-underflow): Likewise.
25912 2012-10-30  Andreas Jaeger  <aj@suse.de>
25914         [BZ#14767]
25915         * elf/Makefile (tests): Remove conditional for have-initfini-array
25916         since this is now always required and the variable does not exist
25917         anymore.
25918         (tests-static): Likewise.
25919         (modules-names): Likewise.
25921         * po/eo.po: Add Esperanto translation from translation project.
25923         * elf/tst-array1.c (fini_array): Make writeable so that it can be
25924         merged with constructor/destructor.
25925         (init_array): Likewise.
25926         * elf/tst-array2dep.c (fini_array): Likewise.
25927         (init_array): Likewise.
25929 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
25931         * manual/message.texi: Delete @cartouche tags.
25933 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
25935         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
25936         EOPNOTSUPP.
25937         * sysdeps/mach/hurd/fsync.c: Likewise.
25939         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
25940         [_POSIX_REALTIME_SIGNALS]: Change condition to
25941         [_POSIX_REALTIME_SIGNALS > 0].
25943 2012-10-27  Andreas Jaeger  <aj@suse.de>
25945         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
25946         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
25947         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
25948         [__WORDSIZE != 64]: Likewise.
25950 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
25952         *  iconvdata/tst-table.sh: Remove ${SHELL}.
25953         *  iconvdata/tst-tables.sh: Likewise.
25955 2012-10-25  David S. Miller  <davem@davemloft.net>
25957         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25958         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
25959         of strtoull.
25961         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
25962         ifunc-impl-list.c
25963         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25964         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
25965         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
25966         file.
25968 2012-10-25  Roland McGrath  <roland@hack.frob.com>
25970         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25971         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
25972         __getdirentries.
25974 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25975             Jim Blandy  <jimb@codesourcery.com>
25977         * scripts/cross-test-ssh.sh: New file.
25978         * manual/install.texi (Configuring and compiling): Document use of
25979         cross-test-ssh.sh.
25980         * INSTALL: Regenerated.
25982 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
25984         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
25985         EOPNOTSUPP.
25987 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
25989         * Makeconfig (run-program-prefix): Fix comment.
25991 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
25992             Jim Blandy  <jimb@codesourcery.com>
25994         * Makeconfig (test-wrapper): New variable,
25995         (test-wrapper-env): Likewise.
25996         [$(cross-compiling) = yes && $(test-wrapper) != ""]
25997         (run-built-tests): Define to yes.
25998         (run-program-prefix): Use $(test-wrapper).
25999         (built-program-cmd): Likewise.
26000         * Rules (make-test-out): Use $(test-wrapper-env) and
26001         $(host-built-program-cmd).
26002         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26003         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26004         tst-pathopt.sh.
26005         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26006         $(test-wrapper-env) to tst-rtld-load-self.sh.
26007         ($(objpfx)order2.out): Use $(test-wrapper).
26008         ($(objpfx)tst-initorder.out): Likewise.
26009         ($(objpfx)tst-initorder2.out): Likewise.
26010         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26011         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26012         (test_wrapper_env): New variable.  Use it to run ld.so.
26013         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26014         Use it to run ld.so.
26015         (test_wrapper_env): Likewise.
26016         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26017         $(test-wrapper) to run-iconv-test.sh.
26018         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26019         (ICONV): Use $test_wrapper.
26020         * posix/Makefile ($(objpfx)globtest.out): Pass
26021         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26022         globtest.sh, not $(run-program-prefix).
26023         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26024         (test_wrapper): Likewise.
26025         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26026         set together with run_via_rtld_prefix.
26027         (run_program_prefix): Define in terms of test_wrapper and
26028         run_via_rtld_prefix.
26030 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26032         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26033         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26034         Targets removed.
26036         [BZ #14743]
26037         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26038         Declare __clock_getres, __clock_gettime, __clock_settime,
26039         __clock_nanosleep, and __clock_getcpuclockid.
26040         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26041         Remove librt_hidden_def (clock_gettime).
26042         * sysdeps/unix/clock_gettime.c: Likewise.
26043         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26044         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26045         * rt/clock_getres.c: Define __clock_getres as an alias.
26046         * sysdeps/posix/clock_getres.c: Likewise.
26047         * rt/clock_settime.c: Define __clock_settime as an alias.
26048         * sysdeps/unix/clock_settime.c: Likewise.
26049         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26050         * sysdeps/unix/clock_nanosleep.c: Likewise.
26051         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26052         * rt/clock-compat.c: New file.
26053         * rt/Makefile (librt-routines): Add clock-compat and move
26054         $(clock-routines) to ...
26055         (routines): ... here, new variable.
26056         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26057         Don't add get_clockfreq here.
26058         * rt/Versions (libc: GLIBC_2.17): New version set.
26059         Add clock_* symbols here.
26060         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26061         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26062         (GLIBC_2.17): Add clock_* symbols.
26063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26065         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26067         Likewise.
26068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26069         Likewise.
26070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26071         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26072         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26074         * NEWS: Mention the move.
26076         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26077         Use __open, __read, __close rather than their public counterparts.
26078         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26079         (__get_clockfreq_via_cpuinfo): Likewise.
26080         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26081         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26083         * config.h.in (HAVE_IFUNC): New #undef.
26084         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26085         was successful.
26086         * configure: Regenerated.
26088 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26090         * configure.in: Move READELF check to start of file.
26091         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26092         libc_cv_asm_gnu_indirect_function in the process.
26093         * configure: Regenerated.
26095 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26097         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26098         send the output to /dev/null.
26099         (libc_cv_cc_with_libunwind): Likewise.
26100         (libc_cv_as_noexecstack): Likewise.
26101         * configure: Regenerate.
26103 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26105         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26107         * posix/globtest.sh (TMPDIR): Do not set.
26108         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26109         (testout): Likewise.
26111 2012-10-24  Andreas Jaeger  <aj@suse.de>
26113         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26114         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26115         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26116         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26117         posix_fadvise64, posix_fallocate64.
26119         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26120         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26121         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26122         Likewise.
26123         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26124         Likewise.
26125         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26127         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26128         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26129         <bits/fcntl-linux.h>.
26130         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26132         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26133         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26134         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26135         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26136         [__WORDSIZE != 64]: Likewise.
26138 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26140         * Makeconfig (run-built-tests): New variable.
26141         * Rules [$(cross-compiling) = yes]: Change condition to
26142         [$(run-built-tests) = no].
26143         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26144         to [$(run-built-tests) = yes].
26145         * elf/Makefile [$(cross-compiling) = no]: Likewise
26146         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26147         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26148         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26149         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26150         * io/Makefile [$(cross-compiling) = no]: Likewise.
26151         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26152         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26153         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26154         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26155         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26156         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26157         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26158         * string/Makefile [$(cross-compiling) = no]: Likewise.
26160         * posix/Makefile ($(objpfx)globtest.out): Pass
26161         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26162         $(rtld-installed-name).
26163         * posix/globtest.sh (elf_objpfx): Remove variable.
26164         (rtld_installed_name): Likewise.
26165         (library_path): Likewise.
26166         (run_program_prefix): New variable.  Use for running globtest
26167         binary.
26169 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26170             Joseph Myers  <joseph@codesourcery.com>
26172         * Makeconfig (host-built-program-cmd): New variable.
26173         * elf/Makefile (tst-stackguard1-ARGS): Use
26174         $(host-built-program-cmd).
26175         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26176         (tst-spawn-ARGS): Likewise.
26177         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26179 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26180             Jim Blandy  <jimb@codesourcery.com>
26182         * Makeconfig (run-via-rtld-prefix): New variable.
26183         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26184         (built-program-cmd): Likewise.
26186 2012-10-22  Andreas Jaeger  <aj@suse.de>
26188         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26189         __O_RSYNC if it exists, otherwise to O_SYNC.
26191 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26192             Joseph Myers  <joseph@codesourcery.com>
26194         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26195         /dev/null.
26196         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26197         from /dev/null
26198         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26199         /dev/null.
26201 2012-10-22  Andreas Jaeger  <aj@suse.de>
26203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26204         Define always.
26205         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26207         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26208         bits/fcntl-linux.h.
26210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26211         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26214         to __O_LARGEFILE.
26215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26216         to __O_LARGEFILE.
26218 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26219             Joseph Myers  <joseph@codesourcery.com>
26221         * config.make.in (NM): New variable.
26223 2012-10-21  Andreas Jaeger  <aj@suse.de>
26225         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26226         definitions and declarations that are provided by
26227         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26229 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26231         [BZ #14683]
26232         * elf/Makefile (tests-static): Add tst-leaks1-static.
26233         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26234         ($(objpfx)tst-leaks1-static): New rule.
26235         ($(objpfx)tst-leaks1-static-mem): Likewise.
26236         (tst-leaks1-static-ENV): New macro.
26237         * elf/dl-open.c (dl_open_worker): Check the main application
26238         only if SHARED is defined.
26239         * elf/tst-leaks1-static.c: New file.
26241 2012-10-20  Andreas Jaeger  <aj@suse.de>
26243         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26244         generic values for Linux.
26245         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26246         and declarations that are provided by <bits/fcntl-linux.h> and
26247         include <bits/fcntl-linux.h>.
26248         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26249         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26251 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26253         * io/fcntl.h: Move include of <bits/types.h> to the top and
26254         include it unconditionally.
26256 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26258         * wcsmbs/Makefile (tests-ifunc): New variable.
26259         (tests): Add $(tests-ifunc).
26260         * wcsmbs/test-wcschr-ifunc.c: New file.
26261         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26262         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26263         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26264         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26265         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26267         * string/Makefile (tests-ifunc): New variable.
26268         (tests): Add $(tests-ifunc).
26269         * string/test-memccpy.c (TEST_NAME): New macro.
26270         * string/test-memchr.c (TEST_NAME): Likewise.
26271         * string/test-memcmp.c (TEST_NAME): Likewise.
26272         * string/test-memcpy.c (TEST_NAME): Likewise.
26273         * string/test-memmem.c (TEST_NAME): Likewise.
26274         * string/test-memmove.c (TEST_NAME): Likewise.
26275         * string/test-memset.c (TEST_NAME): Likewise.
26276         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26277         * string/test-stpcpy.c (TEST_NAME): Likewise.
26278         * string/test-stpncpy.c (TEST_NAME): Likewise.
26279         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26280         * string/test-strcasestr.c (TEST_NAME): Likewise.
26281         * string/test-strcat.c (TEST_NAME): Likewise.
26282         * string/test-strchr.c (TEST_NAME): Likewise.
26283         * string/test-strcmp.c(TEST_NAME): Likewise.
26284         * string/test-strcpy.c (TEST_NAME): Likewise.
26285         * string/test-strcspn.c (TEST_NAME): Likewise.
26286         * string/test-strlen.c (TEST_NAME): Likewise.
26287         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26288         * string/test-strncmp.c (TEST_NAME): Likewise.
26289         * string/test-strncpy.c (TEST_NAME): Likewise.
26290         * string/test-strnlen.c (TEST_NAME): Likewise.
26291         * string/test-strpbrk.c (TEST_NAME): Likewise.
26292         * string/test-strrchr.c (TEST_NAME): Likewise.
26293         * string/test-strspn.c (TEST_NAME): Likewise.
26294         * string/test-strstr.c (TEST_NAME): Likewise.
26295         * string/test-bcopy-ifunc.c: New file.
26296         * string/test-bzero-ifunc.c: Likewise.
26297         * string/test-memccpy-ifunc.c: Likewise.
26298         * string/test-memchr-ifunc.c: Likewise.
26299         * string/test-memcmp-ifunc.c: Likewise.
26300         * string/test-memcpy-ifunc.c: Likewise.
26301         * string/test-memmem-ifunc.c: Likewise.
26302         * string/test-memmove-ifunc.c: Likewise.
26303         * string/test-mempcpy-ifunc.c: Likewise.
26304         * string/test-memset-ifunc.c: Likewise.
26305         * string/test-rawmemchr-ifunc.c: Likewise.
26306         * string/test-stpcpy-ifunc.c: Likewise.
26307         * string/test-stpncpy-ifunc.c: Likewise.
26308         * string/test-strcasecmp-ifunc.c: Likewise.
26309         * string/test-strcasestr-ifunc.c: Likewise.
26310         * string/test-strcat-ifunc.c: Likewise.
26311         * string/test-strchr-ifunc.c: Likewise.
26312         * string/test-strchrnul-ifunc.c: Likewise.
26313         * string/test-strcmp-ifunc.c: Likewise.
26314         * string/test-strcpy-ifunc.c: Likewise.
26315         * string/test-strcspn-ifunc.c: Likewise.
26316         * string/test-strlen-ifunc.c: Likewise.
26317         * string/test-strncasecmp-ifunc.c: Likewise.
26318         * string/test-strncat-ifunc.c: Likewise.
26319         * string/test-strncmp-ifunc.c: Likewise.
26320         * string/test-strncpy-ifunc.c: Likewise.
26321         * string/test-strnlen-ifunc.c: Likewise.
26322         * string/test-strpbrk-ifunc.c: Likewise.
26323         * string/test-strrchr-ifunc.c: Likewise.
26324         * string/test-strspn-ifunc.c: Likewise.
26325         * string/test-strstr-ifunc.c: Likewise.
26327         * debug/Makefile (tests-ifunc): New variable.
26328         (tests): Add $(tests-ifunc).
26329         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26330         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26331         * debug/test-stpcpy_chk-ifunc.c: New file.
26332         * debug/test-strcpy_chk-ifunc.c: Likewise.
26334 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26336         [BZ #13601]
26337         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26338         header is not read in.
26340 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26342         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26343         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26344         directly.  Pass built executable to script as
26345         $(built-program-cmd).
26346         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26347         $testprogram without using LD_LIBRARY_PATH and $ldso.
26349         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26350         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26351         $(rtld-installed-name).
26352         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26353         (rtld_installed_name): Likewise.
26354         (library_path): Likewise.
26355         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26356         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26357         $(run-program-prefix) to tst-tables.sh.
26358         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26359         it to run tst-table-from and tst-table-to.
26360         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26361         Pass it to tst-table.sh.
26362         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26363         $(run-program-prefix) to tst-gettext.sh.
26364         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26365         tst-translit.sh.
26366         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26367         tst-gettext2.sh.
26368         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26369         to run tst-gettext.
26370         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26371         to run tst-gettext2.
26372         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26373         to run tst-translit.
26374         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26375         $(run-program-prefix) to tst-mtrace.sh.
26376         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26377         to run tst-mtrace.
26378         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26379         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26380         $(rtld-installed-name).
26381         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26382         (rtld_installed_name): Likewise.
26383         (run_program_prefix): New variable.  Use it to run wordexp-test.
26385         * Makeconfig (ARCH): Remove all definitions.
26386         (machine): Likewise.
26387         [ARCH]: Remove conditional code.
26388         [!objdir]: Give error.
26389         [!objdir] (objpfx): Remove.
26390         [!objdir] (common-objpfx): Likewise.
26391         [!objdir] (common-objdir): Likewise.
26392         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26393         AC_CONFIG_FILES call.
26394         * configure: Regenerated.
26396         [BZ #13888]
26397         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26398         or TMPDIR.
26399         (testout): Likewise.
26401         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26402         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26403         $(rtld-installed-name).
26404         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26405         (rtld_installed_name): Likwise.
26406         (runit): Remove function.
26407         (run_getconf): New variable,  Use it for running getconf binary.
26409 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26411         [BZ #14716]
26412         * string/test-memmem.c (check_result): New function.
26413         (do_one_test): Use it.
26414         (check1): New function.
26415         (test_main): Use it.
26417 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26419         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26421 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26423         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26424         (_G_LSEEK64): Likewise.
26425         (_G_MMAP64): Likewise.
26426         (_G_FSTAT64): Likewise.
26427         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26428         (_G_LSEEK64): Likewise.
26429         (_G_MMAP64): Likewise.
26430         (_G_FSTAT64): Likewise.
26431         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26432         unconditional.  Call __mmap64 directly.
26433         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26434         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26435         __lseek64 directly.
26436         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26437         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26438         __mmap64 directly.
26439         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26440         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26441         __lseek64 directly.
26442         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26443         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26444         __lseek64 directly.
26445         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26446         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26447         __lseek64 directly.
26448         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26449         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26450         __fxstat64 directly.
26451         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26452         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26453         unconditional.
26454         (freopen64) [!_G_OPEN64]: Remove conditional code.
26455         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26456         unconditional.
26457         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26458         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26459         unconditional.
26460         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26461         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26462         unconditional.
26463         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26464         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26465         unconditional.
26466         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26467         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26468         unconditional.
26469         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26470         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26471         unconditional.
26472         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26473         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26474         unconditional.
26475         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26477 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26479         [BZ #12140]
26480         * manual/memory.texi (Malloc Tunable Parameters): Add note
26481         about free list pointers overwriting some perturb bytes.
26482         Wording suggested by Roland McGrath.
26484 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26486         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26487         (lgamma_test): Likewise.
26488         (tgamma_test): Likewise.
26490 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26492         [BZ #14700]
26493         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26494         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26496 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26498         * NEWS: Mention BZ #14716.
26499         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26500         when removing AVAILABLE1_USES_J macro.
26502 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26504         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26505         (__bswap_64): __uint64_t for unsigned 64-bit int.
26507 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26509         * include/string.h (memmem): Declare libc hidden alias.
26510         * string/memmem.c (memmem): Define libc hidden alias.
26511         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26512         __read, __close instead of open, read, close.
26514 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26517         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26518         global and hidden.
26519         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26520         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26521         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26522         Likewise.
26523         (__rawmemchr_sse2): Likewise.
26524         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26525         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26526         (__strchr_sse2): Likewise.
26527         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26528         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26529         (__strcasecmp_sse2): Likewise.
26530         (__strncasecmp_sse2): Likewise.
26531         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26532         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26533         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26534         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26535         (__strrchr_sse2): Likewise.
26536         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26537         ifunc-impl-list.c.
26538         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26539         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26540         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26542         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26543         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26544         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26545         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26546         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26547         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26548         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26549         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26550         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26551         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26552         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26553         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26554         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26555         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26556         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26557         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26558         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26559         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26560         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26561         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26562         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26563         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26564         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26565         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26566         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26567         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26569         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26570         global and hidden.
26571         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26572         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26573         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26574         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26575         Likewise.
26576         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26577         Likewise.
26578         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26579         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26580         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26581         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26582         ifunc-impl-list.c.
26583         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26584         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26585         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26586         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26587         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26588         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26589         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26590         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26591         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26592         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26593         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26594         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26595         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26596         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26597         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26598         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26599         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26600         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26601         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26602         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26604         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26605         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26606         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26607         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26608         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26609         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26610         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26611         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26612         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26613         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26614         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26615         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26616         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26617         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26618         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26619         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26620         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26621         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26622         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26623         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26625         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26626         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26627         * include/ifunc-impl-list.h: New file.
26628         * misc/ifunc-impl-list.c: Likewise.
26629         * misc/Makefile (routines): Add ifunc-impl-list.
26630         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26631         * string/test-string.h: Include <ifunc-impl-list.h>.
26632         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26633         TEST_NAME]: New variables.
26634         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26635         are defined.
26636         (test_init): Call __libc_ifunc_impl_list to initialize
26637         func_list if TEST_IFUNC and TEST_NAME are defined.
26639         * string/Makefile (strop-tests): Add bcopy and bzero.
26640         * string/test-bcopy.c: New file.
26641         * string/test-bzero.c: Likewise.
26642         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26643         defined.
26644         * string/test-memset.c: Support bzero test if TEST_BZERO is
26645         defined.
26646         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26647         __libc_memmove.
26648         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26649         __libc_memset.
26650         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26651         of memset.
26653 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26655         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26656         * configure: Regenerated.
26658         * Makeconfig (+link-static-before-libc): Don't include
26659         $(link-static-libc).
26661         * libio/libio.h (_IO_pos_t): Remove.
26663 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26665         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26666         McGrath.
26668 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26670         * crypt/crypt-entry.c: Include fips-private.h.
26671         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26672         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26673         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26674         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26678         * crypt/crypt-private.h: Include stdbool.h.
26679         (_ufc_setup_salt_r): Return bool.
26680         * crypt/crypt-entry.c: Include errno.h.
26681         (__crypt_r): Return NULL with EINVAL for bad salt.
26682         * crypt/crypt_util.c (bad_for_salt): New.
26683         (_ufc_setup_salt_r): Check that salt is long enough and within
26684         the specified alphabet.
26685         * crypt/badsalttest.c: New file.
26686         * crypt/Makefile (tests): Add it.
26687         ($(objpfx)badsalttest): New.
26689 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26691         * NEWS: Add entry for BZ #14602.
26693 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26695         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26696         type-generic.
26697         * math/libm-test.inc: Update comment listing what functions and
26698         macros are tested.
26699         (isgreater_test): New function.
26700         (isgreaterequal_test): Likewise.
26701         (isless_test): Likewise.
26702         (islessequal_test): Likewise.
26703         (islessgreater_test): Likewise.
26704         (isunordered_test): Likewise.
26705         (main): Call the new functions.
26707 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26709         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26710         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26711         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26712         * sysdeps/i386/configure: Regenerated.
26713         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26714         * sysdeps/mach/configure: Regenerated.
26715         * sysdeps/mach/hurd/configure: Regenerated.
26716         * sysdeps/powerpc/configure: Regenerated.
26717         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26718         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26719         * sysdeps/s390/s390-32/configure: Regenerated.
26720         * sysdeps/s390/s390-64/configure: Regenerated.
26721         * sysdeps/sh/configure: Regenerated.
26722         * sysdeps/sparc/configure: Regenerated.
26723         * sysdeps/unix/sysv/linux/configure: Regenerated.
26724         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26725         * sysdeps/x86_64/configure: Regenerated.
26727         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26728         defined.  Don't check if MAP is NULL.
26730 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26732         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26733         (_G_stat64): Likewise.
26734         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26735         (_G_stat64): Likewise.
26736         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26737         instead of struct _G_stat64.
26738         * libio/fileops.c (mmap_remap_check): Likewise.
26739         (decide_maybe_mmap): Likewise.
26740         (_IO_new_file_seekoff): Likewise.
26741         (_IO_file_stat): Likewise.
26742         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26743         _G_off64_t.
26744         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26745         instead of struct _G_stat64.
26746         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26748 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26750         [BZ #14602]
26751         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26752         Replace with ...
26753         (CHECK_EOL): New macro.
26754         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26755         CHECK_EOL.
26756         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26757         Replace with CHECK_EOL.
26758         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26759         Replace with CHECK_EOL.
26761 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26763         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26764         type-generic.
26765         * math/libm-test.inc: Update comment listing what functions and
26766         macros are tested.
26767         (finite_test): New function.
26768         (isinf_test): Likewise.
26769         (isnan_test): Likewise.
26770         (fpclassify_test): Test subnormal input.
26771         (isfinite_test): Likewise.
26772         (isnormal_test): Likewise.
26773         (main): Call the new functions.
26775 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26777         [BZ #14660]
26778         * Makerules (%.dynsym): Force C locale when running
26779         $(OBJDUMP) --dynamic-syms.
26781 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26783         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26784         <stdint.h>.
26786 2012-10-06  David S. Miller  <davem@davemloft.net>
26788         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26789         upper 32-bits of the length value in %o2 since we use branch-on-register
26790         tests which consider the entire 64-bit register.
26792 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26794         * string/test-strstr.c (check2): Add a test for page boundary.
26796 2012-10-05  David S. Miller  <davem@davemloft.net>
26798         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26799         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26800         file.
26801         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26802         sysdep_routines.
26803         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26804         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26805         and bzero when HWCAP_SPARC_CRYPTO is present.
26807 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26809         [BZ #14602]
26810         * string/test-strstr.c (check2): New function.
26811         (test_main): Call check2.
26813         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26814         and bug-strchr1.
26815         * string/bug-strcasestr1.c (do_test): Moved to ...
26816         * string/test-strcasestr.c (check1): Here.  New function.
26817         (do_one_test): Break out result checking code into ...
26818         (check_result): This.  New function.
26819         (do_one_test): Call check_result.
26820         (test_main): Call check1.
26821         * string/bug-strchr1.c (do_test): Moved to ...
26822         * string/test-strchr.c (check1): Here.  New function.
26823         (do_one_test): Break out result checking code into ...
26824         (check_result): This.  New function.
26825         (do_one_test): Call check_result.
26826         (test_main): Call check1.
26827         * string/bug-strstr1.c (main): Moved to ...
26828         * string/test-strstr.c (check1): Here.  New function.
26829         (do_one_test): Break out result checking code into ...
26830         (check_result): This.  New function.
26831         (do_one_test): Call check_result.
26832         (test_main): Call check1.
26833         * string/bug-strcasestr1.c: Removed.
26834         * string/bug-strchr1.c: Likewise.
26835         * string/bug-strstr1.c: Likewise.
26837         * elf/Makefile (dl-routines): Add hwcaps.
26838         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26839         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26840         (_dl_important_hwcaps): Moved to ...
26841         * elf/dl-hwcaps.c: Here.  New file.
26842         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26844         [BZ #14557]
26845         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26846         if IS_IN_rtld isn't defined.
26848         * elf/dl-support.c (_dl_sysinfo_map): New.
26849         Include "get-dynamic-info.h" and "setup-vdso.h".
26850         (_dl_non_dynamic_init): Call setup_vdso.
26851         * elf/dynamic-link.h: Don't include <assert.h>.
26852         (elf_get_dynamic_info): Moved to ...
26853         * elf/get-dynamic-info.h: Here.  New file.
26854         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26855         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26856         * elf/setup-vdso.h: Here.  New file.
26857         * elf/rtld.c: Include "setup-vdso.h".
26858         (dl_main): Call setup_vdso.
26860 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26862         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26863         creal in comment listing functions tested.  List finite, isinf,
26864         isnan, isless, islessequal, isgreater, isgreaterequal,
26865         islessgreater, isunordered, lgamma_r and pow10 as functions and
26866         macros not tested.  Mention which functions not tested are aliases
26867         for other functions.  Fix typo.  Note that signs of NaNs are not
26868         tested.
26870         * scripts/config.guess: Update from config.git.
26871         * scripts/config.sub: Likewise.
26873 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26875         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26876         * misc/madvise.c (madvise): Renamed to __madvise.
26877         Make madvise a weak alias.
26878         * include/sys/mman.h: Declare __madvise.
26879         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26880         * sysdeps/unix/syscalls.list
26881         (madvise): Make __madvise the strong name, and madvise a weak alias.
26882         * sysdeps/unix/sysv/linux/syscalls.list
26883         (madvise, mmap): Remove redundant entries.
26884         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26885         * malloc/malloc.c (mtrim): Likewise.
26886         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26888 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26890         * sysdeps/mach/hurd/dl-cache.c: File removed.
26891         * config.h.in (USE_LDCONFIG): New #undef.
26892         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26893         * configure: Regenerated.
26894         * elf/Makefile (dl-routines): Add dl-cache only under
26895         [$(use-ldconfig) = yes].
26896         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26897         cache on [USE_LDCONFIG].
26898         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26899         [USE_LDCONFIG].
26900         * elf/rtld.c (dl_main): Likewise.
26902 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26904         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26905         _SC_LEVEL4_CACHE_LINESIZE.
26907 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26909         * sysdeps/unix/bsd/confstr.h: File removed.
26911 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26913         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26914         sys/sdt-config.h.
26916 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26918         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26919         Make 'mapoff' field ElfW(Off) rather than off_t.
26921 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26923         * nscd/Makefile: Remove nscd-cflags and all its users.
26924         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
26925         (CFLAGS-nonlib): Add compiler flags for nscd modules.
26927         [BZ #10631]
26928         * malloc.c (malloc_printerr): Clarify error message.
26930 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
26932         [BZ #14648]
26933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26934         Set bit_FMA_Usable if FMA is supported.
26935         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
26936         macro.
26937         (bit_FMA4_Usable): Updated.
26938         (index_FMA_Usable): New macro.
26939         (CPUID_FMA): Likewise
26940         (HAS_FMA): Defined with bit_FMA_Usable.
26942 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26944         * bits/types.h (__swblk_t): Type removed.
26945         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
26946         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
26947         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26948         (__SWBLK_T_TYPE): Likewise.
26949         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26950         (__SWBLK_T_TYPE): Likewise.
26951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26952         (__SWBLK_T_TYPE): Likewise.
26953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26954         (__SWBLK_T_TYPE): Likewise.
26956 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
26957             Honza Horak <hhorak@redhat.com>
26959         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
26960         (xdr_mapname): Use YPMAXMAP as maxsize.
26961         (xdr_peername): Use YPMAXPEER as maxsize.
26962         (xdr_keydat): Use YPAXRECORD as maxsize.
26963         (xdr_valdat): Use YPMAXRECORD as maxsize.
26965 2012-10-01  Roland McGrath  <roland@hack.frob.com>
26967         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
26969         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
26970         * csu/init-first.c: ... here.
26971         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
26972         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
26973         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26974         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26975         * sysdeps/i386/init-first.c: File removed.
26976         * sysdeps/sh/init-first.c: File removed.
26978 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
26980         [BZ #14645]
26981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
26982         if x * y might underflow to zero and z is zero.
26983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26984         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26985         * math/libm-test.inc (min_subnorm_value): New variable.
26986         (fma_test): Add more tests.
26987         (fma_test_towardzero): Likewise.
26988         (fma_test_downward): Likewise
26989         (fma_test_upward): Likewise.
26990         (initialize): Set min_subnorm_value.
26992 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
26994         [BZ #14638]
26995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
26996         0 + 0.
26997         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
26998         mode for addition resulting in exact zero.
26999         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27000         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27001         exact 0 + 0.
27002         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27003         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27004         * math/libm-test.inc (fma_test): Add more tests.
27005         (fma_test_towardzero): New function.
27006         (fma_test_downward): Likewise.
27007         (fma_test_upward): Likewise.
27008         (main): Call the new functions.
27010 2012-09-28  David S. Miller  <davem@davemloft.net>
27012         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27014 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27016         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27017         instead of SIGALRM.
27019         * sysdeps/gnu/_G_config.h: Moved to ...
27020         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27021         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27022         * sysdeps/generic/_G_config.h: ... here.
27024         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27026         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27028         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27029         Conditionalize target on [libnss_test1.so-version].
27031         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27033         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27034         (elfobjdir): Move out of conditionals.
27036         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27037         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27038         (__nss_lookup_function): Conditionalize label remove_from_tree on
27039         [!DO_STATIC_NSS || SHARED], matching its only use.
27041 2012-09-28  David S. Miller  <davem@davemloft.net>
27043         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27044         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27045         file.
27046         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27047         sysdep_routines.
27048         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27049         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27050         when HWCAP_SPARC_CRYPTO is present.
27052 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27054         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27056 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27058         [BZ #6530]
27059         * stdio-common/vfprintf.c (process_string_arg): Revert
27060         2000-07-22 change.
27062 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27064         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27065         for testcase.
27066         * stdio-common/tst-sprintf.c: Include <locale.h>
27067         (main): Test sprintf's handling of incomplete multibyte
27068         characters.
27070 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27072         * elf/dl-runtime.c (VERSYMIDX): Removed.
27073         * elf/dl-version.c (VERSYMIDX): Likewise.
27074         * elf/do-rel.h (VERSYMIDX): Likewise.
27075         (VALIDX): Likewise.
27076         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27077         * elf/rtld.c (VALIDX): Likewise.
27078         (ADDRIDX): Likewise.
27079         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27080         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27081         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27082         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27083         (VALIDX): Likewise.
27084         (ADDRIDX): Likewise.
27086 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27088         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27090 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27092         [BZ #11438]
27093         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27094         to global scope.
27095         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27096         addresses are in the same scope as 192.0.2/24.
27097         * posix/gai.conf: Document new scope table defaults.
27099 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27101         [BZ #5298]
27102         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27103         for ftell.  Compute offsets from write pointers instead.
27104         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27106 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27108         [BZ #14543]
27109         * libio/Makefile (tests): New test case tst-fseek.
27110         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27111         combination works in wide mode.
27112         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27113         state when the external buffer state changes.
27115 2012-09-27  David S. Miller  <davem@davemloft.net>
27117         [BZ #14376]
27118         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27119         pass reloc->r_addend in as the 'high' argument to
27120         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27124 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27126         * rt/tst-aio2.c: Include <pthread.h>.
27127         * rt/tst-aio3.c: Likewise.
27129 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27131         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27133 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27135         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27136         contents on [SHARED].
27138 2012-09-26  Marek Polacek  <polacek@redhat.com>
27140         [BZ #14530]
27141         [BZ #13741]
27142         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27143         for C++ and GCC <4.3 as well as for non GCC compilers.
27145 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27149 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27151         * Makefile.in (all, install): Declare with .PHONY.
27152         Reported by Michael Hope <michael.hope@linaro.org>.
27154 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27156         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27157         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27158         system header.
27159         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27160         Likewise.
27161         (sydep_routines): Add the new and the internal functions.
27162         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27163         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27165         (GLIBC_2.17): Add the new function.
27166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27167         (GLIBC_2.17): Likewise.
27168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27169         (GLIBC_2.17): Likewise.
27170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27171         (GLIBC_2.17): Likewise.
27172         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27174 2012-09-25  Alan Modra  <amodra@gmail.com>
27176         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27177         Add release barrier before setting once_control to say
27178         initialisation is done.  Add hints on lwarx.  Use macro in
27179         place of isync.
27180         (clear_once_control): Add release barrier.
27182 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #13629]
27185         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27186         specially.
27187         * math/s_clog10.c (__clog10): Likewise.
27188         * math/s_clog10f.c (__clog10f): Likewise.
27189         * math/s_clog10l.c (__clog10l): Likewise.
27190         * math/s_clogf.c (__clogf): Likewise.
27191         * math/s_clogl.c (__clogl): Likewise.
27192         * math/Makefile (libm-calls): Add x2y2m1.
27193         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27194         (__x2y2m1): Likewise.
27195         (__x2y2m1l): Likewise.
27196         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27197         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27198         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27199         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27200         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27201         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27202         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27203         * sysdeps/i386/fpu/libm-test-ulps: Update.
27204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27206         [BZ #14621]
27207         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27208         int as type of variable DEPTH.
27209         (glob): Use size_t instead of int as type of variables NEWCOUNT
27210         and OLD_PATHC.
27212 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27214         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27215         Add s_sincosf-sse2.
27216         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27217         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27218         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27219         macros for using routine as __sincosf_ia32.
27220         Use macro for function declaration and weak_alias.
27221         * sysdeps/i386/fpu/libm-test-ulps: Update.
27223         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27226         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27227         subnormal argument.
27228         * math/s_cexpf.c (__cexpf): Likewise.
27229         * math/s_csinf.c (__csinf): Likewise.
27230         * math/s_csinhf.c (__csinhf): Likewise.
27231         * math/s_ctanf.c (__ctanf): Likewise.
27232         * math/s_ctanhf.c (__ctanhf): Likewise.
27233         * math/s_ccosh.c (__ccoshf): Likewise.
27234         * math/s_cexp.c (__cexpl): Likewise.
27235         * math/s_csin.c (__csin): Likewise.
27236         * math/s_csinh.c (__csinh): Likewise.
27237         * math/s_ctan.c (__ctan): Likewise.
27238         * math/s_ctanh.c (ctanh): Likewise.
27239         * math/s_ccoshl.c (__ccoshl): Likewise.
27240         * math/s_cexpl.c (__cexpl): Likewise.
27241         * math/s_csinl.c (__csinl): Likewise.
27242         * math/s_csinhl.c (__csinhl): Likewise.
27243         * math/s_ctanl.c (__ctanl): Likewise.
27244         * math/s_ctanhl.c (__ctanhl): Likewise.
27246 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27248         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27249         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27250         (_IO_off_t): Define to __off_t, not _G_off_t.
27251         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27252         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27253         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27254         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27255         type of __dummy and __dummy2 fields.
27256         * sysdeps/generic/_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         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27264         (_G_ssize_t): Likewise.
27265         (_G_off_t): Likewise.
27266         (_G_pid_t): Likewise.
27267         (_G_uid_t): Likewise.
27268         (_G_wchar_t): Likewise.
27269         (_G_wint_t): Likewise.
27270         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27271         (_G_ssize_t): Likewise.
27272         (_G_off_t): Likewise.
27273         (_G_pid_t): Likewise.
27274         (_G_uid_t): Likewise.
27275         (_G_wchar_t): Likewise.
27276         (_G_wint_t): Likewise.
27278 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27280         * malloc/arena.c: Include malloc-sysdep.h.
27281         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27282         is sufficient to shrink the heap or an unmap is needed.
27283         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27284         new function check_may_shrink_heap.
27285         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27286         new function check_may_shrink_heap.
27288 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27290         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27291         comments.
27293 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27295         * catgets/test-gencat.sh: Add "set -e".
27296         * elf/tst-pathopt.sh: Likewise.
27297         * grp/tst_fgetgrent.sh: Likewise.
27298         * iconvdata/run-iconv-test.sh: Likewise.
27299         * intl/tst-gettext.sh: Likewise.
27300         * intl/tst-gettext2.sh: Likewise.
27301         * intl/tst-gettext4.sh: Likewise.
27302         * intl/tst-gettext6.sh: Likewise.
27303         * intl/tst-translit.sh: Likewise.
27304         * io/ftwtest-sh: Likewise.
27305         * libio/test-freopen.sh: Likewise.
27306         * malloc/tst-mtrace.sh: Likewise.
27307         * posix/globtest.sh: Likewise.
27308         * posix/tst-getconf.sh: Likewise.
27309         * posix/wordexp-tst.sh: Likewise.
27310         * stdio-common/tst-printf.sh: Likewise.
27311         * stdio-common/tst-unbputc.sh: Likewise.
27312         * stdlib/tst-fmtmsg.sh: Likewise.
27313         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27314         * catgets/Makefile: Do not specify -e option when running
27315         testsuite shell scripts.
27316         * elf/Makefile: Likewise.
27317         * grp/Makefile: Likewise.
27318         * iconvdata/Makefile: Likewise.
27319         * intl/Makefile: Likewise.
27320         * io/Makefile: Likewise.
27321         * libio/Makefile: Likewise.
27322         * malloc/Makefile: Likewise.
27323         * posix/Makefile: Likewise.
27324         * stdio-common/Makefile: Likewise.
27325         * stdlib/Makefile: Likewise.
27326         * sysdeps/x86_64/Makefile: Likewise.
27328         * io/ftwtest-sh: Add copyright header.
27329         * posix/globtest.sh: Likewise.
27330         * posix/tst-getconf.sh: Likewise.
27331         * posix/wordexp-tst.sh: Likewise.
27332         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27334 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27336         [BZ #13679]
27337         * Makeconfig (+link): Defined as $(+link-static) if
27338         $(build-shared) isn't yes.
27339         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27340         isn't yes.
27341         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27343         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27345         [BZ #14562]
27346         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27347         new chunk size with MALLOC_ALIGN_MASK.
27349 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27351         [BZ #5044]
27352         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27353         <rounding-mode.h>.
27354         (__printf_fphex): Determine rounding using get_rounding_mode and
27355         round_away.
27356         * stdio-common/tst-printf-round.c (struct hex_test): New
27357         structure.
27358         (hex_tests): New variable.
27359         (test_hex_in_one_mode): New function.
27360         (do_test): Also run tests for hex float output.
27362 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27364         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27365         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27366         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27367         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27368         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27369         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27370         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27371         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27373 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27375         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27376         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27377         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27378         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27380 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27382         [BZ #14579]
27383         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27384         mode only.
27385         * elf/tst-rtld-load-self.sh: New test.
27386         * elf/Makefile: Run it.
27388 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27390         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27391         (tst-writev-ENV): Remove.
27392         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27394 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27396         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27398 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27400         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27401         unconditional.
27402         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27403         Likewise.
27404         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27405         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27406         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27407         Likewise.
27409 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27411         [BZ #14587]
27412         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27413         * config.make.in (have-cpp-asm-debuginfo): Removed.
27414         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27415         * configure: Regenerated.
27417 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27419         [BZ #5044]
27420         * stdio-common/printf_fp.c: Include <stdbool.h> and
27421         <rounding-mode.h>.
27422         (___printf_fp): Determine rounding using get_rounding_mode and
27423         round_away.
27424         * stdio-common/tst-printf-round.c: New file.
27425         * stdio-common/Makefile (tests): Add tst-printf-round.
27426         (link-libm): New variable.
27427         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27429 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27431         [BZ #14576]
27432         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27433         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27434         Likewise.
27435         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27436         Likewise.
27438 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27440         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27441         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27442         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27443         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27445 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27447         [BZ #14518]
27448         * include/rounding-mode.h: New file.
27449         * sysdeps/generic/get-rounding-mode.h: Likewise.
27450         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27451         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27452         (MAX_VALUE): New macro.
27453         (MIN_VALUE): Likewise.
27454         (overflow_value): New function.
27455         (underflow_value): Likewise.
27456         (round_and_return): Use overflow_value and underflow_value to
27457         determine return values in overflow and underflow cases.  Use
27458         round_away to determine rounding depending on rounding mode.
27459         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27460         determine return values in overflow and underflow cases.
27461         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27462         (struct test_results): New structure.
27463         (struct test): Use struct test_results to store expected results
27464         for all rounding modes.
27465         (TEST): Include expected results for all rounding modes.
27466         (test_in_one_mode): New function.
27467         (do_test): Use test_in_one_mode to compute and check results.
27468         Check results for all rounding modes.
27469         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27470         $(link-libm).
27472 2012-12-09  Allan McRae  <allan@archlinux.org>
27474         * sysdeps/i386/fpu/libm-test-ulps: Update
27476 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27478         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27479         (_G_int32_t): Likewise.
27480         (_G_uint16_t): Likewise.
27481         (_G_uint32_t): Likewise.
27482         (_G_HAVE_BOOL): Likewise.
27483         (_G_HAVE_ATEXIT): Likewise.
27484         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27485         (_G_HAVE_IO_FILE_OPEN): Likewise.
27486         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27487         (_G_int32_t): Likewise.
27488         (_G_uint16_t): Likewise.
27489         (_G_uint32_t): Likewise.
27490         (_G_HAVE_BOOL): Likewise.
27491         (_G_HAVE_ATEXIT): Likewise.
27492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27493         (_G_HAVE_IO_FILE_OPEN): Likewise.
27494         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27495         (_G_int32_t): Likewise.
27496         (_G_uint16_t): Likewise.
27497         (_G_uint32_t): Likewise.
27498         (_G_HAVE_BOOL): Likewise.
27499         (_G_HAVE_ATEXIT): Likewise.
27500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27501         (_G_HAVE_IO_FILE_OPEN): Likewise.
27503 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27505         * csu/libc-tls.c: Update copyright years.
27507 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27509         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27510         [!_G_USING_THUNKS]: Remove conditional code.
27511         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27512         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27514         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27515         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27516         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27517         (_G_VTABLE_LABEL_PREFIX): Likewise.
27518         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27519         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27520         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27521         (_G_VTABLE_LABEL_PREFIX): Likewise.
27522         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27523         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27524         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27525         (_G_VTABLE_LABEL_PREFIX): Likewise.
27526         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27528 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27530         * libio/Makefile: Include ../Makeconfig before tests.
27531         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27532         only if $(build-shared) is yes.
27534         * iconv/gconv_db.c: Update copyright years.
27536 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27538         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27539         unwind info if defined PIC. Fix special cases description.
27540         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27542         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27543         DP_HI_MASK entry.
27544         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27546 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27548         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27550         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27551         is NULL.
27553         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27554         (LDLIBS-tst-chk4): This.
27555         (LDFLAGS-tst-chk5): Renamed to ...
27556         (LDLIBS-tst-chk5): This.
27557         (LDFLAGS-tst-chk6): Renamed to ...
27558         (LDLIBS-tst-chk6): This.
27559         (LDFLAGS-tst-lfschk4): Renamed to ...
27560         (LDLIBS-tst-lfschk4): This.
27561         (LDFLAGS-tst-lfschk5): Renamed to ...
27562         (LDLIBS-tst-lfschk5): This.
27563         (LDFLAGS-tst-lfschk6): Renamed to ...
27564         (LDLIBS-tst-lfschk6): This.
27566         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27567         on $(common-objpfx)soversions.mk.
27569 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27571         [BZ #10014]
27572         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27573         example host name.
27575 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27577         * malloc/arena.c (arena_get_retry): New function that gets
27578         another arena for the caller to try its request on.
27579         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27580         current arena cannot fulfill the request.
27581         (__libc_memalign): Likewise.
27582         (__libc_memalign): Likewise.
27583         (__libc_pvalloc): Likewise.
27584         (__libc_calloc): Likewise.
27586 2012-09-05  John Tobey  <john.tobey@gmail.com>
27588         [BZ #13542]
27589         * manual/arith.texi (Operations on Complex): Fix description
27590         of carg branch cut.
27592 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27594         [BZ #10014]
27595         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27596         host name.
27598         [BZ #10038]
27599         * manual/memory.texi (Memory): Make order of menu items match
27600         order of sections.
27602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27604         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27605         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27606         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27608 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27610         * csu/libc-tls.c (static_dtv): Renamed to ...
27611         (_dl_static_dtv): This.  Make it global.
27612         (_dl_initial_dtv): Removed.
27613         (__libc_setup_tls): Updated.
27614         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27615         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27616         DL_INITIAL_DTV.
27618 2012-09-06  Petr Machata  <pmachata@redhat.com>
27620         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27621         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27622         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27623         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27625 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27627         [BZ #14545]
27628         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27629         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27630         freeing dtv[-1].
27632 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27634         [BZ #14544]
27635         * Makeconfig (link-static-before-libc): Replace $(+prector)
27636         with $(+prectorT).
27637         (link-static-after-libc): Replace $(+postctor) with
27638         $(+postctorT).
27639         (link-bounded): Replace $(+prector)/$(+postctor) with
27640         $(+prectorT)/$(+postctorT).
27641         (+prectorT): New macro.
27642         (+postctorT): Likewise.
27644 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27646         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27647         (round_str): Handle values above the maximum for IBM long double
27648         as inexact.
27649         * stdlib/tst-strtod-round.c (tests): Regenerated.
27651 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27653         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27654         assembler flag.
27655         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27656         zarch_nohighgprs around the zarch optimized routines.
27657         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27658         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27659         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27660         for zarch.
27662 2012-09-05  David S. Miller  <davem@davemloft.net>
27664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27666         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27667         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27668         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27669         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27670         entries.
27672 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27674         * malloc/arena.c: Fold copyright years.
27675         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27677 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27679         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27681 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27683         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27688         change internal state upon failure.
27690 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27692         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27693         * malloc/memusage.c (mmap): Likewise.
27694         (mmap64, mremap): Likewise.  Adjust name in comment.
27696 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27698         * libio/fileops.c: Fix typos in comments.
27699         * libio/oldfileops.c: Likewise.
27700         * libio/wfileops.c: Likewise.
27702 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27704         [BZ #1349]
27705         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27706         (tst-malloc-usable-ENV): Set environment for test case.
27707         * malloc/hooks.c (malloc_check_get_size): New function to get
27708         requested size.
27709         * malloc/malloc.c (musable): Use malloc_check_get_size.
27710         * malloc/tst-malloc-usable.c: New test case.
27712 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27714         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27716 2012-09-05  Allan McRae  <allan@archlinux.org>
27718         [BZ #13966]
27719         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27720         determine header location.
27721         * configure: Regenerated.
27723 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27725         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27726         float format.
27727         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27728         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27729         format.
27730         (test): Regenerate.
27732 2012-09-04  David S. Miller  <davem@davemloft.net>
27734         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27735         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27736         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27738 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27740         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27741         failures.
27743         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27745 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27747         [BZ #9914]
27748         * libio/iogetdelim.c: Include <limits.h>.
27749         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27750         + len + 1 would overflow.
27752 2012-09-03  Andreas Jaeger  <aj@suse.de>
27754         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27755         * sysdeps/i386/fpu/libm-test-ulps: Update.
27757 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27759         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27760         Add s_sinf-sse2, s_conf-sse2.
27762         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27763         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27764         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27765         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27767         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27768         for using routine as __sinf_ia32.
27769         Use macro for function declaration and weak_alias.
27770         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27771         for using routine as __cosf_ia32.
27772         Use macro for function declaration and weak_alias.
27774         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27775         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27777         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27778         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27781         * math/libm-test.inc (cos_test): Add more test cases.
27782         (sin_test): Likewise.
27783         (sincos_test): Likewise.
27785 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27787         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27788         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27789         hidden.
27790         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27792 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27794         [BZ #14538]
27795         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27796         first element of the GOT.
27797         (elf_machine_load_address): Return the difference between
27798         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27800 2012-09-01  Allan McRae  <allan@archlinux.org>
27802         [BZ #13412]
27803         * configure.in (AWK): Require gawk version 3.0 or later.
27804         * configure: Regenerated.
27806 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27808         * sysdeps/unix/sysv/linux/kernel-features.h
27809         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27810         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27811         [__NR_clock_getres]: Make code unconditional.
27812         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27813         (clock_getcpuclockid): Remove code left unreachable by removal of
27814         conditionals.
27815         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27816         code unconditional.
27817         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27818         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27819         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27820         Make code unconditional.
27821         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27822         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27823         * sysdeps/unix/sysv/linux/clock_settime.c
27824         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27825         conditional code.
27826         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27827         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27829 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27831         [BZ #14476]
27832         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27833         scripts/test-installation.pl.
27835         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27836         and $ld_so_version if it is set.
27838 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27840         [BZ #14516]
27841         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27842         failure if reading from procfs failed.
27843         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27845 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27847         * sysdeps/unix/sysv/linux/kernel-features.h
27848         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27849         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27850         Remove conditional code.
27851         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27852         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27853         Remove conditional code.
27854         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27855         * sysdeps/unix/sysv/linux/i386/fxstat.c
27856         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27857         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27858         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27859         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27860         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27861         * sysdeps/unix/sysv/linux/i386/lxstat.c
27862         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27863         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27864         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27865         Remove conditional code.
27866         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27867         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27868         Remove conditional code.
27869         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27870         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27871         <kernel-features.h>.
27872         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27873         Remove.
27874         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27875         Remove conditional code.
27876         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27877         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27878         Remove conditional.
27880 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27882         [BZ #5400]
27883         * NEWS: Add fixed bug number.
27885 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27887         [BZ #14519]
27888         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27889         underflowing exponent in case of negative sign.
27890         * stdlib/tst-strtod-round-data: Add more tests.
27891         * stdlib/tst-strtod-round.c (tests): Regenerated.
27893         [BZ #3479]
27894         * stdlib/strtod_l.c (NDIG): Remove.
27895         (HEXNDIG): Likewise.
27896         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27897         smallest representable value.
27898         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27899         lie within an exact representation of 1/2 ulp of the result.
27900         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27901         unconditionally.
27902         (TENS_P9_IDX): Define unconditionally.
27903         (TENS_P9_SIZE): Likewise.
27904         (TENS_P10_IDX): Likewise.
27905         (TENS_P10_SIZE): Likewise.
27906         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27907         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27908         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27909         entries for 10^2^13 and 10^2^14.
27910         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27911         (TENS_P13_IDX): Define.
27912         (TENS_P13_SIZE): Likewise.
27913         (TENS_P14_IDX): Likewise.
27914         (TENS_P14_SIZE): Likewise.
27915         (_fpioconst_pow10): Change array size to
27916         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27917         unconditional.
27918         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27919         1024]: Add entries for 10^2^13 and 10^2^14.
27920         [LAST_POW10 > _LAST_POW10]: Remove #error.
27921         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27922         (_fpioconst_pow10): Change array size to
27923         FPIOCONST_POW10_ARRAY_SIZE.
27924         * stdlib/gen-fpioconst.c: New file.
27925         * stdlib/gen-tst-strtod-round.c: Likewise.
27926         * stdlib/tst-strtod-round-data: Likewise.
27927         * stdlib/tst-strtod-round.c: Likewise.
27928         * stdlib/Makefile (tests): Add tst-strtod-round.
27930         [BZ #14459]
27931         * stdlib/strtod_l.c: Include <stdint.h>.
27932         (NDEBUG): Do not define.
27933         (round_and_return): Change EXPONENT parameter to type intmax_t.
27934         Rearrange calculations to avoid internal overflow possibilities.
27935         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
27936         Rearrange calculations to avoid internal overflow possibilities.
27937         Assert that number fits inside MPNSIZE limbs.
27938         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
27939         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
27940         calculations and add assertions to avoid internal overflow
27941         possibilities.  Add casts to avoid signed/unsigned operations.
27942         * stdlib/tst-strtod-overflow.c: New file.
27943         * stdlib/Makefile (tests): Add tst-strtod-overflow.
27945 2012-08-25  Marek Polacek  <polacek@redhat.com>
27947         * time/time.h: Fix some typos in comments.
27949 2012-08-23  Roland McGrath  <roland@hack.frob.com>
27951         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
27952         * posix/tst-rfc3484-2.c: Likewise.
27953         * posix/tst-rfc3484-3.c: Likewise.
27955 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
27957         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
27958         (EF_ARM_ABI_FLOAT_HARD): Likewise.
27960 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
27962         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
27963         #include of fxstatat64.c.
27965 2012-08-22  Roland McGrath  <roland@hack.frob.com>
27967         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
27968         * shadow/getspent_r.c: Likewise.
27969         * shadow/getspnam.c: Likewise.
27970         * shadow/getspnam_r.c: Likewise.
27971         * gshadow/getsgent.c: Likewise.
27972         * gshadow/getsgent_r.c: Likewise.
27973         * gshadow/getsgnam.c: Likewise.
27974         * gshadow/getsgnam_r.c: Likewise.
27975         * inet/getnetbyad.c: Likewise.
27976         * inet/getnetbyad_r.c: Likewise.
27977         * inet/getnetbynm.c: Likewise.
27978         * inet/getnetbynm_r.c: Likewise.
27979         * inet/getnetent.c: Likewise.
27980         * inet/getnetent_r.c: Likewise.
27981         * inet/getproto.c: Likewise.
27982         * inet/getproto_r.c: Likewise.
27983         * inet/getprtent.c: Likewise.
27984         * inet/getprtent_r.c: Likewise.
27985         * inet/getprtname.c: Likewise.
27986         * inet/getprtname_r.c: Likewise.
27987         * inet/getrpcbyname.c: Likewise.
27988         * inet/getrpcbyname_r.c: Likewise.
27989         * inet/getrpcbynumber.c: Likewise.
27990         * inet/getrpcbynumber_r.c: Likewise.
27991         * inet/getrpcent.c: Likewise.
27992         * inet/getrpcent_r.c: Likewise.
27993         * inet/getaliasent.c: Likewise.
27994         * inet/getaliasent_r.c: Likewise.
27995         * inet/getaliasname.c: Likewise.
27996         * inet/getaliasname_r.c: Likewise.
27997         * nscd/getgrgid_r.c: Likewise.
27998         * nscd/getgrnam_r.c: Likewise.
27999         * nscd/gethstbyad_r.c: Likewise.
28000         * nscd/gethstbynm3_r.c: Likewise.
28001         * nscd/getpwnam_r.c: Likewise.
28002         * nscd/getpwuid_r.c: Likewise.
28003         * nscd/getsrvbynm_r.c: Likewise.
28004         * nscd/getsrvbypt_r.c: Likewise.
28005         * nscd/gai.c: Likewise.
28007         * configure.in (build_nscd): New substituted variable, set
28008         by --disable-build-nscd and defaults to $use_nscd.
28009         * configure: Regenerated.
28010         * config.make.in (build-nscd): New substituted variable.
28011         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28012         Change conditional to require [$(build-nscd) = yes] as well.
28013         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28015         [BZ# 13696]
28016         * configure.in (use_nscd): New substituted variable, set by
28017         --disable-nscd.  If enabled, define USE_NSCD.
28018         * configure: Regenerated.
28019         * config.h.in: Add USE_NSCD.
28020         * config.make.in (use-nscd): New substituted variable.
28021         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28022         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28023         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28024         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28025         (CFLAGS-getgrnam_r.c): Likewise.
28026         (CFLAGS-initgroups.c): Likewise.
28027         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28028         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28029         Variables removed.
28030         * inet/getnetgrent_r.c
28031         (nscd_setnetgrent): New function, broken out of ...
28032         (setnetgrent): ... here.  Call it.
28033         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28034         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28035         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28036         * nscd/Makefile (routines, aux): Move definitions after include of
28037         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28038         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28039         Conditionalize on [USE_NSCD].
28040         (is_nscd, nscd_init_cb): Likewise.
28041         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28042         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28043         * nss/nss_db/db-init.c: Likewise.
28044         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28045         [USE_NSCD].
28046         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28047         (make_request): Use it.
28048         (cache_valid_p): New function.
28049         (__check_pf): Use it.
28050         * NEWS: Add item for --disable-nscd.
28052 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28054         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28055         to support sed >= 4.2.1-20-ga9bf076.
28056         * configure: Regenerated.
28058 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28060         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28061         Conditionalize whole body on [IREL].
28063 2012-08-22  Jeff Law <law@redhat.com>
28065         [BZ #14505]
28066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28067         if the family is PF_UNSPEC.
28069 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28071         * Makerules (lib-version): Rename from V.
28072         (install-lib-nosubdir): Change V to lib-version.
28074 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28076         [BZ #14252]
28077         * powerpc32/power6/wcschr.c: New file.
28078         * powerpc32/power6/wcscpy.c: New file.
28079         * powerpc32/power6/wcsrchr.c: New file.
28080         * powerpc64/power6/wcschr.c: New file.
28081         * powerpc64/power6/wcscpy.c: New file.
28082         * powerpc64/power6/wcsrchr.c: New file.
28084 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28086         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28087         (two_way_short_needle): Use it.
28088         * string/strstr.c (AVAILABLE1_USES_J): Define.
28089         * string/strcasestr.c: Likewise.
28091         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28092         array references.
28093         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28095         [BZ #11607]
28096         * NEWS: Add an entry.
28097         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28098         define their defaults.
28099         (two_way_short_needle): Detect end-of-string on-the-fly.
28100         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28101         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28102         * string/bug-strcasestr1.c: New test.
28103         * string/Makefile: Run it.
28105 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28107         [BZ #11607]
28108         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28109         the first character.
28111 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28113         * csu/elf-init.c (__libc_csu_irel): Function removed.
28114         * csu/libc-start.c (apply_irel): New function.
28115         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28117 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28119         * sysdeps/unix/sysv/linux/kernel-features.h
28120         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28121         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28122         <kernel-features.h>.
28123         [__NR_fadvise64_64]: Make code unconditional.
28124         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28125         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28126         !__NR_fadvise64_64)]: Likewise.
28127         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28128         !__NR_fadvise64_64))]: Likewise.
28129         [__NR_fadvise64]: Make code unconditional.
28130         [!__NR_fadvise64]: Remove conditional code.
28131         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28132         <kernel-features.h>.
28133         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28134         unconditional.
28135         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28136         conditional code.
28137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28138         not include <kernel-features.h>.
28139         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28140         unconditional.
28141         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28142         conditional code.
28143         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28144         include <kernel-features.h>.
28145         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28146         unconditional.
28147         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28148         conditional code.
28150 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28152         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28153         slight instruction rearrangements per scrollpipe analysis.
28154         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28156 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28158         * manual/syslog.texi (syslog; vsyslog, closelog):
28159         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28160         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28162         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28163         DSOCAPS to match condition on defining it.
28165 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28167         * sysdeps/unix/sysv/linux/kernel-features.h
28168         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28170         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28171         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28173         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28174         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28176         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28177         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28179         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28180         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28182         * sysdeps/unix/sysv/linux/kernel-features.h
28183         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28184         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28185         unconditional.
28186         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28187         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28188         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28189         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28190         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28191         Make code unconditional.
28192         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28193         (__mmap64) [!__NR_mmap2]: Likewise.
28194         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28195         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28196         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28197         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28198         [__NR_mmap2]: Make code unconditional.
28199         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28200         (__mmap64) [!__NR_mmap2]: Likewise.
28202 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28204         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28206 2012-08-18  Andreas Jaeger  <aj@suse.de>
28208         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28210 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28212         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28213         * include/unistd.h (__have_sock_cloexec): Likewise.
28214         (__have_pipe2): Likewise.
28215         (__have_dup3): Likewise.
28217 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28219         [BZ #9685]
28220         * include/unistd.h (__have_pipe2): Change define into an extern int.
28221         (__have_dup3): Likewise.
28222         * socket/have_sock_cloexec.c: Include fcntl.h.
28223         (__have_pipe2): New variable.
28224         (__have_dup3): Likewise.
28226 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28228         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28230 2012-08-17  Marek Polacek  <polacek@redhat.com>
28232         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28233         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28235 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28237         * configure.in: Add AC_SUBST for sysheaders.
28238         * configure: Regenerated.
28239         * config.make.in (sysheaders): New substituted variable.
28241         * sysdeps/unix/mkfifo.c: Moved ...
28242         * sysdeps/posix/mkfifo.c: ... here.
28243         * sysdeps/unix/mkfifoat.c: Moved ...
28244         * sysdeps/posix/mkfifoat.c: ... here.
28246         * sysdeps/unix/utime.c: Moved ...
28247         * sysdeps/posix/utime.c: ... here.
28249         * sysdeps/unix/time.c: Moved ...
28250         * sysdeps/posix/time.c: ... here.
28251         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28252         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28254         * sysdeps/unix/nice.c: Moved ...
28255         * sysdeps/posix/nice.c: ... here.
28257         * sysdeps/unix/alarm.c: Moved ...
28258         * sysdeps/posix/alarm.c: ... here.
28260         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28262 2012-08-17  Jeff Law <law@redhat.com>
28264         * intl/Makefile (codeset_mo): New variable.
28265         ($(codeset_mo)): New target.
28266         (tst-codeset.out): Depend on that.  Remove explicit rule.
28267         (tst-gettext3.out, tst-gettext5.out): Likewise.
28268         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28269         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28270         * intl/tst-codeset.sh: Remove.
28271         * intl/tst-gettext3.sh: Likewise.
28272         * intl/tst-gettext5.sh: Likewise.
28274 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28276         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28277         * sysdeps/unix/syscalls.list: ... here.
28279         * sysdeps/posix/getaddrinfo.c
28280         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28281         (gaiconf_init, gaiconf_reload): Use them.
28282         [!_STATBUF_ST_NSEC]
28283         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28284         Define using time_t rather than struct timespec.
28286         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28287         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28288         Macros removed.
28289         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28290         [!NO_THREADS].
28291         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28292         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28293         Likewise.
28295         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28296         __libc_cleanup_push argument.
28298         * bits/param.h: New file.
28299         * misc/sys/param.h: New file.
28300         * include/sys/param.h: New file.
28301         * misc/Makefile (headers): Add bits/param.h.
28302         * sysdeps/generic/sys/param.h: File removed.
28303         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28304         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28305         * sysdeps/mach/hurd/bits/param.h: New file.
28306         * sysdeps/mach/hurd/sys/param.h: File removed.
28308         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28309         last change.
28311         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28312         [_IO_MTSAFE_IO].
28313         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28314         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28315         New macros.
28317         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28318         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28319         rather than -D_IO_MTSAFE_IO conditionally.
28320         * stdio-common/Makefile (CPPFLAGS): Likewise.
28321         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28322         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28323         Use $(libio-mtsafe).
28324         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28325         of -D_IO_MTSAFE_IO.
28326         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28327         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28328         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28329         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28330         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28331         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28332         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28333         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28334         (CFLAGS-fread_u_chk.c): Likewise.
28335         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28336         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28337         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28338         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28339         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28340         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28341         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28342         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28343         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28345         * libio/Makefile: Test [$(libc-reentrant) = yes]
28346         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28348         * Makeconfig
28349         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28350         * sysdeps/pthread/configure: File removed.
28351         * sysdeps/pthread/Makeconfig: New file.
28352         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28353         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28355 2012-08-16  Gary Benson  <gbenson@redhat.com>
28357         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28358         unmapping the first object in a namespace.
28360 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28362         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28363         (__internal_setnetgrent): ... this.  Add internal_function to
28364         definition.  Add libc_hidden_def.
28365         (setnetgrent): Update caller.
28366         (internal_endnetgrent): Renamed to ...
28367         (__internal_endnetgrent): ... this.  Add internal_function to
28368         definition.  Add libc_hidden_def.
28369         (endnetgrent): Update caller.
28370         (internal_getnetgrent_r): Renamed to ...
28371         (__internal_getnetgrent_r): ... this.  Add internal_function to
28372         definition.  Add libc_hidden_def.
28373         (__getnetgrent_r): Update caller.
28374         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28376 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28378         * stdlib/longlong.h: Update from GCC.
28380 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28382         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28383         on _QL, which is set by umul_ppmm but never used.
28384         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28385         variables, which are set by GMP macros but never used.
28386         * stdio-common/_itowa.c (_itowa): Likewise.
28387         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28388         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28390 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28392         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28393         struct La_sh_regs is not constant.
28394         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28395         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28396         and struct La_sparc64_regs are not constant.
28398 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28400         * sysdeps/unix/sysv/linux/kernel-features.h
28401         (__ASSUME_POSIX_TIMERS): Remove.
28402         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28403         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28404         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28405         Make code unconditional.
28406         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28407         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28408         Make code unconditional.
28409         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28410         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28411         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28412         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28413         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28414         Make code unconditional.
28415         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28416         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28417         (__libc_missing_posix_timers): Remove.
28419 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28421         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28422         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28424         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28426         * elf/dl-sym.c: Include <stdlib.h>.
28428         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28429         constants, which avoids warnings in 32-bit builds.
28431         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28432         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28434         * misc/lseek.c: File moved to ...
28435         * io/lseek.c: ... here.
28437         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28439         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28440         shifting LEN more than 31 bits at once.
28442 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28444         [BZ #14195]
28445         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28446         segmentation fault for a case of two empty input strings.
28447         * string/test-strncasecmp.c (check1): Renamed to...
28448         (bz12205): ...this.
28449         (bz14195): Add new testcase for two empty input strings and N > 0.
28450         (test_main): Call new testcase, adapt for renamed function.
28452 2012-08-15  Andreas Jaeger  <aj@suse.de>
28454         [BZ #14090]
28455         * crypt/md5test2.c: New test, based on test supplied by Serge
28456         Belyshev <belyshev@depni.sinp.msu.ru>.
28457         * crypt/Makefile (xtests): Add md5test-giant..
28458         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28460 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28462         [BZ #14090]
28463         * crypt/md5.c (md5_process_block): Don't assume the buffer
28464         length is less than 2**32.
28465         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28466         length is less than 2**64.
28468 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28470         * string/str-two-way.h: Include <sys/param.h>.
28471         (MAX): Macro removed.
28473         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28474         Move #define and #undef of memmove to just before and after
28475         including <string.h>.
28477         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28478         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28479         and after including <string.h>.  Move declarations of
28480         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28481         to before #include "string/memmove.c".
28483         * include/dirent.h: Declare __getdirentries.
28485         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28486         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28488 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28490         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28491         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28492         * sysdeps/i386/configure: Regenerated.
28493         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28494         STABS_CURRENT_FILE, and STABS_FUN.
28495         (END): Remove call to STABS_FUN_END.
28496         (STABS_CURRENT_FILE1): Delete.
28497         (STABS_CURRENT_FILE): Likewise.
28498         (STABS_FUN): Likewise.
28499         (STABS_FUN_END): Likewise.
28500         (STABS_FUN2): Likewise.
28501         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28502         * sysdeps/x86_64/configure: Regenerated.
28504 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28506         * elf/dl-open.c: Include <atomic.h>.
28507         * elf/dl-lookup.c: Likewise.
28509 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28511         * sysdeps/unix/sysv/linux/kernel-features.h
28512         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28513         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28514         unconditionally.
28515         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28516         unconditionally.
28517         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28518         condition on __ASSUME_CLONE_THREAD_FLAGS.
28520 2012-08-14  Andreas Jaeger  <aj@suse.de>
28522         * sysdeps/i386/fpu/libm-test-ulps: Update.
28524 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28526         * include/atomic.h (atomic_exchange_and_add): Split into ...
28527         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28528         New atomic macros.
28530 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28532         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28534 2012-08-13  Jeff Law <law@redhat.com>
28536         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28537         null byte in the output string.
28539 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28541         * sysdeps/unix/sysv/linux/kernel-features.h
28542         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28543         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28544         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28545         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28546         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28547         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28548         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28550 2012-08-09  Jeff Law <law@redhat.com>
28552         [BZ #13939]
28553         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28554         When avoid_arena is set, don't retry in the that arena.  Pick the
28555         next one, whatever it might be.
28556         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28557         (arena_lock): Pass in new parameter to arena_get2.
28558         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28559         arena_get2.
28560         (__libc_malloc): Unify retrying after main arena failure with
28561         __libc_memalign version.
28562         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28564 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28566         [BZ #14166]
28567         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28568         to __redirect_strstr.
28569         (__strstr_sse42): Use typeof __redirect_strstr.
28570         (__strstr_ia32): Likewise.
28571         (__libc_strstr): New prototype.
28572         (strstr): Renamed to ...
28573         (__libc_strstr): This.
28574         (strstr): New strong alias of __libc_strstr.
28575         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28576         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28577         __redirect_time.
28578         Include <time.h>.
28579         (__libc_time): New prototype.
28580         (time_ifunc): Replace time with __libc_time.
28581         (time): New strong alias and hidden definition of __libc_time.
28582         (__GI_time): Remove strong alias.
28583         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28584         Include <stddef.h>.
28585         (memmove): Redefined to __redirect_memmove.
28586         (__memmove_sse2): Use typeof __redirect_memmove.
28587         (__memmove_ssse3): Likewise.
28588         (__memmove_ssse3_back): Likewise.
28589         (__libc_memmove): New prototype.
28590         (memmove): Renamed to ...
28591         (__libc_memmove): This.
28592         (memmove): New strong alias of __libc_memmove.
28594 2012-08-08  Mark Salter  <msalter@redhat.com>
28596         * elf/elf.h
28597         (R_MN10300_TLS_GD): Define.
28598         (R_MN10300_TLS_LD): Likewise.
28599         (R_MN10300_TLS_LDO): Likewise.
28600         (R_MN10300_TLS_GOTIE): Likewise.
28601         (R_MN10300_TLS_IE): Likewise.
28602         (R_MN10300_TLS_LE): Likewise.
28603         (R_MN10300_TLS_DTPMOD): Likewise.
28604         (R_MN10300_TLS_DTPOFF): Likewise.
28605         (R_MN10300_TLS_TPOFF): Likewise.
28606         (R_MN10300_SYM_DIFF): Likewise.
28607         (R_MN10300_ALIGN): Likewise.
28608         (R_MN10300_NUM): Update.
28610 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28613         Remove.
28615 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28617         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28619         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28620         sysdeps/unix -> sysdeps/posix move.
28621         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28623 2012-08-07      Allan McRae     <allan@archlinux.org>
28625         [BZ #14303]
28626         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28627         (SUNOS_CPP): Likewise.
28628         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28629         not found.
28630         (open_input): Call CPP using execvp.
28632 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28634         * sysdeps/unix/sysv/linux/kernel-features.h
28635         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28636         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28637         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28638         (__ASSUME_WAITID_SYSCALL): Likewise.
28639         * sysdeps/unix/sysv/linux/dl-execstack.c
28640         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28641         code unconditional.
28642         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28643         conditional code.
28644         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28645         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28646         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28647         code.
28648         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28649         unconditional.
28650         [__ASSUME_WAITID_SYSCALL]: Likewise.
28651         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28653 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28655         * sysdeps/unix/closedir.c: Renamed to ...
28656         * sysdeps/posix/closedir.c: ... here.
28657         * sysdeps/unix/dirfd.c: Renamed to ...
28658         * sysdeps/posix/dirfd.c: ... here.
28659         * sysdeps/unix/dirstream.h: Renamed to ...
28660         * sysdeps/posix/dirstream.h: ... here.
28661         * sysdeps/unix/fdopendir.c: Renamed to ...
28662         * sysdeps/posix/fdopendir.c: ... here.
28663         * sysdeps/unix/opendir.c: Renamed to ...
28664         * sysdeps/posix/opendir.c: ... here.
28665         * sysdeps/unix/readdir.c: Renamed to ...
28666         * sysdeps/posix/readdir.c: ... here.
28667         * sysdeps/unix/readdir_r.c: Renamed to ...
28668         * sysdeps/posix/readdir_r.c: ... here.
28669         * sysdeps/unix/rewinddir.c: Renamed to ...
28670         * sysdeps/posix/rewinddir.c: ... here.
28671         * sysdeps/unix/seekdir.c: Renamed to ...
28672         * sysdeps/posix/seekdir.c: ... here.
28673         * sysdeps/unix/telldir.c: Renamed to ...
28674         * sysdeps/posix/telldir.c: ... here.
28675         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28676         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28677         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28678         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28680         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28681         * bits/fcntl.h: ... here.
28683         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28684         not 0.
28685         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28686         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28687         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28688         (struct flock): Move l_start, l_len to the beginning.
28689         Use __pid_t for l_pid.
28690         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28691         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28692         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28693         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28694         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28695         [__USE_LARGEFILE64] (struct flock64): New type.
28696         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28698         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28699         * bits/dirent.h: ... here.
28701         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28702         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28704 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28706         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28707         Change from 2.6.0 to 2.6.16.
28708         * sysdeps/unix/sysv/linux/configure: Regenerated.
28709         * sysdeps/unix/sysv/linux/kernel-features.h
28710         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28711         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28712         version.
28713         (__ASSUME_UTIMES): Likewise.
28714         (__ASSUME_CLONE_STOPPED): Remove.
28715         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28716         architectures, not kernel version.
28717         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28718         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28719         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28720         (__ASSUME_WAITID_SYSCALL): Likewise.
28721         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28722         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28723         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28724         refer to older versions.
28726 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28728         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28729         Define alphasort64 as an alias.
28730         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28731         Define versionsort64 as an alias.
28732         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28733         Define scandir64 as an alias.
28734         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28735         Define scandirat64 as an alias.
28736         * dirent/alphasort64.c (alphasort64):
28737         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28738         * dirent/versionsort64.c: Likewise.
28739         * dirent/scandir64.c: Likewise.
28740         * dirent/scandirat64.c: Likewise.
28741         * sysdeps/wordsize-64/alphasort.c: File removed.
28742         * sysdeps/wordsize-64/alphasort64.c: File removed.
28743         * sysdeps/wordsize-64/scandir.c: File removed.
28744         * sysdeps/wordsize-64/scandir64.c: File removed.
28745         * sysdeps/wordsize-64/scandirat.c: File removed.
28746         * sysdeps/wordsize-64/scandirat64.c: File removed.
28747         * sysdeps/wordsize-64/versionsort.c: File removed.
28748         * sysdeps/wordsize-64/versionsort64.c: File removed.
28749         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28750         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28751         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28752         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28753         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28754         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28755         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28756         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28758         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28760         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28761         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28762         [defined __arch64__ || defined __sparcv9]
28763         (__INO_T_MATCHES_INO64_T): New macro.
28764         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28765         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28766         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28767         * sysdeps/unix/sysv/linux/bits/dirent.h
28768         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28769         (_DIRENT_MATCHES_DIRENT64): New macro.
28771         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28772         Define lockf64 as an alias.
28773         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28774         Define fseeko64 as an alias.
28775         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28776         Define ftello64 as an alias.
28777         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28778         Define _IO_fgetpos64 and fgetpos64 as aliases.
28779         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28780         Define _IO_fsetpos64 and fsetpos64 as aliases.
28781         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28782         Conditionalize body on this.
28783         * libio/fseeko64.c: Likewise.
28784         * libio/ftello64.c: Likewise.
28785         * libio/iofgetpos64.c: Likewise.
28786         * libio/iofsetpos64.c: Likewise.
28787         * sysdeps/wordsize-64/lockf.c: File removed.
28788         * sysdeps/wordsize-64/lockf64.c: File removed.
28789         * sysdeps/wordsize-64/fseeko.c: File removed.
28790         * sysdeps/wordsize-64/fseeko64.c: File removed.
28791         * sysdeps/wordsize-64/ftello.c: File removed.
28792         * sysdeps/wordsize-64/ftello64.c: File removed.
28793         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28794         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28795         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28796         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28797         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28798         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28799         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28800         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28801         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28802         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28803         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28804         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28805         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28806         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28808         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28809         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28810         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28811         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28812         [defined __arch64__ || defined __sparcv9]
28813         (__OFF_T_MATCHES_OFF64_T): New macro.
28814         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28815         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28816         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28817         (__OFF_T_MATCHES_OFF64_T): New macro.
28819 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28821         * stdlib/secure-getenv.c (__secure_getenv): Replace
28822         GLIBC_2_16 with GLIBC_2_17.
28824 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28826         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28827         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28829 2012-08-03  David S. Miller  <davem@davemloft.net>
28831         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28833 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28835         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28836         Remove.
28837         (__ASSUME_CORRECT_SI_PID): Likewise.
28838         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28839         (__ASSUME_TMPFS_NAME): Likewise.
28840         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28841         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28842         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28843         (HAVE_AUX_SECURE): Make definition unconditional.
28844         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28845         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28847 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28849         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28850         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28851         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28852         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28853         __eloop_threshold instead of SYMLOOP_MAX.
28855         * sysdeps/generic/eloop-threshold.h: New file.
28856         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28857         of MAXSYMLINKS.
28858         * elf/chroot_canon.c (chroot_canon): Likewise.
28860 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28862         [BZ #13717]
28863         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28864         Change to 2.6.0 everywhere.
28865         * sysdeps/unix/sysv/linux/configure: Regenerated.
28866         * sysdeps/unix/sysv/linux/kernel-features.h
28867         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28868         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28869         kernel versions.
28870         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28871         (__ASSUME_FUTEX_REQUEUE): Remove.
28872         (__ASSUME_STATFS64): Define unconditionally.
28873         (__ASSUME_AT_SECURE): Likewise.
28874         (__ASSUME_CORRECT_SI_PID): Likewise.
28875         (__ASSUME_TGKILL): Define without depending on kernel version for
28876         i386.
28877         (__ASSUME_UTIMES): Likewise.
28878         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28879         kernel version.
28880         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28881         (__ASSUME_TMPFS_NAME): Likewise.
28882         * README: Update reference to Linux kernel versions.
28884 2012-08-02  Marek Polacek  <polacek@redhat.com>
28886         [BZ# 14150]
28887         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28888         libc_cv_asm_type_prefix with %.
28889         * configure: Regenerated.
28890         * include/libc-symbols.h: Remove comment about
28891         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28892         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28893         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28894         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28895         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28896         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28897         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28898         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28899         * elf/tst-unique2mod1.c: Likewise.
28900         * elf/tst-unique1mod2.c: Likewise.
28901         * elf/tst-unique1mod1.c: Likewise.
28902         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28903         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28904         Replace ASM_TYPE_DIRECTIVE with .type.
28905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28906         * sysdeps/i386/sysdep.h: Likewise.
28907         * sysdeps/x86_64/sysdep.h: Likewise.
28908         * sysdeps/sh/sysdep.h: Likewise.
28909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28910         Do not define ASM_TYPE_DIRECTIVE.
28911         * sysdeps/powerpc/sysdep.h: Likewise.
28912         * sysdeps/powerpc/powerpc32/sysdep.h:
28913         Replace ASM_TYPE_DIRECTIVE with .type.
28914         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28915         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28916         * sysdeps/i386/fpu/e_powf.S: Likewise.
28917         * sysdeps/i386/fpu/e_expl.S: Likewise.
28918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28919         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28920         * sysdeps/i386/fpu/e_pow.S: Likewise.
28921         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28922         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28923         * sysdeps/i386/fpu/s_expm1.S: Likewise.
28924         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28925         * sysdeps/i386/fpu/e_log2.S: Likewise.
28926         * sysdeps/i386/fpu/e_log2l.S: Likewise.
28927         * sysdeps/i386/fpu/e_scalb.S: Likewise.
28928         * sysdeps/i386/fpu/e_powl.S: Likewise.
28929         * sysdeps/i386/fpu/e_log10f.S: Likewise.
28930         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28931         * sysdeps/i386/fpu/e_logl.S: Likewise.
28932         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28933         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28934         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28935         * sysdeps/i386/fpu/e_log2f.S: Likewise.
28936         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28937         * sysdeps/i386/fpu/e_log.S: Likewise.
28938         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28939         * sysdeps/i386/fpu/e_logf.S: Likewise.
28940         * sysdeps/i386/fpu/e_log10l.S: Likewise.
28941         * sysdeps/i386/fpu/e_atanh.S: Likewise.
28942         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28943         * sysdeps/i386/fpu/e_log10.S: Likewise.
28944         * sysdeps/i386/fpu/s_frexp.S: Likewise.
28945         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28946         * sysdeps/i386/fpu/s_asinh.S: Likewise.
28947         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28948         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28949         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
28950         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28951         * sysdeps/i386/i686/strtok.S: Likewise.
28952         * sysdeps/i386/i386-mcount.S: Likewise.
28953         * sysdeps/i386/strtok.S: Likewise.
28954         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
28955         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28956         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28958         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
28959         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28960         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28961         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28962         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28963         * sysdeps/x86_64/_mcount.S: Likewise.
28964         * sysdeps/x86_64/strtok.S: Likewise.
28965         * sysdeps/sh/_mcount.S: Likewise.
28967 2012-08-01  Roland McGrath  <roland@hack.frob.com>
28969         * libio/iofopen.c: Include <fcntl.h>.
28970         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
28971         (_IO_fopen64, fopen64): Define as aliases.
28972         * libio/iofopen64.c: Include <fcntl.h>.
28973         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
28974         Conditionalize body on this.
28975         * sysdeps/wordsize-64/iofopen.c: File removed.
28976         * sysdeps/wordsize-64/iofopen64.c: File removed.
28978 2012-08-01  Marek Polacek  <polacek@redhat.com>
28980         * libc/Makeconfig: Use elf in place of binfmt-subdir.
28981         Use dlfcn directly instead of a variable.
28982         (binfmt-subdir): Do not define.
28983         (dlfcn): Likewise.
28985 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
28987         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
28988         Remove all definitions.
28989         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
28990         <kernel-features.h>.
28991         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
28992         (miss_F_GETOWN_EX): Remove all definitions.
28993         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28994         macro definition.
28995         [!__ASSUME_FCNTL64]: Remove conditional code.
28996         [__ASSUME_FCNTL64]: Make code unconditional.
28997         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
28998         <kernel-features.h>.
28999         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29000         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29001         (lockf64) [__NR_fcntl64]: Make code unconditional.
29002         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29004         * sysdeps/unix/sysv/linux/kernel-features.h
29005         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29006         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29007         Make code unconditional.
29008         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29009         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29011         [__NR_vfork]: Make code unconditional.
29012         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29013         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29015         [__NR_vfork]: Make code unconditional.
29016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29019 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29021         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29022         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29024         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29025         Define mkstemp64 as an alias.
29026         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29027         Define mkstemps64 as an alias.
29028         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29029         Define mkostemp64 as an alias.
29030         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29031         Define mkostemps64 as an alias.
29032         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29033         Conditionalize body on this.
29034         * misc/mkostemp64.c: Likewise.
29035         * misc/mkostemps64.c: Likewise.
29036         * misc/mkstemps64.c: Likewise.
29037         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29038         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29039         * sysdeps/wordsize-64/mkostemp.c: File removed.
29040         * sysdeps/wordsize-64/mkstemp.c: File removed.
29041         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29042         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29044         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29046         [BZ #14138]
29047         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29048         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29049         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29050         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29052         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29053         compat_symbol macros from <shlib-compat.h> rather than the underlying
29054         default_symbol_version and symbol_version macros, so that DEFAULT
29055         lines in shlib-versions are respected.
29056         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29058 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29060         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29061         Declare with warn_unused_result.
29062         (setgid, setregid, setegid, setresgid): Likewise.
29063         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29064         Likewise.
29065         * WUR-REPORT: Remove set*id functions.
29067 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29069         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29071 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29073         [BZ #10191]
29074         * include/sys/socket.h (__libc_accept, __libc_accept4):
29075         Add attribute_hidden.
29076         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29078         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29079         use of PTR_MANGLE.
29080         * inet/getnetgrent_r.c (setup): Likewise.
29082         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29084 2012-07-31  David S. Miller  <davem@davemloft.net>
29086         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29088 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29090         [BZ #13629]
29091         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29092         value between 1.0 and 2.0 and smaller part has absolute value less
29093         than 1.0.
29094         * math/s_clog10.c (__clog10): Likewise.
29095         * math/s_clog10f.c (__clog10f): Likewise.
29096         * math/s_clog10l.c (__clog10l): Likewise.
29097         * math/s_clogf.c (__clogf): Likewise.
29098         * math/s_clogl.c (__clogl): Likewise.
29099         * math/libm-test.inc (clog_test): Add more tests.
29100         (clog10_test): Likewise.
29101         * sysdeps/i386/fpu/libm-test-ulps: Update.
29102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29104 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29106         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29107         Exit with zero in case no suitable GID is found, and write a
29108         message to standard error.
29110 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29112         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29113         rather than to 1.
29114         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29115         (MAXPATHLEN): Removed.
29116         (NOGROUP, NODEV): New macros.
29117         (setbit, clrbit, isset, isclr): New macros.
29118         (howmany, roundup, powerof2): New macros.
29119         (DEV_BSIZE): New macro.
29121         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29122         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29124         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29125         definition on [!__NO_LONG_DOUBLE_MATH].
29127         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29128         PTR_MANGLE and PTR_DEMANGLE.
29130         * socket/accept4.c (accept4): Rename to __libc_accept4.
29131         Define accept4 as a weak alias.
29133         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29134         on [_DIRENT_HAVE_D_TYPE].
29135         * io/ftw.c (ftw_dir): Likewise.
29137         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29139         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29141         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29142         Use the BSD numbers rather than the arbitrary ones we had.
29143         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29144         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29145         (SIGXCPU, SIGXFSZ): New macros.
29146         (_NSIG): Now 32.
29148         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29149         initializer on [_LIBC_REENTRANT].
29151         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29152         definitions inside [_POSIX_MAPPED_FILES].
29154         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29156         * dirent/opendir.c: Include <fcntl.h>.
29158         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29159         (__libc_getspecific): Likewise.
29160         (__libc_key_create): Likewise.
29162         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29163         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29164         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29165         (tmpfile64): Define as alias.
29166         * sysdeps/wordsize-64/tmpfile.c: File removed.
29167         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29168         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29169         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29171         * stdio-common/vfscanf.c: Include <stdbool.h>.
29172         * nss/makedb.c: Likewise.
29173         * stdio-common/_i18n_number.h: Likewise.
29174         * argp/argp-help.c: Likewise.
29175         * posix/wordexp.c: Likewise.
29176         * sysdeps/posix/spawni.c: Likewise.
29177         * nss/nss_files/files-initgroups.c: Likewise.
29178         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29179         * nss/nss_files/files-initgroups.c: Likewise.
29180         * nss/nss_db/db-netgrp.c: Likewise.
29181         * nss/nss_db/db-initgroups.c: Likewise.
29182         * io/fchmodat.c: Include <sys/stat.h>.
29184         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29185         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29187         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29188         [HAVE_MMAP].
29190         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29191         Add multiple inclusion protection.
29193 2012-07-27  David S. Miller  <davem@davemloft.net>
29195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29197 2012-07-27  Gary Benson  <gbenson@redhat.com>
29199         [BZ #14298]
29200         * elf/rtld.c: Include <stap-probe.h>.
29201         (dl_main): Added static probes "init_start" and "init_complete".
29202         * elf/dl-load.c: Include <stap-probe.h>.
29203         (lose): Take new parameter "nsid".
29204         Added static probe "map_failed".
29205         (_dl_map_object_from_fd): Pass namespace id to lose.
29206         Added static probe "map_start".
29207         (open_verify): Pass namespace id to lose.
29208         * elf/dl-open.c: Include <stap-probe.h>.
29209         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29210         and "reloc_complete".
29211         * elf/dl-close.c: Include <stap-probe.h>.
29212         (_dl_close_worker): Added static probes "unmap_start" and
29213         "unmap_complete".
29214         * elf/rtld-debugger-interface.txt: New file documenting the above.
29216 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29218         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29219         rather than a string variable.
29220         * sunrpc/rpc_main.c (h_output): Likewise.
29221         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29223 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29225         * inet/check_native.c: New file.
29227 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29229         [BZ #13629]
29230         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29231         if larger part has absolute value 1.0.
29232         * math/s_clog10.c (__clog10): Likewise.
29233         * math/s_clog10f.c (__clog10f): Likewise.
29234         * math/s_clog10l.c (__clog10l): Likewise.
29235         * math/s_clogf.c (__clogf): Likewise.
29236         * math/s_clogl.c (__clogl): Likewise.
29237         * math/libm-test.inc (clog_test): Add more tests.
29238         (clog10_test): Likewise.
29239         * sysdeps/i386/fpu/libm-test-ulps: Update.
29240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29242         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29243         (pltexit): Likewise.
29244         (La_regs): Likewise.
29245         (La_retval): Likewise.
29246         (int_retval): Likewise.
29247         Update #error for removed macros to refer only to definitions in
29248         tst-audit.h.
29249         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29250         macro.
29251         (pltexit): Likewise.
29252         (La_regs): Likewise.
29253         (La_retval): Likewise.
29254         (int_retval): Likewise.
29255         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29256         macro.
29257         (pltexit): Likewise.
29258         (La_regs): Likewise.
29259         (La_retval): Likewise.
29260         (int_retval): Likewise.
29261         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29262         macro.
29263         (pltexit): Likewise.
29264         (La_regs): Likewise.
29265         (La_retval): Likewise.
29266         (int_retval): Likewise.
29267         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29268         macro.
29269         (pltexit): Likewise.
29270         (La_regs): Likewise.
29271         (La_retval): Likewise.
29272         (int_retval): Likewise.
29273         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29274         macro.
29275         (pltexit): Likewise.
29276         (La_regs): Likewise.
29277         (La_retval): Likewise.
29278         (int_retval): Likewise.
29279         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29280         macro.
29281         (pltexit): Likewise.
29282         (La_regs): Likewise.
29283         (La_retval): Likewise.
29284         (int_retval): Likewise.
29285         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29286         macro definitions in tst-audit.h.
29287         * sysdeps/i386/tst-audit.h: New file.
29288         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29289         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29290         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29291         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29292         * sysdeps/sh/tst-audit.h: Likewise.
29293         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29294         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29295         * sysdeps/x86_64/tst-audit.h: Likewise.
29297 2012-07-26  Andreas Jaeger  <aj@suse.de>
29299         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29300         ptrace.
29302         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29303         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29304         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29305         PTRACE_O_MASK.
29306         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29307         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29308         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29310         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29311         value.
29313         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29314         _sigsys.
29315         (si_call_addr, si_syscall, si_arch): Define new macro.
29316         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29317         _sigsys.
29318         (si_call_addr, si_syscall, si_arch): Define new marcro.
29319         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29320         _sigsys.
29321         (si_call_addr, si_syscall, si_arch): Define new macro.
29322         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29323         _sigsys.
29324         (si_call_addr, si_syscall, si_arch): Define new macro.
29326 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29328         [BZ #13717]
29329         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29330         Change to 2.4.21 where previously 2.4.1.
29331         * sysdeps/unix/sysv/linux/configure: Regenerated.
29332         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29333         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29334         Linux kernel version.
29335         (__ASSUME_STD_AUXV): Remove.
29336         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29337         kernel version.
29338         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29339         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29340         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29341         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29342         (__ASSUME_NETLINK_SUPPORT): Likewise.
29343         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29344         (__no_netlink_support): Remove conditional definition.
29345         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29346         Remove.
29347         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29348         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29349         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29350         (if_nameindex_ioctl): Remove.
29351         (if_nameindex_netlink): Do not handle __no_netlink_support.
29352         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29353         code.
29354         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29355         Remove conditional code.
29356         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29357         code.
29358         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29359         unconditional.
29360         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29361         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29362         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29363         Remove.
29364         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29365         [!__ASSUME_STD_AUXV]: Remove conditional code.
29366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29367         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29368         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29370         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29371         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29372         code.
29373         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29375         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29376         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29377         conditional code.
29378         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29380         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29381         code.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29383         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29384         conditional code.
29385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29386         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29387         code unconditional.
29388         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29389         conditional code.
29390         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29391         unconditional.
29392         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29393         conditional code.
29394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29395         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29396         unconditional.
29397         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29398         conditional code.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29400         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29401         code unconditional.
29402         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29403         conditional code.
29404         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29405         unconditional.
29406         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29407         conditional code.
29408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29409         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29410         code unconditional.
29411         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29412         conditional code.
29413         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29414         unconditional.
29415         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29416         conditional code.
29418 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29420         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29422         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29423         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29424         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29425         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29426         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29427         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29428         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29429         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29430         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29431         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29432         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29433         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29434         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29435         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29436         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29437         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29438         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29439         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29440         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29441         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29442         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29444 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29446         * Versions.def: Add GLIBC_2.17.
29447         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29448         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29449         Introduce __libc_secure_getenv.
29450         * stdlib/Versions (2.17): Add secure_getenv
29451         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29452         * stdlib/secure-getenv.c: Rename __secure_getenv to
29453         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29454         symbol __secure_getenv for GLIBC_2.0.
29455         * stdlib/tst-secure-getenv.c: New.
29456         * stdlib/Makefile (tests): Add testcase.
29457         * manual/startup.texi (Environment Access): Document
29458         secure_getenv.
29459         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29460         __libc_secure_getenv.
29461         * inet/ruserpass.c (ruserpass): Likewise.
29462         * malloc/mtrace.c (mtrace): Likewise.
29463         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29464         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29465         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29466         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29467         HAVE_SECURE_GETENV.
29468         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29469         __secure_getenv to __libc_secure_getenv.
29470         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29472         Likewise.
29473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29474         Likewise.
29475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29477         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29479         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29480         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29483 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29485         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29486         (struct La_i86_retval): Likewise.
29487         (struct La_x86_64_regs): Likewise.
29488         (struct La_x86_64_retval): Likewise.
29489         (struct La_x32_regs): Likewise.
29490         (struct La_x32_retval): Likewise.
29491         (struct La_ppc32_regs): Likewise.
29492         (struct La_ppc32_retval): Likewise.
29493         (struct La_ppc64_regs): Likewise.
29494         (struct La_ppc64_retval): Likewise.
29495         (struct La_sh_regs): Likewise.
29496         (struct La_sh_retval): Likewise.
29497         (struct La_s390_32_regs): Likewise.
29498         (struct La_s390_32_retval): Likewise.
29499         (struct La_s390_64_regs): Likewise.
29500         (struct La_s390_64_retval): Likewise.
29501         (struct La_sparc32_regs): Likewise.
29502         (struct La_sparc32_retval): Likewise.
29503         (struct La_sparc64_regs): Likewise.
29504         (struct La_sparc64_retval): Likewise.
29505         (struct audit_ifaces): Remove architecture-specific pltenter and
29506         pltexit members.
29507         * sysdeps/i386/ldsodefs.h: New file.
29508         * sysdeps/powerpc/ldsodefs.h: Likewise.
29509         * sysdeps/s390/ldsodefs.h: Likewise.
29510         * sysdeps/sh/ldsodefs.h: Likewise.
29511         * sysdeps/sparc/ldsodefs.h: Likewise.
29512         * sysdeps/x86_64/ldsodefs.h: Likewise.
29514 2012-07-25  Marek Polacek  <polacek@redhat.com>
29516         [BZ #6808]
29517         * math/libm-test.inc (yn_test): Add another test.
29518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29519         to ERANGE when the result is +-Inf.
29520         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29521         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29522         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29523         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29525 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29527         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29528         equal to 0.
29529         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29530         clock_t.
29531         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29533 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29535         * configure.in <sysdeps resolving>: Correct printing
29536         Implies_before.
29537         * configure: Regenerate.
29539 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29541         * math/w_ilogb.c: Include <limits.h>.
29542         * math/w_ilogbl.c: Likewise.
29544 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29546         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29547         va_copy.  Document allowing for unavailable va_copy only as
29548         pre-C99 compatibility.
29549         * manual/string.texi (Copying and Concatenation): Use va_copy
29550         instead of __va_copy in concat example.
29552 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29554         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29555         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29556         it if not null.
29558         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29559         with O_NOLINK passed to __file_name_lookup.
29561         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29562         with O_NOLINK passed to __file_name_lookup.
29564         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29565         negative N or less than NGIDS.
29567         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29568         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29569         enough.  Use memcpy instead of strncpy.
29571 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29573         * elf/Makefile (check-data): Remove.
29574         (localplt.data): New vpath directive.
29575         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29576         instead of $(check-data).
29577         * scripts/data/localplt-generic.data: Move to ...
29578         * sysdeps/generic/localplt.data: ... here.
29579         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29580         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29581         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29583         ... here.
29584         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29586         ... here.
29587         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29589         ... here.
29590         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29592         ... here.
29593         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29594         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29595         ... here.
29596         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29598         ... here.
29600 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29602         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29603         PPC32 and PPC64 files.
29604         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29605         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29607 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29609         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29610         __makecontext_ret to ...
29611         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29612         ... here and call exit if uc_link is NULL.  New file.
29613         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29614         __makecontext_ret.S.
29615         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29616         __makecontext_ret to ...
29617         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29618         ... here and call exit if uc_link is NULL.  New file.
29619         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29620         __makecontext_ret.S.
29622 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29624         * elf/elf.h (R_390_IRELATIVE): New definition.
29625         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29626         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29627         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29628         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29629         (elf_machine_lazy_rel): Likewise.
29630         * sysdeps/s390/dl-irel.h: New file.
29631         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29632         * sysdeps/s390/s390-64/memset.S: New asm code.
29633         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29634         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29635         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29636         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29637         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29638         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29639         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29640         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29641         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29642         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29643         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29644         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29645         * sysdeps/s390/s390-32/memset.S: New asm code.
29646         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29648 2012-07-17  Marek Polacek  <polacek@redhat.com>
29650         [BZ #14349]
29651         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29652         * sysdeps/s390/s390-64/configure.in: Likewise.
29653         * sysdeps/sparc/configure.in: Likewise.
29654         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29655         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29656         * sysdeps/i386/configure.in: Likewise.
29657         * sysdeps/x86_64/configure.in: Likewise.
29658         * sysdeps/sh/configure.in: Likewise.
29659         * sysdeps/s390/s390-32/configure: Regenerated.
29660         * sysdeps/s390/s390-64/configure: Likewise.
29661         * sysdeps/x86_64/configure: Likewise.
29662         * sysdeps/sh/configure: Likewise.
29663         * sysdeps/powerpc/powerpc64/configure: Likewise.
29664         * sysdeps/powerpc/powerpc32/configure: Likewise.
29665         * sysdeps/sparc/configure: Likwise.
29666         * sysdeps/i386/configure: Likewise.
29668         * elf/dl-open.c: Comment fixes.
29670 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29672         * Makefile [CXX] (check-data): Remove.
29673         [CXX] (c++-types.data): New vpath directive.
29674         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29675         vpath.  Do not allow for C++ type data being missing.
29676         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29677         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29678         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29679         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29680         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29681         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29682         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29684         ... here.
29685         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29687         ... here.
29688         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29689         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29690         ... here.
29691         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29693         ... here.
29694         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29695         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29696         ... here.
29697         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29699         ... here.
29700         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29702         ... here.
29703         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29706         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29707         definitions to architecture-specific files.
29708         (TLS_IE): Likewise.
29709         (TLS_LD): Likewise.
29710         (TLS_GD): Likewise.
29711         * sysdeps/i386/tls-macros.h: New file.
29712         * sysdeps/powerpc/tls-macros.h: Likewise.
29713         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29714         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29715         * sysdeps/sh/tls-macros.h: Likewise.
29716         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29717         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29718         * sysdeps/x86_64/tls-macros.h: Likewise.
29720 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29723         zero value for regular exit case.
29725         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29726         (__start_context): Preserve zero value for regular exit case.
29728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29729             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29731         * manual/setjmp.texi (setcontext): Clarify normal process
29732         termination when uc_link is the null pointer.
29733         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29734         exit call.
29736 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29738         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29739         preprocessor.  Test for each exception mask separately.
29741 2012-07-16  Andreas Jaeger  <aj@suse.de>
29743         * po/ru.po: Update from translation team.
29745 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29747         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29748         equal to 0.
29749         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29750         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29751         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29752         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29753         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29755 2012-07-13  Andreas Jaeger  <aj@suse.de>
29757         * po/fr.po: Update from translation team.
29759 2012-07-12  Marek Polacek  <polacek@redhat.com>
29761         [BZ #14173]
29762         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29763         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29764         loop condition.
29766 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29768         [BZ #13717]
29769         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29770         Change to 2.4.1 where previously 2.4.0.
29771         * sysdeps/unix/sysv/linux/configure: Regenerated.
29772         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29773         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29774         version.
29775         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29776         (__ASSUME_AT_CLKTCK): Remove.
29777         (__ASSUME_AT_PAGESIZE): Likewise.
29778         (__ASSUME_AT_XID): Likewise.
29779         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29780         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29781         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29782         unconditionally.
29783         (HAVE_AUX_PAGESIZE): Likewise.
29784         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29785         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29786         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29788 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29790         [BZ #14307]
29791         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29792         the temporary buffer used to invoke __gethostbyname2_r,
29793         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29794         host_data / struct gaih_addrtuple.
29795         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29796         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29797         header file nss/nsswitch.h.
29798         * nss/nsswitch.h (global scope): Add definition of implementation
29799         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29800         resolv/nss_dns/dns-host.c).
29802 2012-07-11  Andreas Jaeger  <aj@suse.de>
29804         * po/fr.po: Update from translation team.
29806         * po/sv.po: Update from translation team
29807         * po/fr.po: Another update from translation team.
29809 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29811         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29812         for subnormals or multiply small sinh result by itself.
29813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29814         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29816 2012-07-11  David S. Miller  <davem@davemloft.net>
29818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29820 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29822         [BZ #14347]
29823         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29824         (INTERNAL_MARK): Shift it here.
29826 2012-07-10  Marek Polacek  <polacek@redhat.com>
29828         [BZ #14151]
29829         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29830         libc_cv_asm_global_directive with .globl.
29831         * configure: Regenerated.
29832         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29833         with .globl.
29834         * sysdeps/i386/configure: Regenerated.
29835         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29836         with .globl.
29837         * sysdeps/x86_64/configure: Regenerated.
29838         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29839         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29840         * elf/tst-unique2mod2.c: Likewise.
29841         * elf/tst-unique2mod1.c: Likewise.
29842         * elf/tst-unique1mod2.c: Likewise.
29843         * elf/tst-unique1mod1.c: Likewise.
29844         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29845         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29846         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29847         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29848         * sysdeps/mach/sysdep.h: Likewise.
29849         * sysdeps/i386/sysdep.h: Likewise.
29850         * sysdeps/i386/i386-mcount.S: Likewise.
29851         * sysdeps/x86_64/_mcount.S: Likewise.
29852         * sysdeps/x86_64/sysdep.h: Likewise.
29853         * sysdeps/sh/_mcount.S: Likewise.
29854         * sysdeps/sh/sysdep.h: Likewise.
29855         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29856         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29857         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29858         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29859         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29860         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29861         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29862         * locale/localeinfo.h: Likewise.
29863         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29864         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29866 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29868         [BZ #14336]
29869         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29870         system".
29871         * manual/message.texi (The Uniforum approach): Likewise.
29872         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29873         (glibc iconv Implementation): Likewise.
29875 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29877         [BZ #14337]
29878         * math/s_clog.c (__clog): Avoid scaling a value down where that
29879         could result in underflow.
29880         * math/s_clog10.c (__clog10): Likewise.
29881         * math/s_clog10f.c (__clog10f): Likewise.
29882         * math/s_clog10l.c (__clog10l): Likewise.
29883         * math/s_clogf.c (__clogf): Likewise.
29884         * math/s_clogl.c (__clogl): Likewise.
29885         * math/libm-test.inc (clog_test): Add more tests.
29886         (clog10_test): Likewise.
29887         * sysdeps/i386/fpu/libm-test-ulps: Update.
29888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29890 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29892         [BZ #14283]
29893         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29894         by 7 not 8 to examine high bit of fractional part.
29896         [BZ #14042]
29897         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29898         for call to __mcount_internal.
29899         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29900         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29901         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29903 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29905         [BZ #14154]
29906         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29907         approximation for values within 0x1p-13f of an odd multiple of
29908         pi/4.
29909         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29910         exception.  Add more tests.
29911         * sysdeps/i386/fpu/libm-test-ulps: Update.
29913         [BZ #6778]
29914         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29915         inputs and return -1 for them.  Do not check for +Inf in case not
29916         reachable for +Inf.
29917         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29918         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29919         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29920         and return -1 for them.  Do not check for +Inf in case not
29921         reachable for +Inf.
29922         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29923         define.
29924         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29925         and return -1 for them.  Do not check for +Inf in case not
29926         reachable for +Inf.
29927         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
29928         spurious underflow.
29929         * sysdeps/i386/fpu/libm-test-ulps: Update.
29930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29932 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
29934         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
29936 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
29938         [BZ #14157]
29939         [BZ #14331]
29940         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
29941         could result in spurious underflow.  Scale down values above
29942         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
29943         * math/s_csqrtf.c (__csqrtf): Likewise.
29944         * math/s_csqrtl.c (__csqrtl): Likewise.
29945         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
29946         spurious underflow.
29947         * sysdeps/i386/fpu/libm-test-ulps: Update.
29948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29950 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
29952         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
29953         xopen-msg.sed.
29954         * catgets/xopen-msg.awk: New file.
29955         * catgets/xopen-msg.sed: Removed.
29957         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
29958         po2text.sed.
29959         * intl/po2test.awk: New file.
29960         * intl/po2test.sed: Removed.
29962 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
29964         [BZ #14328]
29965         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
29966         or multiply small sinh result by itself.
29967         * math/s_ctanf.c (__ctanf): Likewise.
29968         * math/s_ctanh.c (__ctanh): Likewise.
29969         * math/s_ctanhf.c (__ctanhf): Likewise.
29970         * math/s_ctanhl.c (__ctanhl): Likewise.
29971         * math/s_ctanl.c (__ctanl): Likewise.
29972         * math/libm-test.inc (ctan_test_tonearest): New function.
29973         (ctan_test_towardzero): Likewise.
29974         (ctan_test_downward): Likewise.
29975         (ctan_test_upward): Likewise.
29976         (ctanh_test_tonearest): Likewise.
29977         (ctanh_test_towardzero): Likewise.
29978         (ctanh_test_downward): Likewise.
29979         (ctanh_test_upward): Likewise.
29980         (main): Call these new functions.
29981         * sysdeps/i386/fpu/libm-test-ulps: Update.
29982         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29984 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
29986         * .gitignore: Delete /ports entry.
29988 2012-07-03  Andreas Jaeger  <aj@suse.de>
29990         * po/bg.po: Update from translation team.
29991         * po/cs.po: Likewise.
29992         * po/de.po: Likewise.
29993         * po/hr.po: Likewise.
29994         * po/nl.pl: Likewise.
29995         * po/pl.po: Likewise.
29996         * po/vi.po: Likewise.
29998 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30000         * Makeconfig [!+link] (+link-before-libc): New variable.
30001         [!+link] (+link-after-libc): Likewise.
30002         [!+link] (+link-tests): Likewise.
30003         [!+link] (+link): Define in terms of $(+link-before-libc) and
30004         $(+link-after-libc).
30005         [!+link-static] (+link-static-before-libc): New variable.
30006         [!+link-static] (+link-static-after-libc): Likewise.
30007         [!+link-static] (+link-static-tests): Likewise.
30008         [!+link-static] (+link-static): Define in terms of
30009         $(+link-static-before-libc) and $(+link-static-after-libc).
30010         [build-shared] (link-libc-before-gnulib): New variable.
30011         [build-shared] (link-libc-tests): Likewise.
30012         [build-shared] (link-libc): Define in terms of
30013         $(link-libc-before-gnulib).
30014         [!build-shared] (link-libc-tests): New variable.
30015         (link-libc-static-tests): New variable.
30016         [!gnulib] (gnulib-arch): New variable.
30017         [!gnulib] (gnulib-tests): Likewise.
30018         [!gnulib] (static-gnulib-arch): Likewise.
30019         [!gnulib] (static-gnulib-tests): Likewise.
30020         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30021         Define with "=" instead of ":=".
30022         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30023         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30024         * Rules (binaries-all-notests): New variable.
30025         (binaries-all-tests): Likewise.
30026         (binaries-static-notests): Likewise.
30027         (binaries-static-tests): Likewise.
30028         (binaries-all): Define using $(binaries-all-notests) and
30029         $(binaries-all-tests).
30030         (binaries-static): Define using $(binaries-static-notests) and
30031         $(binaries-static-tests).
30032         (binaries-shared-tests): New variable.
30033         (binaries-shared-notests): Likewise.
30034         (binaries-shared): Remove variable.
30035         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30036         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30037         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30038         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30039         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30040         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30041         * elf/Makefile (sln-modules): New variable.
30042         (extra-objs): Add $(sln-modules:=.o).
30043         (ldconfig-modules): Add static-stubs.
30044         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30045         * elf/static-stubs.c: New file.
30047         [BZ #14283]
30048         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30049         by 7 not 8 to examine high bit of fractional part.  Use volatile
30050         variables when splitting into final array of floats if
30051         __FLT_EVAL_METHOD__ != 0.
30052         * math/libm-test.inc (cos_test): Add another test.
30053         (sin_test): Likewise.
30054         * sysdeps/i386/fpu/libm-test-ulps: Update.
30056         [BZ #14273]
30057         * math/libm-test.inc (cosh_test): Add more tests.
30059         * version.h (RELEASE): Set to "development".
30060         (VERSION): Set to "2.16.90".
30062 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30064         * NEWS: Update copyright. Remove last-updated date.
30065         Mention math library bug fixes and timezone data changes.
30066         * README: Mention GNU/Hurd, x32, and HPPA support status.
30068 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30070         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30072 2012-06-27  Andreas Jaeger  <aj@suse.de>
30074         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30076 2012-06-25  Andreas Jaeger  <aj@suse.de>
30078         * sysdeps/s390/fpu/libm-test-ulps: Update.
30080 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30081             Thomas Schwinge  <thomas@codesourcery.com>
30083         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30084         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30085         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30086         fanotify_mark.
30088 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30090         * sysdeps/mach/start.c: Remove file.
30091         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30092         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30093         * sysdeps/sh/init-first.c: Likewise.
30095         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30096         registers for frame unwinding purposes, add CFI directives.
30097         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30098         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30099         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30100         Likewise.
30102         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30103         __fortify_fail returning.
30104         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30106         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30107         sysdeps/sh/____longjmp_chk.S.
30108         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30109         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30110         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30111         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30113         * sysdeps/sh/abort-instr.h: New file.
30114         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30115         process in case exit returns.
30117         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30118         initialize the GOT register before use.
30120         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30121         calculation of ARGC > 4.
30123         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30124         meaningful names to some local labels.
30126 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30127             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30129         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30130         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30131         (__arch_compare_and_exchange_val_16_acq): Likewise.
30132         (__arch_compare_and_exchange_val_32_acq): Likewise.
30133         (atomic_exchange_and_add): Fix gUSA sequence.
30134         (atomic_add): Likewise.
30135         (atomic_add_negative): Likewise.
30136         (atomic_add_zero): Likewise.
30137         (atomic_bit_test_set): Likewise.
30139 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30141         [BZ #13579]
30142         * include/link.h (struct link_map): Add l_free_initfini.
30143         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30144         l_initfini.
30145         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30146         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30147         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30148         set.
30150 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30152         * configure.in: Use AC_LANG_SOURCE.
30153         * configure: Regenerate.
30155 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30157         * configure.in (libc_cv_localstatedir): New substituted variable.
30158         * configure: Regenerated.
30159         * config.make.in (localstatedir): New variable, substituted from
30160         libc_cv_localstatedir.
30161         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30162         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30163         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30164         * sysdeps/gnu/configure: Regenerated.
30166 2012-06-21  Jeff Law  <law@redhat.com>
30168         [BZ #14277]
30169         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30170         free.  Simplify list management for _LIBC case.
30172 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30174         [BZ #14273]
30175         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30176         Clear sign bit of 64-bit integer value before comparing against
30177         overflow value.
30179         * sysdeps/mach/configure: Regenerated.
30181 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30183         [BZ #14278]
30184         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30186 2012-06-21  Jeff Law  <law@redhat.com>
30188         [BZ #13882]
30189         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30190         uint16_t for elements in the "seen" array to avoid char overflows.
30191         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30192         * elf/dl-open.c (dl_open_worker): Likewise.
30194 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30196         * scripts/list-sources.sh: Scan PORTS for translations.
30197         * po/libc.pot: Regenerated.
30199 2012-06-21  Andreas Jaeger  <aj@suse.de>
30201         [BZ #12194]
30202         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30203         warning.
30204         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30205         * bits/byteswap-16.h (__bswap_16): Likewise.
30206         * bits/byteswap.h (__bswap_constant_16): Likewise.
30208 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30210         [BZ #14117]
30211         * sysdeps/i386/fpu_control.h: Removed.
30212         * sysdeps/x86_64/fpu_control.h: Moved to ...
30213         * sysdeps/x86/fpu_control.h: Here.
30215         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30216         (_FPU_SETCW): Likewise.
30218 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30220         [BZ #14117]
30221         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30222         * sysdeps/x86/fpu/bits/mathinline.h: This.
30223         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30225         [BZ #14050]
30226         [BZ #14117]
30227         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30228         functions if __x86_64__ is defined.
30230 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30232         * string/endian.h: Add !__ASSEMBLER__ condition for including
30233         conversion interfaces.
30235 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30237         [BZ #14241]
30238         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30239         of ABS(x) in calculating zero to negative powers other than odd
30240         integers.
30241         * math/libm-test.inc (pow_test): Add more tests.
30243 2012-06-15  Andreas Jaeger  <aj@suse.de>
30245         * manual/contrib.texi (Contributors): Update entry of Liubov
30246         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30247         Machado Filho.
30249 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30251         * string/string.h: Add __wur to GNU version of strerror_r.
30253 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30255         [BZ #14229]
30256         * string/Makefile (tests): Add tst-strtok_r.
30257         * string/tst-strtok_r.c: New file.
30258         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30259         RAX_LP/RDX_LP on SAVE_PTR.
30261 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30263         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30265 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30267         * libm_test.inc (csqrt_test): Allow more spurious underflow
30268         exceptions.
30269         (j0_test): Likewise.
30270         (j1_test): Likewise.
30271         (y0_test): Likewise.
30272         (y1_test): Likewise.
30274 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30276         * po/Makefile (libc.pot): Use UTF-8 charset.
30278 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30280         [BZ #14210]
30281         Suppress sign-conversion warning from FD_SET.
30282         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30283         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30284         not unsigned long int.
30285         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30287 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30289         [BZ #14050]
30290         [BZ #14117]
30291         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30292         __extern_always_inline instead of __extern_inline.
30293         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30294         (__signbit): Likewise.
30295         (__signbitl): Support C++ namespace.
30296         (lrintf): New inline function.
30297         (lrint): Likewise.
30298         (llrintf): Likewise.
30299         (llrint): Likewise.
30300         (fmaxf): Likewise.
30301         (fmax): Likewise.
30302         (fminf): Likewise.
30303         (fmin): Likewise.
30304         (rint): Likewise.
30305         (rintf): Likewise.
30306         (ceil): Likewise.
30307         (ceilf): Likewise.
30308         (floor): Likewise.
30309         (floorf): Likewise.
30310         (nearbyint): Likewise.
30311         (nearbyintf): Likewise.
30313 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30315         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30316         non-default versions.
30318 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30320         [BZ #14218]
30321         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30323 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30325         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30326         (FE_UPWARD, FE_DOWNWARD): Don't define.
30327         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30328         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30330         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30331         reading it.
30332         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30333         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30335 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30337         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30340         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30342 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30344         [BZ #14117]
30345         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30346         * sysdeps/i386/fpu/Implies: New file.
30347         * sysdeps/x86_64/fpu/Implies: Likewise.
30348         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30349         * sysdeps/x86/fpu/bits/fenv.h: This.
30351         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30352         __SSE_MATH__.
30354 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30356         [BZ #14134]
30357         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30358         character 0xffff that matches the last element of the
30359         conversion table.
30361 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30363         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30364         fmodl commit.
30366 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30368         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30369         values higher than 25.6283.
30371 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30373         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30374         subnormal exponent extraction and add some __builtin_expect.
30375         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30376         Fix for subnormal mantissa calculation.
30378 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30380         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30381         cpu2 is -1 and errno is not ENOSYS.
30383 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30385         [BZ #14117]
30386         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30387         * sysdeps/x86/bits/string.h: This.
30388         * sysdeps/x86_64/bits/string.h: Removed.
30390         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30391         if not compiling for x86-64, but compiling for >= i486.
30393         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30394         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30396         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30397         New macro from Linux kernel 3.4.0.
30398         (FP_XSTATE_MAGIC2): Likewise.
30399         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30400         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30401         (struct _fpx_sw_bytes): New struct.
30402         (struct _xsave_hdr): Likewise.
30403         (struct _ymmh_state): Likewise.
30404         (struct _xstate): Likewise.
30406         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30407         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30408         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30409         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30411         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30413         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30414         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30415         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30416         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30417         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30418         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30420 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30422         [BZ #13743]
30423         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30424         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30425         (sysdep_headers): Include sys/platform/ppc.h.
30426         * sysdeps/powerpc/test-gettimebase.c: Test for
30427         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30428         * manual/Makefile (appendices): Include platform.texi.
30429         * manual/contrib.texi (Contributors): Update @node pointers.
30430         * manual/maint.texi (Maintenance): Likewise.
30431         (Platform): New node.
30432         * manual/platform.texi: New file.  Document the new features.
30434 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30435             Jakub Jelinek  <jakub@redhat.com>
30437         [BZ #14188]
30438         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30439         where __builtin_expect is unavailable.
30441 2012-06-03  David S. Miller  <davem@davemloft.net>
30443         * stdlib/longlong.h: Updated from GCC.
30445 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30447         [BZ #14042]
30448         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30449         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30450         __mcount_internal.
30451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30452         (GLIBC_2.16): Likewise.
30454 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30456         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30458 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30461         (default-abi): New variable.
30462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30463         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30464         variable.
30465         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30466         Likewise.
30467         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30468         Likewise.
30469         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30470         Likewise.
30472         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30473         definition.  Document in comment.
30475 2012-06-01  David S. Miller  <davem@davemloft.net>
30477         * stdlib/longlong.h: Updated from GCC.
30479 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30481         [BZ #14117]
30482         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30483         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30484         sys/debugreg.h sys/io.h here.
30485         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30486         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30487         sys/io.h.
30488         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30489         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30490         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30491         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30492         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30493         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30495         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30496         Define only if __x86_64__ is defined.
30498 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30500         [BZ #14048]
30501         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30502         Use int64_t for variable i.
30503         * math/libm-test.inc (fmod_test): Add more tests.
30505         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30506         z computation is not scheduled after fetestexcept.
30507         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30508         Use math_force_eval instead of asm to ensure calculation scheduled
30509         before exception test.
30510         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30511         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30513 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30515         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30516         computation is not scheduled after fetestexcept.
30518 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30520         [BZ #14117]
30521         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30522         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30524 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30526         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30527         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30529 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30531         [BZ #14117]
30532         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30533         <bits/wordsize.h>.
30534         (__WCHAR_MIN): Support __WORDSIZE == 64.
30535         (__WCHAR_MAX): Likewise.
30537         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30538         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30540         [BZ #14183]
30541         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30542         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30544         [BZ #14117]
30545         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30548         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30549         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30551         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30552         Defined to 1 if __x86_64__ isn't defined.
30553         (_STAT_VER_LINUX_OLD): New.
30554         (st_atime): Remove duplicate.
30555         (st_mtime): Likewise.
30556         (st_ctime): Likewise.
30558 2012-05-31  David S. Miller  <davem@davemloft.net>
30560         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30561         entries.
30563 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30565         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30566         gen-libm-test.pl.
30568         [BZ #14132]
30569         * elf/dl-reloc.c: Include <_itoa.h>.
30570         (_dl_reloc_bad_type): Remove use of INTUSE.
30571         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30572         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30573         * stdio-common/psiginfo.c (psiginfo): Likewise.
30574         * stdio-common/psignal.c (psignal): Likewise.
30575         * string/strsignal.c (strsignal): Likewise.
30576         * include/signal.h (_sys_siglist): Declare hidden proto.
30577         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30578         INTVARDEF with libc_hidden_data_def.
30579         * stdio-common/itoa-udigits.c: Likewise.
30580         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30581         (_itoa_lower_digits_internal): Remove declaration.
30582         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30583         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30584         (_sys_sigabbrev_internal): Remove aliases.
30585         (_sys_siglist): Define hidden alias.
30587 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30589         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30590         bits/sysctl.h.
30592 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30594         [BZ #14117]
30595         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30596         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30598         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30599         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30600         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30601         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30602         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30603         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30605         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30606         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30607         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30609         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30610         with __addr.
30611         (insw): Likewise.
30612         (insl): Likewise.
30613         (outsb): Likewise.
30614         (outsw): Likewise.
30615         (outsl): Likewise.
30617         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30618         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30619         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30621         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30622         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30623         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30624         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30625         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30626         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30628         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30629         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30631         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30632         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30634         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30636         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30638         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30639         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30640         to ...
30641         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30643         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30644         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30645         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30647         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30648         for x86-64.
30649         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30651 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30653         * math/math.h (M_El): Use two more decimal places.
30654         (M_LOG2El): Likewise.
30655         (M_LOG10El): Likewise.
30656         (M_LN2l): Likewise.
30657         (M_LN10l): Likewise.
30658         (M_PIl): Likewise.
30659         (M_PI_2l): Likewise.
30660         (M_PI_4l): Likewise.
30661         (M_1_PIl): Likewise.
30662         (M_2_PIl): Likewise.
30663         (M_2_SQRTPIl): Likewise.
30664         (M_SQRT2l): Likewise.
30665         (M_SQRT1_2l): Likewise.
30667 2012-05-31  David S. Miller  <davem@davemloft.net>
30669         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30670         values between float registers.
30671         * sysdeps/sparc/sparc64/memset.S: Likewise.
30672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30674 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30676         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30677         -D_FORTIFY_SOURCE=1.
30678         (CPPFLAGS-tst-longjmp_chk.c): Define.
30679         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30680         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30681         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30682         CFLAGS-tst-wchar-h.c.
30684 2012-05-31  Marek Polacek  <polacek@redhat.com>
30686         [BZ #14132]
30687         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30688         __endmntent_internal): Remove declaration.
30689         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30690         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30691         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30693 2012-05-30  David S. Miller  <davem@davemloft.net>
30695         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30696         (___Q_simulate_exceptions): Use real FP ops rather than writing
30697         into the %fsr.
30698         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30699         Likewise.
30701 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30703         [BZ #14117]
30704         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30705         * sysdeps/x86/bits/xtitypes.h: This.
30707         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30708         * sysdeps/x86/bits/wordsize.h: This.
30710         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30711         * sysdeps/x86/bits/huge_vall.h: This.
30713         * sysdeps/i386/bits/select.h: Removed.
30714         * sysdeps/x86_64/bits/select.h: Renamed to ...
30715         * sysdeps/x86/bits/select.h: This.
30717         * sysdeps/i386/bits/setjmp.h: Removed.
30718         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30719         * sysdeps/x86/bits/setjmp.h: This.
30721         * sysdeps/i386/bits/mathdef.h: Removed.
30722         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30723         * sysdeps/x86/bits/mathdef.h: This.
30725 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30727         [BZ #14132]
30728         * include/sys/socket.h (__connect_internal)
30729         (__libc_sa_len_internal): Remove declaration.
30730         (__connect, __libc_sa_len): Declare hidden_proto.
30731         (SA_LEN): Remove use of INTUSE.
30732         * socket/connect.c: Add libc_hidden_def.
30733         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30734         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30735         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30736         alias.
30737         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30738         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30739         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30740         of adding _internal alias.
30742 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30744         [BZ #14117]
30745         * sysdeps/i386/bits/link.h: Removed.
30746         * sysdeps/i386/bits/linkmap.h: Likewise.
30747         * sysdeps/x86_64/bits/link.h: Renamed to ...
30748         * sysdeps/x86/bits/link.h: This.
30749         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30750         * sysdeps/x86/bits/linkmap.h: This.
30752         * sysdeps/i386/bits/endian.h: Removed.
30753         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30754         * sysdeps/x86/bits/endian.h: This.
30756         * sysdeps/i386/bits/byteswap.h: Removed.
30757         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30758         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30759         * sysdeps/x86/bits/byteswap.h: This.
30760         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30761         * sysdeps/x86/bits/byteswap-16.h: This.
30762         * sysdeps/i386/Implies: Add x86.
30763         * sysdeps/x86_64/Implies: Likewise.
30765 2012-05-30  David S. Miller  <davem@davemloft.net>
30767         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30768         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30769         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30770         (FP_TRAPPING_EXCEPTIONS): Define.
30771         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30772         (FP_TRAPPING_EXCEPTIONS): Define.
30773         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30774         subnormals only when inexact has been signalled or underflow
30775         exceptions are enabled.
30776         (_FP_PACK_CANONICAL): Likewise.
30778 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30780         [BZ #14183]
30781         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30782         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30784 2012-05-30  Richard Henderson  <rth@twiddle.net>
30786         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30787         with #ifndef NOT_IN_libc.
30789         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30790         marked to avoid plt entry.
30792 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30794         [BZ #14112]
30795         * Makeconfig (default-abi): New macro.
30796         (abi-includes): Likewise.
30797         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30798         $(abi-$(default-abi)-lib-soname) for soname if defined.
30799         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30800         abi-variants.
30801         * Makefile (installed-stubs): Likewise.
30802         * include/stubs-biarch.h: Removed.
30803         * scripts/lib-names.awk: Only handle one library at a time.
30804         * scripts/soversions.awk: Remove WORDSIZE support.
30805         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30806         entries.
30807         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30808         Removed.
30809         (syscall-list-default-condition): Likewise.
30810         (syscall-list-default-condition): Likewise.
30811         (syscall-list-includes): Likewise.
30812         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30813         syscall-list-* with abi-*.  Handle undefined abi-variants.
30814         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30815         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30816         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30817         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30818         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30819         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30820         Removed.
30821         (syscall-list-32-options): Likewise.
30822         (syscall-list-32-condition): Likewise.
30823         (syscall-list-64-options): Likewise.
30824         (syscall-list-64-condition): Likewise.
30825         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30826         macro.
30827         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30828         Renamed to ...
30829         (abi-*): This.
30830         (abi-64-ld-soname): New macro.
30831         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30832         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30833         Renamed to ...
30834         (abi-*): This.
30835         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30836         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30838 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30840         * sysdeps/unix/sysv/linux/kernel-features.h
30841         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30842         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30843         include <kernel-features.h>.
30844         [!__NR_ftruncate64]: Remove conditional code.
30845         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30846         [__NR_ftruncate64]: Make code unconditional.
30847         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30848         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30849         include <kernel-features.h>.
30850         [!__NR_ftruncate64]: Remove conditional code.
30851         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30852         [__NR_ftruncate64]: Make code unconditional.
30853         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30855         include <kernel-features.h>.
30856         [!__NR_ftruncate64]: Remove conditional code.
30857         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30858         [__NR_ftruncate64]: Make code unconditional.
30859         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30861         include <kernel-features.h>.
30862         [!__NR_ftruncate64]: Remove conditional code.
30863         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30864         [__NR_ftruncate64]: Make code unconditional.
30865         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30867         * configure.in (libc_cv_fpie): Weaken to a compile test using
30868         LIBC_TRY_CC_OPTION.
30869         * configure: Regenerated.
30871 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30877         Refreshed.
30878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30884         Refreshed.
30886 2012-05-27  David S. Miller  <davem@davemloft.net>
30888         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30889         (___Q_zero): New.
30890         (__Q_simulate_exceptions): Return void.  Change to simulate
30891         exceptions by writing into the %fsr.
30892         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30893         (__Qp_handle_exceptions): Likewise.
30894         (numbers): Delete.
30895         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30896         __Qp_handle_exceptions.
30897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30898         __Qp_handle_exceptions.
30899         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30900         as unused and give dummy FP_RND_NEAREST initializer.
30901         (FP_INHIBIT_RESULTS): Define.
30902         (___Q_simulate_exceptions): Update declaration.
30903         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30904         formatting.
30905         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30906         as unused and give dummy FP_RND_NEAREST initializer.
30907         (__Qp_handle_exceptions): Update declaration.
30908         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30909         formatting.
30911 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30913         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30914         the temporary FPU control word.
30915         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30916         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30917         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30918         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30919         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30920         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30921         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30922         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30923         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30924         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
30925         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30927 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30929         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
30930         fields.
30932 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
30934         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
30935         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
30936         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
30937         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
30938         Likewise.
30939         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
30940         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
30941         Likewise.
30943 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
30945         * po/h.po: Update from translation team.
30947 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
30949         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
30951         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
30952         handling of denormals.
30953         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
30954         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
30955         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
30956         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
30957         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30958         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
30959         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
30960         Likewise.
30962 2012-05-26  Marek Polacek  <polacek@redhat.com>
30964         [BZ #14152]
30965         * math/libm-test.inc (fma_test): Don't always expect underflow
30966         exception.
30968 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30970         [BZ #12416]
30971         * elf/tst-execstack.c: Include stackinfo.h.
30972         (do_test): Adjust test case to ensure that pthread_getattr_np
30973         behaviour remains the same after marking stack executable.
30975 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
30977         * sysdeps/unix/sysv/linux/kernel-features.h
30978         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
30979         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
30980         kernel-features.h.
30981         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30982         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30983         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
30984         kernel-features.h.
30985         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
30986         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
30988 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
30990         * configure.in: Define the default includes to being none.
30991         * configure: Regenerated.
30993 2012-05-25  Roland McGrath  <roland@hack.frob.com>
30995         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
30996         * sysdeps/x86_64/setjmp.S: Likewise.
30997         * sysdeps/i386/bsd-setjmp.S: Likewise.
30998         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30999         * sysdeps/i386/setjmp.S: Likewise.
31000         * sysdeps/i386/__longjmp.S: Likewise.
31001         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31002         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31004         * include/stap-probe.h: New file.
31005         * configure.in: Handle --enable-systemtap.
31006         * configure: Regenerated.
31007         * config.h.in (USE_STAP_PROBE): New #undef.
31008         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31009         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31010         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31012 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31014         [BZ #13717]
31015         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31016         to 2.4.0 where earlier.
31017         * sysdeps/unix/sysv/linux/configure: Regenerated.
31018         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31019         <kernel-features.h>.
31020         [__ASSUME_32BITUIDS]: Make code unconditional.
31021         [!__ASSUME_32BITUIDS]: Remove conditional code.
31022         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31023         <kernel-features.h>.
31024         [__ASSUME_32BITUIDS]: Make code unconditional.
31025         [!__ASSUME_32BITUIDS]: Remove conditional code.
31026         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31027         [__ASSUME_32BITUIDS]: Make code unconditional.
31028         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31029         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31030         <kernel-features.h>.
31031         [__ASSUME_32BITUIDS]: Make code unconditional.
31032         [!__ASSUME_32BITUIDS]: Remove conditional code.
31033         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31034         <kernel-features.h>.
31035         [__ASSUME_32BITUIDS]: Make code unconditional.
31036         [!__ASSUME_32BITUIDS]: Remove conditional code.
31037         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31038         <kernel-features.h>.
31039         [__ASSUME_32BITUIDS]: Make code unconditional.
31040         [!__ASSUME_32BITUIDS]: Remove conditional code.
31041         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31042         <kernel-features.h>.
31043         [__ASSUME_32BITUIDS]: Make code unconditional.
31044         [!__ASSUME_32BITUIDS]: Remove conditional code.
31045         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31046         <kernel-features.h>.
31047         [__ASSUME_32BITUIDS]: Make code unconditional.
31048         [!__ASSUME_32BITUIDS]: Remove conditional code.
31049         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31050         <kernel-features.h>.
31051         [__ASSUME_32BITUIDS]: Make code unconditional.
31052         [!__ASSUME_32BITUIDS]: Remove conditional code.
31053         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31054         <kernel-features.h>.
31055         [__ASSUME_32BITUIDS]: Make code unconditional.
31056         [!__ASSUME_32BITUIDS]: Remove conditional code.
31057         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31058         <kernel-features.h>.
31059         [__ASSUME_32BITUIDS]: Make code unconditional.
31060         [!__ASSUME_32BITUIDS]: Remove conditional code.
31061         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31062         <kernel-features.h>.
31063         [__ASSUME_32BITUIDS]: Make code unconditional.
31064         [!__ASSUME_32BITUIDS]: Remove conditional code.
31065         * sysdeps/unix/sysv/linux/i386/semctl.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/setegid.c: Do not include
31070         <kernel-features.h>.
31071         [__NR_setresgid] (__setresgid): Do not declare.
31072         [__ASSUME_32BITUIDS]: Make code unconditional.
31073         [!__ASSUME_32BITUIDS]: Remove conditional code.
31074         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31075         <kernel-features.h>.
31076         [__NR_setresuid] (__setresuid): Do not declare.
31077         [__ASSUME_32BITUIDS]: Make code unconditional.
31078         [!__ASSUME_32BITUIDS]: Remove conditional code.
31079         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31080         <kernel-features.h>.
31081         [__ASSUME_32BITUIDS]: Make code unconditional.
31082         [!__ASSUME_32BITUIDS]: Remove conditional code.
31083         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31084         <kernel-features.h>.
31085         [__ASSUME_32BITUIDS]: Make code unconditional.
31086         [!__ASSUME_32BITUIDS]: Remove conditional code.
31087         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31088         <kernel-features.h>.
31089         [__ASSUME_32BITUIDS]: Make code unconditional.
31090         [!__ASSUME_32BITUIDS]: Remove conditional code.
31091         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31092         <kernel-features.h>.
31093         [__ASSUME_32BITUIDS]: Make code unconditional.
31094         [!__ASSUME_32BITUIDS]: Remove conditional code.
31095         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31096         <kernel-features.h>.
31097         [__ASSUME_32BITUIDS]: Make code unconditional.
31098         [!__ASSUME_32BITUIDS]: Remove conditional code.
31099         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31100         <kernel-features.h>.
31101         [__ASSUME_32BITUIDS]: Make code unconditional.
31102         [!__ASSUME_32BITUIDS]: Remove conditional code.
31103         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31104         <kernel-features.h>.
31105         [__ASSUME_32BITUIDS]: Make code unconditional.
31106         [!__ASSUME_32BITUIDS]: Remove conditional code.
31107         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31108         <kernel-features.h>.
31109         [__ASSUME_32BITUIDS]: Make code unconditional.
31110         [!__ASSUME_32BITUIDS]: Remove conditional code.
31111         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31112         <kernel-features.h>.
31113         [__ASSUME_32BITUIDS]: Make code unconditional.
31114         [!__ASSUME_32BITUIDS]: Remove conditional code.
31115         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31116         <kernel-features.h>.
31117         [__ASSUME_32BITUIDS]: Make code unconditional.
31118         [!__ASSUME_32BITUIDS]: Remove conditional code.
31119         * sysdeps/unix/sysv/linux/kernel-features.h
31120         (__ASSUME_SETRESUID_SYSCALL): Remove.
31121         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31122         (__ASSUME_32BITUIDS): Likewise.
31123         (__ASSUME_LDT_WORKS): Likewise.
31124         (__ASSUME_O_DIRECTORY): Likewise.
31125         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31126         architecture but not kernel version.
31127         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31128         (__ASSUME_MMAP2_SYSCALL): Likewise.
31129         (__ASSUME_STAT64_SYSCALL): Likewise.
31130         (__ASSUME_IPC64): Likewise.
31131         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31132         <kernel-features.h>.
31133         [__ASSUME_32BITUIDS]: Make code unconditional.
31134         [!__ASSUME_32BITUIDS]: Remove conditional code.
31135         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31136         <kernel-features.h>.
31137         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31138         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31139         132096]: Remove conditional code.
31140         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31141         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31142         <kernel-features.h>.
31143         [__ASSUME_32BITUIDS]: Make code unconditional.
31144         [!__ASSUME_32BITUIDS]: Remove conditional code.
31145         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31146         <kernel-features.h>.
31147         [__ASSUME_32BITUIDS]: Make code unconditional.
31148         [!__ASSUME_32BITUIDS]: Remove conditional code.
31149         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31150         <kernel-features.h>.
31151         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31152         unconditional.
31153         (__setresgid): Do not declare.
31154         [__ASSUME_32BITUIDS]: Make code unconditional.
31155         [!__ASSUME_32BITUIDS]: Remove conditional code.
31156         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31157         <kernel-features.h>.
31158         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31159         unconditional.
31160         (__setresuid): Do not declare.
31161         [__ASSUME_32BITUIDS]: Make code unconditional.
31162         [!__ASSUME_32BITUIDS]: Remove conditional code.
31163         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31164         <kernel-features.h>.
31165         [__ASSUME_32BITUIDS]: Make code unconditional.
31166         [!__ASSUME_32BITUIDS]: Remove conditional code.
31167         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31168         <kernel-features.h>.
31169         [__ASSUME_32BITUIDS]: Make code unconditional.
31170         [!__ASSUME_32BITUIDS]: Remove conditional code.
31172 2012-05-25  Richard Henderson  <rth@twiddle.net>
31174         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31175         dl_hwcap to ifunc resolver.
31176         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31177         elf_ifunc_invoke.
31178         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31179         dl_hwcap to ifunc resolver.
31180         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31182 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31184         [BZ #14153]
31185         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31186         for |x| <= 2**-26, not 2**-57.
31187         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31188         exception.
31190 2012-05-24  Jeff Law  <law@redhat.com>
31192         * stdio-common/Makefile (tests): Add bug25.
31193         * stdio-common/bug25.c: New test.
31195 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31197         [BZ #13576]
31198         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31199         multiple of MALLOC_ALIGNMENT in size.
31200         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31202 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31204         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31205         Require >= 256.
31206         (FILENAME_MAX): Use macro-int-constant.
31207         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31208         (_IOFBF): Use macro-int-constant.
31209         (_IOLBF): Likewise.
31210         (_IONBF): Likewise.
31211         (SEEK_CUR): Likewise.
31212         (SEEK_END): Likewise.
31213         (SEEK_SET): Likewise.
31214         (TMP_MAX): Likewise.
31215         (EOF): Use macro-int-constant.  Require < 0.
31216         (NULL): Use macro-constant.  Require == 0.
31217         (stdin): Require type to be FILE *.
31218         (stdout): Likewise.
31219         (stderr): Likewise.
31220         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31221         macro-int-constant.
31222         (EXIT_SUCCESS): Likewise.
31223         (NULL): Use macro-constant.  Require == 0.
31224         (RAND_MAX): Use macro-int-constant.
31225         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31226         [C99-based standards] (strtof): Require function.
31227         [C99-based standards] (strtold): Likewise.
31228         [C99-based standards] (strtoll): Likewise.
31229         [C99-based standards] (strtoull): Likewise.
31230         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31231         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31232         [ISO || ISO99 || ISO11] (math.h): Likewise.
31233         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31234         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31235         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31237 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31239         [BZ #14132]
31240         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31241         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31242         * intl/dgettext.c (DCGETTEXT): Likewise.
31243         * intl/gettext.c (DCGETTEXT): Likewise.
31244         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31245         * posix/regex_internal.h (gettext): Likewise.
31246         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31247         Remove declaration.
31248         * include/argz.h (__argz_count_internal)
31249         (__argz_stringify_internal): Remove declaration.
31250         (__argz_count, __argz_stringify): Declare hidden proto.
31251         * intl/dcgettext.c: Remove use of INTDEF.
31252         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31253         * string/argz-stringify.c: Likewise.
31254         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31255         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31256         Declare hidden proto.
31257         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31258         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31259         Declare hidden proto.
31260         * include/stdio.h (__asprintf_internal): Don't declare.
31261         (__asprintf): Don't define as macro.  Declare hidden proto.
31262         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31263         (__fsetlocking): Declare hidden proto.
31264         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31265         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31266         hidden proto.
31267         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31268         (_IO_setlinebuf): Remove use of INTUSE.
31269         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31270         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31271         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31272         Remove declaration.
31273         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31274         (_IO_do_flush): Remove use of INTUSE.
31275         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31276         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31277         (_IO_adjust_column, _IO_least_wmarker)
31278         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31279         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31280         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31281         (_IO_default_doallocate, _IO_wdefault_doallocate)
31282         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31283         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31284         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31285         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31286         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31287         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31288         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31289         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31290         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31291         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31292         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31293         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31294         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31295         proto.
31296         (_IO_flush_all_internal, _IO_adjust_column_internal)
31297         (_IO_default_uflow_internal, _IO_default_finish_internal)
31298         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31299         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31300         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31301         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31302         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31303         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31304         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31305         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31306         (_IO_file_close_internal, _IO_file_close_it_internal)
31307         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31308         (_IO_file_init_internal, _IO_file_attach_internal)
31309         (_IO_file_fopen_internal, _IO_file_read_internal)
31310         (_IO_file_sync_internal, _IO_file_seek_internal)
31311         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31312         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31313         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31314         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31315         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31316         (_IO_list_all_internal, _IO_link_in_internal)
31317         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31318         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31319         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31320         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31321         (_IO_do_write_internal, _IO_padn_internal)
31322         (_IO_getline_info_internal, _IO_getline_internal)
31323         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31324         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31325         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31326         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31327         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31328         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31329         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31330         with libc_hidden_ver, remove use of INTUSE.
31331         * libio/genops.c: Likewise.
31332         * libio/freopen.c: Likewise.
31333         * libio/freopen64.c: Likewise.
31334         * libio/iofclose.c: Likewise.
31335         * libio/iofdopen.c: Likewise.
31336         * libio/iofflush.c: Likewise.
31337         * libio/iofflush_u.c: Likewise.
31338         * libio/iofgets.c: Likewise.
31339         * libio/iofgets_u.c: Likewise.
31340         * libio/iofopen.c: Likewise.
31341         * libio/iofopncook.c: Likewise.
31342         * libio/iofread.c: Likewise.
31343         * libio/iofread_u.c: Likewise.
31344         * libio/ioftell.c: Likewise.
31345         * libio/iofwrite.c: Likewise.
31346         * libio/iogetline.c: Likewise.
31347         * libio/iogets.c: Likewise.
31348         * libio/iogetwline.c: Likewise.
31349         * libio/iopadn.c: Likewise.
31350         * libio/iopopen.c: Likewise.
31351         * libio/ioseekoff.c: Likewise.
31352         * libio/ioseekpos.c: Likewise.
31353         * libio/iosetbuffer.c: Likewise.
31354         * libio/iosetvbuf.c: Likewise.
31355         * libio/ioungetc.c: Likewise.
31356         * libio/ioungetwc.c: Likewise.
31357         * libio/iovdprintf.c: Likewise.
31358         * libio/iovsprintf.c: Likewise.
31359         * libio/iovsscanf.c: Likewise.
31360         * libio/memstream.c: Likewise.
31361         * libio/obprintf.c: Likewise.
31362         * libio/oldfileops.c: Likewise.
31363         * libio/oldiofclose.c: Likewise.
31364         * libio/oldiofdopen.c: Likewise.
31365         * libio/oldiofopen.c: Likewise.
31366         * libio/oldiopopen.c: Likewise.
31367         * libio/oldstdfiles.c: Likewise.
31368         * libio/putc.c: Likewise.
31369         * libio/setbuf.c: Likewise.
31370         * libio/setlinebuf.c: Likewise.
31371         * libio/stdfiles.c: Likewise.
31372         * libio/strops.c: Likewise.
31373         * libio/vasprintf.c: Likewise.
31374         * libio/vscanf.c: Likewise.
31375         * libio/vsnprintf.c: Likewise.
31376         * libio/vswprintf.c: Likewise.
31377         * libio/wfiledoalloc.c: Likewise.
31378         * libio/wfileops.c: Likewise.
31379         * libio/wgenops.c: Likewise.
31380         * libio/wmemstream.c: Likewise.
31381         * libio/wstrops.c: Likewise.
31382         * libio/__fpurge.c: Likewise.
31383         * libio/__fsetlocking.c: Likewise.
31384         * assert/assert.c: Likewise.
31385         * debug/fgets_chk.c: Likewise.
31386         * debug/fgets_u_chk.c: Likewise.
31387         * debug/fread_chk.c: Likewise.
31388         * debug/fread_u_chk.c: Likewise.
31389         * debug/gets_chk.c: Likewise.
31390         * debug/obprintf_chk.c: Likewise.
31391         * debug/vasprintf_chk.c: Likewise.
31392         * debug/vdprintf_chk.c: Likewise.
31393         * debug/vsnprintf_chk.c: Likewise.
31394         * debug/vsprintf_chk.c: Likewise.
31395         * malloc/mtrace.c: Likewise.
31396         * misc/error.c: Likewise.
31397         * misc/syslog.c: Likewise.
31398         * stdio-common/asprintf.c: Likewise.
31399         * stdio-common/fxprintf.c: Likewise.
31400         * stdio-common/getw.c: Likewise.
31401         * stdio-common/isoc99_fscanf.c: Likewise.
31402         * stdio-common/isoc99_scanf.c: Likewise.
31403         * stdio-common/isoc99_vfscanf.c: Likewise.
31404         * stdio-common/isoc99_vscanf.c: Likewise.
31405         * stdio-common/isoc99_vsscanf.c: Likewise.
31406         * stdio-common/printf-prs.c: Likewise.
31407         * stdio-common/printf_fp.c: Likewise.
31408         * stdio-common/printf_fphex.c: Likewise.
31409         * stdio-common/printf_size.c: Likewise.
31410         * stdio-common/putw.c: Likewise.
31411         * stdio-common/scanf.c: Likewise.
31412         * stdio-common/sprintf.c: Likewise.
31413         * stdio-common/tmpfile.c: Likewise.
31414         * stdio-common/vfprintf.c: Likewise.
31415         * stdio-common/vfscanf.c: Likewise.
31416         * stdlib/strfmon_l.c: Likewise.
31417         * sunrpc/openchild.c: Likewise.
31418         * sunrpc/xdr_stdio.c: Likewise.
31419         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31420         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31422 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31424         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31426         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31427         in the third column, to generate for the shared library an IFUNC
31428         that uses _dl_vdso_vsym.
31429         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31430         * Makeconfig (object-suffixes-noshared): New variable.
31432         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31433         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31434         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31435         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31437         [BZ #14132]
31438         * include/sys/time.h (__gettimeofday): Remove macro.
31439         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31440         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31441         Remove INTDEF.
31442         (__gettimeofday): Add libc_hidden_def.
31443         (gettimeofday): Add libc_hidden_weak.
31444         * sysdeps/mach/gettimeofday.c: Likewise.
31445         * sysdeps/posix/gettimeofday.c: Likewise.
31446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31447         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31448         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31449         (__gettimeofday_internal): Remove strong_alias.
31450         (__gettimeofday): Add libc_hidden_def.
31451         (gettimeofday): Add libc_hidden_weak.
31452         * sysdeps/unix/syscalls.list (gettimeofday):
31453         Remove __gettimeofday_internal alias.
31455 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31456             H.J. Lu  <hongjiu.lu@intel.com>
31458         [BZ #12495]
31459         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31460         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31461         (largebin_index_32_big): New.
31462         (largebin_index): Use it for 16-byte alignment.
31463         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31464         correction with front_misalign.
31466 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31469         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31470         Likewise.
31471         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31472         Likewise.
31473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31474         Likewise.
31475         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31476         Likewise.
31477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31478         Likewise.
31479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31480         Likewise.
31481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31482         Likewise.
31483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31484         Likewise.
31485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31486         Likewise.
31487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31488         Likewise.
31489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31490         Likewise.
31491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31492         Likewise.
31494         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31495         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31497 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31499         [BZ #10846]
31500         [BZ #14036]
31501         * math/libm-test.inc (exp_test): Add test from bug 14036.
31502         (pow_test): Add test from bug 10846.
31504         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31505         and other flags.
31506         (special_function): Do not include flags in test name.
31507         (parse_args): Likewise.
31508         * sysdeps/i386/fpu/libm-test-ulps: Update.
31509         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31510         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31511         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31512         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31514         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31515         exceptions.
31516         * math/libm-test.inc ("Philosophy"): Update comment about
31517         exception testing.
31518         (UNDERFLOW_EXCEPTION): New macro.
31519         (UNDERFLOW_EXCEPTION_OK): Likewise.
31520         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31521         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31522         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31523         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31524         (INVALID_EXCEPTION_OK): Update value.
31525         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31526         (OVERFLOW_EXCEPTION_OK): Likewise.
31527         (IGNORE_ZERO_INF_SIGN): Likewise.
31528         (test_exceptions): Handle underflow exceptions.
31529         (acos_test): Update for underflow exception expectations.
31530         (cexp_test): Likewise.
31531         (clog_test): Likewise.
31532         (clog10_test): Likewise.
31533         (csqrt_test): Likewise.
31534         (ctan_test): Likewise.
31535         (ctanh_test): Likewise.
31536         (exp_test): Likewise.
31537         (exp10_test): Likewise.
31538         (exp2_test): Likewise.
31539         (expm1_test): Likewise.
31540         (fma_test): Likewise.
31541         (j0_test): Likewise.
31542         (jn_test): Likewise.
31543         (nexttoward_test): Likewise.
31544         (pow_test): Likewise.
31545         (scalbn_test): Likewise.
31546         (scalbln_test): Likewise.
31547         (tan_test): Likewise.
31548         (y1_test): Likewise.
31549         * sysdeps/i386/fpu/libm-test-ulps: Update.
31550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31552 2012-05-23  David S. Miller  <davem@davemloft.net>
31554         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31555         (__libc_sigaction): Remove unused local variables.
31557 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31559         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31561 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31563         mktime: avoid signed integer overflow
31564         * time/mktime.c (__mktime_internal): Do not mishandle the case
31565         where diff == INT_MIN.
31567         mktime: simplify computation of average
31568         * time/mktime.c (ranged_convert): Use new time_t_avg function
31569         instead of rolling our own (probably-slower) code.
31571         mktime: do not assume signed right shift propagates sign bit
31572         * time/mktime.c (isdst_differ): New static function.
31573         (__mktime_internal): No need to normalize tm_isdst now.
31574         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31575         tm_isdst values.
31577         mktime: merge another wrapv change from gnulib
31578         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31579         from some compilers.
31581         mktime: remove incorrect attempt at unusual arithmetics
31582         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31583         The code didn't really work on such machines anyway.
31584         (TYPE_MINIMUM): Assume two's complement.
31585         (twos_complement_arithmetic): Verify that long_int and time_t
31586         are two's complement (or unsigned, in the latter case).
31588         mktime: check signed shifts on long_int and time_t, too
31589         * time/mktime.c (SHR): Check that shifts work as desired
31590         on the types long_int and time_t too, as SHR is used on
31591         such types.
31593         mktime: do not assume 'long' is wide enough
31594         * time/mktime.c (verify): Move decl up.
31595         (long_int): New type.
31596         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31597         to remove assumption in the code that 'long' is wide enough to
31598         store year values.  This assumption is not true on x32 and on
31599         some non-glibc platforms.
31601         mktime: merge wrapv change from gnulib
31602         * time/mktime.c (WRAPV): New macro.
31603         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31604         (guess_time_tm, __mktime_internal): Do not assume that signed
31605         integer overflow wraps around; modern compilers generate code
31606         where this assumption is no longer valid.
31608 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31610         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31611         Replace "jmp L(pseudo_end)" with "ret".
31612         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31613         Likewise.
31615 2012-05-23  Andreas Jaeger  <aj@suse.de>
31617         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31618         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31620 2012-05-23  Andreas Jaeger  <aj@suse.de>
31621             Maximilian Attems  <max@stro.at>
31623         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31624         New macros.
31626 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31628         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31629         code so that pseudo_end is just ret and the stack pointer is
31630         correct also for static library in error case.
31632 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31634         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31635         move to syscalls.list.
31636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31641         * manual/install.texi (Running make install): Do not mention Linux
31642         kernel version for which pt_chown is not needed.
31643         (Linux): Do not mention problems with nscd with 2.0 kernels.
31644         * INSTALL: Regenerated.
31646 2012-05-23  Andreas Jaeger  <aj@suse.de>
31648         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31649         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31650         macro.
31651         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31652         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31653         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31654         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31655         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31656         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31657         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31658         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31659         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31661         * sysdeps/unix/sysv/linux/bits/in.h
31662         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31664 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31666         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31667         (PREPARE_VERSION): Just use assert instead, it will be elided
31668         under [NDEBUG] anyway.
31670 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31672         * sysdeps/unix/sysv/linux/Makefile: Include
31673         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31674         (sysdep_routines): Remove sysctl.
31675         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31676         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31677         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31678         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31679         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31681 2012-05-22  Andreas Jaeger  <aj@suse.de>
31683         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31684         that pseudo_end is just ret and the stack pointer is correct also
31685         for static library in error case.
31687 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31689         [BZ #14122]
31690         * nss/nsswitch.c (defconfig_entries): New variable.
31691         (__nss_database_lookup): Don't leak defconfig entries.
31692         (nss_parse_service_list): Don't leak on error paths.
31693         (free_database_entries): New function.
31694         (free_defconfig): New function.
31695         (free_mem): Move common code to free_database_entries.
31697 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31699         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31700         Add arch_prctl.
31701         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31703         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31704         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31705         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31706         New macro.
31707         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31708         (INTERNAL_SYSCALL_TYPES): Likewise.
31709         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31710         (LOAD_REGS_TYPES_[1-6]): Likewise.
31711         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31712         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31714 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31716         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31717         copysignl for GLIBC_2_0.
31718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31719         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31720         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31721         logbl for GLIBC_2_0.
31722         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31723         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31725 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31727         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31728         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31730         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31731         Use "neg %eax".
31733         * time/mktime.c: Update copyright years.
31735 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31737         mktime: merge comment-quoting-style change from gnulib
31738         * time/mktime.c: Quote 'like this' in comments.
31739         The GNU coding standards suggest that we no longer quote `like this',
31740         as "`" and "'" are typically rendered asymmetrically nowadays.
31741         The typical gnulib style is to quote 'like this' when quoting
31742         code, and "like this" when quoting English.
31744         * time/mktime.c (compile-command): Add "-I.".
31746         mktime: merge mktime-internal.h change from gnulib
31747         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31749         mktime: merge time_r change from gnulib
31750         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31752         mktime: merge DEBUG change from gnulib
31753         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31754         case system <time.h> has a #define.
31756         mktime: merge <sys/types.h> change from gnulib
31757         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31758         since <time.t> is now guaranteed to define time_t.
31760         mktime: merge HAVE_CONFIG_H change from gnulib
31761         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31763 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31766         Use "neg %eax".
31768         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31769         __rlim_t cast.
31770         (struct rusage): Use anonymous union to pad each field to
31771         __syscall_slong_t.
31773 2012-05-21  David S. Miller  <davem@davemloft.net>
31775         * Makefules (o-iterator): Remove .s cases.
31776         (compile-command.s): Delete.
31777         (COMPILE.s): Delete.
31778         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31780 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31782         * configure.in (libc_cv_predef_stack_protector): Only consider
31783         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31784         * configure: Regenerated.
31786 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31788         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31789         New macro.  Use R*LP on int and pointer.
31790         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31791         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31792         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31793         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31795         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31796         [__WORDSIZE_TIME64_COMPAT32] instead of
31797         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31798         (struct utmp): Likewise.
31799         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31800         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31801         Renamed to ...
31802         (__WORDSIZE_TIME64_COMPAT32): This.
31803         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31804         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31805         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31806         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31807         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31808         (__WORDSIZE_TIME64_COMPAT32): New macro.
31810 2012-05-21  Andreas Jaeger  <aj@suse.de>
31812         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31813         only if [SHARED]. Add prototype for __wcschr_ia32.
31815 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31817         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31818         of %rbp unmolested in the jmp_buf while mangling the low bits.
31819         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31820         unmolested high bits of %rbp while demangling the low bits.
31821         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31823 2012-05-21  Andreas Jaeger  <aj@suse.de>
31825         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31826         * sunrpc/svc_simple.c: Use it for registerrpc.
31827         * sunrpc/xcrypt.c: Use it for passwd2des.
31829         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31833         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31834         Don't define if [__SYSCALL_WORDSIZE != 32].
31835         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31836         New macro.
31838 2012-05-21  Bruno Haible  <bruno@clisp.org>
31839             Andreas Jaeger  <aj@suse.de>
31841         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31842         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31843         inptr and inend for must_buffer_ch.
31844         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31845         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31846         * stdio-common/Makefile (tests): Remove bug15.
31847         (bug15-ENV): Remove macro.
31848         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31849         anymore.
31851 2012-05-19  Andreas Jaeger  <aj@suse.de>
31852             Roland McGrath  <roland@hack.frob.com>
31854         * manual/contrib.texi: Completely rewritten. It contains now an
31855         alphabetical list of contributors and their contributions.
31857 2012-05-21  Richard Henderson  <rth@twiddle.net>
31859         * misc/getauxval.c (__getauxval): Use unsigned long int.
31860         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31861         (getauxval): Use unsigned long int.
31863 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31865         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31867 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31869         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31870         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31871         __alignof__ (long double).
31873 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31877 2012-05-20  Richard Henderson  <rth@twiddle.net>
31879         * misc/getauxval.c: New file.
31880         * misc/sys/auxv.h: New file.
31881         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31882         (routines): Add getauxval.
31883         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31884         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31885         * elf/dl-sysdep.c (_dl_auxv): Remove.
31886         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31887         * elf/dl-support.c (_dl_auxv): New variable.
31888         (_dl_aux_init): Initialize it.
31889         * manual/startup.texi (Auxiliary Vector): New node.
31890         * sysdeps/generic/bits/hwcap.h: New file.
31891         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31892         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31893         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31894         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31895         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31896         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31898         Update.
31899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31900         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31901         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31902         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31903         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31908 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31912 2012-05-19  David S. Miller  <davem@davemloft.net>
31914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31916 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31918         [BZ #14123]
31919         * math/s_ccosh.c: Include <float.h>
31920         (__ccosh): Avoid internal overflow calculating sinh and cosh
31921         values before multiplying by sin and cos values.
31922         * math/s_ccoshf.c: Likewise.
31923         * math/s_ccoshl.c: Likewise.
31924         * math/s_csin.c: Likewise.
31925         * math/s_csinf.c: Likewise.
31926         * math/s_csinl.c: Likewise.
31927         * math/s_csinh.c: Likewise.
31928         * math/s_csinhf.c: Likewise.
31929         * math/s_csinhl.c: Likewise.
31930         * math/libm-test.inc (ccos_test): Add more tests.
31931         (ccosh_test): Likewise.
31932         (csin_test): Likewise.
31933         (csinh_test): Likewise.
31934         * sysdeps/i386/fpu/libm-test-ulps: Update.
31935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31937 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
31939         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
31940         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
31942         * sysdeps/x86_64/x32/_itoa.h: Add comment.
31944 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31946         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
31947         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
31948         * sysdeps/powerpc/soft-fp/Versions: Likewise.
31949         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
31950         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
31951         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
31952         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
31953         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
31954         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
31955         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
31956         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
31957         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
31958         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
31959         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
31960         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
31961         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
31962         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
31963         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
31964         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
31965         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
31966         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
31967         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
31968         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
31969         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
31970         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
31971         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
31972         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
31973         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
31974         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
31975         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
31976         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
31978 2012-05-18  Andreas Jaeger  <aj@suse.de>
31980         * csu/.gitignore: Delete.
31982 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31984         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
31985         (timex): Use __syscall_slong_t.
31987 2012-05-18  Andreas Jaeger  <aj@suse.de>
31988             Carlos O'Donell  <carlos_odonell@mentor.com>
31990         * manual/install.texi (Configuring and compiling): Update
31991         description about files modified in the source directory.
31992         * INSTALL: Regenerated.
31994 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
31996         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
31997         value.  Use "or" to set return value to -1.
31998         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
31999         negate return value.
32001 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32003         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32004         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32005         failure if the compiler has Graphite support disabled.
32006         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32007         Likewise.
32008         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32009         (CFLAGS-memmove.c): Likewise.
32010         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32011         Likewise.
32013 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32015         * sysdeps/x86_64/x32/_itoa.h: New file.
32017         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32018         getdents system call only if kernel and user dirents have the
32019         same d_ino and d_off.
32021         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32022         LLONG_MAX != LONG_MAX.
32023         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32024         (_fitoa_word): Likewise.
32026         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32027         years.
32028         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32029         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32030         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32032         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32033         include <bits/wordsize.h>.  Check __x86_64__ instead of
32034         __WORDSIZE.
32035         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32036         if __x86_64__ is defined.  Use anonymous union on fpstate.
32038         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32039         anonymous union.
32041 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32043         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32044         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32046         Refer to _rtld_local_ro instead of _rtld_global_ro.
32047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32048         Likewise.
32049         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32050         Likewise.
32051         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32052         Likewise.
32053         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32054         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32055         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32057         * sysdeps/powerpc/powerpc32/dl-machine.c
32058         (__elf_machine_runtime_setup) [PROF]: Don't reference
32059         _dl_prof_resolve.
32061 2012-05-18  Andreas Jaeger  <aj@suse.de>
32063         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32064         function only available for GCCs before 3.4 since GCC 3.4
32065         introduced a builtin.
32066         (lrint): Likewise.
32067         (llrintf): Likewise.
32068         (llrint): Likewise.
32069         (fmaxf): Likewise.
32070         (fmax): Likewise.
32071         (fminf): Likewise.
32072         (fmin): Likewise.
32073         (rint): Likewise.
32074         (rintf): Likewise.
32075         (nearbyint): Likewise.
32076         (nearbyintf): Likewise.
32077         (ceil): Likewise.
32078         (ceilf): Likewise.
32079         (floor): Likewise.
32080         (floorf): Likewise.
32082 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32084         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32085         on both fields and cast pointer to __syscall_ulong_t.
32087         * bits/types.h (__fsword_t): New type.
32088         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32089         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32090         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32091         (__FSWORD_T_TYPE): Likewise.
32092         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32093         (__FSWORD_T_TYPE): Likewise.
32094         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32095         (__FSWORD_T_TYPE): Likewise.
32096         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32097         (__FSWORD_T_TYPE): Likewise.
32098         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32099         __SWORD_TYPE with __fsword_t.
32100         (statfs64): Likewise.
32102 2012-05-17  David S. Miller  <davem@davemloft.net>
32104         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32106 2012-05-17  Andreas Jaeger  <aj@suse.de>
32108         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32109         warning.
32111 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32113         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32115 2012-05-17  Andreas Jaeger  <aj@suse.de>
32117         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32118         when it is used.
32120 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32122         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32124 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32126         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32127         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32129 2012-05-17  Andreas Jaeger  <aj@suse.de>
32130             Carlos O'Donell  <carlos_odonell@mentor.com>
32132         [BZ #14059]
32133         * sysdeps/x86_64/multiarch/init-arch.h
32134         (bit_YMM_Usable): Rename to...
32135         (bit_AVX_Usable): ... this.
32136         (bit_FMA4_Usable): New macro.
32137         (bit_XMM_state): New macro.
32138         (bit_YMM_state): New macro.
32139         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32140         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32141         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32142         (CPUID_OSXSAVE): New macro.
32143         (CPUID_AVX): New macro.
32144         (CPUID_FMA4): New macro.
32145         (index_YMM_Usable): Rename to...
32146         (index_AVX_Usable): ... this.
32147         (HAS_AVX): Use HAS_ARCH_FEATURE.
32148         (HAS_FMA4): Likewise.
32149         (HAS_YMM_USABLE): Remove.
32150         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32151         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32152         are present.
32153         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32154         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32155         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32156         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32157         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32159 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32161         * math/libm-test.c: Support platforms without multiple rounding modes.
32162         * math/bug-nextafter.c: Support platforms without FP exceptions.
32163         * math/bug-nexttoward.c: Likewise.
32164         * math/test-fenv.c: Likewise.
32165         * math/test-misc.c: Likewise.
32166         * stdlib/bug-getcontext.c: Likewise.
32168 2012-05-17  Andreas Jaeger  <aj@suse.de>
32170         * manual/examples/search.c (critter_cmp): Change signature to
32171         avoid warnings.
32172         * manual/string.texi (Collation Functions): Likewise.
32174 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32176         * bits/types.h: Fold copyright years.
32177         * bits/typesizes.h: Likewise.
32178         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32179         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32180         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32182         * time/time.h: Likewise.
32184 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32186         [BZ #208]
32187         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32188         in instead of returning them.  Return void.
32189         (__libc_mallinfo): Accumulate over all arenas.
32190         (__malloc_stats): Adjust for change in int_mallinfo interface.
32192 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32194         [BZ #10375]
32195         * configure.in (NM): Add AC_CHECK_TOOL for it.
32196         (libc_extra_cflags): New substituted variable.
32197         Check for -fstack-protector being used implicitly.
32198         * configure: Regenerated.
32199         * config.make.in (config-extra-cflags): New variable,
32200         gets @libc_extra_cflags@.
32201         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32203         [BZ #10375]
32204         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32205         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32206         * configure: Regenerated.
32207         * config.make.in (CPPUNDEFS): New substituted variable.
32208         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32209         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32210         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32212 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32214         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32215         (mq_attr): Use __syscall_slong_t.
32217 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32219         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32220         Check __x86_64__ instead of __WORDSIZE.
32221         (_STAT_VER_LINUX): Likewise.
32222         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32223         __syscall_ulong_t and __syscall_slong_t.
32224         (stat64): Likewise.
32226 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32228         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32230 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32232         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32236         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32237         __syscall_ulong_t.
32239         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32240         include <bits/wordsize.h>.  Check __x86_64__ instead of
32241         __WORDSIZE.
32242         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32243         defined.
32244         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32246         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32247         include <bits/wordsize.h>.  Check __x86_64__ instead of
32248         __WORDSIZE.
32249         (user_regs_struct): Use "__extension__ unsigned long long"
32250         instead of "unsigned long" if __x86_64__ is defined.
32251         (user): Likewise.  Pad after pointer field if __ILP32__ is
32252         defined.
32254 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32256         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32257         versions 5 to 9.
32258         * configure: Regenerated.
32259         * manual/install.texi (texinfo): Increase version requirement to
32260         4.5 or later.
32261         * INSTALL: Regenerated.
32263         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32265 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32267         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32269         * sysdeps/x86_64/x32/ffs.c: New file.
32271         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32272         __syscall_ulong_t.
32273         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32274         defined.  Use __syscall_ulong_t.
32275         (shminfo): Use __syscall_ulong_t.
32276         (shm_info): Likewise.
32278         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32279         __syscall_ulong_t.
32281         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32282         <bits/wordsize.h>.
32283         (msgqnum_t): Use __syscall_ulong_t.
32284         (msglen_t): Likewise.
32285         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32286         __syscall_ulong_t.
32288         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32289         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32291         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32293         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32294         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32296         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32297         __syscall_slong_t.
32299         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32300         include <bits/wordsize.h>.  Check __x86_64__ instead of
32301         __WORDSIZE.
32303         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32304         "unsigned long long int" if __x86_64__ is defined.
32305         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32307         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32308         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32309         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32311         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32312         <stdint.h>.
32313         (GET_PC): Cast to uintptr_t first.
32314         (GET_FRAME): Likewise.
32315         (GET_STACK): Likewise.
32317         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32318         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32319         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32320         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32321         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32322         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32323         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32324         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32325         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32326         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32327         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32328         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32329         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32330         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32331         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32332         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32333         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32334         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32335         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32336         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32337         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32338         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32339         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32340         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32341         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32342         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32343         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32344         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32345         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32347 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32349         * Makerules (+depfiles): Also collect depfiles from .oS in
32350         $(extra-objs).
32351         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32352         .oS, $(libnldbl-routines)).
32354         * Makerules (native-compile-mkdep-flags): Define.
32355         * sunrpc/Makefile (extra-objs): Add $(addprefix
32356         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32357         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32358         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32359         calling $(make-target-directory).
32361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32363         * bits/types.h (__snseconds_t): Removed.
32364         * time/time.h (struct timespec): Replace __snseconds_t with
32365         __syscall_slong_t.
32366         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32367         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32368         Likewise.
32369         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32370         (__SNSECONDS_T_TYPE): Likewise.
32371         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32372         (__SNSECONDS_T_TYPE): Likewise.
32373         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32374         (__SNSECONDS_T_TYPE): Likewise.
32376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32378         * sysdeps/mach/hurd/bits/typesizes.h
32379         (__SYSCALL_SLONG_TYPE): New macro.
32380         (__SYSCALL_ULONG_TYPE): Likewise.
32382 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32384         * bits/types.h (__syscall_slong_t): New type.
32385         (__syscall_ulong_t): Likewise.
32387         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32388         (__SYSCALL_ULONG_TYPE): Likewise.
32389         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32390         (__SYSCALL_SLONG_TYPE): Likewise.
32391         (__SYSCALL_ULONG_TYPE): Likewise.
32392         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32393         (__SYSCALL_SLONG_TYPE): Likewise.
32394         (__SYSCALL_ULONG_TYPE): Likewise.
32395         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32396         (__SYSCALL_SLONG_TYPE): Likewise.
32397         (__SYSCALL_ULONG_TYPE): Likewise.
32399 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32401         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32402         Add sigaltstack-offsets.sym.
32403         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32404         <sigaltstack-offsets.h>.
32405         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32406         longjmp_msg pointer.
32407         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32408         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32409         signal stack.
32410         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32412 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32414         * elf/stackguard-macros.h: Remove file.
32415         * sysdeps/generic/stackguard-macros.h: New file.
32416         * sysdeps/i386/stackguard-macros.h: Likewise.
32417         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32418         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32419         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32420         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32421         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32422         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32423         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32424         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32425         <elf/stackguard-macros.h>.
32427         [BZ #14109]
32428         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32429         __aligned__ in attribute.
32430         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32431         (gregset_t): Likewise.
32433 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32435         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32436         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32437         * sysdeps/x86_64/x32/Implies-after: New file.
32439 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32441         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32442         and access return value for _dl_profile_fixup.  Use R10_LP to
32443         load frame size.
32445 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32447         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32451         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32452         * sysdeps/x86_64/x32/sysdep.h: New file.
32454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32456         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32457         * sysdeps/x86_64/setjmp.S: Likewise.
32459 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32461         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32462         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32463         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32464         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32465         remove unused global constant.
32467 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32469         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32470         include of <not-cancel.h>.
32472 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32474         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32476 2012-05-15  Jeff Law  <law@redhat.com>
32477             Andreas Jaeger  <aj@suse.de>
32479         [BZ #13594]
32480         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32481         out from...
32482         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32483         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32484         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32485         code changing __hst_map_handle.map.
32487 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32489         * configure.in (sysnames): Look for Implies-before and Implies-after
32490         files.
32491         * configure: Regenerated.
32493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32495         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32496         8-byte data alignment with LP_SIZE alignment.
32498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32500         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32501         into R10_LP.
32503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32505         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32509         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32510         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32511         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32512         Likewise.
32513         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32517         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32518         (stackinfo_sub_sp): Likewise.
32520 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32522         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32523         RAX_LP.
32525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32527         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32528         into R*_LP.
32530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32532         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32533         sizes into R*_LP.
32535 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32537         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32539 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32541         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32542         into R11_LP and load __x86_64_shared_cache_size_half into
32543         R8_LP.
32545 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32547         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32548         R8_LP.
32550 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32553         logb for POWER7.
32554         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32555         logbf for POWER7.
32556         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32557         logbl for POWER7.
32558         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32559         powerpc32/power7/fpu/s_logb.c via #include.
32560         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32561         powerpc32/power7/fpu/s_logbf.c via #include.
32562         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32563         powerpc32/power7/fpu/s_logbl.c via #include.
32565 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32567         * README.libm: Remove file.
32569 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32571         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32572         count for x32.  Use R*_LP and omit operand-size suffix.
32574 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32576         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32577         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32578         * sysdeps/x86_64/x32/shlib-versions: New file.
32580 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32582         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32583         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32584         Use _dl_fatal_printf instead.
32586 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32588         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32589         set if not set by the user.  Do not allow for being unset.
32590         * sysdeps/unix/sysv/linux/configure: Regenerated.
32592 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32594         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32595         the `q' suffix from lea and replace .quad with ASM_ADDR.
32597 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32599         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32600         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32601         instead of $17.
32602         (PTR_DEMANGLE): Likewise.
32604 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32606         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32607         (LP_OP): Likewise.
32608         (ASM_ADDR): Likewise.
32609         (RAX_LP): Likewise.
32610         (RBP_LP): Likewise.
32611         (RBX_LP): Likewise.
32612         (RCX_LP): Likewise.
32613         (RDI_LP): Likewise.
32614         (RSI_LP): Likewise.
32615         (RSP_LP): Likewise.
32616         (R8_LP): Likewise.
32617         (R9_LP): Likewise.
32618         (R10_LP): Likewise.
32619         (R10_LP): Likewise.
32620         (R11_LP): Likewise.
32621         (R12_LP): Likewise.
32622         (R13_LP): Likewise.
32623         (R14_LP): Likewise.
32624         (R15_LP): Likewise.
32626 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32628         * sysdeps/x86_64/x32/dl-machine.h: New file.
32630 2012-05-14  Andreas Jaeger  <aj@suse.de>
32632         * manual/Makefile (subdir): Remove export of subdir.
32633         (all): Remove target.
32634         (.PHONY): Remove all from list.
32635         (mkinstalldirs): Remove.
32636         (.PHONY): Remove installdirs from list.
32637         ($(inst_infodir)/libc.info): Use make-target-directory.
32638         (installdirs): Remove.
32639         (subdir_%): Remove.
32640         (glibc-targets): Remove.
32641         (lib): Remove.
32642         (stubs): Remove.
32643         ($(objpfx)stubs ../po/manual.pot): Remove.
32644         ($(objpfx)stamp%): Remove.
32645         (make-target-directory): Remove.
32646         (subdir_install): Remove.
32647         (routines): Remove.
32648         (aux): Remove.
32649         (sources): Remove.
32650         (objects): Remove.
32651         (headers): Remove.
32653         [BZ #13750]
32654         * manual/.gitignore: Remove, it's not needed anymore.
32655         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32656         all files in it.
32657         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32658         directory.
32659         (texis): Renamed to $(objpfx)texis.
32660         (texis-path): New, contains path to generated files.
32661         (chapters.%): Use texis-path for complete path, add extra argument
32662         libc-texinfo.sh.
32663         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32664         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32665         (summary,texi, stamp-summary): Use complete path of
32666         files. Generate files in build dir.
32667         (dir-add.texi): Build in build dir.
32668         (libm-err.texi,stamp-libm-err): Likewise.
32669         (version.texi, stamp-version): Likewise.
32670         (.%c.texi): Likewise.
32671         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32672         (mostlyclean): Remove target.
32673         (realclean): Remove target.
32674         (generated): Add new variable with contents from mostlyclean and
32675         realclean, remove entries duplicated in common-mostlyclean, add
32676         stamp-libm-err and stamp-version.
32677         (generated-dirs): Add libc directory.
32678         ($(inst_infodir)/libc.info): Install files from build dir.
32680         * manual/install.texi (Configuring and compiling): Adjust since
32681         the info files are not part of the tar ball anymore.
32683 2012-05-14  Andreas Jaeger  <aj@suse.de>
32685         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32686         variable.
32688 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32690         [BZ #13717]
32691         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32692         to 2.2.0 where earlier.
32693         * sysdeps/unix/sysv/linux/configure: Regenerated.
32694         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32695         Remove conditional code.
32696         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32697         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32698         Remove conditional code.
32699         [!__NR_lchown]: Likewise.
32700         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32701         [__NR_lchown]: Likewise.
32702         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32703         comment referencing __ASSUME_LCHOWN_SYSCALL.
32704         * sysdeps/unix/sysv/linux/i386/sigaction.c
32705         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32706         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32707         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32708         Remove conditional code.
32709         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32710         (__protocol_available): Remove #if 0 code.
32711         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32712         conditional code.
32713         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32714         * sysdeps/unix/sysv/linux/kernel-features.h
32715         (__ASSUME_GETCWD_SYSCALL): Don't define.
32716         (__ASSUME_REALTIME_SIGNALS): Likewise.
32717         (__ASSUME_PREAD_SYSCALL): Likewise.
32718         (__ASSUME_PWRITE_SYSCALL): Likewise.
32719         (__ASSUME_POLL_SYSCALL): Likewise.
32720         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32721         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32722         non-SPARC.
32723         (__ASSUME_SIOCGIFNAME): Don't define.
32724         (__ASSUME_MSG_NOSIGNAL): Likewise.
32725         (__ASSUME_SENDFILE): Define unconditionally.
32726         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32727         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32728         conditional code.
32729         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32730         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32731         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32732         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32733         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32734         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32735         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32737         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32738         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32740         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32741         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32743         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32744         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32746         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32747         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32749         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32750         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32752         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32753         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32755         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32756         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32758         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32760         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32761         Remove conditional code.
32762         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32763         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32764         Remove conditional code.
32765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32766         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32767         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32768         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32769         Remove conditional code.
32770         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32771         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32772         Remove conditional code.
32773         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32774         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32775         Remove conditional code.
32776         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32777         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32778         Remove conditional code.
32779         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32780         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32781         Remove conditional code.
32782         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32783         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32784         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32785         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32786         * sysdeps/unix/sysv/linux/sigaction.c
32787         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32788         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32789         * sysdeps/unix/sysv/linux/sigpending.c
32790         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32791         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32792         * sysdeps/unix/sysv/linux/sigprocmask.c
32793         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32794         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32795         * sysdeps/unix/sysv/linux/sigsuspend.c
32796         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32797         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32799         (__libc_missing_rt_sigs): Remove.
32800         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32801         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32802         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32803         Remove conditional code.
32804         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32805         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32806         return 1.
32807         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32808         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32809         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32810         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32812 2012-05-14  Andreas Jaeger  <aj@suse.de>
32814         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32815         it's not used in glibc.
32816         (__coshm1): Likewise.
32817         (__acosh1p): Likewise.
32818         (__sgn): Likewise.
32820         * manual/string.texi (Copying and Concatenation): Add missing
32821         variable in concat example.
32822         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32824 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32826         [BZ #14103]
32827         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32828         __builtin_clzl with __builtin_clzll.
32830 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32832         [BZ #14104]
32833         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32834         libc_freeres_ptr.
32836 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32838         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32839         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32840         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32841         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32843 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32845         * NEWS: Update ia64 info.
32847 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32849         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32850         used as bcopy.
32852 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32854         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32855         * sysdeps/unix/syscalls.list (dup3): Likewise.
32856         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32857         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32859 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32861         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32862         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32864 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32866         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32867         thread pointer.
32868         (TLS_IE): Use mov/add instead of movq/addq to load thread
32869         pointer.
32870         (TLS_GD_PREFIX): New.
32871         (TLS_GD): Use it.
32873 2012-05-11  David S. Miller  <davem@davemloft.net>
32875         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32876         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32877         (_FPU_SETCW): Likewise.
32879 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32881         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32882         is 32-byte aligned.
32884 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32886         [BZ #11837]
32887         * iconvdata/gb18030.c: Update tables.
32888         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32889         characters specially.
32890         (BODY for TO_LOOP): Add encoding of missing ranges.
32892 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32894         [BZ #13673]
32895         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32896         * sysdeps/mach/hurd/dup3.c: Likewise.
32897         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32898         * sysdeps/powerpc/memmove.c:: Likewise.
32900 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32903         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32905 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32907         * elf/elf.h (R_X86_64_RELATIVE64): New.
32908         (R_X86_64_NUM): Updated.
32909         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32910         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32911         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32912         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32913         tst-quad1pie tst-quad2pie
32914         (modules-names): Add tst-quadmod1 tst-quadmod2.
32915         ($(objpfx)tst-quad1): New dependency.
32916         ($(objpfx)tst-quad2): Likewise.
32917         ($(objpfx)tst-quad1pie): Likewise.
32918         ($(objpfx)tst-quad2pie): Likewise.
32919         * sysdeps/x86_64/tst-quad1.c: New file.
32920         * sysdeps/x86_64/tst-quad1pie.c: New file.
32921         * sysdeps/x86_64/tst-quad2.c: Likewise.
32922         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32923         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
32924         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
32925         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
32926         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
32928 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32930         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
32931         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
32932         * streams/stropts.h (t_scalar_t): Define type.
32934         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
32935         (_PATH_PRESERVE): Set to "/var/lib".
32936         (_PATH_RWHODIR): Set to "/var/spool/rwho".
32938         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
32939         instead of int.
32941         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
32942         if __dir_mkfile succeeded.
32944         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
32945         checking for _hurd_dtablesize.  Unlock it right after having
32946         finished _hurd_dtable allocation.
32948 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
32950         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
32951         * sysdeps/mach/hurd/configure: Regenerated.
32952         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
32953         special-casing to...
32954         * sysdeps/gnu/configure.in: ... this new file.
32955         * sysdeps/unix/sysv/linux/configure: Regenerated.
32956         * sysdeps/gnu/configure: New generated file.
32958         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
32959         for Linux: use nsec instead of usec, as well as:
32960         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
32961         members of type struct timespec.
32962         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
32963         New macros.
32964         (struct stat64): Likewise.
32965         (_STATBUF_ST_NSEC): New macro.
32966         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
32968         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32969         __strtoul_internal rather than strtoul.
32971 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32973         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
32974         and reject them.
32976 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32978         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
32979         which preserves existing values.
32980         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
32982 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32984         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
32985         TIMEOUT values.  Return EINVAL for NFDS values either negative or
32986         greater than FD_SETSIZE.
32988 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32990         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
32991         allocated, call __vm_protect to finish enabling the existing space, and
32992         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
32993         allocate the remainder.
32995 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32997         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
32998         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33000 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33002         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33003         sysdeps/mach/hurd/readlink.c.
33005         * posix/tst-sysconf.c (posix_options): Only use
33006         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33007         _POSIX_SYNCHRONIZED_IO when they are defined
33008         * sysdeps/mach/hurd/bits/posix_opt.h:
33009         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33010         (_XOPEN_REALTIME): Undefine macro.
33011         (_XOPEN_REALTIME_THREADS): Undefine macro.
33012         (_XOPEN_SHM): Undefine macro.
33013         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33014         macro to -1.
33015         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33016         macro to -1.
33017         (_POSIX_ASYNC_IO): Undefine macro.
33018         (_POSIX_PRIORITIZED_IO): Undefine macro.
33019         (_POSIX_SPIN_LOCKS): Define macro to -1.
33021         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33022         SA_NODEFER, SA_RESETHAND.
33023         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33024         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33025         F_DUPFD_CLOEXEC.
33027 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33029         * elf/Makefile (pldd-modules): Define unconditionally.
33031 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33033         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33035 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33037         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33038         Return ENOENT when name is empty.
33039         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33041 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33043         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33045         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33047 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33049         Fix mlock in all cases except non-readable pages.
33050         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33051         instead of VM_PROT_ALL as parameter to __vm_wire function.
33053         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33054         (__mkdir): When path is `/', just fail with EEXIST.
33055         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33057 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33059         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33060         <sys/uio.h> (for writev).
33061         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33062         and <sys/param.h> (for MIN).
33064 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33066         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33067         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33068         if interrupted.
33070 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33072         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33073         Depend on against $(link-rpcuserlibs).
33075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33077         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33078         (__libc_stack_end): Do not use attribute_relro.
33079         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33080         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33081         to libthread-provided value.
33082         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33083         attribute_relro.
33085 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33087         [BZ #3748]
33088         * bits/libc-lock.h (__libc_once_get): New macro.
33089         * sysdeps/mach/bits/libc-lock.h: Likewise.
33090         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33091         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33092         instead of using implementation details.
33094         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33095         * libio/freopen.c: Likewise.
33096         * libio/freopen64.c: Likewise.
33097         * misc/syslog.c: Likewise.
33098         * nscd/connections.c: Likewise.
33099         * nscd/netgroupcache.c: Likewise.
33100         * sysdeps/posix/getcwd.c: Likewise.
33102 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33104         * math/w_ilogbf.c: Add #include <limits.h>.
33106 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33108         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33109         path instead of returning without unlocking.
33111         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33112         immediate-write ioctls.
33113         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33117         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33118         __builtin_frame_address instead of making assumptions about the
33119         location of the return address relative to DATA.  Force early load of
33120         the return address.
33121         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33122         __builtin_frame_address.
33124         dup3 for GNU Hurd.
33125         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33126         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33127         implement dup3 and do some further code clean-ups.
33128         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33129         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33131 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33133         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33135         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33136         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33137         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33138         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33139         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33140         d->port.lock.
33142         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33143         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33144         when handler == SIG_ERR, not when handler != SIG_ERR.
33146 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33148         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33149         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33150         definitions.
33152         accept4 for GNU Hurd.
33153         * include/sys/socket.h (__libc_accept4): New prototype.
33154         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33155         to implement __libc_accept4.
33156         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33157         __libc_accept4.
33158         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33160         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33161         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33162         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33163         signal-defines.sym.
33165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33167         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33169 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33171         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33172         assertion on O_CLOEXEC flag.
33173         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33174         * hurd/intern-fd.c: Likewise.
33175         * hurd/port2fd.c: Likewise.
33177 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33179         [BZ #3906]
33180         * bits/in.h (IPV6_PKTINFO): Define new macro.
33181         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33183 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33185         [BZ #13954]
33186         [BZ #13955]
33187         [BZ #13956]
33188         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33189         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33190         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33191         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33192         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33193         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33194         * math/libm-test.inc (logb_test) : Additional logb tests.
33196 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33197             Andreas Jaeger  <aj@suse.de>
33199         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33200         * configure: Regenerated.
33201         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33202         * config.make.in (link-obsolete-rpc): New substituted variable.
33203         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33204         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33205         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33206         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33207         so that libc.a contains the symbols.
33208         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33209         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33210         * sunrpc/auth_none.c: Likewise.
33211         * sunrpc/auth_unix.c: Likewise.
33212         * sunrpc/authdes_prot.c: Likewise.
33213         * sunrpc/authuxprot.c: Likewise.
33214         * sunrpc/clnt_gen.c: Likewise.
33215         * sunrpc/clnt_perr.c: Likewise.
33216         * sunrpc/clnt_raw.c: Likewise.
33217         * sunrpc/clnt_simp.c: Likewise.
33218         * sunrpc/clnt_tcp.c: Likewise.
33219         * sunrpc/clnt_udp.c: Likewise.
33220         * sunrpc/clnt_unix.c: Likewise.
33221         * sunrpc/des_crypt.c: Likewise.
33222         * sunrpc/des_soft.c: Likewise.
33223         * sunrpc/get_myaddr.c: Likewise.
33224         * sunrpc/key_call.c: Likewise.
33225         * sunrpc/key_prot.c: Likewise.
33226         * sunrpc/netname.c: Likewise.
33227         * sunrpc/pm_getmaps.c: Likewise.
33228         * sunrpc/pm_getport.c: Likewise.
33229         * sunrpc/pmap_clnt.c: Likewise.
33230         * sunrpc/pmap_prot.c: Likewise.
33231         * sunrpc/pmap_prot2.c: Likewise.
33232         * sunrpc/pmap_rmt.c: Likewise.
33233         * sunrpc/publickey.c: Likewise.
33234         * sunrpc/rpc_cmsg.c: Likewise.
33235         * sunrpc/rpc_common.c: Likewise.
33236         * sunrpc/rpc_dtable.c: Likewise.
33237         * sunrpc/rpc_prot.c: Likewise.
33238         * sunrpc/rpc_thread.c: Likewise.
33239         * sunrpc/rtime.c: Likewise.
33240         * sunrpc/svc.c: Likewise.
33241         * sunrpc/svc_auth.c: Likewise.
33242         * sunrpc/svc_raw.c: Likewise.
33243         * sunrpc/svc_run.c: Likewise.
33244         * sunrpc/svc_tcp.c: Likewise.
33245         * sunrpc/svc_udp.c: Likewise.
33246         * sunrpc/svc_unix.c: Likewise.
33247         * sunrpc/svcauth_des.c: Likewise.
33248         * sunrpc/xcrypt.c: Likewise.
33249         * sunrpc/xdr.c: Likewise.
33250         * sunrpc/xdr_array.c: Likewise.
33251         * sunrpc/xdr_float.c: Likewise.
33252         * sunrpc/xdr_intXX_t.c: Likewise.
33253         * sunrpc/xdr_mem.c: Likewise.
33254         * sunrpc/xdr_rec.c: Likewise.
33255         * sunrpc/xdr_ref.c: Likewise.
33256         * sunrpc/xdr_sizeof.c: Likewise.
33257         * sunrpc/xdr_stdio.c: Likewise.
33259 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33261         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33262         change.  Update copyright years.
33264 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33266         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33268 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33269             Joseph Myers  <joseph@codesourcery.com>
33270             Paul Pluzhnikov  <ppluzhnikov@google.com>
33272         [BZ #14012]
33273         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33274         requiring rpcgen.
33275         [cross-compiling] (extra-libs): Likewise.
33276         [cross-compiling] (extra-libs-others): Likewise.
33277         [cross-compiling] (librpcsvc-routines): Likewise.
33278         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33279         [cross-compiling] (omit-deps): Likewise.
33280         (sunrpc-CPPFLAGS): New variable.
33281         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33282         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33283         (cross-rpcgen-objs): New variable.
33284         (extra-objs): Append $(cross-rpcgen-objs).
33285         ($(cross-rpcgen-objs)): New rule.
33286         ($(objpfx)cross-rpcgen): Likewise.
33287         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33288         comment.
33289         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33290         ($(objpfx)x%.stmp): Likewise.
33291         * sunrpc/proto.h [IS_IN_build] (_): Define.
33292         [IS_IN_build] (_libc_intl_domainname): Likewise.
33294 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33296         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33297         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33298         and R_X86_64_TPOFF64.
33300 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33302         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33303         sysdeps/unix/sysv/syscalls.list.
33304         (stime): Likewise.
33305         (utime): Likewise.
33306         * sysdeps/unix/sysv/syscalls.list: Remove file.
33308 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33310         [BZ #3440]
33311         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33312         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33313         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33314         (__LC_IDENTIFICATION): Make these macros useful in #if
33315         expressions, as required by C99.
33317 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33319         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33320         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33321         after this.
33323 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33325         * stdlib/longlong.h: Updated from GCC.
33327 2012-05-09  Andreas Jaeger  <aj@suse.de>
33329         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33330         default is first entry.
33331         (run_mode): Set type.
33332         (main): Remove informal message about syslog.
33333         (options): Fix typo.
33335         [BZ #14053]
33336         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33337         to asm.
33338         (lrint): Likewise.
33339         (llrintf): Likewise.
33340         (llrint): Likewise.
33341         (rint): Likewise.
33342         (rintf): Likewise.
33343         (nearbyint): Likewise.
33344         (nearbyintf): Likewise.
33346 2012-05-09  Andreas Jaeger  <aj@suse.de>
33347             Pedro Alves  <palves@redhat.com>
33349         * nscd/nscd.c (run_mode): Use enum.
33350         (main): Cleanup coding style issue.
33352 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33353             Andreas Jaeger  <aj@suse.de>
33355         * nscd/nscd.c (go_background): Replaced with...
33356         (run_mode): ... this.
33357         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33358         (options): Add -F --foreground.
33359         (main): Implement it.
33360         (parse_opt): Parse it.
33362 2012-05-09  Andreas Jaeger  <aj@suse.de>
33364         [BZ #14083]
33365         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33366         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33367         -Wconversion warning.
33368         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33369         Likewise.
33371 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33373         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33374         == 0.
33375         (LC_ALL): Use macro-int-constant.
33376         (LC_COLLATE): Likewise.
33377         (LC_CTYPE): Likewise.
33378         (LC_MESSAGES): Likewise.
33379         (LC_MONETARY): Likewise.
33380         (LC_NUMERIC): Likewise.
33381         (LC_TIME): Likewise.
33382         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33383         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33384         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33385         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33386         Specify type.
33387         [C99-based standards] (float_t): Expect type.
33388         [C99-based standards] (double_t): Expect type.
33389         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33390         type.
33391         [C99-based standards] (HUGE_VALL): Likewise.
33392         [C99-based standards] (INFINITY): Likewise.
33393         [C99-based standards] (NAN): Likewise.
33394         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33395         [C99-based standards] (FP_NAN): Likewise.
33396         [C99-based standards] (FP_NORMAL): Likewise.
33397         [C99-based standards] (FP_SUBNORMAL): Likewise.
33398         [C99-based standards] (FP_ZERO): Likewise.
33399         [C99-based standards] (FP_FAST_FMA): Use
33400         optional-macro-int-constant.  Specify type.  Require == 1.
33401         [C99-based standards] (FP_FAST_FMAF): Likewise.
33402         [C99-based standards] (FP_FAST_FMAL): Likewise.
33403         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33404         [C99-based standards] (FP_ILOGBNAN): Likewise.
33405         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33406         Specify type.
33407         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33408         [C99-based standards] (math_errhandling): Specify type.
33409         [ISO99 || ISO11] (signgam): Do not allow.
33410         [non-C99-based standards] (copysignf): Do not allow.
33411         [non-C99-based standards] (exp2f): Likewise.
33412         [non-C99-based standards] (log2f): Likewise.
33413         [non-C99-based standards] (modff): Allow.
33414         [non-C99-based standards] (erff): Do not allow.
33415         [non-C99-based standards] (erfcf): Likewise.
33416         [non-C99-based standards] (gammaf): Likewise.
33417         [non-C99-based standards] (hypotf): Likewise.
33418         [non-C99-based standards] (j0f): Likewise.
33419         [non-C99-based standards] (j1f): Likewise.
33420         [non-C99-based standards] (jnf): Likewise.
33421         [non-C99-based standards] (lgammaf): Likewise.
33422         [non-C99-based standards] (tgammaf): Likewise.
33423         [non-C99-based standards] (y0f): Likewise.
33424         [non-C99-based standards] (y1f): Likewise.
33425         [non-C99-based standards] (ynf): Likewise.
33426         [non-C99-based standards] (isnanf): Likewise.
33427         [non-C99-based standards] (acoshf): Likewise.
33428         [non-C99-based standards] (asinhf): Likewise.
33429         [non-C99-based standards] (atanhf): Likewise.
33430         [non-C99-based standards] (cbrtf): Likewise.
33431         [non-C99-based standards] (expm1f): Likewise.
33432         [non-C99-based standards] (ilogbf): Likewise.
33433         [non-C99-based standards] (log1pf): Likewise.
33434         [non-C99-based standards] (logbf): Likewise.
33435         [non-C99-based standards] (nextafterf): Likewise.
33436         [non-C99-based standards] (remainderf): Likewise.
33437         [non-C99-based standards] (rintf): Likewise.
33438         [non-C99-based standards] (scalbf): Likewise.
33439         [non-C99-based standards] (copysignl): Likewise.
33440         [non-C99-based standards] (exp2l): Likewise.
33441         [non-C99-based standards] (log2l): Likewise.
33442         [non-C99-based standards] (modfl): Allow.
33443         [non-C99-based standards] (erfl): Do not allow.
33444         [non-C99-based standards] (erfcl): Likewise.
33445         [non-C99-based standards] (gammal): Likewise.
33446         [non-C99-based standards] (hypotl): Likewise.
33447         [non-C99-based standards] (j0l): Likewise.
33448         [non-C99-based standards] (j1l): Likewise.
33449         [non-C99-based standards] (jnl): Likewise.
33450         [non-C99-based standards] (lgammal): Likewise.
33451         [non-C99-based standards] (tgammal): Likewise.
33452         [non-C99-based standards] (y0l): Likewise.
33453         [non-C99-based standards] (y1l): Likewise.
33454         [non-C99-based standards] (ynl): Likewise.
33455         [non-C99-based standards] (isnanl): Likewise.
33456         [non-C99-based standards] (acoshl): Likewise.
33457         [non-C99-based standards] (asinhl): Likewise.
33458         [non-C99-based standards] (atanhl): Likewise.
33459         [non-C99-based standards] (cbrtl): Likewise.
33460         [non-C99-based standards] (expm1l): Likewise.
33461         [non-C99-based standards] (ilogbl): Likewise.
33462         [non-C99-based standards] (log1pl): Likewise.
33463         [non-C99-based standards] (logbl): Likewise.
33464         [non-C99-based standards] (nextafterl): Likewise.
33465         [non-C99-based standards] (remainderl): Likewise.
33466         [non-C99-based standards] (rintl): Likewise.
33467         [non-C99-based standards] (scalbl): Likewise.
33468         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33469         [non-C99-based standards] (FP_*): Do not allow.
33470         [C99-based standards] (FP_*): Change to
33471         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33472         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33473         allow.
33474         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33475         (SIG_ERR): Likewise.
33476         [X/Open-based standards] (SIG_HOLD): Likewise.
33477         (SIG_IGN): Likewise.
33478         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33479         positive value.
33480         (SIGFPE): Likewise.
33481         (SIGILL): Likewise.
33482         (SIGINT): Likewise.
33483         (SIGSEGV): Likewise.
33484         (SIGTER): Likewise.
33485         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33486         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33487         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33488         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33489         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33490         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33491         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33492         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33493         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33494         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33495         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33496         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33497         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33498         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33499         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33500         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33501         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33502         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33503         [X/Open-based standards] (SIGTRAP): Likewise.
33504         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33505         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33506         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33507         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33508         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33509         allow.
33511 2012-05-08  Ian Wienand  <ianw@vmware.com>
33513         [BZ #14080]
33514         * time/tzset.c (__tzset_parse_tz): Update default rules for
33515         daylight time changes in the Energy Policy Act of 2005.
33517 2012-05-09  Andreas Jaeger  <aj@suse.de>
33519         [BZ #13983]
33520         * elf/ldconfig.c (parse_conf): Change string to make clear that
33521         ldconfig only issued a warning if ld.so.conf does not exist.
33523 2012-05-08  David S. Miller  <davem@davemloft.net>
33525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33526         movxtod instead of popping the value on the stack.
33528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33530 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33532         * config.h.in: Add HAVE_ARM_PCS_VFP.
33534 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33536         [BZ #13979]
33537         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33538         checking but the checks are disabled for any reason.
33540 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33542         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33543         and ELF64_R_TYPE with ELFW(R_TYPE).
33545 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33547         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33548         (ulimit): Likewise.
33550         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33551         (settimeofday): Likewise.
33553 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33555         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33556         a struct th_u2 inside the union, and move tu_block/tu_code into
33557         a new th_u3 union of tu_block/tu_code inside of that.  Move
33558         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33559         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33560         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33561         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33562         (th_stuff): Change to th_u1.tu_stuff.
33563         (th_data): Define.
33564         (th_msg): Change to th_u1.th_u2.tu_data.
33566 2012-05-07  David S. Miller  <davem@davemloft.net>
33568         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33570         [BZ #14074]
33571         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33572         (SETUP_PIC_REG): Use it.
33573         (SETUP_PIC_REG_LEAF): Use it.
33575 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33577         [BZ #13885]
33578         [BZ #13923]
33579         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33580         USE_AS_EXPM1L.
33581         (EXPL_FINITE): Likewise.
33582         (FLDLOG): Likewise.
33583         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33584         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33585         e_expl.S.
33586         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33587         USE_AS_EXPM1L.
33588         (EXPL_FINITE): Likewise.
33589         (FLDLOG): Likewise.
33590         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33591         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33592         e_expl.S.
33593         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33594         test of -max_value argument for long double.
33595         * sysdeps/i386/fpu/libm-test-ulps: Update.
33596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33598 2012-05-06  David S. Miller  <davem@davemloft.net>
33600         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33601         quad soft-float symbols whose references which are compiler
33602         generated.
33603         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33605 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33607         [BZ #13884]
33608         [BZ #13914]
33609         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33610         USE_AS_EXP10L.
33611         (EXPL_FINITE): Likewise.
33612         (FLDLOG): Likewise.
33613         (c0): Likewise.
33614         (c1): Likewise.
33615         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33616         Adjust comments for base varying.
33617         (__expl_finite): Change alias to EXPL_FINITE.
33618         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33619         e_expl.S.
33620         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33621         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33622         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33623         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33624         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33625         USE_AS_EXP10L.
33626         (EXPL_FINITE): Likewise.
33627         (FLDLOG): Likewise.
33628         (c0): Likewise.
33629         (c1): Likewise.
33630         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33631         Adjust comments for base varying.
33632         (__expl_finite): Change alias to EXPL_FINITE.
33633         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33634         tests for bugs.
33635         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33637         [BZ #14064]
33638         * math/libm-test.inc (check_float_internal): Correct ulp
33639         calculation for subnormal expected results.
33641 2012-05-06  Andreas Jaeger  <aj@suse.de>
33643         * Makeconfig (+math-flags): New, set to -frounding-math.
33644         (+cflags): Add +math-flags so that all of glibc gets compiled with
33645         it.
33647         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33649 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33651         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33652         Disable one test.
33654         [BZ #13787]
33655         [BZ #13922]
33656         [BZ #14036]
33657         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33658         (__ieee754_expl): Allow for and saturate large arguments.
33659         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33660         (u_threshold): Likewise.
33661         (__exp): Call __ieee754_exp before checking for overflow and
33662         underflow.
33663         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33664         (u_threshold): Likewise.
33665         (__expf): Call __ieee754_expf before checking for overflow and
33666         underflow.
33667         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33668         (u_threshold): Likewise.
33669         (__expl): Call __ieee754_expl before checking for overflow and
33670         underflow.
33671         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33672         (__ieee754_expl): Allow for and saturate large arguments.
33673         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33674         missing overflow exception on overflow.
33675         (expm1_test): Do not allow missing overflow exception on overflow.
33677         * sysdeps/i386/fpu/e_expl.c: Move to ...
33678         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33679         rather than using inline asm.
33680         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33681         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33682         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33684         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33685         (nice): Likewise.
33686         (poll): Likewise.
33687         (signal): Likewise.
33688         (time): Likewise.
33689         (times): Likewise.
33691 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33693         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33694         sysdeps/unix/common/syscalls.list.
33695         (fchmod): Likewise.
33696         (fchown): Likewise.
33697         (ftruncate): Likewise.
33698         (getrusage): Likewise.
33699         (gettimeofday): Likewise.
33700         (setpgid): Likewise.
33701         (setregid): Likewise.
33702         (setreuid): Likewise.
33703         (sigaction): Likewise.
33704         (truncate): Likewise.
33705         (vhangup): Likewise.
33706         * sysdeps/unix/common/syscalls.list: Remove file.
33707         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33708         * sysdeps/unix/sysv/linux/Implies: Likewise.
33710 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33712         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33714         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33715         Moved to ...
33716         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33717         Here.
33718         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33719         to ...
33720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33721         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33722         to ...
33723         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33724         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33725         to ...
33726         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33727         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33728         to ...
33729         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33730         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33731         to ...
33732         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33733         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33734         to ...
33735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33736         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33737         to ...
33738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33739         Here.
33740         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33741         to ...
33742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33743         Here.
33744         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33745         to ...
33746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33747         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33748         Moved to ...
33749         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33750         Here.
33751         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33752         to ...
33753         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33755 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33757         * sysdeps/unix/common/bits/dirent.h: Remove file.
33758         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33760         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33761         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33762         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33763         * sysdeps/unix/bsd/isatty.c: Likewise.
33764         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33765         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33766         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33768 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33770         [BZ #13563]
33771         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33772         long double comparison inaccuracies.
33773         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33774         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33776 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33778         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33779         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33781 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33783         [BZ #14049]
33784         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33785         nonzero digits before rounding a hex value.
33786         * stdlib/tst-strtod.c (tests): Add another test.
33788 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33790         * sysdeps/s390/fpu/libm-test-ulps: Update.
33792 2012-05-03  Andreas Jaeger  <aj@suse.de>
33794         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33795         does not get optimized out.
33796         (malloc_opt_barrier): New.
33798 2012-05-03  Andreas Jaeger  <aj@suse.de>
33799             Roland McGrath  <roland@hack.frob.com>
33801         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33802         intermediate file deletion.
33803         (generated): Add .symlist files.
33805 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33807         [BZ #13775]
33808         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33809         Redirect under this condition.
33810         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33811         [__USE_GNU] (__dprintf_chk): Not under this condition.
33812         [__USE_GNU] (__vdprintf_chk): Likewise.
33813         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33814         under this condition.
33815         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33816         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33817         [__USE_XOPEN2K8] (vdprintf): Likewise.
33818         [__USE_GNU] (__dprintf_chk): Not under this condition.
33819         [__USE_GNU] (__vdprintf_chk): Likewise.
33820         [__USE_GNU] (dprintf): Likewise.
33821         [__USE_GNU] (vdprintf): Likewise.
33823 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33825         * elf/Makefile (common-generated): Set this instead of generated for
33826         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33827         $(all-built-dso)-derived lists.
33829 2012-05-03  Andreas Jaeger  <aj@suse.de>
33831         * sysdeps/i386/fpu/libm-test-ulps: Update.
33833         * FAQ: Removed.
33834         * FAQ.in: Likewise.
33835         * scripts/gen-FAQ.pl: Likewise.
33836         * manual/install.texi (Installation): Point to online location of
33837         FAQ.
33838         * Makefile (files-for-dist): Remove FAQ.
33839         (FAQ): Remove.
33841 2012-05-02  Allan McRae  <allan@archlinux.org>
33843         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33844         (LDFLAGS-reldepmod5.so): Likewise.
33845         (LDFLAGS-reldep6mod1.so): Likewise.
33846         (LDFLAGS-reldep6mod4.so): Likewise.
33847         (LDFLAGS-reldep8mod3.so): Likewise.
33848         (LDFLAGS-unload4mod1.so): Likewise.
33849         (LDFLAGS-unload4mod2.so): Likewise.
33850         (LDFLAGS-tst-initorder): Likewise.
33851         (LDFLAGS-tst-initordera2.so): Likewise.
33852         (LDFLAGS-tst-initordera3.so): Likewise.
33853         (LDFLAGS-tst-initordera4.so): Likewise.
33854         (LDFLAGS-tst-initorderb2.so): Likewise.
33855         (LDFLAGS-noload): Likewise.
33856         (LDFLAGS-next): Likewise.
33857         (LDFLAGS-order2mod1.so): Likewise.
33858         (LDFLAGS-order2mod2.so): Likewise.
33859         (LDFLAGS-tst-initorder2): Likewise.
33860         (LDFLAGS-tst-initorder2a.so): Likewise.
33861         (LDFLAGS-tst-initorder2b.so): Likewise.
33862         (LDFLAGS-tst-initorder2c.so): Likewise.
33863         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33865 2012-05-02  David S. Miller  <davem@davemloft.net>
33867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33869 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33871         [BZ #14055]
33872         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33874 2012-05-02  Andreas Jaeger  <aj@suse.de>
33876         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33877         since we manipulate rounding mode.
33878         (CPPFLAGS-test-idouble.c): Likewise.
33879         (CPPFLAGS-test-ifloat.c): Likewise.
33880         (CFLAGS-test-ldouble.c): Likewise.
33881         (CFLAGS-test-double.c): Likewise.
33882         (CFLAGS-test-float.c): Likewise.
33883         (CFLAGS-test-misc.c): Likewise.
33884         (CFLAGS-test-test-fenv.c): Likewise.
33886 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33888         [BZ #2550]
33889         [BZ #2570]
33890         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33891         comparisons to determine direction to adjust input.
33893 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33895         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33896         output to the target.
33898         * scripts/localplt.awk: New file.
33899         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33900         (check-localplt-CFLAGS): Variable removed.
33901         ($(all-built-dso:=.jmprel)): New static pattern rule.
33902         (generated): Add those targets.
33903         (localplt-built-dso): New variable.
33904         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33906         * elf/check-localplt.c: File removed.
33908         * scripts/check-execstack.awk: New file.
33909         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33910         (check-execstack-CFLAGS): Variable removed.
33911         ($(objpfx)check-execstack.h): Target removed.
33912         ($(objpfx)execstack-default): New target.
33913         (generated): Add that instead of check-execstack.h.
33914         ($(all-built-dso:=.phdr)): New static pattern rule.
33915         (generated): Add those targets.
33916         * elf/check-execstack.c: File removed.
33918         * scripts/check-textrel.awk: New file.
33919         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33920         (check-textrel-CFLAGS): Variable removed.
33921         (all-built-dso): Use := to define.o
33922         ($(all-built-dso:=.dyn)): New static pattern rule.
33923         (generated): Add those targets.
33924         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
33925         * config.make.in (READELF): New substituted variable.
33926         * elf/check-textrel.c: File removed.
33928 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
33930         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33931         allow.
33932         * conform/data/ctype.h-data [C99-based standards] (isblank):
33933         Expect function.
33934         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
33935         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
33936         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33937         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
33938         Specify type.  Require positive value.
33939         (EILSEQ): Likewise.
33940         (ERANGE): Likewise.
33941         [ISO || POSIX] (EILSEQ): Do not expect.
33942         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
33943         Specify type.  Require positive value.
33944         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
33945         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
33946         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
33947         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
33948         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
33949         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
33950         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
33951         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
33952         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
33953         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
33954         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
33955         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
33956         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
33957         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
33958         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
33959         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
33960         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
33961         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
33962         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
33963         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
33964         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
33965         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
33966         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
33967         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
33968         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
33969         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
33970         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
33971         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
33972         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
33973         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
33974         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
33975         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
33976         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
33977         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
33978         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
33979         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
33980         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
33981         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
33982         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
33983         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
33984         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
33985         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
33986         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
33987         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
33988         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
33989         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
33990         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
33991         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
33992         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
33993         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
33994         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
33995         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
33996         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
33997         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
33998         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
33999         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34000         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34001         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34002         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34003         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34004         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34005         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34006         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34007         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34008         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34009         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34010         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34011         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34012         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34013         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34014         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34015         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34016         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34017         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34018         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34019         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34020         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34021         Require >= 2.
34022         (FLT_ROUNDS): Expect as macro, not constant.
34023         (FLT_MANT_DIG): Use macro-int-constant.
34024         (DBL_MANT_DIG): Likewise.
34025         (LDBL_MANT_DIG): Likewise.
34026         (FLT_DIG): Likewise.
34027         (DBL_DIG): Likewise.
34028         (LDBL_DIG): Likewise.
34029         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34030         (DBL_MIN_EXP): Likewise.
34031         (LDBL_MIN_EXP): Likewise.
34032         (FLT_MAX_EXP): Use macro-int-constant.
34033         (DBL_MAX_EXP): Likewise.
34034         (LDBL_MAX_EXP): Likewise.
34035         (FLT_MAX_10_EXP): Likewise.
34036         (DBL_MAX_10_EXP): Likewise.
34037         (LDBL_MAX_10_EXP): Likewise.
34038         (FLT_MAX): Use macro-constant.
34039         (DBL_MAX): Likewise.
34040         (LDBL_MAX): Likewise.
34041         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34042         (DBL_EPSILON): Likewise.
34043         (LDBL_EPSILON): Likewise.
34044         (FLT_MIN): Likewise.
34045         (DBL_MIN): Likewise.
34046         (LDBL_MIN): Likewise.
34047         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34048         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34049         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34050         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34051         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34052         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34053         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34054         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34055         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34056         [ISO11] (FLT_TRUE_MIN): Likewise.
34057         [ISO11] (LDBL_TRUE_MIN): Likewise.
34058         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34059         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34060         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34061         (SCHAR_MAX): Likewise.
34062         (UCHAR_MAX): Likewise.
34063         (CHAR_MIN): Likewise.
34064         (CHAR_MAX): Likewise.
34065         (MB_LEN_MAX): Use macro-int-constant.
34066         (SHRT_MIN): Use macro-int-constant.  Specify type.
34067         (SHRT_MAX): Likewise.
34068         (USHRT_MAX): Likewise.
34069         (INT_MAX): Likewise.
34070         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34071         bound negative.
34072         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34073         bound with "U".
34074         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34075         bound with "L".
34076         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34077         bound negative.  Suffix upper bound with "L".
34078         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34079         bound with "UL".
34080         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34081         Specify type.
34082         [C99-based standards] (LLONG_MAX): Likewise.
34083         [C99-based standards] (ULLONG_MAX): Likewise.
34084         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34085         == 0.
34086         [ISO11] (max_align_t): Require type.
34087         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34089         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34090         from $CFLAGS, without defining away __attribute__ calls.
34091         (checknamespace): Use $CFLAGS_namespace.
34093         * conform/conformtest.pl (@keywords): Only include C99 keywords
34094         for standards based on C99 or C11.
34096         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34097         Disable tests.
34098         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34099         UNIX98]: Likewise.
34101         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34102         usability of symbols in #if.
34104         * conform/conformtest.pl: If macro or constant types start
34105         "promoted:", expect the symbol to be of the following type
34106         promoted by the integer promotions.
34108         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34109         in one place.  Also handle "macro-constant".
34111         * conform/conformtest.pl: Only accept expected macro values with
34112         "==".  Parse all "macro" lines in one place.
34113         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34115         * conform/conformtest.pl: Handle braced types on "constant" lines
34116         instead of handling "typed-constant".
34117         * conform/data/signal.h-data: Use "constant" instead of
34118         "typed-constant".
34120         * conform/conformtest.pl: Handle "optional-" at start of lines in
34121         one place rather than duplicating several cases.  Handle each
34122         format of "macro" line with initial "optional-".
34124         * conform/conformtest.pl: Only accept expected constant or
34125         optional-constant values with "==".  Parse all "constant" lines in
34126         one place.  Parse all "optional-constant" lines in one place.
34127         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34128         * conform/data/fmtmsg.h-data: Likewise.
34129         * conform/data/netinet/in.h-data: Likewise.
34130         * conform/data/tar.h-data: Likewise.
34131         * conform/data/limits.h-data: Use "==" form on "constant" and
34132         "optional-constant" lines.
34134         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34135         Use -std=c99 for XOPEN2K.
34136         (@knownproblems): Remove.
34137         (newtoken): Don't check %isknown.
34139         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34140         Do not expect macro.
34141         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34142         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34143         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34144         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34145         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34146         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34147         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34148         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34149         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34150         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34151         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34152         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34153         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34154         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34155         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34156         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34157         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34158         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34159         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34160         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34161         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34162         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34163         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34164         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34165         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34166         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34167         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34168         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34169         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34170         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34171         [XPG3] (acosh): Likewise.
34172         [XPG3] (asinh): Likewise.
34173         [XPG3] (atanh): Likewise.
34174         [XPG3] (cbrt): Likewise.
34175         [XPG3] (expm1): Likewise.
34176         [XPG3] (ilogb): Likewise.
34177         [XPG3] (log1p): Likewise.
34178         [XPG3] (logb): Likewise.
34179         [XPG3] (nextafter): Likewise.
34180         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34181         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34182         [XPG3] (remainder): Likewise.
34183         [XPG3] (rint): Likewise.
34184         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34185         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34186         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34187         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34188         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34189         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34190         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34191         [UNIX98 || XOPEN2K] (scalb): Expect.
34192         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34193         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34194         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34195         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34196         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34197         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34198         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34199         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34200         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34201         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34202         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34203         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34204         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34205         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34206         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34207         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34208         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34209         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34210         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34211         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34212         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34213         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34214         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34215         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34216         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34217         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34218         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34219         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34220         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34221         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34222         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34223         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34224         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34225         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34226         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34228         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34229         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34230         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34231         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34232         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34233         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34234         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34235         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34237         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34238         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34239         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34240         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34241         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34242         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34243         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34244         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34245         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34246         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34247         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34248         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34249         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34250         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34251         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34252         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34253         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34254         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34255         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34256         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34257         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34258         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34259         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34260         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34261         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34262         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34263         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34264         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34265         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34266         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34267         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34268         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34269         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34270         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34271         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34272         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34273         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34274         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34275         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34276         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34277         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34278         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34279         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34280         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34281         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34282         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34283         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34284         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34285         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34286         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34287         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34288         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34289         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34290         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34291         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34292         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34293         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34294         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34295         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34296         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34297         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34298         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34299         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34300         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34301         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34302         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34303         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34304         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34305         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34306         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34307         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34308         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34309         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34310         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34311         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34312         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34313         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34314         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34315         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34316         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34317         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34318         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34319         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34320         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34321         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34322         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34323         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34324         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34325         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34326         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34327         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34328         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34330         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34331         _XOPEN_SOURCE_EXTENDED for XPG4.
34333         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34335         * Makeconfig (localtime): Remove variable.
34336         (inst_localtime-file): Likewise.
34338 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34341         Update.
34342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34343         Update.
34344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34345         Update.
34346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34347         Update.
34348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34349         Update.
34350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34351         Update.
34352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34353         Update.
34354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34355         Update.
34356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34357         Update.
34359 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34361         [BZ #2550]
34362         [BZ #2570]
34363         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34364         comparisons to determine direction to adjust input.
34365         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34366         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34367         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34368         Likewise.
34369         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34370         Likewise.
34371         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34372         Likewise.
34373         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34374         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34375         Likewise.
34376         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34377         Likewise.
34378         * math/libm-test.inc (nexttoward_test): Add more tests.
34380 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34382         [BZ #14040]
34383         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34384         in version GLIBC_2.1, not GLIBC_2.0.
34385         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34386         Likewise.
34388 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34390         [BZ #13942]
34391         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34392         (1 - x) * (1 + x).
34393         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34394         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34395         * math/libm-test.inc (acos_test): Add more tests.
34396         (asin_test): Likewise.
34397         * sysdeps/i386/fpu/libm-test-ulps: Update.
34398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34400         [BZ #14034]
34401         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34402         of square root.
34403         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34404         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34405         * math/libm-test.inc (acos_test_tonearest): New function.
34406         (acos_test_towardzero): Likewise.
34407         (acos_test_downward): Likewise.
34408         (acos_test_upward): Likewise.
34409         (asin_test_tonearest): Likewise.
34410         (asin_test_towardzero): Likewise.
34411         (asin_test_downward): Likewise.
34412         (asin_test_upward): Likewise.
34413         (main): Call the new functions.
34414         * sysdeps/i386/fpu/libm-test-ulps: Update.
34415         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34417         [BZ #13884]
34418         [BZ #13924]
34419         * math/e_exp10.c: Include <float.h>.
34420         (__ieee754_exp10): Handle underflow here rather than multiplying
34421         large negative argument by M_LN10.
34422         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34423         of __ieee754_expf.
34424         * math/e_exp10l.c: Include <float.h>.
34425         (__ieee754_exp10l): Handle underflow here rather than multiplying
34426         large negative argument by M_LN10l.
34427         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34428         spurious overflow exception on underflow.
34430 2012-04-29  Marek Polacek  <polacek@redhat.com>
34432         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34433         (__fortify_function): New macro.
34434         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34435         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34436         __extern_always_inline.
34437         * libio/bits/stdio2.h: Likewise.
34438         * libio/bits/stdio.h: Likewise.
34439         * string/string.h: Likewise.
34440         * string/bits/string3.h: Likewise.
34441         * include/stdio.h: Likewise.
34442         * stdlib/bits/stdlib.h: Likewise.
34443         * stdlib/stdlib.h: Likewise.
34444         * rt/bits/mqueue2.h: Likewise.
34445         * rt/mqueue.h: Likewise.
34446         * posix/bits/unistd.h: Likewise.
34447         * posix/unistd.h: Likewise.
34448         * io/bits/poll2.h: Likewise.
34449         * io/bits/fcntl2.h: Likewise.
34450         * io/fcntl.h: Likewise.
34451         * io/sys/poll.h: Likewise.
34452         * misc/bits/syslog.h: Likewise.
34453         * misc/bits/syslog-ldbl.h: Likewise.
34454         * misc/sys/syslog.h: Likewise.
34455         * socket/bits/socket2.h: Likewise.
34456         * socket/sys/socket.h: Likewise.
34457         * debug/tst-chk1.c: Likewise.
34458         * wcsmbs/bits/wchar2.h: Likewise.
34459         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34460         * wcsmbs/wchar.h: Likewise.
34462 2012-04-29  Andreas Jaeger  <aj@suse.de>
34464         * Makerules (tests): Remove enable-check-abi protection.
34465         (check-abi-warn): Remove.
34466         (check-abi-%): Remove check-abi-warn usage.
34468         * configure.in: Remove check-abi configure option.
34469         * configure: Regenerated.
34470         * config.make.in (enable-check-abi): Remove.
34472 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34474         [BZ #14033]
34475         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34476         double functions to double *_finite functions.
34478         [BZ #13941]
34479         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34480         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34481         LDBL_MIN_EXP.
34482         * stdio-common/Makefile (tests): Add tst-sprintf3.
34483         * stdio-common/tst-sprintf3.c: New file.
34485         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34486         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34488 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34490         * conform/conformtest.pl: Remove duplicate typed-constant
34491         handling.
34493 2012-04-28  David S. Miller  <davem@davemloft.net>
34495         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34496         (check-abi-%): Remove AWK script prerequisite and explicit
34497         abilist directory.
34498         (check-abi): Rewrite to just diff the symlist with the abilist.
34499         (config-tls, config-abi-config): Delete, no longer used.
34500         (update-abi-%): Remove AWK script and explicit abilist directory.
34501         (update-abi): Rewrite to simply compare and conditionally copy the
34502         symlist and the sysdep abilist file.  Remove update-abi-config
34503         checks.
34504         * abilist/ld.abilist: Remove.
34505         * abilist/libBrokenLocale.abilist: Remove.
34506         * abilist/libanl.abilist: Remove.
34507         * abilist/libcrypt.abilist: Remove.
34508         * abilist/libdl.abilist: Remove.
34509         * abilist/librt.abilist: Remove.
34510         * abilist/libthread_db.abilist: Remove.
34511         * abilist/libutil.abilist: Remove.
34512         * scripts/extract-abilist.awk: Remove.
34513         * scripts/merge-abilist.awk: Remove.
34514         * sysdeps/generic/libcidn.abilist: New file.
34515         * sysdeps/generic/libnss_compat.abilist: New file.
34516         * sysdeps/generic/libnss_db.abilist: New file.
34517         * sysdeps/generic/libnss_dns.abilist: New file.
34518         * sysdeps/generic/libnss_files.abilist: New file.
34519         * sysdeps/generic/libnss_hesiod.abilist: New file.
34520         * sysdeps/generic/libnss_nis.abilist: New file.
34521         * sysdeps/generic/libnss_nisplus.abilist: New file.
34522         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34523         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34524         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34525         file.
34526         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34527         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34528         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34529         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34530         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34531         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34532         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34533         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34534         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34535         file.
34536         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34537         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34538         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34539         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34540         file.
34541         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34542         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34543         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34544         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34545         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34546         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34547         file.
34548         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34549         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34550         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34551         file.
34552         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34553         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34554         New file.
34555         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34556         New file.
34557         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34558         New file.
34559         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34560         New file.
34561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34562         New file.
34563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34564         New file.
34565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34566         New file.
34567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34568         New file.
34569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34570         New file.
34571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34572         New file.
34573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34574         New file.
34575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34576         New file.
34577         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34578         New file.
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34580         file.
34581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34582         New file.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34584         New file.
34585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34586         file.
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34588         New file.
34589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34590         New file.
34591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34592         file.
34593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34594         New file.
34595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34596         New file.
34597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34598         New file.
34599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34600         New file.
34601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34602         New file.
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34604         New file.
34605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34606         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34607         file.
34608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34609         New file.
34610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34611         file.
34612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34613         file.
34614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34615         file.
34616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34617         file.
34618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34619         file.
34620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34621         New file.
34622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34623         file.
34624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34625         file.
34626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34627         New file.
34628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34629         file.
34630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34631         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34632         file.
34633         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34634         New file.
34635         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34636         file.
34637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34638         file.
34639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34640         file.
34641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34642         file.
34643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34644         file.
34645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34646         New file.
34647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34648         file.
34649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34650         file.
34651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34652         New file.
34653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34654         file.
34655         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34656         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34657         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34658         file.
34659         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34660         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34661         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34662         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34663         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34664         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34665         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34666         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34667         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34668         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34671         file.
34672         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34673         New file.
34674         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34675         file.
34676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34677         file.
34678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34679         file.
34680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34681         file.
34682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34683         file.
34684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34685         New file.
34686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34687         New file.
34688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34689         file.
34690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34691         New file.
34692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34693         file.
34694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34695         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34696         file.
34697         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34698         New file.
34699         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34700         file.
34701         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34702         file.
34703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34704         file.
34705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34706         file.
34707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34708         file.
34709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34710         New file.
34711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34712         New file.
34713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34714         file.
34715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34716         New file.
34717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34718         file.
34720 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34722         * conform/conformtest.pl: Fix typo in handling typed-constant from
34723         allow-header.
34725 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34727         * README: Cut down references to pre-2.6 Linux kernels and
34728         Linuxthreads.  Update lists of configurations in libc and ports
34729         and sort alphabetically.  Say "or newer" with Linux kernel version
34730         requirements.
34732         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34734 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34736         [BZ #887]
34737         * math/libm-test.inc (logb_test_downward): New test to expose
34738         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34739         rounding mode.
34741 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34743         [BZ #14027]
34744         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34745         to be done.
34746         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34747         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34749 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34751         * sysdeps/unix/i386/brk.S: Remove file.
34752         * sysdeps/unix/i386/dl-brk.S: Likewise.
34753         * sysdeps/unix/i386/pipe.S: Likewise.
34754         * sysdeps/unix/i386/sigreturn.S: Likewise.
34755         * sysdeps/unix/i386/syscall.S: Likewise.
34756         * sysdeps/unix/i386/vfork.S: Likewise.
34757         * sysdeps/unix/i386/wait.S: Likewise.
34759         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34760         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34762         * configure.in (arm*-none*): Do not allow without
34763         --enable-hacker-mode.
34764         (netbsd*): Remove case setting base_os.
34765         (386bsd*): Likewise.
34766         (freebsd*): Likewise.
34767         (bsdi*): Likewise.
34768         (osf*): Likewise.
34769         (sunos*): Likewise.
34770         (ultrix*): Likewise.
34771         (newsos*): Likewise.
34772         (dynix*): Likewise.
34773         (*bsd*): Likewise.
34774         (sysv*): Likewise.
34775         (isc*): Likewise.
34776         (esix*): Likewise.
34777         (sco*): Likewise.
34778         (minix*): Likewise.
34779         (irix4*): Likewise.
34780         (irix6*): Likewise.
34781         (solaris[2-9]*): Likewise.
34782         (none): Likewise.
34783         * configure: Regenerated.
34785 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34787         [BZ #11521]
34788         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34789         overflow or cancellation in calculating denominator.
34790         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34791         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34792         down expression to avoid unexpected rounding in newer GCCs.
34793         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34795 2012-04-26  David S. Miller  <davem@davemloft.net>
34797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34798         long-double compat symbols.
34799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34804         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34805         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34811         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34813 2012-04-25  David S. Miller  <davem@davemloft.net>
34815         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34816         HWCAP_* values only after the memory barriers have been defined.
34817         (atomic_full_barrier): Define.
34818         (atomic_read_barrier): Define.
34819         (atomic_write_barrier): Define.
34821 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34823         * shlib-versions: Add libgcc_s version information.
34824         * sysdeps/generic/libgcc_s.h: Remove.
34825         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34826         libgcc_s.h.
34827         * sysdeps/gnu/unwind-resume.c: Likewise.
34828         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34830 2012-04-25  David S. Miller  <davem@davemloft.net>
34832         * sysdeps/unix/sparc/brk.S: Delete.
34833         * sysdeps/unix/sparc/dl-brk.S: Delete.
34834         * sysdeps/unix/sparc/pipe.S: Delete.
34835         * sysdeps/unix/sparc/sysdep.S: Delete.
34836         * sysdeps/unix/sparc/sysdep.h: Delete.
34837         * sysdeps/unix/sparc/vfork.S: Delete.
34838         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34839         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34840         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34841         (ret_ERRVAL, r0, r1, MOVE): Define.
34842         (JUMPTARGET): Remove.
34843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34844         sysdeps/unix/sparc/sysdep.h
34845         (ENTRY, END): Remove.
34846         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34848 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34850         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34851         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34852         -DIS_IN_build.
34854         * timezone/README: Update upstream location and email address for
34855         tzcode and tzdata.
34856         * timezone/zdump.c: Update from tzcode 2012b.
34857         * timezone/zic.c: Likewise.
34859         * configure.in (libc_cv_as_needed): Remove test.
34860         * configure: Regenerated.
34861         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34862         conditional definition.
34863         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34864         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34865         * config.make.in (have-as-needed): Remove variable.
34867 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34868             Paul Pluzhnikov  <ppluzhnikov@google.com>
34870         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34871         strings correctly.
34873 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34875         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34876         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34877         * sysdeps/sh/strlen.S: Likewise.
34879 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34881         * sysdeps/unix/fork.S: Remove file.
34882         * sysdeps/unix/i386/fork.S: Likewise.
34883         * sysdeps/unix/sparc/fork.S: Likewise.
34885         * sysdeps/unix/system.c: Remove file.
34886         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34888         * sysdeps/unix/getegid.S: Remove file.
34889         * sysdeps/unix/geteuid.S: Likewise.
34891 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34893         * scripts/check-localplt.awk: New file.
34894         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34895         of diff.
34896         * scripts/data/localplt-generic.data: Add a comment.
34898         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34899         NODE when __dir_mkfile failed.
34900         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34901         Reported by Ludovic Courtès <ludo@gnu.org>.
34903 2012-04-24  Andreas Jaeger  <aj@suse.de>
34905         * Makerules (common-clean): Also remove gen-as-const-headers
34906         files.
34908 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34910         * Makerules (native-compile): Do not change working directory for
34911         build.  Use $(OUTPUT_OPTION) in command.
34912         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34914 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34916         [BZ #13886]
34917         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34918         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34919         * math/libm-test.inc (floor_test): Add more tests.
34920         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34922 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34924         * sysdeps/unix/getdents.c: Remove file.
34925         * sysdeps/unix/sysv/getdents.c: Likewise.
34926         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
34928         * sysdeps/unix/syscalls.list (madvise): Add syscall from
34929         sysdeps/unix/mman/syscalls.list.
34930         (mmap): Likewise.
34931         (mprotect): Likewise.
34932         (msync): Likewise.
34933         (munmap): Likewise.
34934         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
34935         * sysdeps/unix/mman/syscalls.list: Remove.
34936         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
34938         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
34939         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
34940         * configure: Regenerated.
34941         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
34942         $(libgcc_s_suffix).
34943         * config.make.in (libgcc_s_suffix): Remove variable.
34945 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
34947         * sysdeps/unix/sysv/gethostname.c: Move to ...
34948         * sysdeps/posix/gethostname.c: ... here.
34950         * sysdeps/unix/execve.S: Remove file.
34952         * sysdeps/unix/_exit.S: Remove file.
34954 2012-04-23  Andreas Jaeger  <aj@suse.de>
34956         [BZ #13739]
34957         * manual/Makefile: Remove make dist support, there's no
34958         need for a stand-alone documentation tar ball.
34959         (TEXI2DVI): Define always, it's not in Makeconfig.
34960         (dist): Removed.
34961         (tar-it): Removed.
34962         (edition): Removed.
34963         (glibc-doc-$(edition).tar): Removed
34964         (%.Z): Removed.
34965         (%.gz): Removed.
34966         (%.uu): Removed.
34967         (ETAGS): Remove, it's in Makeconfig.
34968         (move-if-change): Remove, it's in Makeconfig.
34970 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
34972         [BZ #13970]
34973         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
34974         (strtod, strtof, strtold, strtol, strtoul, strtoq)
34975         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
34976         (strtod_l, strtof_l, strtold_l): Remove __wur.
34977         It is not necessarily an error to ignore strtol's return value.
34978         One can reliably look at the stored endptr to decide whether
34979         the number had valid syntax.
34981 2012-04-21  Andreas Jaeger  <aj@suse.de>
34983         [BZ #13739]
34984         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
34986 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
34988         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
34989         * sysdeps/unix/sysv/Versions: Remove file.
34991 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
34993         [BZ #13927]
34994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34996 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
34998         [BZ #7064]
34999         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35000         version from __vm86.
35002 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35004         * sysdeps/unix/common/lxstat.c: Remove file.
35005         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35007         * sysdeps/unix/sysv/Makefile: Remove file.
35009         * sysdeps/unix/sysv/direct.h: Remove file.
35011         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35012         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35013         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35014         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35015         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35016         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35017         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35019         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35021         * sysdeps/unix/xmknod.c: Remove file.
35022         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35024         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35026         * sysdeps/unix/sysv/i386/time.S: Remove file.
35028         * sysdeps/unix/fxstat.c: Remove file.
35029         * sysdeps/unix/xstat.c: Likewise.
35030         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35032         * sysdeps/unix/sysv/sigaction.c: Remove file.
35034         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35035         (sysdep_headers): Remove variable.
35036         [termio.h not in sysdep_headers] (generated): Likewise.
35037         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35038         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35039         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35040         * sysdeps/unix/sysv/tcflow.c: Likewise.
35041         * sysdeps/unix/sysv/tcflush.c: Likewise.
35042         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35043         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35044         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35045         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35046         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35048         * sysdeps/unix/siglist.c: Remove file.
35050         * sysdeps/unix/getppid.S: Remove file.
35052         * sysdeps/unix/mkdir.c: Remove file.
35053         * sysdeps/unix/rmdir.c: Likewise.
35055 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35057         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35058         ERR_MAX value.
35059         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35060         errlist-compat value.
35062 2012-04-18  David S. Miller  <davem@davemloft.net>
35064         * sysdeps/generic/memcopy.h (reg_char): Delete.
35065         * debug/strcat_chk.c: Use char, not reg_char.
35066         * debug/strcpy_chk.c: Likewise.
35067         * debug/strncat_chk.c: Likewise.
35068         * debug/strncpy_chk.c: Likewise.
35069         * string/memchr.c: Likewise.
35070         * string/memrchr.c: Likewise.
35071         * string/rawmemchr.c: Likewise.
35072         * string/strcat.c: Likewise.
35073         * string/strchr.c: Likewise.
35074         * string/strchrnul.c: Likewise.
35075         * string/strcmp.c: Likewise.
35076         * string/strcpy.c: Likewise.
35077         * string/strncat.c: Likewise.
35078         * string/strncmp.c: Likewise.
35079         * string/strncpy.c: Likewise.
35081 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35083         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35084         __builtin_memcopy is called when src and dest ranges are known to not
35085         overlap.
35087 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35089         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35090         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35091         fwd_align_merge macro call.
35092         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35093         bwd_align_merge macro call.
35094         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35096 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35098         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35099         bwd_align_merge macros.
35100         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35101         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35104 2012-04-18  David S. Miller  <davem@davemloft.net>
35106         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35108 2012-04-18  Andreas Jaeger  <aj@suse.de>
35110         [BZ# 6794]
35111         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35112         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35113         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35115         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35116         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35117         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35119         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35120         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35121         Adjust for changed ldbl-128 files.
35123         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35124         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35125         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35127 2012-04-17  David S. Miller  <davem@davemloft.net>
35129         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35131 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35133         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35134         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35135         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35136         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35137         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35138         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35140 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35142         [BZ #6794]
35143         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35144         * math/libm-test.inc: Add ilogb errno and exception tests.
35145         * math/w_ilogb.c: New file: ilogb wrapper.
35146         * math/w_ilogbf.c: New file: ilogbf wrapper.
35147         * math/w_ilogbl.c: New file: ilogbl wrapper.
35148         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35149         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35150         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35151         exception being thrown with 0.0 as argument.
35152         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35153         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35154         exception being thrown with 0.0 as argument.
35155         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35156         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35157         exception being thrown with 0.0 as argument.
35158         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35159         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35160         exception being thrown with 0.0 as argument.
35161         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35162         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35163         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35164         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35165         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35166         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35167         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35168         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35169         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35171 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35173         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35174         with altivec.
35176 2012-04-16  Marek Polacek  <polacek@redhat.com>
35178         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35180 2012-04-16  Marek Polacek  <polacek@redhat.com>
35182         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35183         operands of fdivp instruction.
35185 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35187         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35188         * elf/tst-auditmod3b.c: Likewise.
35189         * elf/tst-auditmod4b.c: Likewise.
35190         * elf/tst-auditmod5b.c: Likewise.
35191         * elf/tst-auditmod6b.c: Likewise.
35192         * elf/tst-auditmod6c.c: Likewise.
35193         * elf/tst-auditmod7b.c: Likewise.
35194         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35195         * sysdeps/x86_64/preconfigure.in: Likewise.
35196         * sysdeps/x86_64/preconfigure: Regenerated.
35198 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35200         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35201         __ILP32__.
35203 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35205         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35206         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35208 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35210         [BZ #13973]
35211         * locale/iso-639.def: Fix gl language name. Spotted by
35212         Yaron Shahrabani.
35214 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35216         [BZ #2074]
35217         * libio/libio.h (__io_write_fn): Update comment.
35219 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35221         [BZ #2074]
35222         * stdio.texi (Hook Functions): The user provided writer function
35223         is not allowed to return -1.
35225 2012-04-11  David S. Miller  <davem@davemloft.net>
35227         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35229 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35231         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35232         Add a leading slash to rtkaio.
35234 2012-04-11  Jim Meyering  <meyering@redhat.com>
35236         [BZ #11959]
35237         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35238         It is not necessarily an error to ignore fwrite's return
35239         value.  One can reliably use ferror to test for errors after
35240         the fact.
35242 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35244         * bits/types.h (__snseconds_t): New type.
35245         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35247         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35248         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35249         (__SNSECONDS_T_TYPE): Likewise.
35250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35251         (__SNSECONDS_T_TYPE): Likewise.
35252         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35253         (__SNSECONDS_T_TYPE): Likewise.
35255 2012-04-10  Andreas Jaeger  <aj@suse.de>
35257         [BZ #2636]
35258         * manual/time.texi (Processor Time): Return type of times is
35259         elapsed real time since an arbitrary point in the past.
35260         (CPU Time): Move CLK_TCK from here...
35261         (Processor Time): ...to here.  Correct description.
35262         * manual/conf.texi (Constants for Sysconf): Correct description of
35263         _SC_CLK_TCK.
35265 2012-04-10  David S. Miller  <davem@davemloft.net>
35267         [BZ #13967]
35268         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35269         where the is a gap between DT_REL(A) and DT_JMPREL.
35271 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35273         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35274         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35275         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35277 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35279         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35280         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35281         (dl_main): Handle --inhibit-cache.
35282         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35283         _dl_inhibit_cache.
35284         * elf/dl-load.c (_dl_map_object): Use it.
35285         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35287 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35289         [BZ #13872]
35290         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35291         (__ieee754_powl): Saturate large exponents rather than testing for
35292         overflow of y*log2(x).
35293         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35294         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35295         exceptions.
35297         [BZ #11521]
35298         * math/s_ctan.c: Include <float.h>.
35299         (__ctan): Avoid internal overflow or cancellation in calculating
35300         denominator.
35301         * math/s_ctanf.c: Likewise.
35302         * math/s_ctanl.c: Likewise.
35303         * math/s_ctanh.c: Likewise.
35304         * math/s_ctanhf.c: Likewise.
35305         * math/s_ctanhl.c: Likewise.
35306         * math/libm-test.inc (ctan_test): Add more tests.
35307         (ctanh_test): Likewise.
35308         * sysdeps/i386/fpu/libm-test-ulps: Update.
35309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35311 2012-04-09  Andreas Jaeger  <aj@suse.de>
35313         [BZ #6894]
35314         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35315         is an optional BSD extension.
35317         [BZ #10254]
35318         * manual/stdio.texi (Opening Streams): Document additional fopen
35319         parameters.
35321 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35323         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35324         %eax without telling the compiler.
35326 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35328         [BZ # 13963]
35329         * manual/install.texi: Use sourceware.org.
35331 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35333         [BZ #13873]
35334         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35335         (__ieee754_pow): Generate overflow and underflow using huge*huge
35336         and tiny*tiny rather than just returning constant infinity or zero
35337         for large exponents.
35338         * math/libm-test.inc (pow_test): Require overflow exceptions for
35339         applicable cases of large exponents.
35341         [BZ #706]
35342         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35343         (__ieee754_pow): Use iterative multiplication algorithm only for
35344         integer exponents with absolute value below 1024.  Check for odd
35345         integer exponents when using algorithm for real exponents.
35346         * math/libm-test.inc (pow_test): Add more tests.
35347         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35349 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35351         [BZ #13705]
35352         * math/libm-test.inc (exp_test): Do not allow overflow exception
35353         on underflow test.
35355 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35357         [BZ #13705]
35358         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35359         instead of __kernel_standard_f.
35361 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35363         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35364         * sysdeps/x86_64/memset_chk.S: Likewise.
35366 2012-04-08  Andreas Jaeger  <aj@suse.de>
35368         [BZ #10153]
35369         * manual/startup.texi (Environment Access): Describe return value
35370         for putenv and setenv.
35372         [BZ #6895]
35373         * manual/filesys.texi (Directory Entries): Add description for
35374         DT_LNK.
35376         [BZ #6890]
35377         * manual/filesys.texi (Directory Entries): Clarify that it's file
35378         system not operating system in the description of DT_UNKNOWN.
35380         [BZ #6578]
35381         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35383 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35385         [BZ #6649]
35386         * manual/llio.texi (Opening and Closing Files): Add cross
35387         reference to explain mode argument.
35389 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35391         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35392         * sysdeps/x86_64/memset_chk.S: Likewise.
35394 2012-04-07  David S. Miller  <davem@davemloft.net>
35396         * elf/elf.h (R_SPARC_WDISP10): Define.
35397         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35398         R_SPARC_SIZE32.
35399         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35400         R_SPARC_SIZE64 and R_SPARC_H34.
35402 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35404         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35405         conditions and remove no longer applicable assertion.
35407 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35409         * bits/byteswap.h: Include <features.h>.
35410         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35411         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35413 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35415         * bits/byteswap.h (__bswap_16): Removed.
35416         Include <bits/byteswap-16.h> to get __bswap_16.
35417         * sysdeps/i386/bits/byteswap.h: Likewise.
35418         * sysdeps/s390/bits/byteswap.h: Likewise.
35419         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35420         * bits/byteswap-16.h: New file.
35421         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35422         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35423         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35424         * string/Makefile (headers): Add bits/byteswap-16.h.
35426 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35428         [BZ #13895]
35429         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35430         extra indirection.
35431         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35432         * nss/tst-nss-static.c: New.
35434 2012-04-06  Robert Millan  <rmh@gnu.org>
35436         [BZ #6486]
35437         * manual/llio.texi (File Position Primitive): lseek
35438         refers to WHENCE when it really means OFFSET.
35440 2012-04-06  Andreas Jaeger  <aj@suse.de>
35442         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35443         strncmp declarations.
35445         * abilist/libc.abilist: Add __poll and __ppoll.
35447 2012-04-05  David S. Miller  <davem@davemloft.net>
35449         * scripts/check-local-headers.sh: Accept a host triplet in the
35450         path matched by the exclude regexp.
35452         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35453         definition.
35454         * sysdeps/powerpc/powerpc32/dl-machine.h
35455         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35456         * sysdeps/s390/s390-32/dl-machine.h
35457         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35458         * sysdeps/sparc/sparc32/dl-machine.h
35459         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35460         * sysdeps/sparc/sparc64/dl-machine.h
35461         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35463         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35464         lazy binding.
35465         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35466         undefined symbol errors.
35468         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35469         DT_NEEDED entries.
35471 2012-04-05  Michael Matz  <matz@suse.de>
35473         [BZ #13592]
35474         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35476 2012-04-05  Andreas Jaeger  <aj@suse.de>
35478         [BZ #13908]
35479         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35480         comment.
35482 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35484         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35485         which ROUND is no valid rounding mode.
35487 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35489         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35490         read again.
35491         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35493 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35495         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35496         an exception using FPU order intentionally.
35498 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35500         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35501         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35502         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35503         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35505 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35507         [BZ #12340]
35508         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35509         EINVAL when BUFLEN is too smal.
35511 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35513         [BZ #13553]
35514         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35515         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35517 2012-04-03  Andreas Jaeger  <aj@suse.de>
35519         [BZ #13938]
35520         * manual/setjmp.texi (System V contexts): Fix sentence.
35522         [BZ #13926]
35523         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35524         New macro for this case.
35525         [!__GNUC__] (__bswap_64): New inline function for this case.
35526         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35527         * bits/byteswap.h: Likewise.
35528         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35529         ull, guard with __GLIBC_HAVE_LONG_LONG.
35531         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35532         __GLIBC_HAVE_LONG_LONG.
35534         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35535         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35537 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35539         [BZ #13691]
35540         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35541         inptr and inend, rather than using last_ch.
35543 2012-04-02  David S. Miller  <davem@davemloft.net>
35545         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35546         * stdio-common/printf-parse.h (read_int): Change return type to
35547         'int', return -1 on INT_MAX overflow.
35548         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35549         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35550         overflows INT_MAX.  Check for overflow of in-format-string precision
35551         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35552         SIZE_MAX not INT_MAX for integer overflow test.
35553         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35554         skip the construct in the format string but do not record anything.
35555         * stdio-common/bug22.c: Adjust to test both width/prevision
35556         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35557         explicitly for proper errno values.
35559 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35561         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35562         CHAR_MAX.
35563         * string/test-strcmp.c [! WIDE]: Likewise.
35564         * time/tst-mktime2.c: Likewise for INT_MAX.
35565         * string/test-string.h: #include <sys/param.h> for MIN.
35567         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35568         * sysdeps/i386/init-first.c (init): Likewise.
35569         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35570         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35571         * sysdeps/sh/init-first.c (init): Likewise.
35573 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35575         * po/ru.po: Update from translation team.
35576         * po/vi.po: Likewise.
35578 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35580         * resolv/nss_dns/dns-host.c: Merge copyright years.
35582 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35584         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35585         Optimize memcpy with prefetch if
35586         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35587         src, dst pointers have unequal 16 byte alignments.
35589 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35591         [BZ #13928]
35592         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35593         from a CNAME entry and return the minimum ttl for the query.
35594         (gaih_getanswer_slice): Likewise.
35596 2012-03-30  Jeff Law  <law@redhat.com>
35598         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35599         due to long keys.
35600         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35601         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35603         * resolv/nss_dns/dns-host.c: Update copyright year.
35605 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35607         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35608         requests to save a system call.  Fix check that all bytes are sent.
35610         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35611         comments for sendmmsg.
35613 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35615         [BZ #13691]
35616         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35617         with only 1 character between 0x0041 and 0x01b0.
35618         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35619         * wcsmbs/tst-mbsnrtowcs.c: New file.
35621 2012-03-29  David S. Miller  <davem@davemloft.net>
35623         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35624         small copies by hand.
35626 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35628         [BZ #13761]
35629         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35630         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35631         group memberships.
35633 2012-03-28  David S. Miller  <davem@davemloft.net>
35635         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35636         that branches into memcpy.
35637         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35638         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35640         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35641         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35642         bits.
35643         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35644         implementation too.
35645         * sysdeps/sparc/mempcpy.S: New file.
35647         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35648         the IFUNC routine in the libc case.
35649         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35651         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35652         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35653         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35654         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35655         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35656         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35657         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35658         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35660         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35661         loop to 256 bytes instead of 64 bytes and fix test signedness.
35663         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35664         * sysdeps/sparc/sparc32/Makefile: rather than here...
35665         * sysdeps/sparc/sparc64/Makefile: and here.
35667 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35669         * malloc/mallocbug.c: Avoid warnings about unused variables.
35671 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35673         [BZ #13760]
35674         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35675         in the right place. Discard and retry query if response is
35676         larger than input buffer size.
35678 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35680         [BZ #369]
35681         [BZ #2678]
35682         [BZ #3866]
35683         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35684         x for large integer exponent.
35685         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35686         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35687         sign of result as needed afterwards.
35688         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35689         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35690         result for underflowing pow the same as for overflow.
35691         (__kernel_standard_l): Handle powl overflow and underflow here
35692         rather than calling __kernel_standard.
35693         * math/libm-test.inc (pow_test): Add more tests.
35695         [BZ #3868]
35696         [BZ #13879]
35697         [BZ #13910]
35698         [BZ #13911]
35699         [BZ #13912]
35700         [BZ #13913]
35701         [BZ #13915]
35702         [BZ #13916]
35703         [BZ #13917]
35704         [BZ #13918]
35705         [BZ #13919]
35706         [BZ #13920]
35707         [BZ #13921]
35708         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35709         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35710         (__kernel_standard_l): New function.
35711         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35712         __kernel_standard.
35713         * math/w_acosl.c (__acosl): Likewise.
35714         * math/w_asinl.c (__asinl): Likewise.
35715         * math/w_atan2l.c (__atan2l): Likewise.
35716         * math/w_atanhl.c (__atanhl): Likewise.
35717         * math/w_coshl.c (__coshl): Likewise.
35718         * math/w_exp10l.c (__exp10l): Likewise.
35719         * math/w_exp2l.c (__exp2l): Likewise.
35720         * math/w_fmodl.c (__fmodl): Likewise.
35721         * math/w_hypotl.c (__hypotl): Likewise.
35722         * math/w_j0l.c (__j0l, __y0l): Likewise.
35723         * math/w_j1l.c (__j1l, __y1l): Likewise.
35724         * math/w_jnl.c (__jnl, __ynl): Likewise.
35725         * math/w_lgammal.c (__lgammal): Likewise.
35726         * math/w_log10l.c (__log10l): Likewise.
35727         * math/w_log2l.c (__log2l): Likewise.
35728         * math/w_logl.c (__logl): Likewise.
35729         * math/w_powl.c (__powl): Likewise.
35730         * math/w_remainderl.c (__remainderl): Likewise.
35731         * math/w_scalbl.c (sysv_scalbl): Likewise.
35732         * math/w_sinhl.c (__sinhl): Likewise.
35733         * math/w_sqrtl.c (__sqrtl): Likewise.
35734         * math/w_tgammal.c (__tgammal): Likewise.
35735         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35736         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35737         * math/libm-test.inc (acos_test): Add more tests.
35738         (acosh_test): Likewise.
35739         (asin_test): Likewise.
35740         (atanh_test): Likewise.
35741         (exp_test): Likewise.
35742         (exp10_test): Likewise.
35743         (exp2_test): Likewise.
35744         (expm1_test): Likewise.
35745         (lgamma_test): Likewise.
35746         (log_test): Likewise.
35747         (log10_test): Likewise.
35748         (log1p_test): Likewise.
35749         (log2_test): Likewise.
35750         (pow_test): Do not allow some spurious overflow exceptions.
35751         (sqrt_test): Add more tests.
35752         (tgamma_test): Likewise.
35753         (y0_test): Likewise.
35754         (y1_test): Likewise.
35755         (yn_test): Likewise.
35757 2012-03-27  Anton Blanchard  <anton@samba.org>
35759         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35760         MAP_HUGETLB.
35761         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35762         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35763         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35765 2012-03-27  David S. Miller  <davem@davemloft.net>
35767         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35769         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35770         have-as-vis3 check.
35772 2012-03-27  Andreas Jaeger  <aj@suse.de>
35774         * sysdeps/x86_64/elf/configure.in: Moved to ...
35775         * sysdeps/x86_64/configure.in: ... here.
35776         * sysdeps/x86_64/elf/start.S: Moved to ...
35777         * sysdeps/x86_64/start.S: ... here.
35778         * sysdeps/x86_64/elf/configure: Delete.
35780         * sysdeps/x86_64/configure.in: Merge contents from
35781         sysdeps/i386/configure.in (without i686 check).
35783         * sysdeps/i386/elf/Versions: Merge into ...
35784         * sysdeps/i386/Versions: ... this.
35785         * sysdeps/i386/elf/Versions: Delete file.
35786         * sysdeps/i386/elf/start.S: Moved to ...
35787         * sysdeps/i386/start.S: ...here.
35788         * sysdeps/i386/elf/configure.in: Merge into...
35789         * sysdeps/i386/configure.in: ...here.
35790         * sysdeps/i386/elf/configure.in: Delete file.
35791         * sysdeps/i386/elf/configure: Delete file.
35793         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35794         * debug/backtracesyms.c: ... here.
35795         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35796         * debug/backtracesymsfd.c: ... here.
35797         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35798         * sysdeps/generic/ifunc-sel.h: ... here.
35800         * sysdeps/unix/i386/start.c: Delete file.
35801         * sysdeps/unix/sparc/start.c: Delete file.
35802         * sysdeps/unix/start.c: Delete file.
35804         * sysdeps/sh/elf/configure.in: Moved to ...
35805         * sysdeps/sh/configure.in: ... here.
35806         * sysdeps/sh/elf/start.S: Moved to ...
35807         * sysdeps/sh/start.S: ... here.
35808         * sysdeps/sh/elf/configure: Delete file.
35810         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35811         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35812         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35813         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35814         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35815         * sysdeps/powerpc/powerpc64/start.S: here.
35816         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35817         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35818         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35819         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35820         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35822         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35823         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35824         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35825         * sysdeps/powerpc/powerpc32/start.S: ... here.
35826         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35827         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35828         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35830         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35831         * sysdeps/powerpc/ifunc-sel.h: ... here.
35832         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35833         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35835         * sysdeps/sparc/elf/configure.in: Moved to ...
35836         * sysdeps/sparc/configure.in: ... here.
35837         * sysdeps/sparc/elf/configure: Delete file.
35838         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35839         * sysdeps/sparc/sparc32/start.S: ... here.
35840         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35841         * sysdeps/sparc/sparc64/start.S: ... here.
35842         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35843         * sysdeps/sparc/sparc32/Makefile: ... this.
35844         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35845         * sysdeps/sparc/sparc64/Makefile: ... this.
35847         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35848         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35849         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35850         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35851         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35852         * sysdeps/s390/s390-32/setjmp.S: ... here.
35853         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35854         * sysdeps/s390/s390-32/configure.in: ... here.
35855         * sysdeps/s390/s390-32/elf/configure: Delete file.
35856         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35857         * sysdeps/s390/s390-32/start.S: ... here.
35859         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35860         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35861         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35862         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35863         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35864         * sysdeps/s390/s390-64/setjmp.S: ... here.
35865         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35866         * sysdeps/s390/s390-64/configure.in: ... here
35867         * sysdeps/s390/s390-64/elf/configure: Delete file.
35868         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35869         * sysdeps/s390/s390-64/start.S: ... here.
35870         * sysdeps/s390/s390-64/elf/configure: Delete.
35872         * configure.in: Remove support for elf directories in sysdeps.
35874         * configure: Regenerated.
35875         * sysdeps/i386/configure: Regenerated.
35876         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35877         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35878         * sysdeps/s390/s390-32/configure: Regenerated.
35879         * sysdeps/s390/s390-64/configure: Regenerated.
35880         * sysdeps/sh/configure: Regenerated.
35881         * sysdeps/sparc/configure: Regenerated.
35882         * sysdeps/x86_64/configure: Regenerated.
35884 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35888         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35889         denormal result into account.
35891 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35893         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35894         Reported by Allan McRae <allan@archlinux.org>.
35896 2012-03-23  Jeff Law  <law@redhat.com>
35898         * nss/getnssent.c (__nss_getent): Fix typo.
35900 2012-03-23  David S. Miller  <davem@davemloft.net>
35902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35904 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35906         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35907         to pad to uint64_t for each field.
35908         (dl_tls_index): Replace unsigned long with uint64_t.
35910 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35911         Paul Pluzhnikov  <ppluzhnikov@google.com>
35913         [BZ #6528]
35914         * grp/Makefile (otherlibs): Don't set it.
35915         * inet/Makefile (otherlibs): Likewise.
35916         * login/Makefile (otherlibs): Likewise.
35917         * nscd/Makefile (otherlibs): Likewise.
35918         * posix/Makefile (otherlibs): Likewise.
35919         * pwd/Makefile (otherlibs): Likewise.
35920         * rt/Makefile (otherlibs): Likewise.
35921         * sunrpc/Makefile (otherlibs): Likewise.
35922         * nss/Makefile (otherlibs): Likewise.
35923         Add libnss_files to routines and static-only-routines.
35924         ($(objpfx)getent): Remove rule.
35925         * resolv/Makefile: Add libnss_dns and libresolv to routines and
35926         static-only-routines.
35928 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35930         [BZ #13892]
35931         * math/s_cexp.c: Include <float.h>.
35932         (__cexp): Handle exp result overflowing not necessarily
35933         overflowing both real and imaginary parts of result.
35934         * math/s_cexpf.c: Likewise.
35935         * math/s_cexpl.c: Likewise.
35936         * math/libm-test.inc (cexp_test): Add more tests.
35937         * sysdeps/i386/fpu/libm-test-ulps: Update.
35938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35940 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35942         * include/link.h (ELFW): New macro.
35943         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
35944         Replace ELF64_R_TYPE with ELFW(R_TYPE).
35946 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35948         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
35949         with uint64_t.
35951 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35953         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
35954         declaration.
35955         (struct La_x32_retval): Likewise.
35957 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
35959         * sysdeps/x86_64/preconfigure.in: New file.
35960         * sysdeps/x86_64/preconfigure: New generated file.
35962 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
35964         [BZ #13824]
35965         * math/e_exp2l.c: Include <float.h>.
35966         (__ieee754_exp2l): Handle overflow and underflow cases
35967         separately.  Only pass fractional part of argument to
35968         __ieee754_expl.
35969         * math/libm-test.inc (exp2_test): Add more tests.
35971         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
35972         negating x to take absolute value.
35973         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35974         Likewise.
35975         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35976         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
35977         Likewise.
35978         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
35979         computing low part if x was negated.
35980         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35982 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
35984         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
35985         la_x32_gnu_pltexit.
35986         (pltexit): Cast int_retval to ptrdiff_t.
35987         * elf/tst-auditmod3b.c: Likewise.
35988         * elf/tst-auditmod4b.c: Likewise.
35989         * elf/tst-auditmod5b.c: Likewise.
35990         * elf/tst-auditmod6b.c: Likewise.
35991         * elf/tst-auditmod6c.c: Likewise.
35992         * elf/tst-auditmod7b.c: Likewise.
35994         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
35995         and x32_gnu_pltexit.
35997         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
35998         __ELF_NATIVE_CLASS.
35999         (La_x32_regs): New macro.
36000         (La_x32_retval): Likewise.
36001         (la_x32_gnu_pltenter): New function prototype.
36002         (la_x32_gnu_pltexit): Likewise.
36004 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36006         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36007         exponent.
36009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36011         * configure.in (libc_cv_cc_nofma): Check for option to disable
36012         generation of FMA instructions.
36013         * configure: Regenerate.
36014         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36015         * sysdeps/ieee754/dbl-64/Makefile: New file.
36016         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36017         Remove brandred-fma4.
36018         (CFLAGS-brandred-fma4.c): Remove.
36019         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36020         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36021         define.
36022         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36023         define.
36025 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36027         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36028         LLONG_MAX != LONG_MAX.
36029         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36030         (_fitoa_word): Likewise.
36031         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36032         LLONG_MAX != LONG_MAX.
36033         * stdio-common/_itowa.h: Include <_itoa.h>.
36034         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36035         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36036         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36037         only if not defined.
36038         (_ITOA_WORD_TYPE): Likewise.
36039         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36040         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36042 2012-03-21  David S. Miller  <davem@davemloft.net>
36044         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36046 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36048         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36049         of x86_64 when setting libc_cv_slibdir, libdir and
36050         libc_cv_localedir.
36051         * sysdeps/unix/sysv/linux/configure: Regenerated.
36053 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36055         * manual/lang.texi (Old Varargs): Remove section.
36056         (How Variadic): Update menu.
36057         (va_start): Do not mention varargs.h.
36059 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36060             Joseph Myers  <joseph@codesourcery.com>
36062         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36063         link test.
36064         * configure: Regenerated.
36066 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36068         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36069         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36070         conformtest.pl
36072 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36074         * NOTES: Remove.
36075         * Makefile (files-for-dist): Remove NOTES.
36076         (NOTES): Remove rule.
36077         * README: Don't refer to NOTES.
36078         * manual/creature.texi: Don't include macros.texi.
36079         * manual/intro.texi (creature.texi): Remove comment referring to
36080         NOTES.
36082         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36083         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36084         * configure: Regenerated.
36085         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36086         LIBC_TRY_CC_OPTION.
36087         (libc_cv_as_i686): Likewise.
36088         (libc_cv_cc_avx): Likewise.
36089         (libc_cv_cc_sse2avx): Likewise.
36090         (libc_cv_cc_fma4): Likewise.
36091         (libc_cv_cc_novzeroupper): Likewise.
36092         * sysdeps/i386/configure: Regenerated.
36094         [BZ #13883]
36095         * sysdeps/i386/fpu/s_cexp.S: Remove.
36096         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36097         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36098         * math/libm-test.inc (cexp_test): Add more tests.
36099         * sysdeps/i386/fpu/libm-test-ulps: Update.
36100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36102 2012-03-21  Allan McRae  <allan@archlinux.org>
36104         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36106 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36108         [BZ #13871]
36109         * math/w_exp2.c: Do not include <float.h>.
36110         (o_threshold, u_threshold): Remove.
36111         (__exp2): Calculate result before checking finiteness and calling
36112         __kernel_standard.
36113         * math/w_exp2f.c: Likewise.
36114         * math/w_exp2l.c: Likewise.
36115         * math/libm-test.inc (exp2_test): Require overflow exception for
36116         1e6 input.
36118         [BZ #3866]
36119         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36120         range of signed 64-bit integers before using fistpll.  Remove
36121         checks for whether integers fit in mantissa bits.
36122         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36123         the range of signed 32-bit integers before using fistpl.  Remove
36124         checks for whether integers fit in mantissa bits.
36125         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36126         (__ieee754_powl): Test for y outside the range of signed 64-bit
36127         integers before using fistpll.  Reduce 64-bit values to 63-bit
36128         ones as needed.
36129         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36130         divide-by-zero is raised for zero to large negative powers.
36131         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36132         (__ieee754_powl): Test for y outside the range of signed 64-bit
36133         integers before using fistpll.  Reduce 64-bit values to 63-bit
36134         ones as needed.
36135         * math/libm-test.inc (pow_test): Add more tests.
36137 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36139         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36140         <stdio-common/_itoa.h>.
36141         * debug/segfault.c: Likewise.
36142         * elf/dl-cache.c: Likewise.
36143         * elf/dl-minimal.c: Likewise.
36144         * elf/dl-misc.c: Likewise.
36145         * elf/dl-sysdep.c: Likewise.
36146         * elf/dl-version.c: Likewise.
36147         * elf/rtld.c: Likewise.
36148         * hurd/hurdsock.c: Likewise.
36149         * hurd/lookup-retry.c: Likewise.
36150         * malloc/malloc.c: Likewise.
36151         * malloc/mtrace.c: Likewise.
36152         * nscd/nscd_getgr_r.c: Likewise.
36153         * nscd/nscd_getpw_r.c: Likewise.
36154         * nscd/nscd_getserv_r.c: Likewise.
36155         * posix/getopt_init.c: Likewise.
36156         * posix/wordexp.c: Likewise.
36157         * stdio-common/_itoa.c: Likewise.
36158         * stdio-common/printf_fphex.c: Likewise.
36159         * stdio-common/vfprintf.c: Likewise.
36160         * string/_strerror.c: Likewise.
36161         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36162         * sysdeps/i386/i686/hp-timing.h: Likewise.
36163         * sysdeps/mach/_strerror.c: Likewise.
36164         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36165         * sysdeps/mach/hurd/sethostid.c: Likewise.
36166         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36167         * sysdeps/mach/xpg-strerror.c: Likewise.
36168         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36169         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36170         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36171         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36172         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36173         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36174         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36175         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36176         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36177         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36178         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36179         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36180         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36181         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36182         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36183         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36184         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36185         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36186         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36187         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36188         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36190         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36192         * stdio-common/_itoa.h: Moved to ...
36193         * sysdeps/generic/_itoa.h: Here.
36195         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36197         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36198         instead of "_itoa.h" and "_itowa.h".
36199         * stdio-common/vfprintf.: Likewise.
36201 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36203         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36204         <bits/wordsize.h>.
36205         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36206         (__signbit): Likwise.
36207         (llrintf): Likwise.
36208         (llrint): Likwise.
36210 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36212         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36213         __WORDSIZE != 64.
36215 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36217         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36218         OVERFLOW_EXCEPTION_OK.
36219         * math/libm-test.inc ("Philosophy"): Update comment about
36220         exception testing.
36221         (OVERFLOW_EXCEPTION): Define.
36222         (OVERFLOW_EXCEPTION_OK): Likewise.
36223         (INVALID_EXCEPTION_OK): Renumber.
36224         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36225         (IGNORE_ZERO_INF_SIGN): Likewise.
36226         (test_exceptions): Handle FE_OVERFLOW.
36227         (exp10_test): Expect overflow exceptions.
36228         (exp2_test): Likewise.
36229         (expm1_test): Likewise.
36230         (nextafter_test): Likewise.
36231         (pow_test): Likewise.
36232         (scalbn_test): Likewise.
36233         (scalbln_test): Likewise.
36235 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36237         * sysdeps/x86_64/bits/atomic.h
36238         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36239         64bit integer.
36240         (atomic_exchange_acq): Likewise.
36241         (__arch_exchange_and_add_body): Likewise.
36242         (__arch_add_body): Likewise.
36243         (atomic_add_negative): Likewise.
36244         (atomic_add_zero): Likewise.
36246 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36248         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36249         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36251 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36253         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36254         Check __x86_64__ instead of __WORDSIZE.
36256 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36258         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36260 2012-03-19  David S. Miller  <davem@davemloft.net>
36262         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36264         * sysdeps/sparc/fpu/fenv_private.h: New file.
36265         * sysdeps/sparc/fpu/math_private.h: Use it.
36266         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36267         Remove.
36268         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36269         (libc_feholdexcept_setroundl): Remove.
36270         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36271         Remove.
36272         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36273         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36275 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36277         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36278         int64_t instead of long int.
36279         (INSERT_WORDS64): Likwise.
36281 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36283         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36284         _Unwind_GetCFA return to _Unwind_Ptr first.
36286 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36288         [BZ #13629]
36289         * math/s_clog.c: Include <float.h>.
36290         (__clog): Scale large or subnormal inputs.
36291         * math/s_clogf.c: Likewise.
36292         * math/s_clogl.c: Likewise.
36293         * math/s_clog10.c: Include <float.h>.
36294         (M_LOG10_2): Define.
36295         (__clog10): Scale large or subnormal inputs.
36296         * math/s_clog10f.c: Likewise.
36297         * math/s_clog10l.c: Likewise.
36298         * math/libm-test.inc (clog_test): Add more tests.
36299         (clog10_test): Likewise.
36300         * sysdeps/i386/fpu/libm-test-ulps: Update.
36301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36303         [BZ #11451]
36304         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36305         x and y.
36306         * math/libm-test.inc (atan2_test): Add another test.
36308         * Makerules (common-objdir-compile): Remove.
36309         * sysdeps/unix/Makefile (config-generated): Do not add
36310         $(unix-generated) to variable.
36311         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36312         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36313         Remove rule.
36314         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36315         Likewise.
36316         [generic bits/local_lim.h] (before-compile): Do not append to
36317         variable.
36318         [generic bits/local_lim.h] (common-generated): Likewise.
36319         [generic sys/param.h] (before-compile): Do not append to variable.
36320         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36321         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36322         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36323         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36324         include.
36325         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36326         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36327         [generic sys/param.h] ($(addprefix
36328         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36329         [generic sys/param.h] (common-generated): Do not append to
36330         variable.
36331         [generic sys/param.h] (sysdep_headers): Likewise.
36332         [generic bits/errno.h] (before-compile): Do not append to
36333         variable.
36334         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36335         rule.
36336         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36337         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36338         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36339         [generic bits/errno.h] (common-generated): Do not append to
36340         variable.
36341         [generic bits/ioctls.h] (before-compile): Do not append to
36342         variable.
36343         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36344         rule.
36345         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36346         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36347         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36348         rule.
36349         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36350         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36351         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36352         [generic bits/ioctls.h] (common-generated): Do not append to
36353         variable.
36354         [generic sys/syscall.h] (syscall.h): Remove variable.
36355         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36356         rule.
36357         [generic sys/syscall.h] (before-compile): Do not append to
36358         variable.
36359         [generic sys/syscall.h] (common-generated): Likewise.
36360         * sysdeps/unix/errnos-tmpl.c: Remove file.
36361         * sysdeps/unix/errnos.awk: Likewise.
36362         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36363         * sysdeps/unix/ioctls.awk: Likewise.
36364         * sysdeps/unix/mk-local_lim.c: Likewise.
36365         * sysdeps/unix/snarf-ioctls: Likewise.
36367 2012-03-19  Richard Henderson  <rth@twiddle.net>
36369         * sysdeps/i386/fpu/fenv_private.h: New file.
36370         * sysdeps/i386/fpu/math_private.h: Use it.
36371         (math_opt_barrier, math_force_eval): Remove.
36372         (libc_feholdexcept_setround_53bit): Remove.
36373         (libc_feupdateenv_53bit): Remove.
36374         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36375         (math_opt_barrier, math_force_eval): Remove.
36376         (libc_feholdexcept): Remove.
36377         (libc_feholdexcept_setround): Remove.
36378         (libc_fetestexcept, libc_fesetenv): Remove.
36379         (libc_feupdateenv_test): Remove.
36380         (libc_feupdateenv, libc_feholdsetround): Remove.
36381         (libc_feresetround): Remove.
36383         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36384         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36386         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36387         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36388         (libc_feupdateenv_testl): New.
36389         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36390         (libc_feupdateenv_testf): New.
36391         (libc_feupdateenv): Use libc_feupdateenv_test.
36392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36393         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36395         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36396         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36397         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36398         (libc_feresetround_noex): New.
36399         (libc_feresetround_noexf): New.
36400         (libc_feresetround_noexl): New.
36401         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36402         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36403         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36404         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36405         SET_RESTORE_ROUND.
36406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36407         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36408         (__cos): Likewise.
36409         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36410         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36411         SET_RESTORE_ROUND_NOEX.
36412         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36413         SET_RESTORE_ROUND_NOEXF.
36414         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36415         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36416         (libc_feholdsetroundf): New.
36417         (libc_feresetround, libc_feresetroundf): New.
36419         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36420         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36421         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36423         * sysdeps/generic/math_private.h: Include <fenv.h>.
36424         (default_libc_feholdexcept): New.
36425         (default_libc_feholdexcept_setround): New.
36426         (default_libc_fesetenv, default_libc_feupdateenv): New.
36427         (libc_feholdexcept): Only define if undefined.
36428         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36429         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36430         (libc_feholdexcept_setroundl): Likewise.
36431         (libc_feholdexcept_setround_53bit): Likewise.
36432         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36433         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36434         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36435         (libc_feupdateenv_53bit): Likewise.
36436         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36437         (libc_feholdexcept): Convert from macro to inline function.
36438         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36439         (libc_fesetenv, libc_feupdateenv): Likewise.
36441         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36442         not previously defined.
36443         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36444         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36445         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36446         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36447         * sysdeps/ieee754/flt-32/math_private.h: New file.
36448         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36449         math_private.h below SET_FLOAT_WORD.
36450         (__isnan, __isinf_ns, __finite): Remove.
36451         (__isnanf, __isinf_nsf, __finitef): Remove.
36453 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36457 2012-03-17  David S. Miller  <davem@davemloft.net>
36459         [BZ #6471]
36460         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36461         for 2.16.
36463 2012-03-16  David S. Miller  <davem@davemloft.net>
36465         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36466         warnings.
36468         [BZ #6471]
36469         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36470         properly.
36471         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36472         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36473         sysdep_routines when subdir is sysvipc.
36474         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36475         __getshmlba helper.
36477         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36479 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36481         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36482         [__LP64__].
36484 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36486         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36487         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36488         (__lround): Renamed to ...
36489         (__llround): This.  Replace long int with long long int.
36490         Define lround functions as aliases of llround functions.
36491         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36493 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36495         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36496         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36497         adresses to uintptr_t.  Replace "long int" and "unsigned long
36498         int" with "greg_t" on va_arg.
36500 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36502         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36503         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36505         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36506         Move e_machine check before EI_CLASS check.  Handle x32
36507         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36508         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36509         SKIP_EM_IA_64 and include
36510         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36512         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36513         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36514         (add_system_dir): New macro.
36516         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36517         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36519 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36521         [BZ #2551]
36522         [BZ #2552]
36523         [BZ #2553]
36524         [BZ #2554]
36525         [BZ #2562]
36526         [BZ #2563]
36527         [BZ #2565]
36528         [BZ #2566]
36529         [BZ #2576]
36530         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36531         (y0): Likewise.
36532         * math/w_j0f.c (j0f): Likewise.
36533         (y0f): Likewise.
36534         * math/w_j0l.c (__j0l): Likewise.
36535         (__y0l): Likewise.
36536         * math/w_j1.c (j1): Likewise.
36537         (y1): Likewise.
36538         * math/w_j1f.c (j1f): Likewise.
36539         (y1f): Likewise.
36540         * math/w_j1l.c (__j1l): Likewise.
36541         (__y1l): Likewise.
36542         * math/w_jn.c (jn): Likewise.
36543         (yn): Likewise.
36544         * math/w_jnf.c (jnf): Likewise.
36545         (ynf): Likewise.
36546         * math/w_jnl.c (__jnl): Likewise.
36547         (__ynl): Likewise.
36548         * math/libm-test.inc (j0_test): Add more tests.
36549         (j1_test): Likewise.
36550         (jn_test): Likewise.  Add trailing semicolon to existing test.
36551         (y0_test): Likewise.
36552         (y1_test): Likewise.
36553         * sysdeps/i386/fpu/libm-test-ulps: Update.
36554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36556         [BZ #13851]
36557         [BZ #13854]
36558         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36559         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36560         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36561         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36562         (__tanl): Set errno for infinite argument.
36563         * sysdeps/i386/fpu/mptan.c: Remove.
36564         * sysdeps/i386/fpu/s_tan.S: Likewise.
36565         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36566         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36567         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36568         * math/libm-test.inc (tan_test): Add more tests and enable more
36569         tests for double and long double.
36570         * sysdeps/i386/fpu/libm-test-ulps: Update.
36571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36573 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36575         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36576         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36578 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36580         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36581         * configure.in: Use it for both main tree and add-ons.
36582         * configure: Regenerated.
36584 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36586         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36588 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36590         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36591         in comment.
36593         [BZ #13851]
36594         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36595         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36596         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36597         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36598         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36599         infinite argument.
36600         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36602         != 0 for prec == 2.
36603         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36604         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36605         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36606         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36607         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36608         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36609         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36610         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36611         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36612         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36613         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36614         * math/libm-test.inc (cos_test): Add more tests and enable more
36615         tests for long double.
36616         (sin_test): Likewise.
36617         (sincos_test): Likewise.
36618         * sysdeps/i386/fpu/libm-test-ulps: Update.
36619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36621 2012-03-16  David S. Miller  <davem@davemloft.net>
36623         * sysdeps/sparc/fpu/math_private.h: New file.
36625 2012-03-15  David S. Miller  <davem@davemloft.net>
36627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36628         file.
36629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36631         file.
36632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36633         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36634         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36635         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36637         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36638         sysdep routines.
36639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36641         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36642         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36644         * sysdeps/sparc/sparc-ifunc.h: New file.
36645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36646         sparc-ifunc.h
36647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36649         Likewise.
36650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36651         Likewise.
36652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36656         Likewise.
36657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36662         Likewise.
36663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36664         Likewise.
36665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36669         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36670         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36671         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36672         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36673         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36674         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36675         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36676         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36677         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36678         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36681         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36682         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36683         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36685         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36687         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36688         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36690 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36692         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36693         scaling.
36694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36696 2012-03-15  Andreas Jaeger  <aj@suse.de>
36698         [BZ #13852]
36699         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36700         ieee754/flt-32 implementation for sin, cos and sincos.
36701         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36702         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36703         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36704         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36705         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36706         ieee754/flt-32 implementation for tan.
36708         * math/libm-test.inc (cos_test): Enable some large input tests for
36709         float as well
36710         (sin_test): Likewise.
36711         (sincos_test): Likewise.
36712         (tan_test): Add tests for large input.
36714         * sysdeps/i386/fpu/libm-test-ulps: Update.
36716 2012-03-15  Andreas Jaeger  <aj@suse.de>
36718         [BZ #13658]
36719         * math/libm-test.inc (cos_test): Add more test cases.
36720         (sin_test): Likewise.
36721         (sincos_test): Likewise.
36723 2012-03-15  Andreas Jaeger  <aj@suse.de>
36725         [BZ #13837]
36726         * math/libm-test.inc (cos_test): Add a test case for large input
36727         value.
36728         (sin_test): Likewise.
36729         (sincos_test): Likewise.
36731 2012-03-15  Andreas Jaeger  <aj@suse.de>
36732             Joseph Myers  <joseph@codesourcery.com>
36734         [BZ #13658]
36735         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36736         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36737         * sysdeps/i386/fpu/branred.c: Likewise.
36738         * sysdeps/i386/fpu/dosincos.c: Likewise.
36739         * sysdeps/i386/fpu/mpa.c: Likewise.
36740         * sysdeps/i386/fpu/s_cos.S: Likewise.
36741         * sysdeps/i386/fpu/s_sin.S: Likewise.
36742         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36743         * sysdeps/i386/fpu/sincos32.c: Likewise.
36745         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36746         Define.
36747         (libc_feupdateenv_53bit): Define.
36748         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36749         Define.
36750         (libc_feupdateenv_53bit): Define.
36752         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36753         53 bit (without extend i386 double precision).
36755         * math/libm-test.inc (sincos_test): Add tests for large input.
36756         (sin): Likewise.
36757         (cos): Likewise.
36759         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36761 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36765 2012-03-15  David S. Miller  <davem@davemloft.net>
36767         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36768         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36769         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36770         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36775         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36776         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36777         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36778         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36779         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36780         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36781         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36783         file.
36784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36786         file.
36787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36789         file.
36790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36792         file.
36793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36794         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36795         fmin/fmax sysdep routines.
36796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36798 2012-03-14  David S. Miller  <davem@davemloft.net>
36800         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36801         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36804         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36805         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36806         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36807         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36811         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36812         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36813         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36814         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36815         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36816         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36817         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36818         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36819         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36820         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36821         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36822         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36823         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36824         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36825         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36826         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36827         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36828         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36829         routines.
36830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36831         file.
36832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36834         file.
36835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36837         file.
36838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36840         file.
36841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36843         file.
36844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36846         file.
36847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36848         file.
36849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36850         file.
36851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36852         file.
36853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36854         New file.
36855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36856         file.
36857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36858         file.
36859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36861         file.
36862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36864         file.
36865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36867         file.
36868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36870         VIS3 routines.
36872         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36873         New file.
36875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36877         * sysdeps/sparc/configure.in: New file.
36878         * sysdeps/sparc/configure: Generate.
36879         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36880         * configure: Regenerate.
36881         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36882         * config.make.in (have-as-vis3): New.
36883         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36884         available use -Av9d instead of -Av9a.
36885         * sysdeps/sparc/sparc64/Makefile: Likewise.
36886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36888         New file.
36889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36890         file.
36891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36892         New file.
36893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36894         file.
36895         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36896         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36897         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36898         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36899         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36901         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36902         fzeros/fnegs to load 0x80000000 into a float register instead of
36903         using the stack.
36904         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36906 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36908         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36909         bits/syscall.h.
36910         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36911         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36912         ($(inst_includedir)/bits/syscall.h): Remove rule.
36913         ($(objpfx)bits/syscall.d): Include instead of
36914         $(objpfx)syscall-list.d.
36915         (generated): Change syscall-list.h and syscall-list.d to
36916         bits/syscall.h and bits/syscall.d.
36918 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36920         [BZ #13846]
36921         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36923 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36925         [BZ #13841]
36926         * math/s_csqrt.c: Include <float.h>.
36927         (__csqrt): Scale large or subnormal inputs.
36928         * math/s_csqrtf.c: Likewise.
36929         * math/s_csqrtl.c: Likewise.
36930         * math/libm-test.inc (csqrt_test): Add more tests.
36931         * sysdeps/i386/fpu/libm-test-ulps: Update.
36932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36934         [BZ #13840]
36935         * math/libm-test.inc (hypot_test): Add more tests.
36937 2012-03-13  David S. Miller  <davem@davemloft.net>
36939         [BZ #13840]
36940         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
36941         double-precision for the calculation instead of scaling.
36943 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
36945         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
36946         manipulate bits before adding and subtracting TWO52[sx].
36947         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
36948         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
36949         Likewise.
36950         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
36952 2012-03-13  David S. Miller  <davem@davemloft.net>
36954         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
36955         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
36956         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
36957         rtld-global-offsets.h
36958         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36960         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
36961         large parameters.
36963         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
36965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
36966         'err' in the ifdef scope in which it is actually used.
36968         * nss/nss_db/db-init.c: Include string.h
36970 2012-03-12  David S. Miller  <davem@davemloft.net>
36972         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
36973         masking out of the most significant byte of random value used.
36974         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36975         Fix coding style in previous change.
36977         * sysdeps/unix/sysv/linux/kernel-features.h
36978         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
36979         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
36980         expression.
36981         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
36982         later.
36984 2012-03-11  David S. Miller  <davem@davemloft.net>
36986         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36987         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
36988         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
36989         for 'resultvar' otherwise things get truncated on 64-bit.
36991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36992         Fix masking out of the most significant byte of random value used.
36994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36996 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
36998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37000 2012-03-09  David S. Miller  <davem@davemloft.net>
37002         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37003         variables with appropriate CPP guards.
37004         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37005         from the frame pointer, not the stack pointer.  Correct layout
37006         comments.  Fix test on resulting framesize and the management of
37007         the outregs buffer for pltexit.  Preserve floating point return
37008         values across _dl_call_pltexit call.
37009         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37010         framesize and the management of the outregs buffer for pltexit.
37011         Preserve floating point return values across _dl_call_pltexit
37012         call.
37013         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37014         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37015         (la_sparc64_gnu_pltexit): New functions.
37016         (print_exit): Fix format string for return register value.
37018 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37020         * sunrpc/Makefile (others): Add rpcgen.
37021         ($(objpfx)rpcgen): Remove special build rule and dependency on
37022         libc.
37023         * sunrpc/rpcgen.c: New file.
37025 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37027         [BZ #13673]
37028         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37029         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37030         * sysdeps/i386/crti.S: Likewise.
37031         * sysdeps/i386/crtn.S: Likewise.
37032         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37033         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37034         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37035         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37036         * sysdeps/sh/crti.S: Likewise.
37037         * sysdeps/sh/crtn.S: Likewise.
37038         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37040         [BZ #13673]
37041         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37042         with URL.
37043         * locale/programs/locfile-kw.gperf: Likewise.
37044         * locale/programs/charmap-kw.h: Regenerated.
37045         * locale/programs/locfile-kw.h: Likewise.
37047         [BZ #13673]
37048         * intl/plural.y: Replace FSF snail mail address with URL.
37049         * intl/plural.c: Regenerated.
37051 2012-03-09  Richard Henderson  <rth@twiddle.net>
37053         * include/math_private.h: Remove file.
37054         * math/math_private.h: Move file ...
37055         * sysdeps/generic/math_private.h: ... here.
37057         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37058         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37059         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37061         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37062         and <math_private.h>.
37063         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37064         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37065         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37066         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37067         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37079         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37080         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37081         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37082         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37083         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37084         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37085         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37086         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37087         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37088         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37089         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37090         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37091         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37092         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37093         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37094         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37097         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37098         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37099         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37109         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37110         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37111         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37112         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37113         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37114         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37115         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37116         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37117         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37118         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37119         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37120         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37121         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37122         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37123         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37124         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37125         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37126         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37127         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37128         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37129         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37130         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37131         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37132         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37133         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37134         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37135         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37136         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37137         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37138         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37139         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37141         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37142         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37143         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37144         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37146         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37147         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37148         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37149         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37150         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37151         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37152         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37153         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37154         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37155         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37156         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37157         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37158         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37159         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37160         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37161         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37162         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37163         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37164         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37165         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37166         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37167         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37168         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37169         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37170         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37171         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37173         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37174         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37175         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37176         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37177         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37178         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37179         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37180         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37181         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37182         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37183         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37184         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37185         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37186         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37187         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37188         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37189         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37190         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37191         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37192         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37193         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37194         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37195         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37196         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37197         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37198         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37199         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37200         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37201         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37202         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37203         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37204         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37205         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37206         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37207         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37208         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37209         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37210         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37211         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37212         * sysdeps/ieee754/k_standard.c: Likewise.
37213         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37214         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37215         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37216         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37217         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37218         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37219         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37220         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37221         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37222         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37223         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37224         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37225         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37226         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37227         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37228         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37229         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37230         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37231         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37232         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37233         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37234         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37235         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37236         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37237         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37238         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37239         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37240         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37241         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37242         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37243         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37244         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37245         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37246         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37247         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37248         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37249         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37250         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37251         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37252         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37253         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37254         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37255         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37256         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37257         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37258         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37262         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37263         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37264         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37265         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37266         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37267         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37268         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37269         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37270         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37271         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37272         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37273         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37274         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37276         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37280         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37284         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37285         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37286         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37292         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37296         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37297         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37298         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37299         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37301         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37302         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37306         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37307         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37308         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37309         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37313         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37314         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37316         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37317         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37318         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37319         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37320         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37321         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37322         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37325         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37326         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37327         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37328         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37332         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37333         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37339         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37340         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37341         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37342         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37343         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37344         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37345         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37347         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37348         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37350         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37351         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37352         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37353         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37354         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37355         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37356         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37358         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37359         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37360         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37361         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37362         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37363         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37364         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37365         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37366         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37367         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37368         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37369         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37370         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37371         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37372         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37373         * sysdeps/ieee754/s_lib_version.c: Likewise.
37374         * sysdeps/ieee754/s_matherr.c: Likewise.
37375         * sysdeps/ieee754/s_signgam.c: Likewise.
37376         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37377         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37378         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37379         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37380         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37381         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37382         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37383         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37384         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37385         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37386         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37387         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37388         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37389         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37390         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37391         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37392         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37393         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37394         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37395         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37396         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37398 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37400         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37401         * sunrpc/rpc_main.c: Likewise.
37402         * sunrpc/rpc_svcout.c: Likewise.
37404 2012-03-09  David S. Miller  <davem@davemloft.net>
37406         * include/math_private.h: New file.
37408 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37410         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37411         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37412         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37413         from <bits/socket_type.h>.
37414         (enum __socket_type): Don't define here.
37415         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37416         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37417         bits/socket_type.h.
37419         [BZ #13566]
37420         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37421         checking __USE_GNU.
37423         * Makerules ($(inst_includedir)/%.h): New rule.
37424         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37425         (install-others): Remove variable setting.
37426         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37428 2012-03-08  Richard Henderson  <rth@twiddle.net>
37430         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37431         from macro to inline function; merge with the
37432         !__LIBC_INTERNAL_MATH_INLINES version.
37433         (__ieee754_sqrtf): Likewise.
37435         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37436         to inline function.
37437         (__rintf, __floor, __floorf): Likewise.
37439         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37440         macro to inline function.
37441         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37443         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37444         not <math/math_private.h>.
37446 2012-03-08  David S. Miller  <davem@davemloft.net>
37448         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37449         copyright year.
37450         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37452 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37454         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37455         normalization.
37456         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37457         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37459 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37461         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37462         be defined individually, they must be defined as a block.  Define
37463         S for printing a string instead of hidint the different by using a
37464         macro for adding the 'l'.
37465         * stdio-common/tst-fphex-wide.c: Adjust.
37467 2012-03-07  Marek Polacek  <polacek@redhat.com>
37469         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37471 2012-03-08  Marek Polacek  <polacek@redhat.com>
37473         [BZ #13806]
37474         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37475         * stdio-common/tst-fphex.c: Define a few macros to make the
37476         test reusable.  Use them.
37477         * stdio-common/tst-fphex-wide.c: New file.
37479 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37481         [BZ #6911]
37482         * manual/macros.texi (gnusystems): New macro.
37483         (nongnusystems): Likewise.
37484         (gnulinuxhurdsystems): Likewise.
37485         (gnuhurdsystems): Likewise..
37486         (gnulinuxsystems): Likewise.
37487         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37488         variants of the GNU system, not "GNU system".
37489         * manual/conf.texi: Likewise.
37490         * manual/errno.texi: Likewise.  Update example of errno macro
37491         expansion.
37492         * manual/filesys.texi: Likewise.
37493         (getumask): Document as specific to GNU/Hurd.
37494         * manual/install.texi: Likewise.  Reword some references to
37495         GNU/Linux.
37496         * manual/intro.texi: Likewise.
37497         * manual/io.texi: Likewise.
37498         (File Name Portability): Detail which constraints are inapplicable
37499         to all GNU systems and which are only inapplicable to GNU/Hurd.
37500         * manual/job.texi: Likewise.
37501         * manual/llio.texi: Likewise.
37502         (O_NOCTTY): Document as present on GNU/Linux.
37503         * manual/maint.texi: Likewise.
37504         * manual/memory.texi: Likewise.
37505         * manual/pattern.texi: Likewise.
37506         * manual/pipe.texi: Likewise.
37507         * manual/process.texi: Likewise.
37508         * manual/resource.texi: Likewise.
37509         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37510         child on GNU/Hurd.
37511         * manual/setjmp.texi: Likewise.
37512         * manual/signal.texi: Likewise.
37513         * manual/startup.texi: Likewise.
37514         * manual/stdio.texi: Likewise.
37515         * manual/terminal.texi: Likewise.
37516         (ONLCR): Document as POSIX.
37517         (OXTABS): Document availability on GNU/Linux as XTABS.
37518         (ONOEOT): Document availability separately from other bits.
37519         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37520         * manual/time.texi: Likewise.
37521         * manual/users.texi: Likewise.
37522         * INSTALL: Regenerated.
37523         * sysdeps/gnu/errlist.c: Regenerated.
37525         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37526         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37527         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37528         puts.
37529         * configure: Regenerated.
37531 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37533         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37534         default includes instead of AC_HEADER_CHECK.
37535         * sysdeps/i386/configure: Regenerated.
37537         [BZ #10716]
37538         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37539         * math/s_cacoshf.c (__cacoshf): Likewise.
37540         * math/s_cacoshl.c (__cacoshl): Likewise.
37541         * math/s_casinh.c (__casinh): Set signs of result from argument.
37542         * math/s_casinhf.c (__casinhf): Likewise.
37543         * math/s_casinhl.c (__casinhl): Likewise.
37544         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37545         (casinh_test): Add more tests.
37546         * sysdeps/i386/fpu/libm-test-ulps: Update.
37547         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37549 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37551         * po/zh_TW.po: Update from translation team.
37553         * login/Makefile (distribute): Remove variable.
37554         * catgets/Makefile: Likewise.
37555         * mach/Makefile: Likewise.
37556         * malloc/Makefile: Likewise.
37557         * misc/Makefile: Likewise.
37558         * iconv/Makefile: Likewise.
37559         * nscd/Makefile: Likewise.
37560         * hurd/Makefile: Likewise.
37561         * manual/Makefile: Likewise.
37562         * locale/Makefile: Likewise.
37563         * intl/Makefile: Likewise.
37564         * conform/Makefile: Likewise.
37565         * nss/Makefile: Likewise.
37566         * time/Makefile: Likewise.
37567         * soft-fp/Makefile: Likewise.
37568         * dirent/Makefile: Likewise.
37569         * gmon/Makefile: Likewise.
37570         * po/Makefile: Likewise.
37571         * rt/Makefile: Likewise.
37572         * socket/Makefile: Likewise.
37573         * math/Makefile: Likewise.
37574         * signal/Makefile: Likewise.
37575         * debug/Makefile: Likewise.
37576         * elf/Makefile: Likewise.
37577         * timezone/Makefile: Likewise.
37578         * stdlib/Makefile: Likewise.
37579         * iconvdata/Makefile: Likewise.
37580         * sunrpc/Makefile: Likewise.
37581         * io/Makefile: Likewise.
37582         * argp/Makefile: Likewise.
37583         * inet/Makefile: Likewise.
37584         * hesiod/Makefile: Likewise.
37585         * grp/Makefile: Likewise.
37586         * csu/Makefile: Likewise.
37587         * wctype/Makefile: Likewise.
37588         * crypt/Makefile: Likewise.
37589         * libio/Makefile: Likewise.
37590         * string/Makefile: Likewise.
37591         * nis/Makefile: Likewise.
37592         * resolv/Makefile: Likewise.
37593         * stdio-common/Makefile: Likewise.
37594         * wcsmbs/Makefile: Likewise.
37595         * dlfcn/Makefile: Likewise.
37596         * posix/Makefile: Likewise.
37598         [BZ #6959]
37599         * timezone/Makefile: Don't install timezone files, just the programs
37600         and scripts.
37602 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37604         * nss/databases.def: Add missing gshadow entry.
37606         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37608 2012-03-06  Marek Polacek  <polacek@redhat.com>
37610         [BZ #13726]
37611         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37612         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37613         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37614         * stdio-common/tst-long-dbl-fphex.c: New file.
37616 2012-03-06  David S. Miller  <davem@davemloft.net>
37618         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37619         (set_obp_int): New function.
37620         (get_obp_int): New function.
37621         (__get_clockfreq_via_dev_openprom): Likewise.
37622         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37623         Avoid unused variable warnings on 'val' and use builtin_expect.
37624         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37625         __builtin_expect.
37626         (INLINE_CLONE_SYSCALL): Likewise.
37628 2012-03-05  David S. Miller  <davem@davemloft.net>
37630         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37632 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37636         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37637         only for |x| >= 40.
37638         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37640 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37642         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37643         Replace gettimeofday with __vdso_gettimeofday.
37645         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37646         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37647         __vdso_clock_gettime and __vdso_getcpu.
37649         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37650         time with __vdso_time.
37652 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37654         * manual/lang.texi (size_t): Note types to which size_t may be
37655         equivalent with the GNU C Library, but do not describe when
37656         differences between them are significant.
37658 2012-03-05  Andreas Jaeger  <aj@suse.de>
37660         * sysdeps/i386/fpu/libm-test-ulps: Update.
37662 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37664         [BZ #3976]
37665         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37666         (__ieee754_pow): Save and restore rounding mode and use
37667         round-to-nearest for main computations.
37668         * math/libm-test.inc (pow_test_tonearest): New function.
37669         (pow_test_towardzero): Likewise.
37670         (pow_test_downward): Likewise.
37671         (pow_test_upward): Likewise.
37672         (main): Call the new functions.
37673         * sysdeps/i386/fpu/libm-test-ulps: Update.
37674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37676         [BZ #3976]
37677         * math/libm-test.inc (cosh_test_tonearest): New function.
37678         (cosh_test_towardzero): Likewise.
37679         (cosh_test_downward): Likewise.
37680         (cosh_test_upward): Likewise.
37681         (sinh_test_tonearest): Likewise.
37682         (sinh_test_towardzero): Likewise.
37683         (sinh_test_downward): Likewise.
37684         (sinh_test_upward): Likewise.
37685         (main): Call the new functions.
37686         * sysdeps/i386/fpu/libm-test-ulps: Update.
37687         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37689 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37691         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37692         default stack guard is set in last bytes.
37693         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37695 2012-03-05  Kees Cook  <keescook@chromium.org>
37697         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37699         [BZ #13656]
37700         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37701         possibly allocate from heap instead of stack.
37702         * stdio-common/bug-vfprintf-nargs.c: New file.
37703         * stdio-common/Makefile (tests): Add nargs overflow test.
37705 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37709 2012-03-03  Marek Polacek  <polacek@redhat.com>
37711         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37712         * math/math_private.h: Likewise.
37713         * stdlib/tst-strtod.c: Likewise.
37714         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37715         * sysdeps/x86_64/bits/atomic.h: Likewise.
37717 2012-03-02  David S. Miller  <davem@davemloft.net>
37719         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37720         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37723         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37724         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37725         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37726         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37728 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37730         [BZ #13792]
37731         * manual/examples/README: New file, says the example source files
37732         can be used under GPL>=2.
37733         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37734         line containing just "*/".
37735         * manual/examples/add.c: Add copyright header (GPL>=2).
37736         * manual/examples/argp-ex1.c: Likewise.
37737         * manual/examples/argp-ex2.c: Likewise.
37738         * manual/examples/argp-ex3.c: Likewise.
37739         * manual/examples/argp-ex4.c: Likewise.
37740         * manual/examples/atexit.c: Likewise.
37741         * manual/examples/db.c: Likewise.
37742         * manual/examples/dir.c: Likewise.
37743         * manual/examples/dir2.c: Likewise.
37744         * manual/examples/execinfo.c: Likewise.
37745         * manual/examples/filecli.c: Likewise.
37746         * manual/examples/filesrv.c: Likewise.
37747         * manual/examples/fmtmsgexpl.c: Likewise.
37748         * manual/examples/genpass.c: Likewise.
37749         * manual/examples/inetcli.c: Likewise.
37750         * manual/examples/inetsrv.c: Likewise.
37751         * manual/examples/isockad.c: Likewise.
37752         * manual/examples/longopt.c: Likewise.
37753         * manual/examples/memopen.c: Likewise.
37754         * manual/examples/memstrm.c: Likewise.
37755         * manual/examples/mkfsock.c: Likewise.
37756         * manual/examples/mkisock.c: Likewise.
37757         * manual/examples/mygetpass.c: Likewise.
37758         * manual/examples/pipe.c: Likewise.
37759         * manual/examples/popen.c: Likewise.
37760         * manual/examples/rprintf.c: Likewise.
37761         * manual/examples/search.c: Likewise.
37762         * manual/examples/select.c: Likewise.
37763         * manual/examples/setjmp.c: Likewise.
37764         * manual/examples/sigh1.c: Likewise.
37765         * manual/examples/sigusr.c: Likewise.
37766         * manual/examples/stpcpy.c: Likewise.
37767         * manual/examples/strdupa.c: Likewise.
37768         * manual/examples/strftim.c: Likewise.
37769         * manual/examples/strncat.c: Likewise.
37770         * manual/examples/subopt.c: Likewise.
37771         * manual/examples/swapcontext.c: Likewise.
37772         * manual/examples/termios.c: Likewise.
37773         * manual/examples/testopt.c: Likewise.
37774         * manual/examples/testpass.c: Likewise.
37775         * manual/examples/timeval_subtract.c: Likewise.
37777         [BZ #13792]
37778         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37779         function to ...
37780         * manual/timeval_subtract.c.texi: ... here, new file.
37782 2012-03-02  David S. Miller  <davem@davemloft.net>
37784         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37786 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37788         [BZ #3976]
37789         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37790         (__sin): Save and restore rounding mode and use round-to-nearest
37791         for all computations.
37792         (__cos): Save and restore rounding mode and use round-to-nearest
37793         for all computations.
37794         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37795         <fenv.h>.
37796         (tan): Save and restore rounding mode and use round-to-nearest for
37797         all computations.
37798         * math/libm-test.inc (cos_test_tonearest): New function.
37799         (cos_test_towardzero): Likewise.
37800         (cos_test_downward): Likewise.
37801         (cos_test_upward): Likewise.
37802         (sin_test_tonearest): Likewise.
37803         (sin_test_towardzero): Likewise.
37804         (sin_test_downward): Likewise.
37805         (sin_test_upward): Likewise.
37806         (tan_test_tonearest): Likewise.
37807         (tan_test_towardzero): Likewise.
37808         (tan_test_downward): Likewise.
37809         (tan_test_upward): Likewise.
37810         (main): Call the new functions.
37811         * sysdeps/i386/fpu/libm-test-ulps: Update.
37812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37814         [BZ #10135]
37815         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37816         small n, then large n, before computing and testing k+n.
37817         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37818         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37819         Likewise.
37820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37821         Likewise.
37822         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37823         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37824         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37825         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37826         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37827         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37828         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37829         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37830         * math/libm-test.inc (scalbn_test): Add more tests.
37831         (scalbln_test): Likewise.
37833         * manual/filesys.texi (mode_t): Describe constraints on size and
37834         signedness, not exact equivalence to a particular type.
37835         (ino_t): Likewise.
37836         (ino64_t): Likewise.
37837         (dev_t): Likewise.
37838         (nlink_t): Likewise.
37839         (blkcnt_t): Likewise.
37840         (blkcnt64_t): Likewise.
37841         * manual/llio.texi (off_t): Likewise.
37843         [BZ #3976]
37844         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37845         (__ieee754_exp): Save and restore rounding mode and use
37846         round-to-nearest for all computations.
37847         * math/libm-test.inc (exp_test_tonearest): New function.
37848         (exp_test_towardzero): Likewise.
37849         (exp_test_downward): Likewise.
37850         (exp_test_upward): Likewise.
37851         (main): Call the new functions.
37852         * sysdeps/i386/fpu/libm-test-ulps: Update.
37853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37855 2012-03-01  Chris Demetriou  <cgd@google.com>
37857         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37858         have predictable order.
37860 2012-03-01  David S. Miller  <davem@davemloft.net>
37862         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37864         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37865         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37866         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37867         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37869         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37870         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37871         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37873         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37874         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37875         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37876         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37877         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37879         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37881         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37882         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37883         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37885         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37886         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37887         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37888         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37889         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37890         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37891         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37892         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37893         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37894         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37895         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37896         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37897         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37898         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37899         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37900         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37901         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37902         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37903         * sysdeps/sparc/elf/configure: Regenerated.
37905 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37907         * configure.in (AS, LD): Require binutils 2.20 or later.
37908         * configure: Regenerated.
37909         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37910         as required minimum version.
37911         * INSTALL: Regenerated.
37913         [BZ #2541]
37914         [BZ #4108]
37915         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37916         before squaring exponent.
37917         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37918         bottom long double and 27 bits of top long double before squaring
37919         exponent.
37920         * math/libm-test.inc (erfc_test): Add more tests.
37921         * sysdeps/i386/fpu/libm-test-ulps: Update.
37922         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37925 2012-03-01  Kai Tietz  <ktietz@redhat.com>
37927         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
37928         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
37929         containing bit-fields.
37930         * soft-fp/extended.h (_FP_UNION_E): Likewise.
37931         * soft-fp/single.h (_FP_UNION_S): Likewise.
37932         * soft-fp/double.h (_FP_UNION_D): Likewise.
37934 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37936         [BZ #13786]
37937         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
37938         not include ../strcmp.S.
37939         [USE_AS_STRNCASECMP_L]: Likewise.
37940         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
37941         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
37942         * sysdeps/i386/i686/multiarch/strncase_l-c.c
37943         (__strncasecmp_l_ia32): Define as alias to
37944         __strncasecmp_l_nonascii.
37946         [BZ #5794]
37947         * math/libm-test.inc (expm1_test): Add test for bug 5794.
37948         * sysdeps/i386/fpu/libm-test-ulps: Update.
37949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37951         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
37952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37954 2012-02-29  Jeff Law  <law@redhat.com>
37956         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
37957         out of bounds read.
37959 2012-02-29  Marek Polacek  <polacek@redhat.com>
37961         [BZ #13706]
37962         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
37963         * elf/Makefile: Add rules to run tst-unused-dep.out.
37965 2012-02-28  David S. Miller  <davem@davemloft.net>
37967         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
37968         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
37969         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
37970         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
37971         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
37972         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
37974 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
37976         * math/libm-test.inc (llround_test): Move one test from
37977         lround_test.  Use TEST_f_L in moved test.
37978         (lround_test): Move misplaced test to llround_test.  Add testcase
37979         from bug 2561.
37981 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
37983         * sysdeps/x86_64/fpu/e_expf.S: New file.
37984         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
37986 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
37988         [BZ #13637]
37989         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
37990         of remain_len that may cause incomplete multi-byte character and
37991         false match.
37992         * posix/bug-regex33.c: New file.
37993         * posix/Makefile (tests): Add bug-regex33.
37995 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
37997         * manual/macros.texi: New file.
37998         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
37999         * manual/libc.texinfo: Include macros.texi.
38000         * manual/creatute.texi: Likewise.
38001         * manual/install.texi: Likewise.
38002         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38003         @glibcadj{} in references to the GNU C Library.
38004         * manual/charset.texi: Likewise.
38005         * manual/conf.texi: Likewise.
38006         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38007         when not using those macros.
38008         * manual/creature.texi: Likewise.
38009         * manual/crypt.texi: Likewise.
38010         * manual/errno.texi: Likewise.
38011         * manual/filesys.texi: Likewise.
38012         * manual/header.texi: Likewise.
38013         * manual/install.texi: Likewise.
38014         * manual/intro.texi: Likewise.
38015         * manual/io.texi: Likewise.
38016         * manual/job.texi: Likewise.
38017         * manual/lang.texi: Likewise.
38018         * manual/libc.texiinfo: Likewise.
38019         * manual/llio.texi: Likewise.
38020         * manual/locale.texi: Likewise.
38021         * manual/maint.texi: Likewise.
38022         * manual/math.texi: Likewise.
38023         * manual/memory.texi: Likewise.
38024         * manual/message.texi: Likewise.
38025         * manual/nss.texi: Likewise.
38026         * manual/pattern.texi: Likewise.
38027         * manual/process.texi: Likewise.
38028         * manual/resource.texi: Likewise.
38029         * manual/search.texi: Likewise.
38030         * manual/setjmp.texi: Likewise.
38031         * manual/signal.texi: Likewise.
38032         * manual/socket.texi: Likewise.
38033         * manual/startup.texi: Likewise.
38034         * manual/stdio.texi: Likewise.
38035         * manual/string.texi: Likewise.
38036         * manual/sysinfo.texi: Likewise.
38037         * manual/syslog.texi: Likewise.
38038         * manual/terminal.texi: Likewise.
38039         * manual/time.texi: Likewise.
38040         * manual/users.texi: Likewise.
38041         * INSTALL: Regenerated.
38042         * NOTES: Regenerated.
38043         * sysdeps/gnu/errlist.c: Regenerated.
38045 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38047         * include/dirent.h: Include <dirstream.h> before
38048         <dirent/dirent.h>.
38050 2012-02-28  David S. Miller  <davem@davemloft.net>
38052         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38053         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38054         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38055         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38057 2012-02-27  David S. Miller  <davem@davemloft.net>
38059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38061         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38062         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38065         frame pointer instead of stack pointer relative arg slot.
38066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38067         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38068         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38070 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38072         [BZ #3992]
38073         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38075 2012-02-27  David S. Miller  <davem@davemloft.net>
38077         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38078         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38079         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38080         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38081         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38082         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38083         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38084         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38086 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38088         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38089         later.  Allow versions 5-9.
38090         * configure: Regenerated.
38091         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38092         required minimum version and 4.6 as recommended version.  Do not
38093         mention bugs in GCC 2.7 and 2.8.
38094         * INSTALL: Regenerated.
38096 2012-02-27  David S. Miller  <davem@davemloft.net>
38098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38102         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38103         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38104         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38105         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38107         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38108         manipulate bits before adding and subtracting TWO112[sx].
38109         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38111 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38113         [BZ #13775]
38114         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38115         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38116         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38117         being in POSIX, because they are in 1003.1-2008.
38119         * rt/tst-aio.c: Include <fcntl.h>.
38120         * rt/tst-aio7.c: Likewise.
38121         * rt/tst-aio64.c: Likewise.
38123         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38125 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38127         * manual/install.texi (--with-headers): Describe headers as
38128         interface headers, not private headers.
38129         (Specific advice for GNU/Linux systems): Describe use of headers
38130         from "make headers_install", not private headers from older
38131         kernels.
38132         * INSTALL: Regenerated.
38133         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38134         Change to 2.6.19.
38135         * sysdeps/unix/sysv/linux/configure: Regenerated.
38137         * manual/llio.texi (fclean): Remove documentation.
38139         * manual/Makefile (libc-texi-generated): New variable.  Include
38140         version.texi.
38141         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38142         $(libc-texi-generated), not duplicated list of files.
38143         (version.texi, stamp-version): New rules.
38144         (realclean): Remove $(libc-texi-generated), not individual files
38145         from that list.  Do not remove dir-add.texinfo.
38146         * manual/libc.texinfo: Comment out uses of edition numbers and
38147         references to printed manual.  Remove last-updated dates.
38148         (EDITION): Comment out.
38149         (ISBN): Likewise.
38150         (VERSION, UPDATED): Remove.
38151         (version.texi): Include.
38153 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38155         * sysdeps/posix/spawni.c: Include <signal.h>.
38156         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38157         * sysdeps/pthread/aio_fsync.c: Likewise.
38159 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38161         * conform/Makefile (tests): Run only when not cross-compiling and
38162         when fast-check is not defined.
38164         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38165         * conform/data/limits.h-data: Fixes for POSIX2008.
38166         * conform/run-conformtest.sh: Run all tests.
38167         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38168         headers.
38169         * include/bits/dlfcn.h: Likewise.
38170         * include/langinfo.h: Likewise.
38171         * include/monetary.h: Likewise.
38172         * include/sys/poll.h: Likewise.
38174         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38175         for __USE_GNU.
38176         * posix/spawn.h: Define __need_sigset_t.
38177         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38178         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38179         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38180         to get sigevent_t only.
38181         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38182         only for __USE_GNU.
38183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38184         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38185         process_vm_writev only for __USE_GNU.
38186         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38188         * conform/Makefile: For now ignore errors from run-conformtest.
38189         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38190         POSIX to avoid namespace pollution.  Don't prepend headers.
38191         * conform/data/aio.h-data: Fixes for POSIX testing.
38192         * conform/data/fcntl.h-data: Likewise.
38193         * conform/data/glob.h-data: Likewise.
38194         * conform/data/grp.h-data: Likewise.
38195         * conform/data/pthread.h-data: Likewise.
38196         * conform/data/pwd.h-data: Likewise.
38197         * conform/data/signal.h-data: Likewise.
38198         * conform/data/spawn.h-data: Likewise.
38199         * conform/data/stdio.h-data: Likewise.
38200         * conform/data/stdlib.h-data: Likewise.
38201         * conform/data/stropts.h-data: Likewise.
38202         * conform/data/sys/mman.h-data: Likewise.
38203         * conform/data/sys/stat.h-data: Likewise.
38204         * conform/data/sys/types.h-data: Likewise.
38205         * conform/data/sys/wait.h-data: Likewise.
38206         * conform/data/time.h-data: Likewise.
38207         * conform/data/unistd.h-data: Likewise.
38208         * conform/data/utime.h-data: Likewise.
38210         * io/sys/stat.h: fchmod was always in POSIX.
38211         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38212         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38213         * rt/aio.h: Define __need_timespec before including <time.h>.
38214         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38215         struct.  Add forward declaration of pthread_attr_t and use it in
38216         sigevent.
38217         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38218         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38219         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38220         always remove CLK_TCK definition.
38222 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38224         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38226 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38228         * conform/run-conformtest.sh: New file.
38229         * conform/Makefile: Run run-conformtest for tests.
38230         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38231         support.
38233         * conform/data/uchar.h-data: New file.
38234         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38235         * conform/data/arpa/inet.h-data: Likewise.
38236         * conform/data/assert.h-data: Likewise.
38237         * conform/data/complex.h-data: Likewise.
38238         * conform/data/cpio.h-data: Likewise.
38239         * conform/data/ctype.h-data: Likewise.
38240         * conform/data/dirent.h-data: Likewise.
38241         * conform/data/dlfcn.h-data: Likewise.
38242         * conform/data/errno.h-data: Likewise.
38243         * conform/data/fcntl.h-data: Likewise.
38244         * conform/data/float.h-data: Likewise.
38245         * conform/data/fmtmsg.h-data: Likewise.
38246         * conform/data/fnmatch.h-data: Likewise.
38247         * conform/data/ftw.h-data: Likewise.
38248         * conform/data/glob.h-data: Likewise.
38249         * conform/data/grp.h-data: Likewise.
38250         * conform/data/iconv.h-data: Likewise.
38251         * conform/data/inttypes.h-data: Likewise.
38252         * conform/data/langinfo.h-data: Likewise.
38253         * conform/data/libgen.h-data: Likewise.
38254         * conform/data/limits.h-data: Likewise.
38255         * conform/data/locale.h-data: Likewise.
38256         * conform/data/math.h-data: Likewise.
38257         * conform/data/monetary.h-data: Likewise.
38258         * conform/data/mqueue.h-data: Likewise.
38259         * conform/data/ndbm.h-data: Likewise.
38260         * conform/data/net/if.h-data: Likewise.
38261         * conform/data/netdb.h-data: Likewise.
38262         * conform/data/netinet/in.h-data: Likewise.
38263         * conform/data/nl_types.h-data: Likewise.
38264         * conform/data/poll.h-data: Likewise.
38265         * conform/data/pthread.h-data: Likewise.
38266         * conform/data/pwd.h-data: Likewise.
38267         * conform/data/regex.h-data: Likewise.
38268         * conform/data/sched.h-data: Likewise.
38269         * conform/data/search.h-data: Likewise.
38270         * conform/data/semaphore.h-data: Likewise.
38271         * conform/data/setjmp.h-data: Likewise.
38272         * conform/data/signal.h-data: Likewise.
38273         * conform/data/spawn.h-data: Likewise.
38274         * conform/data/stdarg.h-data: Likewise.
38275         * conform/data/stdio.h-data: Likewise.
38276         * conform/data/stdlib.h-data: Likewise.
38277         * conform/data/string.h-data: Likewise.
38278         * conform/data/strings.h-data: Likewise.
38279         * conform/data/stropts.h-data: Likewise.
38280         * conform/data/sys/ipc.h-data: Likewise.
38281         * conform/data/sys/mman.h-data: Likewise.
38282         * conform/data/sys/msg.h-data: Likewise.
38283         * conform/data/sys/resource.h-data: Likewise.
38284         * conform/data/sys/select.h-data: Likewise.
38285         * conform/data/sys/sem.h-data: Likewise.
38286         * conform/data/sys/shm.h-data: Likewise.
38287         * conform/data/sys/socket.h-data: Likewise.
38288         * conform/data/sys/stat.h-data: Likewise.
38289         * conform/data/sys/statvfs.h-data: Likewise.
38290         * conform/data/sys/time.h-data: Likewise.
38291         * conform/data/sys/timeb.h-data: Likewise.
38292         * conform/data/sys/times.h-data: Likewise.
38293         * conform/data/sys/types.h-data: Likewise.
38294         * conform/data/sys/uio.h-data: Likewise.
38295         * conform/data/sys/un.h-data: Likewise.
38296         * conform/data/sys/utsname.h-data: Likewise.
38297         * conform/data/sys/wait.h-data: Likewise.
38298         * conform/data/syslog.h-data: Likewise.
38299         * conform/data/tar.h-data: Likewise.
38300         * conform/data/termios.h-data: Likewise.
38301         * conform/data/utime.h-data: Likewise.
38302         * conform/data/utmpx.h-data: Likewise.
38303         * conform/data/varargs.h-data: Likewise.
38304         * conform/data/wchar.h-data: Likewise.
38305         * conform/data/wctype.h-data: Likewise.
38306         * conform/data/wordexp.h-data: Likewise.
38308         * include/stropts.h: New file.
38309         * include/uchar.h: New file.
38310         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38311         * include/assert.h: Likewise.
38312         * include/ctype.h: Likewise.
38313         * include/dirent.h: Likewise.
38314         * include/dlfcn.h: Likewise.
38315         * include/fcntl.h: Likewise.
38316         * include/fnmatch.h: Likewise.
38317         * include/glob.h: Likewise.
38318         * include/grp.h: Likewise.
38319         * include/libio.h: Likewise.
38320         * include/locale.h: Likewise.
38321         * include/math.h: Likewise.
38322         * include/net/if.h: Likewise.
38323         * include/netdb.h: Likewise.
38324         * include/netinet/in.h: Likewise.
38325         * include/pthread.h: Likewise.
38326         * include/pwd.h: Likewise.
38327         * include/regex.h: Likewise.
38328         * include/sched.h: Likewise.
38329         * include/search.h: Likewise.
38330         * include/setjmp.h: Likewise.
38331         * include/signal.h: Likewise.
38332         * include/stdio.h: Likewise.
38333         * include/stdlib.h: Likewise.
38334         * include/string.h: Likewise.
38335         * include/sys/cdefs.h: Likewise.
38336         * include/sys/mman.h: Likewise.
38337         * include/sys/msg.h: Likewise.
38338         * include/sys/resource.h: Likewise.
38339         * include/sys/select.h: Likewise.
38340         * include/sys/socket.h: Likewise.
38341         * include/sys/stat.h: Likewise.
38342         * include/sys/statvfs.h: Likewise.
38343         * include/sys/time.h: Likewise.
38344         * include/sys/times.h: Likewise.
38345         * include/sys/uio.h: Likewise.
38346         * include/sys/utsname.h: Likewise.
38347         * include/sys/wait.h: Likewise.
38348         * include/termios.h: Likewise.
38349         * include/time.h: Likewise.
38350         * include/ulimit.h: Likewise.
38351         * include/unistd.h: Likewise.
38352         * include/utime.h: Likewise.
38353         * include/wchar.h: Likewise.
38354         * include/wctype.h: Likewise.
38355         * include/wordexp.h: Likewise.
38357         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38359         * time/time.h: TIME_UTC must be a macro.
38360         Make timespec_get available for ISO C11 only as well.
38362 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38364         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38365         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38367 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38369         * configure.in: Use -o not -a in test for unsupported multi-arch.
38371 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38373         * manual/texinfo.tex: Update to version 2012-01-19.16.
38375 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38377         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38379 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38381         [BZ #13738]
38382         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38383         * manual/fdl-1.3.texi: New file.
38384         * manual/fdl-1.1.texi: File removed.
38386         [BZ #13738]
38387         * manual/libc.texinfo (FDL_VERSION): New @set.
38388         Use it for mention of FDL in cover text.
38389         (Documentation License): Use it in @include file name.
38391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38392             Roland McGrath  <roland@hack.frob.com>
38394         [BZ #5461]
38395         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38396         (not LONG_LONG_MAX and LONG_LONG_MIN.
38397         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38398         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38399         name.
38400         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38402 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38404         [BZ #2547]
38405         [BZ #11365]
38406         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38407         manipulate bits before adding and subtracting TWO23[sx].
38408         * math/libm-test.inc (nearbyint_test): Add more tests.
38410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38412         [BZ #2548]
38413         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38414         bits before adding and subtracting TWO23[sx].
38415         * math/libm-test.inc (rint_test): Add more tests.
38416         (rint_test_tonearest): Likewise.
38417         (rint_test_towardzero): Likewise.
38418         (rint_test_downward): Likewise.
38419         (rint_test_upward: Likewise.
38421 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38423         [BZ #10110]
38424         * include/stdc-predef.h: New file.  Extracted from features.h.
38425         * include/features.h: Include stdc-predef.h.
38426         * Makefile (headers): Add stdc-predef.h.
38427         * CONFORMANCE (Compiler limitations): Update.
38429 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38431         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38433 2012-02-21  David S. Miller  <davem@davemloft.net>
38435         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38436         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38438 2012-02-20  David S. Miller  <davem@davemloft.net>
38440         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38441         using a normal save/restore sequence, rather than allocating a
38442         dummy stack frame just to store a frame pointer and restore.
38443         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38445 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38447         * manual/install.texi: Fix stray word in line-wrapped comment.
38449 2012-02-20  David S. Miller  <davem@davemloft.net>
38451         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38452         both binutils and gcc support GOTDATA.
38454         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38455         "rd %pc" in the PIC register setup sequences.
38457         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38458         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38459         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38460         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38461         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38462         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38463         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38464         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38465         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38466         (SYSCALL_ERROR_HANDLER): Likewise.
38467         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38468         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38469         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38470         (SYSCALL_ERROR_HANDLER): Likewise.
38472         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38473         (HAVE_GCC_GOTDATA): New.
38474         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38475         relocation support in both binutils and gcc.
38476         * sysdeps/sparc/elf/configure: Regenerate.
38478         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38479         * sysdeps/sparc/sparc32/elf/configure: Delete.
38480         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38481         * sysdeps/sparc/sparc64/elf/configure: Delete.
38482         * sysdeps/sparc/elf/configure.in: New file.
38483         * sysdeps/sparc/elf/configure: Generate.
38485         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38486         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38487         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38488         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38489         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38491 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38493         * manual/install.texi: Do not mention specific glibc version
38494         numbers.
38495         * manual/libc.texinfo (VERSION, UPDATED): Update.
38496         (@copying): Use @copyright{} and range of years.
38498 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38500         [BZ #13695]
38501         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38502         [crti.S not in sysdirs] (generated): Do not append.
38503         [crti.S not in sysdirs] (omit-deps): Likewise.
38504         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38505         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38506         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38507         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38508         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38509         Likewise.
38510         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38511         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38512         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38513         * csu/defs.awk: Remove file.
38514         * sysdeps/generic/initfini.c: Likewise.
38515         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38516         variable.
38517         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38518         Likewise.
38520 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38522         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38523         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38524         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38525         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38526         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38527         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38528         <bits/epoll.h>.
38529         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38530         (__EPOLL_PACKED): Define to empty if not defined by
38531         <bits/epoll.h>.
38532         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38534         bits/epoll.h.
38536 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38538         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38539         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38540         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38541         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38542         <bits/timerfd.h>.
38543         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38544         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38545         bits/timerfd.h.
38547 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38549         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38550         in C locale.
38551         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38552         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38553         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38556 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38558         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38559         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38561 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38563         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38564         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38565         defined.
38566         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38567         Likewise.
38568         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38569         entry for 2.16.
38571 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38573         * math/w_acos.c: Use non-signaling floating-point comparisons.
38574         * math/w_acosf.c: Likewise.
38575         * math/w_acosh.c: Likewise.
38576         * math/w_acoshf.c: Likewise.
38577         * math/w_acoshl.c: Likewise.
38578         * math/w_acosl.c: Likewise.
38579         * math/w_asin.c: Likewise.
38580         * math/w_asinf.c: Likewise.
38581         * math/w_asinl.c: Likewise.
38582         * math/w_atanh.c: Likewise.
38583         * math/w_atanhf.c: Likewise.
38584         * math/w_atanhl.c: Likewise.
38585         * math/w_exp2.c: Likewise.
38586         * math/w_exp2f.c: Likewise.
38587         * math/w_exp2l.c: Likewise.
38588         * math/w_j0.c: Likewise.
38589         * math/w_j0f.c: Likewise.
38590         * math/w_j0l.c: Likewise.
38591         * math/w_j1.c: Likewise.
38592         * math/w_j1f.c: Likewise.
38593         * math/w_j1l.c: Likewise.
38594         * math/w_jn.c: Likewise.
38595         * math/w_jnf.c: Likewise.
38596         * math/w_log.c: Likewise.
38597         * math/w_log10.c: Likewise.
38598         * math/w_log10f.c: Likewise.
38599         * math/w_log10l.c: Likewise.
38600         * math/w_log2.c: Likewise.
38601         * math/w_log2f.c: Likewise.
38602         * math/w_log2l.c: Likewise.
38603         * math/w_logf.c: Likewise.
38604         * math/w_logl.c: Likewise.
38605         * math/w_sqrt.c: Likewise.
38606         * math/w_sqrtf.c: Likewise.
38607         * math/w_sqrtl.c: Likewise.
38608         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38609         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38610         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38611         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38612         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38614 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38616         [BZ #9739]
38617         * manual/string.texi (strnlen): Use correct parameter name in
38618         equivalent expression.
38620 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38622         [BZ #11174]
38623         * manual/users.texi (seteuid): Consistently use neweuid for
38624         argument name.
38626 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38628         [BZ #13704]
38629         * manual/nss.texi (Services in the NSS configuration): Correct
38630         list of services in example configuration file.
38632 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38634         [BZ #11322]
38635         * manual/arith.texi: Remove statements about negative zero
38636         behaving identically to zero.
38638 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38640         [BZ #5993]
38641         * manual/install.texi: Do not document upgrading from libc5.
38643 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38645         [BZ #4596]
38646         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38648 2012-02-18  David S. Miller  <davem@davemloft.net>
38650         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38651         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38652         %o7 across the call.
38653         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38654         instead.
38655         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38656         SETUP_PIC_REG_LEAF.
38657         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38658         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38659         * sysdeps/sparc/crtn.S: Likewise.
38661 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38663         * aout/Makefile: Remove.
38665 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38667         [BZ #13058]
38668         * manual/examples/argp-ex1.c (main): Format definition in GNU
38669         style.
38670         * manual/examples/argp-ex2.c (main): Likewise.
38671         * manual/examples/argp-ex3.c (main): Likewise.
38672         * manual/examples/argp-ex4.c (main): Likewise.
38673         * manual/examples/longopt.c (main): Use new-style prototype
38674         definition.
38675         * manual/examples/strncat.c (main): Specify return type and use
38676         (void) for arguments.
38677         * manual/examples/subopt.c (main): Use char **argv argument.
38679 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38681         [BZ #5077]
38682         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38683         rounding modes.
38685 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38687         [BZ #6907]
38688         * manual/string.texi (strchr): Change when strchrnul is
38689         recommended.
38691 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38693         [BZ #174]
38694         * manual/locale.texi (setlocale): Document LOCPATH.
38696 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38698         [BZ #10210]
38699         * manual/process.texi (execle): Move @dots{} before last argument.
38701 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38703         [BZ #12047]
38704         * manual/charset.texi (Generic Charset Conversion): Fix typo
38705         (LC_TYPE -> LC_CTYPE).
38707 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38709         [BZ #5805]
38710         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38711         (scalbnf): Likewise.
38712         (scalbnl): Likewise.
38713         (scalbln): Likewise.
38714         (scalblnf): Likewise.
38715         (scalblnl): Likewise.
38716         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38717         (vwarnx): Likewise.
38718         (verr): Likewise.
38719         (verrx): Likewise.
38720         * manual/filesys.texi (telldir): Use braces around return type.
38721         * manual/llio.texi (mmap): Add space after comma.
38722         (mmap64): Likewise.
38723         * manual/math.texi (jn): Use @var{} on parameter names.
38724         (jnf): Likewise.
38725         (jnl): Likewise.
38726         (yn): Likewise.
38727         (ynf): Likewise.
38728         (ynl): Likewise.
38729         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38730         line.
38731         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38732         "...".
38733         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38734         (sched_get_priority_max): Likewise.
38735         * manual/signal.texi (sigvec): Add space after comma.
38736         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38737         names.
38738         (if_indextoname): Likewise.
38739         (if_freenameindex): Likewise.
38740         (sendto): Use ',' instead of '.' in prototype.
38741         * manual/startup.texi (syscall): Use @dots{} instead of literal
38742         "...".
38743         * manual/stdio.texi (__fpending): Separate initial words of
38744         paragraph from @deftypefun line.
38745         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38746         "...".
38747         (vsyslog): Use @var{} on parameter names.
38748         * manual/terminal.texi (stty): Use @var{} on parameter names.
38749         * manual/users.texi (getutmp): Use @var{} on parameter names.
38750         (getutmpx): Likewise.
38752 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38754         [BZ #6884]
38755         * manual/stdio.texi (fopen): Fix typos in description of
38756         ",ccs=STRING".
38758 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38760         [BZ #4026]
38761         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38762         get clock_id definition.
38764 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38766         [BZ #4822]
38767         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38768         (madvise): Cast every argument to void on its own.
38770 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38772         [BZ #9902]
38773         * manual/startup.texi (Exit Status): Fix typo.
38775 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38777         [BZ #10140]
38778         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38779         * manual/examples/argp-ex2.c: Likewise.
38780         * manual/examples/argp-ex3.c: Likewise.
38782 2012-02-16  Richard Henderson  <rth@redhat.com>
38784         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38785         * sysdeps/s390/s390-32/initfini.c: Remove.
38786         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38787         * sysdeps/s390/s390-64/initfini.c: Remove.
38789 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38791         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38792         compiler output for sysdeps/generic/initfini.c.
38793         * sysdeps/sh/elf/initfini.c: Remove file.
38795 2012-02-16  David S. Miller  <davem@davemloft.net>
38797         [BZ #11494]
38798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38800         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38801         * sysdeps/sparc/crti.S: New file.
38802         * sysdeps/sparc/crtn.S: New file.
38803         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38804         * sysdeps/sparc/sparc64/Makefile: Likewise.
38806 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38808         [BZ #3335]
38809         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38811 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38813         [BZ #4822]
38814         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38816         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38817         (write, read, close): Likewise.
38818         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38820 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38822         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38823         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38824         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38825         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38826         <bits/signalfd.h>.
38827         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38828         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38829         bits/signalfd.h.
38831 2012-02-14  Marek Polacek  <polacek@redhat.com>
38833         * sysdeps/x86_64/crti.S: New file.
38834         * sysdeps/x86_64/crtn.S: New file.
38835         * sysdeps/x86_64/elf/initfini.c: Remove file.
38837 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38839         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38840         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38841         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38842         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38843         <bits/inotify.h>.
38844         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38846         bits/inotify.h.
38848 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38850         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38851         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38852         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38853         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38854         <bits/eventfd.h>.
38855         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38856         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38857         bits/eventfd.h.
38859 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38861         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38862         __feraiseexcept instead of feraiseexcept.
38864         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38865         nanosleep invocations.
38866         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38867         strings, and add error checking for a nanosleep invocations.
38869 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38871         Replace FSF snail mail address with URLs, as per GNU coding standards.
38872         Most of the snail mail addresses were wrong anyway, and omitting
38873         them makes the source code easier to maintain.  Almost all of the
38874         changes are to license notices and to locale LC_IDENTIFICATION
38875         addresses, except for this one:
38876         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38877         not its snail mail address.
38879 2012-02-09  Richard Henderson  <rth@twiddle.net>
38881         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38882         of kernel-features.h.
38884         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38886 2012-02-08  Marek Polacek  <polacek@redhat.com>
38888         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38889         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38890         * sysdeps/gnu/_G_config.h: Likewise.
38891         * sysdeps/generic/_G_config.h: Likewise.
38893 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38895         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38896         tests.
38897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38899         * sysdeps/powerpc/powerpc32/crti.S: New file.
38900         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38901         * sysdeps/powerpc/powerpc64/crti.S: New file.
38902         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38904         * Makeconfig (have-initfini): Don't set.
38905         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38906         * configure.in (nopic_initfini): Don't substitute.
38907         * config.h.in (HAVE_INITFINI): Don't #undef.
38908         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38909         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38911 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38913         Support crti.S and crtn.S provided directly by architectures.
38914         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38915         [crti.S in sysdirs] (omit-deps): Likewise.
38916         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38917         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38918         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38919         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38920         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38921         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38922         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38923         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
38924         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
38925         compiler output for sysdeps/generic/initfini.c.
38926         * sysdeps/i386/elf/Makefile: Remove file.
38927         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
38929 2012-02-07  Marek Polacek  <polacek@redhat.com>
38931         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
38932         * sysdeps/gnu/_G_config.h: Likewise.
38933         * sysdeps/mach/hurd/_G_config.h: Likewise.
38935 2012-02-07  Marek Polacek  <polacek@redhat.com>
38937         * math/Makefile (tests): Add tst-CMPLX2.
38938         * math/tst-CMPLX2.c: New file.
38940 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
38942         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38944         * math/libm-test.inc (jn_test): Add missing L suffix.
38946 2012-02-06  Marek Polacek  <polacek@redhat.com>
38948         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
38949         * sysdeps/i386/fpu/e_powf.S: Likewise.
38950         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38951         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
38952         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38953         * sysdeps/i386/fpu/e_pow.S: Likewise.
38954         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38955         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38956         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38957         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38958         * sysdeps/i386/fpu/e_log2.S: Likewise.
38959         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38960         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38961         * sysdeps/i386/fpu/e_powl.S: Likewise.
38962         * sysdeps/i386/fpu/s_log1p.S: Likewise.
38963         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38964         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38965         * sysdeps/i386/fpu/e_logl.S: Likewise.
38966         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38967         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
38968         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38969         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38970         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38971         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38972         * sysdeps/i386/fpu/e_log.S: Likewise.
38973         * sysdeps/i386/fpu/s_cexp.S: Likewise.
38974         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38975         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
38976         * sysdeps/i386/fpu/e_logf.S: Likewise.
38977         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38978         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38979         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
38980         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38981         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
38982         * sysdeps/i386/fpu/e_log10.S: Likewise.
38983         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38984         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38985         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38986         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38987         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38988         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38989         * sysdeps/i386/asm-syntax.h: Likewise.
38990         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38991         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38992         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38993         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
38994         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
38995         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38996         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38997         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38998         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38999         * sysdeps/powerpc/sysdep.h: Likewise.
39000         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39001         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39003 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39005         [BZ #411]
39006         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39008 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39010         * sysdeps/i386/sysdep.h: Include <features.h>.
39011         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39012         version.
39014 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39016         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39017         Define.
39018         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39019         LOAD_PIC_REG_STR.
39021 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39023         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39024         (SETUP_PIC_REG): Use GET_PC_THUNK.
39025         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39026         macro.
39028 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39030         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39031         for non-PIC compilation.
39032         (SETUP_PIC_REG): Add .p2align directive.
39033         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39034         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39035         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39036         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39037         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39038         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39039         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39040         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39041         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39042         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39043         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39044         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39045         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39046         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39047         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39048         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39049         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39050         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39051         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39052         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39053         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39054         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39055         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39056         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39057         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39059         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39060         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39061         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39062         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39063         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39064         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39065         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39066         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39067         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39068         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39069         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39070         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39071         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39072         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39073         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39075 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39077         * math/tst-CMPLX.c: Include <stdio.h>.
39079 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39081         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39082         float.
39083         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39084         * sysdeps/sparc/bits/mathdef.h: Likewise.
39086 2012-01-31  Marek Polacek  <polacek@redhat.com>
39088         * libio/libio.h: Don't define _PARAMS.
39089         * locale/programs/config.h: Don't define PARAMS.
39090         * stdlib/strtol_l.c: Likewise.
39091         (__strtol_l): Remove PARAMS from the prototype.
39093 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39095         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39096         names.  Just use the correct names.  Remove unnecessary wrapper
39097         functions.
39098         * malloc/arena.c: Likewise.
39099         * malloc/hooks.c: Likewise.
39101         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39102         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39103         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39105 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39107         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39108         into tail calls.
39109         (update_get_addr): New function.
39110         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39111         GET_ADDR_MODULE parameter.
39113 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39115         * crypt/cert.c: Remove __STDC__ conditionals.
39116         * crypt/crypt-entry.c: Likewise.
39117         * crypt/crypt_util.c: Likewise.
39118         * libio/filedoalloc.c: Likewise.
39119         * libio/fileops.c: Likewise.
39120         * libio/genops.c: Likewise.
39121         * libio/iofclose.c: Likewise.
39122         * libio/iofdopen.c: Likewise.
39123         * libio/iofopen.c: Likewise.
39124         * libio/iofopen64.c: Likewise.
39125         * libio/iogetdelim.c: Likewise.
39126         * libio/iopopen.c: Likewise.
39127         * libio/obprintf.c: Likewise.
39128         * libio/oldfileops.c: Likewise.
39129         * libio/oldiofclose.c: Likewise.
39130         * libio/oldiofdopen.c: Likewise.
39131         * libio/oldiofopen.c: Likewise.
39132         * libio/oldiopopen.c: Likewise.
39133         * libio/wfiledoalloc.c: Likewise.
39134         * libio/wgenops.c: Likewise.
39135         * locale/programs/xmalloc.c: Likewise.
39136         * misc/syslog.c: Likewise.
39137         * stdio-common/xbug.c: Likewise.
39138         * string/memchr.c: Likewise.
39139         * string/memcmp.c: Likewise.
39140         * string/memrchr.c: Likewise.
39141         * string/rawmemchr.c: Likewise.
39142         * sysdeps/posix/getcwd.c: Likewise.
39143         * time/strftime_l.c: Likewise.
39145 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39147         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39148         * config.make.in (config-cflags-sse2avx): Define.
39149         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39150         Fix typo.
39152 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39154         * scripts/config.guess: Update from upstream config git repository.
39155         * scripts/config.sub: Likewise.
39157 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39159         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39160         (EM_NUM): Update.
39161         (R_TILEPRO_*, R_TILEGX_*): New macros.
39163         * scripts/firstversions.awk: Fix bug in version range handling.
39165         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39167         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39169         * include/sys/epoll.h: New file.
39170         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39171         libc_hidden_def.
39173 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39175         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39176         Avoid unnecessary __WORDSIZE == 64 test.
39177         (fmaxf): Use VEX format if possible.
39178         (fmax): Likewise.
39179         (fminf): Likewise.
39180         (fmin): Likewise.
39182         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39183         * math/math_private.h: Remove libc_fegetround* and
39184         libc_fesetround*.
39185         * sysdeps/i386/configure.in: Check for -msse2avx.
39186         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39187         also if SSE2AVX is defined.
39188         Remove libc_fegetround* and libc_fesetround*.
39189         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39190         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39191         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39192         of HAS_YMM_USABLE.
39193         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39194         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39195         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39197         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39199         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39201 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39203         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39204         size is not set.
39205         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39207 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39209         [BZ #13618]
39210         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39211         relocation.
39212         * Makeconfig (libm): Define.
39213         * elf/Makefile: Add rules to build and run tst-relsort1.
39214         * elf/tst-relsort1.c: New file.
39215         * elf/tst-relsort1mod1.c: New file.
39216         * elf/tst-relsort1mod2.c: New file.
39218 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39220         * math/s_ldexp.c: Remove __STDC__ conditionals.
39221         * math/s_ldexpf.c: Likewise.
39222         * math/s_ldexpl.c: Likewise.
39223         * math/s_nextafter.c: Likewise.
39224         * math/s_nexttowardf.c: Likewise.
39225         * math/s_significand.c: Likewise.
39226         * math/s_significandf.c: Likewise.
39227         * math/s_significandl.c: Likewise.
39228         * math/w_jnl.c: Likewise.
39229         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39230         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39231         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39232         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39233         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39234         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39235         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39236         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39237         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39238         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39239         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39240         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39241         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39242         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39243         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39244         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39245         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39246         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39247         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39248         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39249         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39250         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39251         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39252         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39253         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39254         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39255         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39256         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39257         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39258         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39259         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39260         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39261         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39262         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39263         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39264         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39265         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39266         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39267         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39268         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39269         * sysdeps/ieee754/k_standard.c: Likewise.
39270         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39271         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39272         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39273         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39274         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39275         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39276         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39277         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39278         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39279         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39280         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39281         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39282         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39283         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39284         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39285         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39286         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39287         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39288         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39289         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39290         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39291         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39292         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39293         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39294         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39295         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39296         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39298         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39299         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39300         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39301         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39302         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39303         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39304         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39305         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39306         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39307         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39308         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39309         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39310         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39312         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39313         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39314         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39315         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39316         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39317         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39318         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39319         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39320         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39321         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39322         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39323         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39324         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39325         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39326         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39327         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39328         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39329         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39330         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39331         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39332         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39333         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39334         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39335         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39336         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39337         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39338         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39339         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39340         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39341         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39342         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39343         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39344         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39345         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39346         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39347         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39348         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39349         * sysdeps/ieee754/s_matherr.c: Likewise.
39350         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39351         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39352         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39353         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39355 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39357         * crypt/md5.h: Remove __STDC__ conditionals.
39358         * libio/libioP.h: Likewise.
39359         * locale/programs/config.h: Likewise.
39360         * sysdeps/generic/sysdep.h: Likewise.
39361         * sysdeps/i386/asm-syntax.h: Likewise.
39362         * sysdeps/s390/asm-syntax.h: Likewise.
39363         * sysdeps/unix/sysdep.h: Likewise.
39364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39367 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39369         * libio/libio.h: Remove __STDC__ conditionals.
39370         * malloc/obstack.h: Likewise.
39371         * math/complex.h: Likewise.
39372         * math/math.h: Likewise.
39373         * sysdeps/generic/_G_config.h: Likewise.
39374         * sysdeps/gnu/_G_config.h: Likewise.
39375         * sysdeps/mach/hurd/_G_config.h: Likewise.
39376         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39377         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39378         * sysdeps/sparc/bits/mathdef.h: Likewise.
39380 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39382         [BZ #13583]
39383         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39384         Clean up HAS_* macros.
39385         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39386         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39387         possible.
39388         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39389         HAS_AVX.
39390         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39391         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39392         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39393         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39394         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39396 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39398         * elf/tst-unique3.cc (gets): Remove declaration.
39399         * elf/tst-unique3lib.cc (gets): Likewise.
39400         * elf/tst-unique3lib2.cc (gets): Likewise.
39401         * elf/tst-unique4.cc (gets): Likewise.
39403 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39405         * include/stdio.h: Add C++ protection.  Add gets declarations and
39406         definitions.
39407         * debug/tst-chk1.c: Don't declare gets here.
39408         * stdio-common/tst-gets.c: Likewise.
39410 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39412         * posix/glob: Remove directory.
39414 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39416         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39418 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39420         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39421         of the non-standard EPFNOSUPPORT.
39423 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39425         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39426         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39427         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39429 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39431         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39433 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39435         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39436         transient errors.
39437         * nscd/grpcache.c (cache_addgr): Likewise.
39438         * nscd/hstcache.c (cache_addhst): Likewise.
39439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39440         * nscd/pwdcache.c (cache_addpw): Likewise.
39441         * nscd/servicescache.c (cache_addserv): Likewise.
39443 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39445         * malloc/malloc.c: Various cleanups.
39446         * malloc/hooks.c: Likewise.
39448         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39449         * stdlib/bug-fmtmsg1.c: New file.
39451         * stdlib/fmtmsg.c (init): Add missing unlock.
39452         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39454 2012-01-12  Marek Polacek  <polacek@redhat.com>
39456         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39457         and _GNU_SOURCE.
39459 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39461         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39462         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39463         macro to ensure uniqueness of label name.
39464         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39465         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39467 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39469         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39471         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39472         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39473         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39474         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39476 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39478         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39480         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39481         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39482         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39484         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39486         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39487         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39488         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39489         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39491         * math/bits/math-finite.h: Add ldexp support.
39493 2012-01-10  Marek Polacek  <polacek@redhat.com>
39495         * locale/programs/localedef.h (show_archive_content): Add noreturn
39496         attribute.
39498 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39500         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39502 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39504         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39506         * io/Makefile (headers): Add bits/poll2.h.
39508 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39511         typo #include statement.
39513 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39515         * include/sys/cdefs.h: Define __attribute_alloc_size.
39516         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39517         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39518         * elf/pldd.c: Likewise.
39519         * iconv/iconv_charmap.c: Likewise.
39520         * iconv/iconvconfig.c: Likewise.
39521         * iconv/strtab.c: Likewise.
39522         * locale/programs/locale.c: Likewise.
39523         * locale/programs/localedef.h: Likewise.
39524         * locale/programs/simple-hash.c: Likewise.
39525         * nscd/nscd.h: Likewise.
39526         * nss/makedb.c: Likewise.
39527         * sysdeps/generic/ldconfig.h: Likewise.
39528         * locale/programs/localedef.c: Remove xmalloc prototype.
39529         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39531 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39533         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39534         appropriate.
39536 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39538         * math/Makefile (tests): Add tst-CMPLX.
39539         * math/tst-CMPLX.c: New file.
39541         * math/complex.h (CMPLXL): Fix typo.
39543         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39544         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39545         GLIBC_2.16.
39546         * debug/tst-chk1.c: Add poll and ppoll tests.
39547         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39548         * include/sys/poll.h: Add hidden proto for ppoll.
39549         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39550         * sysdeps/mach/hurd/ppoll.c: Likewise.
39551         * io/ppoll.c: Likewise.
39552         * debug/poll_chk.c: New file.
39553         * debug/ppoll_chk.c: New file.
39554         * include/bits/poll2.h: New file.
39555         * io/bits/poll2.h: New file.
39557         [BZ #1350]
39558         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39560         * configure.in: static is always set to yes.  Remove.
39561         * config.make.in: Don't set build-static.
39562         * Makeconfig: Remove use of build-static.
39563         * dlfcn/Makefile: Likewise.
39564         * elf/Makefile: Likewise.
39565         * math/Makefile: Likewise.
39566         * misc/Makefile: Likewise.
39567         * nptl/Makefile: Likewise.
39568         * sysdeps/mach/hurd/Makefile: Likewise.
39570         * configure.in: PWD_P is not used anymore.
39571         * config.make.in: Remove PWD_P entry.
39573         * configure.in: Remove last remnants of RANLIB.
39574         No need to check for signed size_t anymore.
39575         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39576         and IA-64.
39577         Remove __builtin_expect test because we require at least gcc 3.4.
39578         * aclocal.m4: Likewise.
39580         * wcsmbs/mbrtoc16.c: Implement using towc function.
39581         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39582         * wcsmbs/wcsmbsload.c: Likewise.
39583         * iconv/gconv_simple.c: Likewise.
39584         * iconv/gconv_int.h: Likewise.
39585         * iconv/gconv_builtin.h: Likewise.
39586         * iconv/iconv_prog.c: Remove CHAR16 handling.
39588         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39590         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39592         * configure.in: Remove --with-elf and --enable-bounded options.
39593         Dont set base_machine for ia64.  More non-ELF conditions removed.
39594         Remove testing and setting of leading underscore information.
39595         * config.make.in (build-bounded): Set to no.
39596         * config.h.in: Remove NO_UNDERSCORES entry.
39597         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39598         them.
39599         * csu/start.c: Remove !NO_UNDERSCORE code.
39600         * locale/localeinfo.h: Likewise.
39601         * sysdeps/generic/machine-gmon.h: Likewise.
39602         * sysdeps/generic/sysdep.h: Likewise.
39603         * sysdeps/i386/sysdep.h: Likewise.
39604         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39605         * sysdeps/mach/sysdep.h: Likewise.
39606         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39607         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39608         * sysdeps/sh/sysdep.h: Likewise.
39609         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39610         * sysdeps/unix/i386/sysdep.S: Likewise.
39611         * sysdeps/unix/sparc/start.c: Likewise.
39612         * sysdeps/unix/sparc/sysdep.S: Likewise.
39613         * sysdeps/unix/sparc/sysdep.h: Likewise.
39614         * sysdeps/unix/start.c: Likewise.
39615         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39616         * sysdeps/x86_64/sysdep.h: Likewise.
39618 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39620         [BZ #13553]
39621         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39622         for non-gcc.
39623         * argp/argp-fmtstream.h: Use const instead __const.
39624         * argp/argp.h: Likewise.
39625         * assert/assert.h: Likewise.
39626         * bits/fenv.h: Likewise.
39627         * bits/sched.h: Likewise.
39628         * bits/sigset.h: Likewise.
39629         * bits/sigthread.h: Likewise.
39630         * catgets/nl_types.h: Likewise.
39631         * conform/data/pthread.h-data: Likewise.
39632         * crypt/crypt-private.h: Likewise.
39633         * crypt/crypt.h: Likewise.
39634         * crypt/crypt_util.c: Likewise.
39635         * ctype/ctype.h: Likewise.
39636         * debug/execinfo.h: Likewise.
39637         * debug/mbsnrtowcs_chk.c: Likewise.
39638         * debug/mbsrtowcs_chk.c: Likewise.
39639         * debug/wcsnrtombs_chk.c: Likewise.
39640         * debug/wcsrtombs_chk.c: Likewise.
39641         * debug/wcstombs_chk.c: Likewise.
39642         * dirent/dirent.h: Likewise.
39643         * dlfcn/dlfcn.h: Likewise.
39644         * elf/neededtest4.c: Likewise.
39645         * grp/grp.h: Likewise.
39646         * gshadow/gshadow.h: Likewise.
39647         * iconv/gconv.h: Likewise.
39648         * iconv/gconv_int.h: Likewise.
39649         * iconv/gconv_simple.c: Likewise.
39650         * iconv/iconv.h: Likewise.
39651         * iconv/loop.c: Likewise.
39652         * iconv/skeleton.c: Likewise.
39653         * include/aio.h: Likewise.
39654         * include/aliases.h: Likewise.
39655         * include/argz.h: Likewise.
39656         * include/arpa/inet.h: Likewise.
39657         * include/assert.h: Likewise.
39658         * include/dirent.h: Likewise.
39659         * include/dlfcn.h: Likewise.
39660         * include/execinfo.h: Likewise.
39661         * include/fcntl.h: Likewise.
39662         * include/fenv.h: Likewise.
39663         * include/glob.h: Likewise.
39664         * include/grp.h: Likewise.
39665         * include/libintl.h: Likewise.
39666         * include/mntent.h: Likewise.
39667         * include/netdb.h: Likewise.
39668         * include/pwd.h: Likewise.
39669         * include/rpc/netdb.h: Likewise.
39670         * include/sched.h: Likewise.
39671         * include/search.h: Likewise.
39672         * include/shadow.h: Likewise.
39673         * include/signal.h: Likewise.
39674         * include/stdio.h: Likewise.
39675         * include/stdlib.h: Likewise.
39676         * include/string.h: Likewise.
39677         * include/sys/socket.h: Likewise.
39678         * include/sys/stat.h: Likewise.
39679         * include/sys/statfs.h: Likewise.
39680         * include/sys/statvfs.h: Likewise.
39681         * include/sys/syslog.h: Likewise.
39682         * include/sys/time.h: Likewise.
39683         * include/sys/uio.h: Likewise.
39684         * include/time.h: Likewise.
39685         * include/unistd.h: Likewise.
39686         * include/utmp.h: Likewise.
39687         * include/wchar.h: Likewise.
39688         * include/wctype.h: Likewise.
39689         * inet/aliases.h: Likewise.
39690         * inet/arpa/inet.h: Likewise.
39691         * inet/netinet/ether.h: Likewise.
39692         * inet/netinet/in.h: Likewise.
39693         * intl/libintl.h: Likewise.
39694         * io/bits/fcntl2.h: Likewise.
39695         * io/fcntl.h: Likewise.
39696         * io/ftw.h: Likewise.
39697         * io/sys/poll.h: Likewise.
39698         * io/sys/stat.h: Likewise.
39699         * io/sys/statfs.h: Likewise.
39700         * io/sys/statvfs.h: Likewise.
39701         * io/utime.h: Likewise.
39702         * libio/bits/stdio.h: Likewise.
39703         * libio/bits/stdio2.h: Likewise.
39704         * libio/libio.h: Likewise.
39705         * libio/libioP.h: Likewise.
39706         * libio/stdio.h: Likewise.
39707         * locale/lc-ctype.c: Likewise.
39708         * locale/locale.h: Likewise.
39709         * login/utmp.h: Likewise.
39710         * malloc/arena.c: Likewise.
39711         * malloc/malloc.c: Likewise.
39712         * malloc/malloc.h: Likewise.
39713         * malloc/mcheck.c: Likewise.
39714         * malloc/mtrace.c: Likewise.
39715         * math/bits/mathcalls.h: Likewise.
39716         * math/fenv.h: Likewise.
39717         * math/math_private.h: Likewise.
39718         * misc/bits/error.h: Likewise.
39719         * misc/bits/syslog.h: Likewise.
39720         * misc/err.h: Likewise.
39721         * misc/error.h: Likewise.
39722         * misc/fstab.h: Likewise.
39723         * misc/mntent.h: Likewise.
39724         * misc/regexp.h: Likewise.
39725         * misc/search.h: Likewise.
39726         * misc/sgtty.h: Likewise.
39727         * misc/sys/mman.h: Likewise.
39728         * misc/sys/syslog.h: Likewise.
39729         * misc/sys/uio.h: Likewise.
39730         * misc/sys/xattr.h: Likewise.
39731         * misc/ttyent.h: Likewise.
39732         * nis/rpcsvc/ypclnt.h: Likewise.
39733         * nss/nss.h: Likewise.
39734         * posix/bits/unistd.h: Likewise.
39735         * posix/fnmatch.h: Likewise.
39736         * posix/glob.h: Likewise.
39737         * posix/sched.h: Likewise.
39738         * posix/spawn.h: Likewise.
39739         * posix/sys/wait.h: Likewise.
39740         * posix/unistd.h: Likewise.
39741         * posix/wordexp.h: Likewise.
39742         * pwd/pwd.h: Likewise.
39743         * resolv/netdb.h: Likewise.
39744         * resource/sys/resource.h: Likewise.
39745         * rt/aio.h: Likewise.
39746         * rt/bits/mqueue2.h: Likewise.
39747         * rt/mqueue.h: Likewise.
39748         * shadow/shadow.h: Likewise.
39749         * signal/signal.h: Likewise.
39750         * socket/send.c: Likewise.
39751         * socket/sendto.c: Likewise.
39752         * socket/sys/socket.h: Likewise.
39753         * stdio-common/printf.h: Likewise.
39754         * stdlib/bits/stdlib.h: Likewise.
39755         * stdlib/fmtmsg.h: Likewise.
39756         * stdlib/monetary.h: Likewise.
39757         * stdlib/stdlib.h: Likewise.
39758         * stdlib/ucontext.h: Likewise.
39759         * streams/stropts.h: Likewise.
39760         * string/argz.h: Likewise.
39761         * string/bits/string2.h: Likewise.
39762         * string/string.h: Likewise.
39763         * string/strings.h: Likewise.
39764         * sunrpc/rpc/auth.h: Likewise.
39765         * sunrpc/rpc/auth_des.h: Likewise.
39766         * sunrpc/rpc/clnt.h: Likewise.
39767         * sunrpc/rpc/netdb.h: Likewise.
39768         * sunrpc/rpc/pmap_clnt.h: Likewise.
39769         * sunrpc/rpc/xdr.h: Likewise.
39770         * sysdeps/generic/inttypes.h: Likewise.
39771         * sysdeps/generic/net/if.h: Likewise.
39772         * sysdeps/generic/sys/swap.h: Likewise.
39773         * sysdeps/gnu/net/if.h: Likewise.
39774         * sysdeps/gnu/utmpx.h: Likewise.
39775         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39776         * sysdeps/i386/i486/bits/string.h: Likewise.
39777         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39778         * sysdeps/s390/bits/string.h: Likewise.
39779         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39780         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39781         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39782         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39783         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39784         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39785         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39786         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39787         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39788         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39789         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39790         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39791         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39792         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39793         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39794         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39795         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39796         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39799         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39800         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39801         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39802         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39803         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39804         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39805         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39806         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39807         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39808         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39809         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39810         * sysvipc/sys/ipc.h: Likewise.
39811         * sysvipc/sys/msg.h: Likewise.
39812         * sysvipc/sys/sem.h: Likewise.
39813         * sysvipc/sys/shm.h: Likewise.
39814         * termios/termios.h: Likewise.
39815         * time/sys/time.h: Likewise.
39816         * time/time.h: Likewise.
39817         * wcsmbs/bits/wchar2.h: Likewise.
39818         * wcsmbs/uchar.h: Likewise.
39819         * wcsmbs/wchar.h: Likewise.
39820         * wctype/wctype.h: Likewise.
39822         [BZ #13551]
39823         * Makeconfig: Remove all but ELF support including AIX support.
39824         * Makerules: Likewise.
39825         * config.h.in: Likewise.
39826         * config.make.in: Likewise.
39827         * configure: Likewise.
39828         * configure.in: Likewise.
39829         * csu/Makefile: Likewise.
39830         * csu/version.c: Likewise.
39831         * debug/Makefile: Likewise.
39832         * dlfcn/Makefile: Likewise.
39833         * elf/Makefile: Likewise.
39834         * extra-lib.mk: Likewise.
39835         * iconv/Makefile: Likewise.
39836         * include/libc-symbols.h: Likewise.
39837         * include/shlib-compat.h: Likewise.
39838         * resolv/Makefile: Likewise.
39839         * resolv/res_libc.c: Likewise.
39840         * rt/Makefile: Likewise.
39841         * sysdeps/i386/asm-syntax.h: Likewise.
39842         * sysdeps/i386/sysdep.h: Likewise.
39843         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39844         * sysdeps/mach/sysdep.h: Likewise.
39845         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39846         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39847         * sysdeps/s390/asm-syntax.h: Likewise.
39848         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39849         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39850         * sysdeps/sh/sysdep.h: Likewise.
39851         * sysdeps/unix/sparc/sysdep.h: Likewise.
39852         * sysdeps/wordsize-32/divdi3.c: Likewise.
39853         * sysdeps/x86_64/sysdep.h: Likewise.
39855         * argp/Versions: Remove _argp_unlock_xxx.
39857         [BZ #13559]
39858         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39859         * abilist/libBrokenLocale.abilist: Likewise.
39860         * abilist/libanl.abilist: Likewise.
39861         * abilist/libc.abilist: Likewise.
39862         * abilist/libcrypt.abilist: Likewise.
39863         * abilist/libdl.abilist: Likewise.
39864         * abilist/libm.abilist: Likewise.
39865         * abilist/libnsl.abilist: Likewise.
39866         * abilist/libpthread.abilist: Likewise.
39867         * abilist/libresolv.abilist: Likewise.
39868         * abilist/librt.abilist: Likewise.
39869         * abilist/libthread_db.abilist: Likewise.
39870         * abilist/libutil.abilist: Likewise.
39871         * abilist/libnss_db.abilist: New file.
39873         * scripts/abilist.awk: Add support for indirect functions.
39875         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39877         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39879         * shlib-versions: Remove entries for ports architectures.
39881         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39882         files in ports.
39883         * elf/stackguard-macros.h: Remove support for IA-64.
39884         * elf/tst-auditmod1.c: Likewise.
39885         * sysdeps/generic/ldsodefs.h: Likewise.
39887         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39888         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39889         configure files.
39891         [BZ #13552]
39892         * configure.in: Remove --enable-omitfp support.
39893         * FAQ.in: Adjust.
39894         * config.make.in: Likewise.
39895         * Makeconfig: Likewise.
39896         * manual/install.texi: Likewise.
39898         In case anyone cares, the IA-64 architecture could move to ports.
39899         * sysdeps/ia64/*: Removed.
39900         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39901         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39903         [BZ #13555]
39904         * configure.in: Remove entries for unsupported architectures.
39906         [BZ #13533]
39907         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39908         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39909         routines.
39910         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39911         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39912         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39913         fall back to using wcrtomb.
39914         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39915         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39916         renaming.
39917         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39918         * wcsmbs/tst-c16c32-1.c: New file.
39920         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39921         local variable.
39923         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
39925         * elf/tst-unique3.cc: Add explicit declaration of gets.
39926         * elf/tst-unique3lib.cc: Likewise.
39927         * elf/tst-unique3lib2.cc: Likewise.
39928         * elf/tst-unique4.cc: Likewise.
39930         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
39932 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
39934         [BZ #13566]
39935         * assert/assert.h (static_assert): Don't define for C++.
39936         * libio/stdio.h (gets): Do declare for C++ <= C++11.
39937         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
39939 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
39941         * iconv/loop.c (single loop): Fix assertion in storing of
39942         remaining bytes.
39944         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
39946 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
39948         * posix/getconf.c: Update copyright year.
39949         * nss/getent.c: Likewise.
39950         * nss/makedb.c: Likewise.
39951         * iconv/iconvconfig.c: Likewise.
39952         * iconv/iconv_prog.c: Likewise.
39953         * elf/ldconfig.c: Likewise.
39954         * elf/pldd.c: Likewise.
39955         * elf/sotruss.ksh: Likewise.
39956         * catgets/gencat.c: Likewise.
39957         * csu/version.c: Likewise.
39958         * elf/ldd.bash.in: Likewise.
39959         * elf/sprof.c (print_version): Likewise.
39960         * locale/programs/locale.c: Likewise.
39961         * locale/programs/localedef.c: Likewise.
39962         * login/programs/pt_chown.c: Likewise.
39963         * nscd/nscd.c (print_version): Likewise.
39964         * debug/xtrace.sh: Likewise.
39965         * malloc/memusage.sh: Likewise.
39966         * malloc/mtrace.pl: Likewise.
39967         * debug/catchsegv.sh: Likewise.
39969 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
39971         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
39972         pure attribute.
39974 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
39976         [BZ #13533]
39977         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
39978         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
39979         transformations.
39980         * iconv/gconv_int.h: Likewise.
39981         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
39982         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
39983         from libc for GLIBC_2.16.
39984         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
39985         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
39986         * wcsmbs/uchar.h: Really define mbstate_t.
39987         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
39988         * wcsmbs/c16rtomb.c: New file.
39989         * wcsmbs/mbrtoc16.c: New file.
39990         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
39991         for C/POSIX locale.
39992         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
39993         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
39995         * wcsmbs/wchar.h: Add missing __restrict.
39997 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
39999         [BZ #13532]
40000         * time/Makefile (routines): Add timespec_get.
40001         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40002         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40003         timespec for ISO C11.
40004         * time/timespec_get.c: New file.
40005         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40006         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40008         [BZ #13531]
40009         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40010         * stdlib/stdlib.h: Declare aligned_alloc.
40011         * Versions.def: Add GLIBC_2.16 for libc.
40012         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40014         [BZ 13527]
40015         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40016         ISO C11.
40018         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40019         code.
40021         [BZ #13528]
40022         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40024         [BZ #13529]
40025         * assert/assert.h (static_assert): Define.
40027         * version.h: Update for 2.16 development version.
40029         [BZ #13526]
40030         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40031         _ISOC11_SOURCE.
40033         * version.h (RELEASE): Bump for 2.15 release.
40034         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40036         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40037         Patch by Marek Polacek <mpolacek@redhat.com>.
40039         * bits/byteswap.h: Protect long long constants with __extension__.
40040         * sysdeps/i386/bits/byteswap.h: Likewise.
40041         * sysdeps/ia64/bits/byteswap.h: Likewise.
40042         * sysdeps/s390/bits/byteswap.h: Likewise.
40043         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40045 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40047         [BZ #13540]
40048         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40049         destination buffer.
40050         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40052 2011-12-23  Marek Polacek  <polacek@redhat.com>
40054         * elf/dl-addr.c (determine_info): Add inline keyword.
40055         * elf/tst-auditmod4b.c (check_avx): Likewise.
40056         * elf/tst-auditmod6b.c (check_avx): Likewise.
40057         * elf/tst-auditmod6c.c (check_avx): Likewise.
40058         * elf/tst-auditmod7b.c (check_avx): Likewise.
40060 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40062         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40063         !__SSE_MATH__.
40065 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40067         [BZ #13540]
40068         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40069         processing for last bytes.
40071 2011-08-06  Bruno Haible  <bruno@clisp.org>
40073         [BZ #13061]
40074         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40075         U+0385, not to U+1FEE.
40077         [BZ #13062]
40078         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40079         entry for U+00A5 U+0301.
40081 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40083         [BZ #13166]
40084         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40085         buffer for the output is too small.
40087         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40088         optimization.
40090         [BZ #13185]
40091         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40092         SSE flags if possible.
40094 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40096         [BZ #13540]
40097         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40098         processing for last bytes.
40100 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40102         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40103         (syscall-list-default-options, syscall-list-default-condition)
40104         (syscall-list-includes): Define.
40105         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40106         list of ABIs and options and #if conditions for each ABI.  Do not
40107         handle common syscalls between ABIs specially.
40108         * sysdeps/unix/sysv/linux/powerpc/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         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40114         (syscall-list-variants, syscall-list-32bit-options)
40115         (syscall-list-32bit-condition, syscall-list-64bit-options)
40116         (syscall-list-64bit-condition): Define.
40117         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40118         Remove.
40119         (syscall-list-variants, syscall-list-32bit-options)
40120         (syscall-list-32bit-condition, syscall-list-64bit-options)
40121         (syscall-list-64bit-condition): Define.
40122         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40123         Remove.
40124         (syscall-list-variants, syscall-list-32bit-options)
40125         (syscall-list-32bit-condition, syscall-list-64bit-options)
40126         (syscall-list-64bit-condition): Define.
40128 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40130         * locale/iso-639.def: Add brx entry.
40132         [BZ #13328]
40133         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40134         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40136         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40137         __feraiseexcept_renamed.
40139 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40141         [BZ #13538]
40142         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40143         EPOLLET with unsigned values.
40144         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40145         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40147         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40148         to large cancellation.
40149         * math/s_cacoshf.c: Likewise.
40150         * math/s_cacoshl.c: Likewise.
40152 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40154         [BZ #13305]
40155         [BZ #12786]
40156         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40157         * math/s_cacoshf.c: Likewise.
40158         * math/s_cacoshl.c: Likewise.
40160 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40162         [BZ #13439]
40163         * iconv/gconv.h: Define __GCONV_SWAP.
40164         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40165         * iconvdata/utf-16.c: Likewise.
40166         * iconvdata/utf-32.c: Likewise.
40168 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40170         [BZ #13524]
40171         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40172         numerator after shifting it by one limb.
40174 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40176         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40177         under [__USE_EXTERN_INLINES].
40179 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40181         [BZ #13446]
40182         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40184 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40186         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40187         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40188         optimized code.
40189         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40190         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40191         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40192         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40193         for strncasecmp/strncasecmp_l compilation.
40194         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40195         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40197 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40199         [BZ #13484]
40200         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40201         of __asm__.
40203 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40205         [BZ #13506]
40206         * time/tzfile.c (__tzfile_read): Check values from file header.
40208 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40210         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40211         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40212         * powerpc/powerpc32/dl-start.S: Likewise.
40213         * powerpc/powerpc32/elf/start.S: Likewise.
40214         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40215         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40216         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40217         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40218         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40219         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40220         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40221         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40222         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40223         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40224         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40225         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40226         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40227         * powerpc/powerpc32/memset.S: Likewise.
40228         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40229         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40230         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40231         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40232         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40233         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40234         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40235         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40236         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40237         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40238         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40239         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40240         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40242 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40244         * math/libm-test.inc: Added more nearbyint tests.
40245         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40246         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40247         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40248         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40250 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40252         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40253         FD_CLOEXEC.
40255 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40257         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40258         Add wcscpy-ssse3 wcscpy-c.
40259         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40260         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40261         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40262         * sysdeps/x86_64/wcschr.S: New file.
40263         * sysdeps/x86_64/wcsrchr.S: New file.
40264         * string/test-strcmp.c: Remove checking of wcscmp function for
40265         wrong alignments.
40266         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40267         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40268         wcsrchr-sse2 wcsrchr-c.
40269         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40270         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40271         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40272         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40273         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40274         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40275         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40276         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40277         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40278         * wcsmbc/wcschr.c (WCSCHR): New macro.
40280 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40282         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40283         * wcsmbs/test-wcsrchr.c: New file.
40284         * string/test-strrchr.c: Add wcsrchr support.
40285         (WIDE): New macro.
40286         * wcsmbs/test-wcscpy.c: New file.
40287         * string/test-strcpy.c: Add wcscpy support.
40288         (WIDE): New macro.
40290 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40292         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40293         the inner loop.
40295 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40297         [BZ #13472]
40298         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40300 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40302         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40303         Minor optimizations.
40305         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40306         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40307         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40309 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40311         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40312         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40313         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40314         for gcc to avoid warnings.
40315         * inet/Makefile (tests): Add tst-checks.
40316         * inet/tst-checks.c: New file.
40318         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40319         warning.
40321         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40322         __wmemcmp_sse2.
40324         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40325         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40327         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40329 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40331         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40332         problem.
40334         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40336 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40338         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40339         conditional on GCC version.
40340         (__arch_compare_and_exchange_val_8_acq)
40341         (__arch_compare_and_exchange_val_16_acq)
40342         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40343         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40344         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40346 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40348         * sysdeps/sh/backtrace.c: New file.
40350 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40352         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40353         parenthesis.
40355 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40357         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40358         falling back to utime.
40360 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40362         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40363         expectations for float.
40365 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40367         * locale/weight.h (findidx): Add parameter len.
40368         * locale/weightwc.h (findidx): Likewise.
40369         * posix/fnmatch_loop.c (FCT): Adjust caller.
40370         * posix/regcomp.c (build_equiv_class): Likewise.
40371         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40372         * posix/regexec.c (check_node_accept_bytes): Likewise.
40373         * string/strcoll_l.c (STRCOLL): Likewise.
40374         * string/strxfrm_l.c (STRXFRM): Likewise.
40376 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40378         * Makefile.in: Remove CVSOPT handling.
40379         * configure.in: Remove use of AC_REVISION.
40380         * iconvdata/Makefile (distribute): No need to filter out CVS.
40381         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40382         handling.
40384 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40386         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40387         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40388         [USE_AS_STRNCASECMP_L]: Likewise.
40389         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40390         NO_TLS_DIRECT_SEG_REFS.
40391         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40392         Fix argument offsets for non-PIC.
40393         [USE_AS_STRNCASECMP_L]: Likewise.
40394         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40395         NO_TLS_DIRECT_SEG_REFS.
40397 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40399         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40400         O_CLOEXEC.
40401         * locale/loadlocale.c (_nl_load_locale): Likewise.
40403 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40405         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40406         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40407         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40408         (SYSCALL_GETTIME): Set errno on error.
40410         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40411         count references to noai6ai_cached.
40413 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40415         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40417         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40418         FD_CLOEXEC for /proc/self/maps.
40420         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40421         FD_CLOEXEC for /proc/meminfo.
40423         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40424         gai.conf.
40426         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40427         FD_CLOEXEC for given file.
40429         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40431         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40432         FD_CLOEXEC for /etc/hosts.
40433         (_gethtent): Likewise.
40435         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40437         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40438         cancellation and set FD_CLOEXEC for /etc/netgroup.
40440         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40441         reading /etc/publickey.
40443         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40444         allow cancellation when reading /etc/group.
40446         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40447         cancellation.
40448         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40450         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40451         when using data file.
40453         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40455         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40456         (write_nis_obj): Use "c" and "e" in fopen.
40458         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40460         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40462         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40464         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40466         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40467         locale.alias.
40469         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40471         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40473         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40475         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40476         file parsing and set FD_CLOEXEC.
40478 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40480         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40482 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40484         * malloc/arena.c (arena_get2): Don't call reused_arena when
40485         _int_new_arena failed.
40487 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40489         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40490         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40491         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40492         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40493         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40494         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40495         to compile strcasecmp and strncasecmp.
40496         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40497         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40499         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40501 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40503         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40504         locale-defines.sym to gen-as-const-headers.
40505         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40506         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40508         to compile strcasecmp and strncasecmp.
40509         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40510         strcasecmp_l and strncasecmp_l.
40511         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40512         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40513         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40514         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40515         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40516         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40517         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40518         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40519         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40520         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40521         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40523 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40525         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40526         result of SYSDEP_GETTIME_CPU to retval.
40527         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40528         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40530         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40531         variable.
40533         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40534         mantissa words.
40535         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40537         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40538         from unused variable.
40540         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40541         DWARF definitions.
40542         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40543         for assembling.
40545         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40546         over namespaces.
40548         * sunrpc/rpc_prot.c (rejected): Fix case value.
40550         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40551         unsigned long long int to avoid warnings in shift.
40553         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40554         of use of trans.
40555         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40556         variable tmp.
40558         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40559         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40560         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40562         * nis/nis_table.c (nis_list): Use variable of correct type for
40563         result of __follow_path call.
40565 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40567         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40568         of math functions ceil, trunc, floor, round, and sqrt, when
40569         avaliable on the platform.
40570         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40571         name clash.
40572         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40573         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40574         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40576 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40578         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40579         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40581 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40583         * include/unistd.h: Fix __readlink return type.
40584         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40586 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40588         * stdlib/ucontext.h: Undo last change for makecontext.
40590 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40592         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40594         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40595         * setjmp/setjmp.h: Mark functions as non-leaf.
40596         * setjmp/bits/setjmp2.h: Likewise.
40597         * stdlib/ucontext.h: Likewise.
40599 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40601         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40602         (reused_arena): Don't check arena limit.
40603         (arena_get2): Atomically check arena limit.
40605 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40607         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40608         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40611         instructions.
40613 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40615         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40616         handler when locking.
40618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40619         Fix size of allocated buffer.
40621 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40623         [BZ #10103]
40624         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40625         declarations for long double functions.
40626         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40628         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40630 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40632         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40633         installed.
40635         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40636         is disabled.
40638 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40640         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40642 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40644         * include/alloca.h (stackinfo_alloca_round): Define.
40645         (extend_alloca): Use it.
40646         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40647         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40648         here.
40650         * scripts/check-local-headers.sh: Ignore libaudit.h.
40652         * nscd/Makefile (extra-objs): Make recursively expanded.
40654 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40656         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40657         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40659         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40660         * posix/tst-rfc3484-2.c: Likewise.
40661         * posix/tst-rfc3484-3.c: Likewise.
40663         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40664         process_vm_writev.
40665         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40666         process_vm_writev.
40667         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40668         process_vm_writev from libc using GLIBC_2.15 version.
40670         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40672 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40674         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40675         stack usage.
40677 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40679         [BZ #13367]
40680         * nss/getent.c (initgroups_keys): Show error message in case no group
40681         names are given.
40683         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40684         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40685         __bump_nl_timestamp.
40686         * nscd/connections (nscd_init): When host database is served open
40687         netlink socket and request notification about configuration changes.
40688         (main_loop_poll): Track netlink file descriptor and bump timestamp
40689         in case data becomes available.
40690         (main_loop_epoll): Likewise.
40691         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40692         (database_pers_head): Add extra_data fileds.
40693         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40694         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40695         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40696         Adjust caller.
40697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40698         in6ai data, call __free_in6ai.
40699         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40700         Add -DHAVE_NETLINK.
40701         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40702         interface information.  Reuse previous data if netlink timestamp
40703         is not changed.
40704         (__bump_nl_timestamp): New function.
40705         (__free_in6ai): New function.
40707 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40709         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40710         close_not_cancel_no_status here.
40711         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40713 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40715         [BZ #13276]
40716         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40717         return value.
40719         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40720         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40721         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40723 2011-07-03  Andreas Jaeger  <aj@suse.de>
40725         [BZ #10709]
40726         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40727         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40728         * math/libm-test.inc (sin_test): Add test case.
40730 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40732         [BZ #13337]
40733         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40734         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40736         * elf/chroot_canon.c (chroot_canon): Cleanups.
40738         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40740         [BZ #13335]
40741         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40742         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40744         * string/test-strchr.c: Make usable for strchrnul testing.
40745         * string/test-strchrnul.c: New file.
40746         * string/Makefile (strop-tests): Add strchrnul.
40748         * po/it.po: Update from translation team.
40749         * po/es.po: Likewise.
40751 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40753         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40754         the three constants needed as parameters.  Drop the others.
40755         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40756         __m128i_strloadu_tolower.
40757         Create and initialize variable zero and use it in all the places
40758         where _mm_setzero_si128 was used.
40760         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40761         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40762         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40763         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40764         anymore.
40765         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40766         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40767         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40768         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40769         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40770         __mpranred, __mptan.
40771         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40772         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40773         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40774         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40775         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40776         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40777         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40778         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40779         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40781 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40783         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40784         redefine if SHARED.
40785         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40787         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40788         wide char related routines to wcsmbs subdir.
40790 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40792         [BZ #13344]
40793         * misc/sys/cdefs.h (__THROWNL): Define.
40794         * posix/unistd.h: Use __THREADNL instead of __THREAD
40795         for memory synchronization functions.
40797 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40799         [BZ #13349]
40800         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40801         doesn't exist.
40802         * manual/stdio.texi (Obstack Streams): Node removed.
40804 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40806         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40807         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40808         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40810         * math/math_private.h (math_force_eval): Allow non-addressable
40811         arguments.
40812         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40814 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40816         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40817         file is not needed.
40819         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40820         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40821         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40822         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40823         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40824         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40825         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40826         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40827         Add AVX variants.
40828         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40829         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40830         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40831         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40832         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40833         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40834         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40835         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40836         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40837         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40838         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40839         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40840         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40841         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40842         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40843         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40844         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40845         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40846         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40848         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40849         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40852         place.  Use VEX encoding when compiling for AVX.
40854 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40856         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40857         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40859         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40861 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40863         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40864         useless if() expression.
40865         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40866         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40867         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40868         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40869         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40870         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40871         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40872         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40873         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40874         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40875         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40876         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40877         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40878         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40879         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40880         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40881         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40882         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40883         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40885         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40887 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40889         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40890         condition.
40891         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40893 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40895         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40896         .text section.  Avoid duplicate constants.
40897         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40898         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40899         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40900         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40901         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40902         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40903         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40904         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40905         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40906         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40907         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40908         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40909         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40910         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40911         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40912         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40913         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40914         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40915         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40916         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40917         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40918         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40919         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40920         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40921         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40922         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40923         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
40924         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
40925         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
40926         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
40927         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
40928         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
40929         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40930         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
40931         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
40932         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
40933         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
40934         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
40935         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
40936         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
40937         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
40938         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
40939         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
40940         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
40941         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
40943 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
40945         * sysdeps/x86_64/dla.h: Move to ...
40946         * sysdeps/x86_64/fpu/dla.h: ...here.
40947         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
40948         situations.  Use __builtin_fma only for gcc 4.6 and up.
40950         * config.make.in: Add have-mfma4 entry.
40951         * configure.in: Substitute libc_cv_cc_fma4.
40952         * math/Makefile (dbl-only-routines): Add sincostab.
40953         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
40954         Use __sincostab not sincos.
40955         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
40956         name is a macro.
40957         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40958         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40959         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40960         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
40961         using __copysign.
40962         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
40963         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
40964         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
40965         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
40966         and __inv.
40967         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
40968         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
40969         __copysign.
40970         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
40971         define aliases when function name is a macro.
40972         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
40973         sysdeps/ieee754/dbl-64/sincos.tbl.
40974         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
40975         fma4-enabled routines.
40976         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
40977         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
40978         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
40979         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
40980         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
40981         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
40982         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
40983         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
40984         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
40985         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
40986         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
40987         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
40988         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
40989         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
40990         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
40991         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
40992         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
40993         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
40994         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
40995         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
40996         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
40997         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
40998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
40999         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41000         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41001         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41002         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41003         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41004         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41005         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41007         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41008         rename.
41009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41010         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41012         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41013         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41014         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41015         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41016         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41018 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41020         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41022 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41024         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41026         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41027         prediction.
41028         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41030         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41031         Remove unused variable magic_bits.
41032         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41034         * string/strnlen.c: Define and use STRNLEN macro.
41035         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41036         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41038         * wcsmbs/wcslen.c: Define and use WCSLEN.
41039         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41040         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41041         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41042         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41043         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41044         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41045         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41047 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41049         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41050         strnlen-sse2-no-bsf.
41051         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41052         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41053         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41054         Add strnlen support.
41055         (USE_AS_STRNLEN): New macro.
41056         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41057         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41058         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41059         * sysdeps/x86_64/wcslen.S: New file.
41061 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41063         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41064         XMM-moves are used for copying on small sizes.
41066 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41068         * wcsmbs/Makefile (strop-tests): Add wcschr.
41069         * wcsmbs/test-wcschr.c: New file.
41070         * string/test-strchr.c: Update.
41071         Add wcschr support.
41072         (WIDE): New macro.
41074 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41076         * wcsmbs/Makefile (strop-tests): Add wcslen.
41077         * wcsmbs/test-wcslen.c: New file.
41078         * string/test-strlen.c: Update.
41079         Add wcslen support.
41080         (WIDE): New macro.
41082 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41084         * po/it.po: Update from translation team.
41086 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41088         * sysdeps/x86_64/wcscmp.S: Update.
41089         Fix wrong comparison semantics.
41090         wcscmp shall use signed comparison not unsigned.
41091         Don't use substraction to avoid overflow bug.
41092         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41093         * wcsmbc/wcscmp.c: Likewise.
41094         * string/test-strcmp.c: Likewise.
41095         Add new tests to check cases with negative values.
41097 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41099         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41100         * sysdeps/x86_64/dla.h: ...here.  New file.
41101         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41102         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41103         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41104         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41105         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41106         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41107         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41108         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41109         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41111 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41113         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41114         __ynl_finite aliases.
41116 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41118         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41120         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41121         define DLA_FMA.
41122         [DLA_FMA] (EMULV): Use DLA_FMA.
41123         [DLA_FMA] (MUL12): Use EMULV.
41124         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41125         that are not needed.
41126         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41127         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41128         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41129         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41130         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41131         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41132         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41134 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41136         * math/s_nan.c: Undef __nan.
41137         * math/s_nanf.c: Undef __nanf.
41138         * math/s_nanl.c: Undef __nanl.
41139         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41140         "math_private.h".
41142 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41144         * math/s_catan.c: Add branch predictions.
41145         * math/s_catanf.c: Likewise.
41146         * math/s_catanh.c: Likewise.
41147         * math/s_catanhf.c: Likewise.
41148         * math/s_catanhl.c: Likewise.
41149         * math/s_catanl.c: Likewise.
41150         * math/s_cexp.c: Likewise.
41151         * math/s_cexpf.c: Likewise.
41152         * math/s_cexpl.c: Likewise.
41153         * math/s_clog.c: Likewise.
41154         * math/s_clog10.c: Likewise.
41155         * math/s_clog10f.c: Likewise.
41156         * math/s_clog10l.c: Likewise.
41157         * math/s_clogf.c: Likewise.
41158         * math/s_clogl.c: Likewise.
41159         * math/s_csqrt.c: Likewise.
41160         * math/s_csqrtf.c: Likewise.
41161         * math/s_csqrtl.c: Likewise.
41162         * math/s_ctanf.c: Likewise.
41163         * math/s_ctanh.c: Likewise.
41164         * math/s_ctanhf.c: Likewise.
41165         * math/s_ctanhl.c: Likewise.
41166         * math/s_ctanl.c: Likewise.
41168         * math/math_private.h: Define __nan, __nanf, __nanl.
41169         * math/s_cacosh.c: Include <math_private.h>.
41170         * math/s_cacoshl.c: Likewise.
41171         * math/s_casinh.c: Likewise.
41172         * math/s_casinhf.c: Likewise.
41173         * math/s_casinhl.c: Likewise.
41174         * math/s_ccos.c: Rely entire on ccosh.
41175         * math/s_ccosf.c: Rely entire on ccoshf.
41176         * math/s_ccosl.c: Rely entirely on ccoshl.
41177         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41178         Remove tests for FE_INVALID.
41179         * math/s_ccoshf.c: Likewise.
41180         * math/s_ccoshl.c: Likewise.
41181         * math/s_csin.c: Likewise.
41182         * math/s_csinf.c: Likewise.
41183         * math/s_csinh.c Likewise.
41184         * math/s_csinhf.c: Likewise.
41185         * math/s_csinhl.c: Likewise.
41186         * math/s_csinl.c: Likewise.
41187         * math/s_ctan.c: Likewise.
41188         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41189         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41190         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41192 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41194         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41195         compilation problems.
41197         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41198         __builtin_expect.
41200 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41202         * sysdeps/i386/configure.in: Test for -mfma4 option.
41203         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41204         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41205         COMMON_CPUID_INDEX_80000001.
41206         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41207         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41208         use it if FMA3 is not supported.
41209         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41211         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41212         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41214 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41216         [BZ #12892]
41217         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41218         it would create a cycle with a link time dependency.
41220 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41222         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41223         instruction.
41224         * string/Makefile (strop-tests): Add rawmemchr.
41225         * string/test-rawmemchr.c: New file.
41227         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41228         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41229         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41230         when compiling str{,n}casecmp and when AVX is available.  Hook up
41231         new optimized code in initializers.
41233 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41235         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41236         __feraiseexcept instead of feraiseexcept.
41238 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41240         * math/math_private.h: Define defaults for libc_fetestexcept and
41241         libc_feupdateenv.
41242         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41243         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41244         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41245         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41246         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41247         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41248         libc_fetestexcept and libc_feupdateenv.
41250         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41251         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41252         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41253         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41254         libc_feholdexcept_setround.
41256         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41257         Add s_nearbyint-c and s_nearbyintf-c.
41258         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41259         nearbyintf inlines.
41260         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41262         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41263         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41265         * math/math_private.h: Define defaults for libc_fegetround,
41266         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41267         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41268         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41269         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41270         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41271         standard functions.
41272         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41273         Remove comments and hacks for old compiler versions.
41274         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41275         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41276         libc_feholdexceptl.
41278 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41280         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41281         (__feraiseexcept_renamed): Add __NTH.
41282         (feraiseexcept): Add __NTH.  Rename local variables to fix
41283         namespace violations.
41285 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41287         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41289         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41291         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41292         recently added interfaces.
41293         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41295         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41296         about macro parameter expansion.
41298         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41299         __NO_MATH_INLINES is defined.  Cleanups.
41301         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41302         and __floorf is target has SSE4.1.
41303         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41304         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41305         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41306         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41308         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41309         name.
41310         (floorf): Likewise.
41312         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41314 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41316         * misc/sys/cdefs.h: Fix last change.
41318         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41319         database lookup.
41321 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41323         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41325         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41326         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41327         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41328         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41329         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41330         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41331         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41332         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41333         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41334         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41335         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41336         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41337         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41338         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41339         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41340         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41341         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41342         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41343         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41344         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41345         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41346         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41348         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41349         ceil, ceilf, floor, floorf.
41351         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41352         Perform IRELATIVE relocations last.
41354         * elf/do-rel.h: Add another parameter nrelative, replacing the
41355         local variable with the same name.  Change name of the function
41356         to end in Rel or Rela (uppercase).
41357         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41358         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41359         elf_dynamic_do_##reloc function.
41361 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41363         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41364         is sufficient, at least on modern CPUs.
41366         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41368         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41369         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41371         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41372         __expl_finite.
41373         * math/bits/math-finite.h: Add entries for exp.
41374         * math/e_expl.c: Add __*_finite alias.
41375         * sysdeps/i386/fpu/e_exp.S: Likewise.
41376         * sysdeps/i386/fpu/e_expf.S: Likewise.
41377         * sysdeps/i386/fpu/e_expl.c: Likewise.
41378         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41379         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41380         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41382         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41383         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41384         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41386         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41387         is sufficient, at least on modern CPUs.
41389         * ctype/ctype-info.c (__ctype_init): Define.
41390         * include/ctype.h (__ctype_init): Declare.
41391         (__ctype_b_loc): The variable is always initialized.
41392         (__ctype_toupper_loc): Likewise.
41393         (__ctype_tolower_loc): Likewise.
41394         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41395         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41397 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41399         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41401         * configure.in: Also look in $cxxmachine/include for C++ system
41402         headers.
41404 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41406         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41407         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41408         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41409         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41410         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41411         (USE_AS_WMEMCMP): New macro.
41412         Fixing indents.
41413         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41414         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41415         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41416         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41417         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41418         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41419         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41420         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41421         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41422         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41423         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41424         (USE_AS_WMEMCMP): New macro.
41425         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41426         * sysdeps/string/test-memcmp.c: Update.
41427         Fix simple_wmemcmp.
41428         Add new tests.
41429         * wcsmbs/wmemcmp.c: Update.
41430         (WMEMCMP): New macro.
41431         Fix overflow bug.
41433 2011-10-12  Andreas Jaeger  <aj@suse.de>
41435         [BZ #13268]
41436         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41438 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41440         * libio/iofwide.c (do_length): Avoid warning.
41442         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41444 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41446         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41448         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41449         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41450         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41451         * sysdeps/i386/i686/fpu/e_log.S: New file.
41452         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41453         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41455         * ctype/ctype.h: Add support for inlined isXXX functions when
41456         compiling C++ code.
41458 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41460         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41462         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41464 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41466         [BZ #13291]
41467         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41469 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41471         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41472         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41473         feraiseexcept.
41475         * sysdeps/x86_64/memrchr.S: Check for zero size.
41477         * string/stratcliff.c: Add memrchr tests.
41479 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41481         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41482         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41483         rawmemchr-sse2 rawmemchr-sse2-bsf.
41484         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41485         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41486         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41487         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41488         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41489         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41490         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41491         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41492         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41493         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41494         * string/memrchr.c (MEMRCHR): New macro.
41496 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41498         Add integration with gcc's -ffinite-math-only and optimize wrapper
41499         functions in libm.
41500         * Versions.def: Define GLIBC_2.15 version for libm.
41501         * math/Makefile (headers): Add bits/math-finite.h.
41502         * math/bits/math-finite.h: New file.
41503         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41504         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41505         * math/e_acoshl.c: Add __*_finite alias.
41506         * math/e_acosl.c: Likewise.
41507         * math/e_asinl.c: Likewise.
41508         * math/e_atan2l.c: Likewise.
41509         * math/e_atanhl.c: Likewise.
41510         * math/e_coshl.c: Likewise.
41511         * math/e_exp10.c: Likewise.
41512         * math/e_exp10f.c: Likewise.
41513         * math/e_exp10l.c: Likewise.
41514         * math/e_exp2l.c: Likewise.
41515         * math/e_fmodl.c: Likewise.
41516         * math/e_gammal_r.c: Likewise.
41517         * math/e_hypotl.c: Likewise.
41518         * math/e_j0l.c: Likewise.
41519         * math/e_j1l.c: Likewise.
41520         * math/e_jnl.c: Likewise.
41521         * math/e_lgammal_r.c: Likewise.
41522         * math/e_log10l.c: Likewise.
41523         * math/e_log2l.c: Likewise.
41524         * math/e_logl.c: Likewise.
41525         * math/e_powl.c: Likewise.
41526         * math/e_sinhl.c: Likewise.
41527         * math/e_sqrtl.c: Likewise.
41528         * math/e_scalb.c: Completely rewritten and optimized.
41529         * math/e_scalbf.c: Likewise.
41530         * math/e_scalbl.c: Likewise.
41531         * math/w_acos.c: Likewise.
41532         * math/w_acosf.c: Likewise.
41533         * math/w_acosl.c: Likewise.
41534         * math/w_acosh.c: Likewise.
41535         * math/w_acoshf.c: Likewise.
41536         * math/w_acoshl.c: Likewise.
41537         * math/w_asin.c: Likewise.
41538         * math/w_asinf.c: Likewise.
41539         * math/w_asinl.c: Likewise.
41540         * math/w_atan2.c: Likewise.
41541         * math/w_atan2f.c: Likewise.
41542         * math/w_atan2l.c: Likewise.
41543         * math/w_atanh.c: Likewise.
41544         * math/w_atanhf.c: Likewise.
41545         * math/w_atanhl.c: Likewise.
41546         * math/w_exp10.c: Likewise.
41547         * math/w_exp10f.c: Likewise.
41548         * math/w_exp10l.c: Likewise.
41549         * math/w_fmod.c: Likewise.
41550         * math/w_fmodf.c: Likewise.
41551         * math/w_fmodl.c: Likewise.
41552         * math/w_j0.c: Likewise.
41553         * math/w_j0f.c: Likewise.
41554         * math/w_j0l.c: Likewise.
41555         * math/w_j1.c: Likewise.
41556         * math/w_j1f.c: Likewise.
41557         * math/w_j1l.c: Likewise.
41558         * math/w_jn.c: Likewise.
41559         * math/w_jnf.c: Likewise.
41560         * math/w_log.c: Likewise.
41561         * math/w_logf.c: Likewise.
41562         * math/w_logl.c: Likewise.
41563         * math/w_log10.c: Likewise.
41564         * math/w_log10f.c: Likewise.
41565         * math/w_log10l.c: Likewise.
41566         * math/w_log2.c: Likewise.
41567         * math/w_log2f.c: Likewise.
41568         * math/w_log2l.c: Likewise.
41569         * math/w_pow.c: Likewise.
41570         * math/w_powf.c: Likewise.
41571         * math/w_powl.c: Likewise.
41572         * math/w_remainder.c: Likewise.
41573         * math/w_remainderf.c: Likewise.
41574         * math/w_remainderl.c: Likewise.
41575         * math/w_scalb.c: Likewise.
41576         * math/w_scalbf.c: Likewise.
41577         * math/w_scalbl.c: Likewise.
41578         * math/w_sqrt.c: Likewise.
41579         * math/w_sqrtf.c: Likewise.
41580         * math/w_sqrtl.c: Likewise.
41581         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41582         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41583         used.
41584         * math/math_private.h: Declare __kernel_standard_f.
41585         * math/w_cosh.c: Remove cruft and optimize a bit.
41586         * math/w_coshf.c: Likewise.
41587         * math/w_coshl.c: Likewise.
41588         * math/w_exp2.c: Likewise.
41589         * math/w_exp2f.c: Likewise.
41590         * math/w_exp2l.c: Likewise.
41591         * math/w_hypot.c: Likewise.
41592         * math/w_hypotf.c: Likewise.
41593         * math/w_hypotl.c: Likewise.
41594         * math/w_lgamma.c: Likewise.
41595         * math/w_lgamma_r.c: Likewise.
41596         * math/w_lgammaf.c: Likewise.
41597         * math/w_lgammaf_r.c: Likewise.
41598         * math/w_lgammal.c: Likewise.
41599         * math/w_lgammal_r.c: Likewise.
41600         * math/w_sinh.c: Likewise.
41601         * math/w_sinhf.c: Likewise.
41602         * math/w_sinhl.c: Likewise.
41603         * math/w_tgamma.c: Likewise.
41604         * math/w_tgammaf.c: Likewise.
41605         * math/w_tgammal.c: Likewise.
41606         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41607         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41608         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41609         Minor optimizations.  Pretty printing.  Remove cruft.
41610         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41611         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41612         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41613         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41614         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41615         * sysdeps/i386/fpu/e_asin.S: Likewise.
41616         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41617         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41618         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41619         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41620         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41621         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41622         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41623         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41624         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41625         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41626         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41627         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41628         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41629         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41630         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41631         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41632         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41633         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41634         * sysdeps/i386/fpu/e_log.S: Likewise.
41635         * sysdeps/i386/fpu/e_log10.S: Likewise.
41636         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41637         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41638         * sysdeps/i386/fpu/e_log2.S: Likewise.
41639         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41640         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41641         * sysdeps/i386/fpu/e_logf.S: Likewise.
41642         * sysdeps/i386/fpu/e_logl.S: Likewise.
41643         * sysdeps/i386/fpu/e_pow.S: Likewise.
41644         * sysdeps/i386/fpu/e_powf.S: Likewise.
41645         * sysdeps/i386/fpu/e_powl.S: Likewise.
41646         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41647         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41648         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41649         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41650         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41651         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41652         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41653         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41654         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41655         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41656         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41657         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41658         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41659         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41660         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41661         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41662         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41663         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41664         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41665         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41666         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41668         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41669         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41670         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41671         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41672         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41673         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41674         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41675         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41676         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41677         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41678         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41679         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41680         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41681         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41682         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41683         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41684         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41685         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41686         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41687         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41688         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41689         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41690         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41691         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41692         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41693         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41694         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41695         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41696         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41697         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41698         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41699         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41700         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41701         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41702         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41703         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41704         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41705         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41706         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41707         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41708         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41709         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41710         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41711         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41712         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41713         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41714         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41715         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41716         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41718         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41719         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41720         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41721         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41722         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41723         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41724         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41725         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41726         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41727         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41728         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41729         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41730         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41731         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41732         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41733         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41734         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41735         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41736         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41737         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41738         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41739         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41740         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41741         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41742         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41743         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41744         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41745         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41746         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41747         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41748         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41749         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41750         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41751         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41752         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41753         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41754         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41755         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41756         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41757         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41758         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41759         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41760         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41761         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41762         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41763         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41764         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41765         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41766         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41767         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41768         (__isnanf): Likewise.
41769         (__isinf_ns): Likewise.
41770         (__isinf_nsf): Likewise.
41771         (__finite): Likewise.
41772         (__finitef): Likewise.
41773         (__ieee754_sqrt): Define as macro.
41774         (__ieee754_sqrtf): Define as macro.
41775         (__ieee754_sqrtl): Define as macro.
41776         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41777         inlined copy.
41778         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41779         __FINITE_MATH_ONLY__ consistent.
41780         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41782 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41784         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41785         of rawmemchr.
41787         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41789 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41791         * po/ja.po: Update from translation team.
41793 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41795         * locale/programs/locarchive.c (prepare_address_space): New function.
41796         (create_archive, enlarge_archive, open_archive): Use it.
41798         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41799         inside [SHARED], where it is used.
41801         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41803         * nss/getent.c (netgroup_keys): Remove unused variable.
41804         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41806 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41808         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41809         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41810         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41811         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41812         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41813         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41814         * math/Makefile (libm-calls): Add s_isinf_ns.
41815         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41816         * math/multc3.c: Likewise.
41817         * math/s_casin.c: Likewise.
41818         * math/s_casinf.c: Likewise.
41819         * math/s_casinl.c: Likewise.
41820         * math/s_ccos.c: Likewise.
41821         * math/s_ccosf.c: Likewise.
41822         * math/s_ccosl.c: Likewise.
41823         * math/s_ctan.c: Likewise.
41824         * math/s_ctanf.c: Likewise.
41825         * math/s_ctanh.c: Likewise.
41826         * math/s_ctanhf.c: Likewise.
41827         * math/s_ctanhl.c: Likewise.
41828         * math/s_ctanl.c: Likewise.
41829         * math/w_fmod.c: Likewise.
41830         * math/w_fmodf.c: Likewise.
41831         * math/w_fmodl.c: Likewise.
41832         * math/w_remainder.c: Likewise.
41833         * math/w_remainderf.c: Likewise.
41834         * math/w_remainderl.c: Likewise.
41835         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41836         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41837         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41838         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41839         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41840         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41841         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41842         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41844         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41845         of the number.
41846         * stdio-common/printf_fphex.c: Likewise.
41847         * stdio-common/printf_size.c: Likewise.
41849         * math/e_exp10.c: Include math_private.h using <...> not "...".
41850         * math/e_exp10f.c: Likewise.
41851         * math/e_exp10l.c: Likewise.
41852         * math/e_exp2l.c: Likewise.
41853         * math/e_j0l.c: Likewise.
41854         * math/e_j1l.c: Likewise.
41855         * math/e_jnl.c: Likewise.
41856         * math/e_lgammal_r.c: Likewise.
41857         * math/e_rem_pio2l.c: Likewise.
41858         * math/e_scalb.c: Likewise.
41859         * math/e_scalbf.c: Likewise.
41860         * math/e_scalbl.c: Likewise.
41861         * math/k_cosl.c: Likewise.
41862         * math/k_sinl.c: Likewise.
41863         * math/k_tanl.c: Likewise.
41864         * math/s_cacoshf.c: Likewise.
41865         * math/s_catan.c: Likewise.
41866         * math/s_catanf.c: Likewise.
41867         * math/s_catanh.c: Likewise.
41868         * math/s_catanhf.c: Likewise.
41869         * math/s_catanhl.c: Likewise.
41870         * math/s_catanl.c: Likewise.
41871         * math/s_ccosh.c: Likewise.
41872         * math/s_ccoshf.c: Likewise.
41873         * math/s_ccoshl.c: Likewise.
41874         * math/s_cexp.c: Likewise.
41875         * math/s_cexpf.c: Likewise.
41876         * math/s_cexpl.c: Likewise.
41877         * math/s_clog.c: Likewise.
41878         * math/s_clog10.c: Likewise.
41879         * math/s_clog10f.c: Likewise.
41880         * math/s_clog10l.c: Likewise.
41881         * math/s_clogf.c: Likewise.
41882         * math/s_clogl.c: Likewise.
41883         * math/s_csin.c: Likewise.
41884         * math/s_csinf.c: Likewise.
41885         * math/s_csinh.c: Likewise.
41886         * math/s_csinhf.c: Likewise.
41887         * math/s_csinhl.c: Likewise.
41888         * math/s_csinl.c: Likewise.
41889         * math/s_csqrt.c: Likewise.
41890         * math/s_csqrtf.c: Likewise.
41891         * math/s_csqrtl.c: Likewise.
41892         * math/s_ctan.c: Likewise.
41893         * math/s_ctanf.c: Likewise.
41894         * math/s_ctanh.c: Likewise.
41895         * math/s_ctanhf.c: Likewise.
41896         * math/s_ctanhl.c: Likewise.
41897         * math/s_ctanl.c: Likewise.
41898         * math/s_ldexp.c: Likewise.
41899         * math/s_ldexpf.c: Likewise.
41900         * math/s_ldexpl.c: Likewise.
41901         * math/s_significand.c: Likewise.
41902         * math/s_significandf.c: Likewise.
41903         * math/s_significandl.c: Likewise.
41904         * math/w_acos.c: Likewise.
41905         * math/w_acosf.c: Likewise.
41906         * math/w_acosh.c: Likewise.
41907         * math/w_acoshf.c: Likewise.
41908         * math/w_acoshl.c: Likewise.
41909         * math/w_acosl.c: Likewise.
41910         * math/w_asin.c: Likewise.
41911         * math/w_asinf.c: Likewise.
41912         * math/w_asinl.c: Likewise.
41913         * math/w_atan2.c: Likewise.
41914         * math/w_atan2f.c: Likewise.
41915         * math/w_atan2l.c: Likewise.
41916         * math/w_atanh.c: Likewise.
41917         * math/w_atanhf.c: Likewise.
41918         * math/w_atanhl.c: Likewise.
41919         * math/w_cosh.c: Likewise.
41920         * math/w_coshf.c: Likewise.
41921         * math/w_coshl.c: Likewise.
41922         * math/w_dremf.c: Likewise.
41923         * math/w_exp10.c: Likewise.
41924         * math/w_exp10f.c: Likewise.
41925         * math/w_exp10l.c: Likewise.
41926         * math/w_exp2.c: Likewise.
41927         * math/w_exp2f.c: Likewise.
41928         * math/w_fmod.c: Likewise.
41929         * math/w_fmodf.c: Likewise.
41930         * math/w_fmodl.c: Likewise.
41931         * math/w_hypot.c: Likewise.
41932         * math/w_hypotf.c: Likewise.
41933         * math/w_hypotl.c: Likewise.
41934         * math/w_j0.c: Likewise.
41935         * math/w_j0f.c: Likewise.
41936         * math/w_j0l.c: Likewise.
41937         * math/w_j1.c: Likewise.
41938         * math/w_j1f.c: Likewise.
41939         * math/w_j1l.c: Likewise.
41940         * math/w_jn.c: Likewise.
41941         * math/w_jnf.c: Likewise.
41942         * math/w_jnl.c: Likewise.
41943         * math/w_lgamma.c: Likewise.
41944         * math/w_lgamma_r.c: Likewise.
41945         * math/w_lgammaf.c: Likewise.
41946         * math/w_lgammaf_r.c: Likewise.
41947         * math/w_lgammal.c: Likewise.
41948         * math/w_lgammal_r.c: Likewise.
41949         * math/w_log.c: Likewise.
41950         * math/w_log10.c: Likewise.
41951         * math/w_log10f.c: Likewise.
41952         * math/w_log10l.c: Likewise.
41953         * math/w_log2.c: Likewise.
41954         * math/w_log2f.c: Likewise.
41955         * math/w_log2l.c: Likewise.
41956         * math/w_logf.c: Likewise.
41957         * math/w_logl.c: Likewise.
41958         * math/w_pow.c: Likewise.
41959         * math/w_powf.c: Likewise.
41960         * math/w_powl.c: Likewise.
41961         * math/w_remainder.c: Likewise.
41962         * math/w_remainderf.c: Likewise.
41963         * math/w_remainderl.c: Likewise.
41964         * math/w_scalb.c: Likewise.
41965         * math/w_scalbf.c: Likewise.
41966         * math/w_scalbl.c: Likewise.
41967         * math/w_sinh.c: Likewise.
41968         * math/w_sinhf.c: Likewise.
41969         * math/w_sinhl.c: Likewise.
41970         * math/w_sqrt.c: Likewise.
41971         * math/w_sqrtf.c: Likewise.
41972         * math/w_sqrtl.c: Likewise.
41973         * math/w_tgamma.c: Likewise.
41974         * math/w_tgammaf.c: Likewise.
41975         * math/w_tgammal.c: Likewise.
41977         * po/ja.po: Update from translation team.
41979 2011-09-29  Andreas Jaeger  <aj@suse.de>
41981         [BZ #13179]
41982         * sunrpc/netname.c (netname2host): Fix logic.
41984         [BZ #6779]
41985         [BZ #6783]
41986         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
41987         correctly.
41988         * math/w_remainder.c (__remainder): Likewise.
41989         * math/w_remainderf.c (__remainderf): Likewise.
41990         * math/libm-test.inc (remainder_test): Add test cases.
41992 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41994         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
41995         sdiv_qrnnd.
41997 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
41999         * string/test-memcmp.c: Avoid unncessary #defines.
42000         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42002 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42004         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42005         Use new sse2 version for core i3 - i7 as it's faster
42006         than sse42 version.
42007         (bit_Prefer_PMINUB_for_stringop): New.
42008         * sysdeps/x86_64/rawmemchr.S: Update.
42009         Replace with faster SSE2 version.
42010         * sysdeps/x86_64/memrchr.S: New file.
42011         * sysdeps/x86_64/memchr.S: Update.
42012         Replace with faster SSE2 version.
42014 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42016         * elf/dl-load.c (lose): Add cast to avoid warning.
42018 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42020         * po/ca.po: Update from translation team.
42022         * inet/getnetgrent_r.c: Hook up nscd.
42023         * nscd/Makefile (routines): Add nscd_netgroup.
42024         (nscd-modules): Add netgroupcache.
42025         (CFLAGS-netgroupcache.c): Define.
42026         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42027         (cache_search): Add const to second parameter.
42028         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42029         INNETGR.
42030         (dbs): Add netgrdb entry.
42031         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42032         (verify_persistent_db): Handle netgrdb.
42033         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42034         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42035         GETFDNETGR.
42036         (netgroup_response_header): Define.
42037         (innetgroup_response_header): Define.
42038         (datahead): Add netgroup_response_header and innetgroup_response_header
42039         elements.
42040         * nscd/nscd.conf: Add entries for netgroup cache.
42041         * nscd/nscd.h (dbtype): Add netgrdb.
42042         (_PATH_NSCD_NETGROUP_DB): Define.
42043         (netgroup_iov_disabled): Declare.
42044         (xmalloc, xcalloc, xrealloc): Move declarations here.
42045         (cache_search): Adjust prototype.
42046         Add netgroup-related prototypes.
42047         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42048         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42049         (__nscd_innetgr): Declare.
42050         * nscd/selinux.c (perms): Use access_vector_t as element type and
42051         add netgroup-related initializers.
42052         * nscd/netgroupcache.c: New file.
42053         * nscd/nscd_netgroup.c: New file.
42054         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42055         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42056         For four parameters use innetgr.
42057         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42058         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42059         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42060         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42062         * nscd/connections.c (register_traced_file): Don't register file
42063         for disabled databases.
42065 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42067         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42069         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42070         from tree and freeing node.
42072 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42074         * nss/nsswitch.c (__nss_database_lookup): Handle
42075         nss_parse_service_list out of memory case.
42077 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42079         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42080         out of memory case.
42082 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42084         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42085         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42086         pass it down.
42087         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42088         elf_machine_rela, elf_machine_lazy_rel.
42089         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42090         (ELF_DYNAMIC_DO_REL): Likewise.
42091         (ELF_DYNAMIC_DO_RELA): Likewise.
42092         (ELF_DYNAMIC_RELOCATE): Likewise.
42093         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42094         to ELF_DYNAMIC_DO_REL.
42095         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42096         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42097         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42098         elf_machine_rela.
42099         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42100         skip_ifunc, don't call ifunc function if non-zero.
42101         (elf_machine_rela): Likewise.
42102         (elf_machine_lazy_rel): Likewise.
42103         (elf_machine_lazy_rela): Likewise.
42104         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42105         (elf_machine_lazy_rel): Likewise.
42106         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42107         Likewise.
42108         (elf_machine_lazy_rel): Likewise.
42109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42110         Likewise.
42111         (elf_machine_lazy_rel): Likewise.
42112         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42113         (elf_machine_lazy_rel): Likewise.
42114         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42115         (elf_machine_lazy_rel): Likewise.
42116         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42117         (elf_machine_lazy_rel): Likewise.
42118         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42119         (elf_machine_lazy_rel): Likewise.
42120         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42121         (elf_machine_lazy_rel): Likewise.
42122         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42123         (elf_machine_lazy_rel): Likewise.
42125 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42127         * nss/nss_files/files-init.c (_nss_files_init): Use static
42128         initialization for all the *_traced_file variables.
42130 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42132         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42134 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42136         [BZ #13226]
42137         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42139 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42141         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42142         Reread the line before reparsing it.
42144 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42146         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42148 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42149             Maxim Kuvyrkov  <maxim@codesourcery.com>
42150             Joseph Myers  <joseph@codesourcery.com>
42152         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42153         if needed for __stack_chk_guard.
42155 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42157         * sysdeps/posix/spawni.c (script_execute): Always define it.
42158         It will be optimized away if unused.
42159         (maybe_script_execute): New function.
42160         (__spawni): Call it.
42162         * Makerules: Don't include tls.make.
42163         (config-tls): Always set to thread.
42164         * tls.make.c: File removed.
42166 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42168         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42169         * config.make.in (CPPFLAGS-config): New substituted variable.
42171 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42173         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42175         [BZ #13192]
42176         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42177         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42179 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42181         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42182         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42183         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42184         (CALL_FAIL): Likewise.
42185         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42186         (CALL_FAIL): Macro removed.
42187         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42189 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42191         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42192         for __FINITE_MATH_ONLY__ == 1.
42194 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42196         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42197         __ieee754_sqrt instead of sqrt.
42198         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42199         __ieee754_sqrtf instead of sqrtf.
42200         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42201         __floorf instead of floorf.
42202         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42203         __floorf, __truncf instead of floorf, truncf.
42205 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42207         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42209         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42210         __extern_always_inline.
42211         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42212         32-bit.
42214 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42216         * elf/rtld.c (dl_main): Also relocate in dependency order when
42217         doing symbol dependency testing.
42219 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42221         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42222         Always define `refsym'.
42224 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42226         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42227         (__FD_ELT): Renamed from __FDELT.
42228         * misc/bits/select2.h (__FD_ELT): Likewise.
42229         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42230         __FD_MASK instead of __FDELT, __FDMASK.
42231         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42232         Likewise.
42233         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42234         Likewise.
42236         * elf/Makefile (gen-ldd): Fix pattern.
42238         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42239         (init_tls): Likewise.
42241 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42243         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42245 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42247         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42248         `struct cmsghdr *' instead of `void *'.
42249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42250         Likewise.
42252 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42254         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42255         if non-absolute.
42256         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42257         ldd_rewrite_script.
42259 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42261         * configure.in: Remove --with-tls option.
42262         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42263         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42264         out in case it is missing.
42265         * sysdeps/ia64/elf/configure.in: Likewise.
42266         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42267         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42268         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42269         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42270         * sysdeps/sh/elf/configure.in: Likewise.
42271         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42272         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42273         * sysdeps/x86_64/elf/configure.in: Likewise.
42274         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42275         * sysdeps/mach/hurd/tls.h: Likewise.
42277         [BZ #13067]
42278         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42280         [BZ #13090]
42281         * configure.in: Fix use of AC_INIT.
42283         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42285 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42287         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42288         __set_errno.
42289         * malloc/hooks.c: Likewise.
42291         [BZ #11929]
42292         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42293         variables statically.
42294         (narenas): Initialize.
42295         (list_lock): Initialize.
42296         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42297         initializtion of main_arena and list_lock.  Small cleanups.
42298         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42299         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42300         Add initializers to main_arena and mp_.
42301         (malloc_state): Remove pagesize member.  Change all users to use
42302         GLRO(dl_pagesize).
42304         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42305         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42306         is always initialized.
42308         * malloc/malloc.c: Removed unused configurations and dead code.
42309         * malloc/arena.c: Likewise.
42310         * malloc/hooks.c: Likewise.
42311         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42313         * include/tls.h: Removed.  USE___THREAD must always be defined.
42314         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42315         * elf/dl-libc.c: Likewise.
42316         * elf/dl-tsd.c: Likewise.
42317         * include/errno.h: Likewise.
42318         * include/netdb.h: Likewise.
42319         * include/resolv.h: Likewise.
42320         * inet/herrno-loc.c: Likewise.
42321         * inet/herrno.c: Likewise.
42322         * malloc/arena.c: Likewise.
42323         * malloc/hooks.c: Likewise.
42324         * malloc/malloc.c: Likewise.
42325         * resolv/res-state.c: Likewise.
42326         * resolv/res_libc.c: Likewise.
42327         * sysdeps/i386/dl-machine.h: Likewise.
42328         * sysdeps/ia64/dl-machine.h: Likewise.
42329         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42330         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42331         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42332         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42333         * sysdeps/sh/dl-machine.h: Likewise.
42334         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42335         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42336         * sysdeps/unix/i386/sysdep.S: Likewise.
42337         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42338         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42339         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42341         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42343         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42346         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42347         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42348         * sysdeps/x86_64/dl-machine.h: Likewise.
42349         * tls.make.c: Likewise.
42351         * configure.in: Remove --with-__thread option.  Make tests for
42352         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42353         tls_model attribute fail if no support is available.  Remove
42354         USE_IN_LIBIO.
42355         * Makeconfig: Adjust for dropped configure option.  All features are
42356         now mandatory.
42357         * Makerules: Likewise.
42358         * Versions.def: Likewise.
42359         * argp/argp-fmtstream.c: Likewise.
42360         * argp/argp-fmtstream.h: Likewise.
42361         * argp/argp-help.c: Likewise.
42362         * assert/assert.c: Likewise.
42363         * config.h.in: Likewise.
42364         * config.make.in: Likewise.
42365         * configure: Likewise.
42366         * configure.in: Likewise.
42367         * csu/Versions: Likewise.
42368         * csu/init.c: Likewise.
42369         * elf/tst-audit2.c: Likewise.
42370         * elf/tst-tls10.c: Likewise.
42371         * elf/tst-tls10.h: Likewise.
42372         * elf/tst-tls11.c: Likewise.
42373         * elf/tst-tls12.c: Likewise.
42374         * elf/tst-tls14.c: Likewise.
42375         * elf/tst-tlsmod11.c: Likewise.
42376         * elf/tst-tlsmod12.c: Likewise.
42377         * elf/tst-tlsmod13.c: Likewise.
42378         * elf/tst-tlsmod13a.c: Likewise.
42379         * elf/tst-tlsmod14a.c: Likewise.
42380         * elf/tst-tlsmod15b.c: Likewise.
42381         * elf/tst-tlsmod16a.c: Likewise.
42382         * elf/tst-tlsmod16b.c: Likewise.
42383         * elf/tst-tlsmod7.c: Likewise.
42384         * elf/tst-tlsmod8.c: Likewise.
42385         * elf/tst-tlsmod9.c: Likewise.
42386         * gmon/gmon.c: Likewise.
42387         * grp/fgetgrent_r.c: Likewise.
42388         * grp/putgrent.c: Likewise.
42389         * hurd/fopenport.c: Likewise.
42390         * include/libc-symbols.h: Likewise.
42391         * include/tls.h: Likewise.
42392         * intl/gettextP.h: Likewise.
42393         * intl/loadinfo.h: Likewise.
42394         * locale/global-locale.c: Likewise.
42395         * locale/localeinfo.h: Likewise.
42396         * mach/devstream.c: Likewise.
42397         * malloc/arena.c: Likewise.
42398         * malloc/set-freeres.c: Likewise.
42399         * misc/err.c: Likewise.
42400         * misc/getttyent.c: Likewise.
42401         * misc/mntent_r.c: Likewise.
42402         * posix/getopt.c: Likewise.
42403         * posix/wordexp.c: Likewise.
42404         * pwd/fgetpwent_r.c: Likewise.
42405         * resolv/Versions: Likewise.
42406         * resolv/res_hconf.c: Likewise.
42407         * shadow/fgetspent_r.c: Likewise.
42408         * shadow/putspent.c: Likewise.
42409         * stdio-common/printf_fphex.c: Likewise.
42410         * stdio-common/tmpfile.c: Likewise.
42411         * stdlib/abort.c: Likewise.
42412         * stdlib/fmtmsg.c: Likewise.
42413         * sunrpc/auth_unix.c: Likewise.
42414         * sunrpc/clnt_perr.c: Likewise.
42415         * sunrpc/clnt_tcp.c: Likewise.
42416         * sunrpc/clnt_udp.c: Likewise.
42417         * sunrpc/clnt_unix.c: Likewise.
42418         * sunrpc/openchild.c: Likewise.
42419         * sunrpc/svc_simple.c: Likewise.
42420         * sunrpc/svc_tcp.c: Likewise.
42421         * sunrpc/svc_udp.c: Likewise.
42422         * sunrpc/svc_unix.c: Likewise.
42423         * sunrpc/xdr.c: Likewise.
42424         * sunrpc/xdr_array.c: Likewise.
42425         * sunrpc/xdr_rec.c: Likewise.
42426         * sunrpc/xdr_ref.c: Likewise.
42427         * sunrpc/xdr_stdio.c: Likewise.
42429 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42431         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42433 2011-07-03  Andreas Jaeger  <aj@suse.de>
42435         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42436         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42437         regenerate with gen-libm-tests.pl.
42439 2010-05-12  Petr Baudis  <pasky@suse.cz>
42441         [BZ #11589]
42442         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42443         around j0() zero points by switching to j1().
42444         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42445         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42446         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42447         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42449 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42451         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42452         instead of 0.
42453         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42454         instead of 0.
42455         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42456         Patch in part by Pavel Roskin <proski@gnu.org>.
42458         [BZ #13138]
42459         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42460         realloc.
42461         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42462         Free memory block if necessary.
42464         [BZ #12847]
42465         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42466         be NULL.  Don't lock in this case.
42468 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42470         * elf/elf.h (ELFOSABI_GNU): New macro.
42471         (ELFOSABI_LINUX): Define to that.
42473 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42475         * string/strncat.c (strncat): Undef the symbol in case it has been
42476         defined in bits/string.h.
42478 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42480         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42482         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42483         link map.
42485 2011-08-17  Andreas Jaeger  <aj@suse.de>
42487         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42489 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42490             Ian Lance Taylor  <iant@google.com>
42492         * math/libm-test.inc (lround_test): New testcase.
42493         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42495 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42497         * Makefile: Remove support for automatic cvs check-ins.
42498         * Makerules: Likewise.
42499         * config.make.in: Likewise.
42500         * configure.in: Likewise.
42501         * intl/Makefile: Likewise.
42502         * locale/Makefile: Likewise.
42503         * po/Makefile: Likewise.
42504         * posix/Makefile: Likewise.
42505         * sysdeps/gnu/Makefile: Likewise.
42506         * sysdeps/mach/hurd/Makefile: Likewise.
42507         * sysdeps/sparc/sparc32/Makefile: Likewise.
42509         [BZ #13118]
42510         * posix/Makefile (bug-regex32-ENV): Define.
42511         Patch by John Stanley <jpsinthemix@verizon.net>.
42513         * misc/Makefile (headers): Add bits/select2.h.
42514         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42515         * misc/bits/select2.h: New file.
42516         * include/bits/select2.h: New file.
42517         * debug/Makefile (routines): Add fdelt_chk.
42518         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42519         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42520         FD_ISSET.
42521         * debug/fdelt_chk.c: New file.
42523         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42524         * wcsmbs/test-wmemcmp.c: Likewise.
42525         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42526         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42528 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42530         * string/Makefile (strop-tests): Add memcmp.
42531         * string/test-wmemcmp.c: New file.
42532         * string/test-memcmp.c: Add wmemcmp support.
42534 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42536         [BZ #13153]
42537         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42538         2011-07-19 change.
42540         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42541         garbage value in a __mach_port_mod_refs call in the cases of the
42542         task-self and thread-self ports.
42544 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42546         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42548 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42550         * elf/dl-load.c (lose): Check for non-null L.
42552 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42554         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42556         * elf/dl-libc.c (dlerror_run): Pass back error code from
42557         dl_catch_error.
42559         [BZ #13123]
42560         * elf/dl-load.c (lose): Free l_origin if it is valid.
42562         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42563         names.
42564         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42565         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42566         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42567         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42568         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42569         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42571 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42573         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42574         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42575         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42576         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42577         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42578         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42579         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42580         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42581         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42582         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42584 2011-08-15  Alan Modra  <amodra@gmail.com>
42586         [BZ #13092]
42587         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42588         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42589         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42590         ppc_mcount to static-only-routines.
42591         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42592         __mcount_internal.
42593         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42594         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42596 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42598         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42599         for finite and infinity parameters.
42601 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42604         and add nop instructions for throughput optimization.
42605         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42607 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42609         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42610         aligned copy for power7 with vector-scalar instructions.
42611         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42613 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42615         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42616         AVX check.
42618 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42620         [BZ #13144]
42621         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42622         last change.
42624 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42626         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42627         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42628         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42629         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42630         clock_gettime.
42632 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42634         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42635         Forgot to demangle the pointer.
42637         * sysdeps/i386/sysdep.h: Define atom_text_section.
42638         * sysdeps/x86_64/sysdep.h: Likewise.
42639         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42640         section with atom_text_section.
42641         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42642         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42643         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42644         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42645         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42647         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42648         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42649         already be defined.  Change to take two parameters and don't assign
42650         result to variable.  Adjust all users.
42651         Define INTERNAL_GETTIME if not already defined.
42652         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42653         call.
42654         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42655         HAVE_CLOCK_GETTIME_VSYSCALL.
42656         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42658         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42659         gettimeofday vsyscall, just use time.
42661 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42663         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42664         <errno.h>.
42666 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42668         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42669         syscall on x86-64.
42670         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42671         syscall.
42672         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42673         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42674         syscall if possible.
42676 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42678         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42679         e_ident.  Don't pass to find_mapsXX.
42680         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42682 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42685         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42686         * sysdeps/x86_64/multiarch/strchr.S: Update.
42687         Check bit_slow_BSF bit.
42688         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42689         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42690         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42692 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42694         [BZ #13134]
42695         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42696         before glibc 2.15.
42697         (tryshell): Define.
42698         (__spawni): Change last parameter to be flag.  Test
42699         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42700         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42701         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42702         * posix/spawni.c: Likewise.
42703         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42704         * posix/spawnp.c: Likewise.  Change normal version to use
42705         SPAWN_XFLAGS_USE_PATH.
42706         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42707         SPAWN_XFLAGS_TRY_SHELL.
42709         [BZ #13150]
42710         * posix/glob.h: Remove gcc 1.x support.
42712         [BZ #13068]
42713         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42715 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42717         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42718         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42719         strrchr-sse2-bsf
42720         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42721         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42722         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42723         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42724         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42725         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42727 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42729         * sysdeps/x86_64/wcscmp.S: New file.
42731         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42732         wcscmp-c wcscmp-sse2
42733         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42734         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42735         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42736         * wcsmbs/wcscmp.c: Allow renaming.
42738 2011-09-05  David S. Miller  <davem@davemloft.net>
42740         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42741         stack slot, rather than the struct return pointer slot.
42742         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42743         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42745         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42747 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42749         * po/ja.po: Update from translation team.
42751         [BZ #13144]
42752         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42753         kernel in 64-bit binaries.
42755 2011-09-01  David S. Miller  <davem@davemloft.net>
42757         * elf/elf.h (HWCAP_SPARC_*): Move to..
42758         * sysdeps/sparc/sysdep.h: this new file and add new values.
42759         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42760         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42761         _DL_HWCAP_COUNT to 24.
42762         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42763         entries.
42764         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42765         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42766         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42767         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42768         instead of magic constants.
42769         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42771 2011-08-31  David S. Miller  <davem@davemloft.net>
42773         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42774         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42775         Reimplement to do errno handling inline.
42776         (SYSCALL_ERROR_HANDLER): New macro.
42777         (__SYSCALL_STRING): Do not do errno handling in asm.
42778         (__CLONE_SYSCALL_STRING): Delete.
42779         (__INTERNAL_SYSCALL_STRING): Delete.
42780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42781         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42782         (PSEUDO): Reimplement to do errno handling inline.
42783         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42784         (SYSCALL_ERROR_HANDLER): New macro.
42785         (__SYSCALL_STRING): Do not do errno handling in asm.
42786         (__CLONE_SYSCALL_STRING): Delete.
42787         (__INTERNAL_SYSCALL_STRING): Delete.
42788         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42789         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42790         i386.
42791         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42792         (inline_syscall*): Add 'err' argument.
42793         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42794         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42795         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42796         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42798         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42799         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42801 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42803         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42805 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42807         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42808         directive.
42810 2011-08-24  David S. Miller  <davem@davemloft.net>
42812         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42814 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42816         * elf/Makefile: Add rules to build and run unload8 test.
42817         * elf/unload8.c: New file.
42818         * elf/unload8mod1.c: New file.
42819         * elf/unload8mod1x.c: New file.
42820         * elf/unload8mod2.c: New file.
42821         * elf/unload8mod3.c: New file.
42823         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42824         it wasn't used.
42826 2011-08-23  David S. Miller  <davem@davemloft.net>
42828         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42829         subtract stack bias.
42830         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42831         %sp not %fp in calculations.
42832         (_JMPBUF_UNWINDS_ADJ): Likewise.
42834         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42835         (aio_suspend): Call it to force an exception region around the
42836         AIO_MISC_WAIT() invocation.
42838 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42840         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42841         backslash.
42843 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42845         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42846         protection macro.
42847         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42848         and <dl-machine.h>.
42849         (Elf64_FuncDesc): Remove.
42851 2011-08-22  David S. Miller  <davem@davemloft.net>
42853         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42854         sigaltstack check, add missing cfi directives.
42855         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42856         missing cfi directives, and sigaltstack handling.
42858 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42860         [BZ #11724]
42861         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42862         object is seen twice.
42863         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42865         * elf/Makefile (distribute): Add tst-initorder2.c.
42866         (tests): Add tst-initorder2.
42867         (modules-names): Add tst-initorder2a tst-initorder2b
42868         tst-initorder2c tst-initorder2d.  Add rules to build them.
42869         ($(objpfx)tst-initorder2.out): New rule.
42870         * elf/tst-initorder2.c: New file.
42871         * elf/tst-initorder2.exp: New file.
42873 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42875         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42877         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42878         dependencies back to end of function.
42880         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42881         $(elfobjdir)/ld.so.
42883 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42885         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42886         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42887         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42888         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42889         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42890         of __vdso_gettimeofday.
42891         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42892         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42893         attribute_hidden.
42894         (_libc_vdso_platform_setup): Remove initialization of
42895         __vdso_gettimeofday and __vdso_time.
42897 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42899         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42900         and fgetc_unlocked.
42901         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42902         getc_unlocked.
42904         * elf/dl-open.c (add_to_global): Report additions to the global scope
42905         for LD_DEBUG=scopes.
42906         (dl_open_worker): Also print scope of newly loaded dependencies.
42907         (_dl_show_scope): Indicate if there is no scope.
42909         [BZ #13114]
42910         * stdio-common/Makefile (tests): Add bug24.
42911         * stdio-common/bug24.c: New file.
42913 2011-08-19  Andreas Jaeger  <aj@suse.de>
42915         [BZ #13114]
42916         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42917         non-existant file when using close-on-exec mode.
42919 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42921         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42922         the very first instruction.
42924         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
42925         the CFI state in the end.
42926         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
42927         inclusion of dl-trampoline.h.
42928         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
42930 2011-08-19  Andreas Schwab  <schwab@redhat.com>
42932         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
42933         expectations for long double.
42935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
42936         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
42938 2011-08-14  David S. Miller  <davem@davemloft.net>
42940         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
42941         artificual limit depends upon the system page size.
42943 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42945         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
42946         * resolv/Makefile: Define CFLAGS-libresolv.
42948 2011-08-17  Andreas Schwab  <schwab@redhat.com>
42950         * nss/makedb.c (compute_tables): Make variables used in nested
42951         function static.
42953 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
42955         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
42956         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
42957         if buffer was too small.
42959         * elf/pldd.c (main): Attach to all threads in the process.
42960         Rewrite /proc handling to use *at functions.
42962 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
42964         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
42965         specifies first scope to show.
42966         (dl_open_worker): Update callers.  Move printing scope of new
42967         object to before the relocation.
42968         * elf/rtld.c (dl_main): Update _dl_show_scope call.
42969         * sysdeps/generic/ldsodefs.h: Update declaration.
42971         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
42972         string for the scope number.
42974 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
42976         * nscd/servicescache.c (cache_addserv): Make sure written is always
42977         initialized.
42979 2011-08-14  Roland McGrath  <roland@hack.frob.com>
42981         * sysdeps/i386/i486/bits/atomic.h
42982         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
42983         statement expression, so as to suppress "set but not used" warning.
42984         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
42986         * string/strncat.c (STRNCAT): Use prototype definition.
42988         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
42989         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
42990         -Iprograms here.
42991         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
42992         (localedef-modules): Add localedef.
42993         (locale-modules): Add locale.
42995         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
42996         * elf/rtld.c (dl_main): Invert order of assignment in last change,
42997         to avoid a warning.
42999 2011-08-14  David S. Miller  <davem@davemloft.net>
43001         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43002         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43004 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43006         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43007         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43008         * elf/rtld.c (dl_main): Set l_name of vDSO.
43009         Call _dl_show_scope when DL_DEBUG_SCOPES.
43010         (process_dl_debug): Recognize scopes flag and also set it for all.
43011         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43012         Declare _dl_show_scope.
43014         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43015         (do_dlopen): Pass caller_dlopen to dl_open.
43016         (__libc_dlopen_mode): Initialize caller_dlopen.
43018         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43019         of libc.  Make tolower call locale-independent.  Optimize a bit by
43020         using isdigit instead of isalnum.
43021         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43023 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43025         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43026         was a dependency or dynamically loaded.
43028 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43030         * intl/l10nflist.c: Allow architecture-specific pop function.
43031         * sysdeps/x86_64/l10nflist.c: New file.
43033         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43034         classification.
43036 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43038         * include/dirent.h: Add libc_hidden_proto for scandirat and
43039         scandirat64.  Don't declare __scandirat64.
43040         * dirent/scandirat.c: Add libc_hidden_def.
43041         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43042         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43044 2011-08-10  David S. Miller  <davem@davemloft.net>
43046         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43047         enum.
43048         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43049         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43050         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43052 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43054         * Versions.def [libc]: Add GLIBC_2.15.
43055         * dirent/Makefile (routines): Add scandirat and scandirat64.
43056         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43057         GLIBC_2.15.
43058         * dirent/dirent.h: Declare scandirat and scandirat64.
43059         * dirent/scandirat.c: New file.
43060         * dirent/scandirat64.c: New file.
43061         * sysdeps/wordsize-64/scandirat.c: New file.
43062         * sysdeps/wordsize-64/scandirat64.c: New file.
43063         * dirent/opendir.c: Define opendirat.
43064         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43065         using scandirat.
43066         * dirent/scandir64.c: Adjust for scandir.c change.
43067         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43068         __scandirat64, and __scandir_cancel_handler.
43069         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43070         additional parameter and use openat instead of open (outside of ld.so).
43071         Add new __opendir as wrapper around __opendirat.
43072         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43073         here without requiring old scandirat implementation.
43075 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43077         * dirent/scandir.c (cancel_handler): Renamed to
43078         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43079         defined.  Adjust users.
43080         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43081         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43083 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43085         * string/test-string.h (IMPL): Use __STRING to expand name and then
43086         stringify it.
43088         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43089         of cleanups.
43091 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43093         * string/Makefile: Update.
43094         (strop-tests): Append strncat.
43095         * string/test-wcscmp.c: New file.
43096         New comprehensive test for wcscmp.
43097         * string/test-strcmp.c: Update.
43098         (WIDE): New define.
43100 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43102         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43103         line.
43105 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43108         encoding to ACE if AI_IDN.
43110 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43112         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43113         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43115 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43117         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43118         Fix overflow bug in strncat.
43119         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43121         * string/test-strncat.c: Update.
43122         Add new tests for checking overflow bugs.
43124 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43127         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43128         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43129         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43130         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43131         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43132         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43133         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43134         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43136         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43137         (USE_AS_STRCAT): Define.
43138         Add strcat and strncat support.
43139         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43141 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43143         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43144         __n bigger than INT_MAX+1.
43145         (__strncmp_g): Likewise.
43147 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43149         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43150         * libio/stido.h: Likewise.
43152         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43153         (AF_NFC): Define.
43154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43155         (AF_NFC): Define.
43157         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43158         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43160         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43161         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43163         [BZ #13021]
43164         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43165         installed.
43167         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43168         typo.
43169         (_dl_x86_64_save_sse): Likewise.
43171 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43173         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43174         OSXSAVE.
43175         (_dl_x86_64_save_sse): Likewise.
43177         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43179         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43181 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43183         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43184         change.
43185         (_dl_x86_64_save_sse): Use correct AVX check.
43187 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43189         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43190         bug in strncpy/strncat.
43191         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43193 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43195         * string/tester.c (test_strcat): Add tests for different alignments
43196         of source and destination.
43197         (test_strncat): Likewise.
43199 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43201         [BZ #12852]
43202         * posix/glob.c (glob): Check passed in values before using them in
43203         expressions to avoid some overflows.
43204         (glob_in_dir): Likewise.
43206         [BZ #13007]
43207         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43208         check for AVX enablement so that we don't crash with old kernels and
43209         new hardware.
43210         * elf/tst-audit4.c: Add same checks here.
43211         * elf/tst-audit6.c: Likewise.
43213         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43215 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43217         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43219 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43221         * po/cs.po: Update from translation team.
43222         * po/bg.po: Likewise.
43224 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43226         * misc/sys/cdefs.h: Add support for const attribute.
43227         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43228         to gnu_dev_{major,minor,makedev} functions.
43230 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43232         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43234 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43236         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43237         strlen results.
43239 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43241         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43242         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43243         register in order to avoid conflicts with the soft frame pointer
43244         being held in r11 when necessary.
43245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43246         (INTERNAL_VSYSCALL_NCS): Likewise.
43248 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43250         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43251         * elf/dl-fini.c (_dl_fini): Adjust caller.
43252         * elf/dl-close.c (_dl_close_worker): Likewise.
43253         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43255 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43257         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43258         "aux_cache->nlibs < 0".
43260         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43261         in the reload-count case.
43263 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43265         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43266         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43267         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43268         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43269         * sysdeps/x86_64/multiarch/strcat.S: New file.
43270         * sysdeps/x86_64/multiarch/strncat.S: New file.
43271         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43272         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43273         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43274         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43275         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43276         (USE_AS_STRCAT): Define.
43277         Add strcat and strncat support.
43278         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43279         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43280         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43281         * string/strncat.c: Update.
43282         (USE_AS_STRNCAT): Define.
43283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43284         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43285         and i7.
43286         * sysdeps/x86_64/multiarch/init-arch.h
43287         (bit_Prefer_PMINUB_for_stringop): New.
43288         (index_Prefer_PMINUB_for_stringop): Likewise.
43289         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43290         bit_Prefer_PMINUB_for_stringop.
43292 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43294         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43295         buffer64.
43296         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43297         of casting of buffer.
43298         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43299         buffer32 and buffer64.
43300         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43301         writes instead of casting of buffer.
43302         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43303         buffer32.
43304         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43305         casting of buffer.
43307 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43309         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43311 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43313         * nscd/nscd.c (termination_handler): Don't do anything for a database
43314         if it has not yet been initialized.
43316 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43318         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43320 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43322         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43324 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43326         * po/nl.po: Update from translation team.
43327         * po/sv.po: Likewise.
43329 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43331         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43332         now disallowed by GCC.
43334         * configure.in (use-default-link): Default to yes if a test -shared
43335         link meets our qualifications.
43336         * configure: Regenerated.
43338         * config.make.in (output-format): New variable.
43339         * configure.in: Check for ld --print-output-format support.
43340         * configure: Regenerated.
43341         * Makerules ($(common-objpfx)format.lds)
43342         [$(output-format) != unknown]: Just use $(output-format),
43343         instead of the linker-script munging.
43345 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43347         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43348         of $(common-objpfx)shlib.lds.
43349         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43351         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43352         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43354         * configure.in (-z relro check): Adjust test code to add a large
43355         writable data section after it.
43356         * configure: Regenerated.
43358 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43360         * configure.in (-z relro check): Fix test code to make the variable
43361         truly const.
43362         * configure: Regenerated.
43364 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43366         * nscd/nscd.h (struct traced_file): Define.
43367         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43368         elements.  Add traced_files.
43369         (inotify_fd): Declare.
43370         (register_traced_file): Declare.
43371         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43372         (inotify_fd): Export.
43373         (resolv_conf_descr): Remove.
43374         (nscd_init): Move inotify descriptor creation to main.
43375         Don't register files for notification here.
43376         (register_traced_file): New function.
43377         (invalidate_cache): Don't use reset_res to determine whether to call
43378         res_init, go through the list of registered files.
43379         (main_loop_poll): The inotify descriptors are now stored in the
43380         structures for the traced files.
43381         (main_loop_epoll): Likewise
43382         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43383         to __nss_disable_nscd.
43384         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43385         for a database anymore.  Check the records for all the registered
43386         files instead.
43387         * nss/Makefile (libnss_files-routines): Add files-init.
43388         (libnss_db-routines): Add db-init.
43389         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43390         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43391         * nss/nss_db/db-init.c: New file.
43392         * nss/nss_files/files-init.c: New file.
43393         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43394         __nss_lookup_function.
43395         (__nss_lookup_function): Call nss_load_library.
43396         (nss_load_all_libraries): New function.
43397         (__nss_disable_nscd): Take parameter with callback function for files
43398         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43399         used for the cached services.
43400         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43401         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43402         options for features to all the files in nscd.
43404         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43406 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43408         * csu/elf-init.c (__libc_csu_init): Comment typo.
43410 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43412         * po/pl.po: Update from translation team.
43413         * po/ja.po: Likewise.
43414         * po/ru.po: Likewise.
43415         * po/ko.po: Likewise.
43416         * po/fr.po: Likewise.
43418 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43420         * configure.in (.ctors/.dtors header and trailer check):
43421         Use an empirical test on a built program.
43422         * configure: Regenerated.
43424         * configure.in (-z relro check): Use an empirical test on a built DSO.
43425         Detect, but do not require, on ia64.
43426         * configure: Regenerated.
43428         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43429         Update tests that use readelf to use $READELF instead.
43430         * configure: Regenerated.
43432 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43434         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43435         if the result is not used.
43437 2011-07-05  Andreas Jaeger  <aj@suse.de>
43439         [BZ#9696]
43440         * stdlib/tst-strtod.c: Add testcase.
43442 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43444         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43445         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43446         The latter has a higher limit.  Take additional parameter to pass to
43447         the new function.
43448         (__pathconf): Pass file to __statfs_link_max.
43449         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43450         __statfs_link_max.
43451         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43452         __statfs_link_max.
43454         [BZ #12868]
43455         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43456         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43457         Handle Lustre.
43458         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43459         (__statfs_filesize_max): Likewise.
43460         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43462 2011-07-05  Andreas Jaeger  <aj@suse.de>
43464         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43466 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43468         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43469         `status' variable.
43470         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43471         Likewise.
43473 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43475         * Makefile (strop-tests): Add strncat.
43476         * string/test-strncat.c: New file.
43478 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43480         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43482 2011-06-21  Andreas Jaeger  <aj@suse.de>
43484         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43485         Copy rule from iconvdata/Makefile.
43487 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43489         [BZ #12922]
43490         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43491         but no long options are defined, just return 'W'.
43493 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43495         [BZ #9696]
43496         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43498 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43500         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43501         netgroups to read.
43502         (innetgr): Likewise.
43504 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43506         * config.make.in (install_root): Default to $(DESTDIR).
43508 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43510         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43512 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43514         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43516         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43517         containing directory rather than embedding absolute directory names.
43519         * scripts/check-local-headers.sh: Rewritten using awk.
43520         Match by word, not by line.  Print error messages for matches.
43521         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43523         * Makerules [shlib-lds-flags empty]:
43524         ($(common-objpfx)libc_pic.opts): New target.
43525         ($(common-objpfx)libc_pic.os.clean): New target.
43526         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43528         * config.make.in (OBJCOPY): New variable.
43529         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43530         * configure: Regenerated.
43532         * config.make.in (use-default-link): New variable.
43533         * configure.in (use_default_link): Grok --with-default-link to set it.
43534         * configure: Regenerated.
43535         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43536         (shlib-lds, shlib-lds-flags): Define to empty.
43538         * Makerules (shlib-lds): New variable.
43539         (shlib-lds-flags): New variable.
43540         (build-shlib, build-moduile, build-module-asneeded): Use it.
43541         ($(common-objpfx)libc.so): Use $(shlib-lds).
43542         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43543         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43545         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43546         DT_FLAGS/DT_FLAGS_1 with zero flags.
43548         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43549         linker script munging.
43551 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43553         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43554         as 128-bit value.
43555         * crypt/sha512.c (sha512_process_block): Perform total addition using
43556         128-bit if possible.
43557         (__sha512_finish_ctx): Likewise.
43558         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43559         as 64-bit value.
43560         * crypt/sha256.c (SWAP64): Define.
43561         (sha256_process_block): Perform total addition using 64-bit if
43562         possible.
43563         (__sha256_finish_ctx): Likewise.
43565 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43567         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43568         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43569         * nscd/hstcache.c (cache_addhst): Likewise.
43570         * nscd/grpcache.c (cache_addgr): Likewise.
43571         * nscd/aicache.c (addhstaiX): Likewise
43572         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43574 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43576         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43577         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43578         * nscd/hstcache.c (cache_addhst): Likewise.
43579         * nscd/grpcache.c (cache_addgr): Likewise.
43580         * nscd/aicache.c (addhstaiX): Likewise
43582 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43584         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43585         domain only when needed.
43587 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43589         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43590         is always restored.
43592 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43594         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43595         are re-adding the entry.
43596         * nscd/servicescache.c (cache_addserv): Likewise.
43598 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43600         * sysdeps/generic/dl-irel.h: fix protection against multiple
43601         inclusions.
43602         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43604 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43606         [BZ #12935]
43607         * malloc/memusage.sh: Fix quoting in message.
43608         * debug/xtrace.sh: Likewise.
43610         * configure.in: Remove support for --experimental-malloc option, make
43611         it the default.
43612         * config.make.in: Likewise.
43613         * malloc/Makefile: Likewise.
43615 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43617         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43618         two-byte characters.
43620 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43622         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43623         AC_CACHE_CHECK invocation.
43624         * configure: Regenerated.
43626         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43628 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43630         [BZ #12350]
43631         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43632         bit from old_res_options.
43634         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43636         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43637         value type for setfct.
43639 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43641         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43642         __gettimeofday instead of gettimeofday.
43644 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43646         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43648 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43650         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43652         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43653         info.
43655 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43657         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43658         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43659         strcpy-sse2-unaligned strncpy-sse2-unaligned
43660         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43661         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43662         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43663         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43664         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43665         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43666         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43667         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43668         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43669         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43670         (STRCPY): Support SSE2 and SSSE3 versions.
43672 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43674         [BZ #12874]
43675         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43676         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43677         kernels which artificially limit size of requests.
43679 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43681         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43682         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43683         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43684         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43685         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43686         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43687         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43688         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43689         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43690         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43691         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43692         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43693         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43694         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43695         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43697         Enable unaligned load optimization for Intel Core i3, i5 and i7
43698         processors.
43699         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43700         Define.
43701         (index_Fast_Unaligned_Load): Define.
43702         (HAS_FAST_UNALIGNED_LOAD): Define.
43704 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43706         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43708 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43710         [BZ #12907]
43711         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43712         until it is clear that the information is realy needed.
43713         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43715 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43719 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43721         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43722         /sys/devices/system/cpu/online if it is usable.
43724         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43725         reading the information from the /proc filesystem to once a second.
43727 2011-06-21  Andreas Jaeger  <aj@suse.de>
43729         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43730         NULL after inclusion of kernel headers.
43732 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43734         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43735         calls to internal_setent.
43737         [BZ #12885]
43738         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43739         addresses using gethostbyname4_r ignore IPv4 addresses.
43741         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43742         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43744         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43746 2011-06-20  David S. Miller  <davem@davemloft.net>
43748         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43749         inclusions.
43750         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43752         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43753         (elf_irel): Use it.
43754         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43755         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43756         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43757         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43758         * sysdeps/x86_64/dl-irel.h: Likewise.
43760         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43761         * elf/dl-sym.c: Likewise.
43763 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43765         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43766         need to dereference resplen2.
43768 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43770         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43772 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43774         * Makeconfig: Define vardbdir and inst_vardbdir.
43775         * nss/Makefile: Add rules to install db-Makefile.
43777         * nss/nss_db/db-XXX.c: Cleanup.
43779         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43780         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43781         GLIBC_PRIVATE.
43782         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43783         * nss/makedb.c: Implement -g option to specify that value strings
43784         are generated and should not be added to table iterated over for
43785         get*ent calls.
43786         * nss/nss_db/db-initgroups.c: New file.
43788         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43789         interface.
43791         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43792         (internal_getgrouplist): Adjust to name change.
43793         Update use_initgroups_entry if this is not the first call.
43794         * nss/databases.def: Add initgroups entry.
43796         * nss/makedb.c (compute_tables): Check result of multiple hash table
43797         sizes to minimize maximum chain length.
43799 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43801         * Versions.def: Add entry for libnss_db.
43802         * shlib-versions: Likewise.
43803         * nss/Makefile: Add rules to build libnss_db.
43804         * nss/Versions: Add libnss_db information.  Organize libnss_files
43805         entries better.
43806         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43807         makedb progra.  Some minor improvements to generate smaller files.
43808         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43809         here from...
43810         * nss/makedb.c: ...here.
43811         Improve database format to be smaller and require less memory at
43812         runtime.
43813         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43814         db anymore.
43815         * nss/nss_db/db-netgrp.c: Likewise.
43816         * nss/nss_db/db-open.c: Likewise.
43817         * nss/nss_files/flies-XXX.x: Adjust comments.
43818         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43819         * nss/nss_files/files-grp.c: Likewise.
43820         * nss/nss_files/files-hosts.c: Likewise.
43821         * nss/nss_files/files-network.c: Likewise.
43822         * nss/nss_files/files-proto.c: Likewise.
43823         * nss/nss_files/files-pwd.c: Likewise.
43824         * nss/nss_files/files-rpc.c: Likewise.
43825         * nss/nss_files/files-service.c: Likewise.
43826         * nss/nss_files/files-sgrp.c: Likewise.
43827         * nss/nss_files/files-spwd.c: Likewise.
43828         * nss/nss_db/db-alias.c: Removed.
43829         * nss/nss_db/dummy-db.h: Removed.
43831 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43833         * nss/makedb.c: Rewritten to not use database library.
43834         * nss/Makefile: Update to build new makedb program.
43836 2011-06-14  Andreas Jaeger  <aj@suse.de>
43838         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43839         memset declaration.
43841 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43844         tmpbuf.
43846 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43848         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43849         * elf/Makefile ($(objpfx)ld.so): Likewise.
43851         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43852         Don't list ld.so twice in dependencies.
43854         * posix/bug-regex31.c: Include <stdlib.h>.
43856         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43858         * nis/nss_compat/compat-spwd.c
43859         (getspent_next_nss_netgr): Remove unused variable.
43860         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43862         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43863         nonmembers" output to use the right array.
43865         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43867         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43869         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43870         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43871         * catgets/gencat.c (read_input_file): Likewise.
43872         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43874         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43875         variable definition inside #if's controlling its use.
43877         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43879         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43881         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43883         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43884         unreachable code.
43886         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43888         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43889         * configure: Regenerated.
43891         * Makerules: Revert last change.
43892         * elf/Makefile: Likewise.
43894 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43896         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43897         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43898         (reloc-link): Likewise.
43900 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43902         * elf/Makefile: Add rules to build pldd.
43903         * elf/pldd.c: New file.
43904         * elf/pldd-xx.c: New file.
43906 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43908         * version.h: Update for 2.15 development version.
43910 2011-06-07  David S. Miller  <davem@davemloft.net>
43912         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43913         ifuncs.
43914         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43915         elf_machine_lazy_rel): Likewise.
43916         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43917         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43918         elf_machine_lazy_rel): Likewise.
43919         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43920         dl_hwcap via passed in argument.
43921         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43922         Likewise.
43924 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43926         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
43928 2011-06-06  Roland McGrath  <roland@hack.frob.com>
43930         [BZ #12849]
43931         * manual/fdl-1.1.texi: New file, verbatim from:
43932         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
43933         * manual/lgpl-2.1.texi: New file, verbatim from:
43934         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
43935         * manual/Makefile (licenses): New variable, list those new file names.
43936         (texis): Use it.
43937         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
43939         * manual/fdl.texi: File removed.
43940         * manual/lesser.texi: File removed.
43941         * manual/libc.texinfo (Copying, Documentation License):
43942         Use new @include file names, put @appendix directive before @include.
43944 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
43946         [BZ #12841]
43947         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
43948         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
43949         (mq_open): Add __NTH.
43951 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
43953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43954         Assume Intel Core i3/i5/i7 processor if AVX is available.
43956 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43959         typo.
43961 2011-05-31  Andreas Schwab  <schwab@redhat.com>
43963         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
43964         memory.  Use alloca_account.  Fix memory leak when retrying.
43966 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
43968         * version.h (RELEASE): Bump for 2.14 release.
43969         * include/features.h (__GLIBC_MINOR__): Bump to 14.
43971         * config.make.in (RANLIB): Remove entry.
43973 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
43975         * po/Makefile (po-sed-cmd): Add ksh to extensions.
43976         (libc.pot): Work around missing support for .ksh extension in xgettext.
43978         [BZ #12684]
43979         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
43980         if both request failed.
43981         (send_dg): In case of server errors clear resplen or *resplen2.
43983         [BZ #12454]
43984         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
43985         when there are multiple maps.
43986         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
43987         (_dl_fini): Remove test here.
43989         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
43991 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
43993         [BZ #12350]
43994         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
43995         bit from old_res_options.
43996         (gaih_inet): Likewise.
43998         [BZ #11099]
43999         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44000         as signed.
44002         * resolv/res_init.c (res_setoptions): Make the code more compact.
44004         [BZ #11558]
44005         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44006         set RES_USEVC.
44008         [BZ #11634]
44009         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44011         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44013         [BZ #11781]
44014         * malloc/malloc.h: Declare malloc hook variables as volatile.
44016         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44017         in last patch.
44019         [BZ #11799]
44020         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44021         raise in the comment.
44022         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44023         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44024         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44026 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44028         [BZ #12811]
44029         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44030         grow the buffers more if it already has to be sufficient.
44031         (build_wcs_upper_buffer): Likewise.
44032         * posix/regexec.c (check_matching): Likewise.
44033         (clean_state_log_if_needed): Likewise.
44034         (extend_buffers): Don't enlarge buffers beyond size of the input
44035         buffer.
44036         Patches mostly by Emil Wojak <emil@wojak.eu>.
44037         * posix/bug-regex32.c: New file.
44038         * posix/Makefile (tests): Add bug-regex32.
44040         * locale/findlocale.c (_nl_find_locale): Return right away if
44041         _nl_explode_name failed.
44042         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44044         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44046         * debug/xtrace.sh: Unify messages.
44047         * malloc/memusage.sh: Likewise.
44049         [BZ #12813]
44050         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44051         time symbol from vDSO.  Substitute with vsyscall if not available.
44052         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44053         __vdso_time.
44055         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44056         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44057         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44058         Add sendmmsg and internal_sendmmsg.
44059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44060         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44061         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44063         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44064         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44065         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44067 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44069         [BZ #12813]
44070         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44071         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44072         available.
44073         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44074         __vdso_getcpu.
44076         [BZ #12814]
44077         * iconvdata/Makefile (tests): Add bug-iconv9.
44078         * iconvdata/bug-iconv9.c: New file.
44080 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44082         [BZ #12814]
44083         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44085 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44087         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44088         (struct user_regs_struct): Change intcs field back to cs.
44090 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44092         * po/ja.po: Update from translation team.
44094 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44096         [BZ #12795]
44097         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44098         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44100 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44102         * stdlib/longlong.h: Update from GCC.
44104 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44106         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44107         parameter name.
44108         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44109         Add parameter name.
44110         (__sysconf): Pass it down.
44112 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44114         [BZ #12671]
44115         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44116         some situations.
44117         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44118         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44119         add in in __libc_use_alloca calls.  Adjust callers.
44120         (glob): Use malloc in some situations.
44122         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44123         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44124         pltexit.
44126 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44128         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44129         and CLOCK_BOOTTIME_ALARM.
44131         [BZ #12782]
44132         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44133         is returned.
44135         * string/_strerror.c (__strerror_r): Print negative errors as signed
44136         numbers.
44138         [BZ #12777]
44139         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44140         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44141         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44143         * configure.in: Fix typo in redirection and correct removal of test
44144         files in two cases.
44146         [BZ #12788]
44147         * locale/setlocale.c (new_composite_name): Fix test to check for
44148         identical name of all categories.
44150         [BZ #12792]
44151         * libio/filedoalloc.c (local_isatty): New function.
44152         (_IO_file_doallocate): Use local_isatty.
44153         * stdio-common/perror.c (perror): In case a new stream is used
44154         forward the stream error.
44155         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44156         error flag.
44158 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44160         [BZ #11869]
44161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44162         alloca.
44163         * include/alloca.h (extend_alloca_account): Define.
44165         [BZ #11857]
44166         * posix/regex.h: Fix comments with documentation of user-accessible
44167         fields after compilation and describe correct free'ing of pattern
44168         after re_compile_pattern.
44169         Patch by Reuben Thomas <rrt@sc3d.org>.
44171 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44173         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44174         and -mno-altivec to prevent the compiler from using Altivec and/or
44175         VSX instructions when the corresponding registers are not available.
44177 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44179         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44181 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44183         * libio/freopen.c (freopen): Use __dup2, not dup2.
44184         * libio/freopen64.c (freopen64): Likewise.
44186 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44188         [BZ #12775]
44189         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44190         * math/Makefile (tests): Add test-powl.
44191         (CFLAGS-test-powl.c): Define.
44192         * math/test-powl.c: New file.
44194 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44196         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44198 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44200         [BZ #11837]
44201         * iconvdata/gb18030.c: Update to GB18020-2005.
44203 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44205         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44206         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44207         Patch by Aharon Robbins <arnold@skeeve.com>.
44209         [BZ #11892]
44210         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44211         on the stack.
44213         [BZ #11895]
44214         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44215         through underflows.
44217         [BZ #12766]
44218         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44219         point to strings before performing equality test for error_one_per_line
44220         mode.
44222         [BZ #11697]
44223         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44225         [BZ #11820]
44226         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44227         (struct user_fpregs_struct): Avoid __uint*_t types.
44229         [BZ #6420]
44230         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44231         symbol info.  Use it instead of calling _dl_addr locally.
44232         (lock_and_info): New function.
44233         (tr_freehook): Call lock_and_info and pass symbol info as additional
44234         parameter to tr_where.
44235         (tr_mallochook): Likewise.
44236         (tr_reallochook): Likewise.
44237         (tr_memalignhook): Likewise.
44239         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44240         used and couldn't be at all thread-safe.
44242 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44244         * libio/freopen.c (freopen): Don't close old file descriptor
44245         before the new one is opened.  Instead dup the new file descriptor
44246         to the old one after the new stream is created.
44247         * libio/freopen64.c (freopen64): Likewise.
44248         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44249         * libio/fileops.c (_IO_new_file_close_it): Handle new
44250         _IO_FLAGS2_NOCLOSE flag.
44251         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44252         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44253         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44254         _IO_FLAGS2_NOCLOSE flag.
44255         * include/unistd.h: Add hidden_proto for dup3.
44256         Define __have_dup3.
44257         * io/dup3.c: Define hidden symbol.
44258         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44260         [BZ #7101]
44261         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44262         when an incomplete long option is used.
44263         * posix/tst-getopt_long1.c: New file.
44264         * posix/Makefile (tests): Add tst-getopt_long1.
44266         [BZ #10138]
44267         * scripts/config.guess: Update from autoconf-2.68.
44268         * scripts/config.sub: Likewise.
44270         [BZ #10157]
44271         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44272         tests into ...
44273         (has_cpuclock): ...this.  New function.
44274         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44275         macro here based on has_cpuclock code.
44277         [BZ #10149]
44278         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44279         First byte (not low byte) is now always NUL.
44280         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44282         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44283         Use non-cancelable interfaces.
44285         [BZ #9809]
44286         * locale/iso-639.def: Add entry for Sorani.
44288         [BZ #11901]
44289         * include/stdlib.h: Move include protection to the right place.
44290         Define abort_msg_s.  Declare __abort_msg with it.
44291         * stdlib/abort.c (__abort_msg): Adjust type.
44292         * assert/assert.c (__assert_fail_base): New function.  Majority
44293         of code from __assert_fail.  Allocate memory for __abort_msg with
44294         mmap.
44295         (__assert_fail): Now call __assert_fail_base.
44296         * assert/assert-perr.c: Remove bulk of implementation.  Use
44297         __assert_fail_base.
44298         * include/assert.hL Declare __assert_fail_base.
44299         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44300         mmap.
44301         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44303 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44305         [BZ #11952]
44306         [BZ #12453]
44307         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44308         until all modules are registered in the DTV.
44309         * elf/Makefile: Add rules to build and run tst-tls19.
44310         * elf/tst-tls19.c: New file.
44311         * elf/tst-tls19mod1.c: New file.
44312         * elf/tst-tls19mod2.c: New file.
44313         * elf/tst-tls19mod3.c: New file.
44314         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44316         [BZ #12083]
44317         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44318         correctly.
44320         [BZ #12601]
44321         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44322         two-byte sequence errors.
44323         * iconvdata/Makefile (tests): Add bug-iconv8.
44324         * iconvdata/bug-iconv8.c: New file.
44326         [BZ #12626]
44327         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44328         buf2 definition.
44330         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44332         [BZ #12432]
44333         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44334         (dummy_getcfa): New function.
44335         (init): Get _Unwind_GetCFA address, use dummy if not found.
44336         (backtrace_helper): In recursion check, also check whether CFA changes.
44337         (__backtrace): Completely initialize arg.
44339         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44340         storing incomplete byte sequence in state object.  Avoid testing for
44341         guaranteed too small input if we know there is enough data available.
44343 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44345         * Makeconfig (+link-pie): Indent.
44346         * Rules (binaries-pie): Define if $(have-fpie) and
44347         $(build-shared).
44348         (binaries-shared): Also filter out $(binaries-pie).
44349         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44350         * nscd/Makefile (others-pie): Add nscd.
44351         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44352         ($(objpfx)nscd): Remove command override.
44353         * login/Makefile (others-pie): Add pt_chown.
44354         ($(objpfx)pt_chown): Remove command override.
44355         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44356         remove command overrides.
44358 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44360         * libio/tst_putwc.c: Fix error messages.
44362         [BZ #12724]
44363         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44364         currently writing and seek to current position when not.
44365         * libio/Makefile (tests): Add bug-fclose1.
44366         * libio/bug-fclose1.c: New file.
44368 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44370         [BZ #12511]
44371         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44372         don't set DF_1_NODELETE here.
44373         (do_lookup_x): When entering new entry test for copy relocation
44374         and if necessary set DF_1_NODELETE flag.
44375         * elf/tst-unique4.cc: New file.
44376         * elf/tst-unique4.h: New file.
44377         * elf/tst-unique4lib.cc: New file.
44378         * elf/Makefile: Add rules to build and run tst-unique4.
44379         Patch by Piotr Bury <pbury@goahead.com>.
44381 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44383         [BZ #12052]
44384         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44386         [BZ #12625]
44387         * misc/mntent_r.c (addmntent): Flush the stream after the output
44389         [BZ #12393]
44390         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44391         (is_trusted_path_normalize): Skip initial colon.  Append slash
44392         to empty buffer.  Duplicate is_trusted_path code but allow
44393         constructed patch to be prefix.
44394         (is_dst): Allow $ORIGIN followed by /.
44395         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44396         Correct testing of result of is_trusted_path_normalize
44397         (decompose_rpath): Fix warning.
44399 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44401         [BZ #11257]
44402         * grp/initgroups.c (internal_getgrouplist): When we found the service
44403         list through the initgroups entry in nsswitch.conf do not always
44404         continue on a successful lookup.  Don't always use the
44405         __nss_group_database value if it is set.
44406         * nss/nsswitch.conf (initgroups): Change action for successful db
44407         lookup to continue for compatibility.
44409 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44411         [BZ #11532]
44412         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44413         and CP774 modules.
44414         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44415         and CP774 modules.
44416         * iconvdata/tst-tables.sh: Likewise.
44417         * iconvdata/cp770.c: New file.
44418         * iconvdata/cp771.c: New file.
44419         * iconvdata/cp772.c: New file.
44420         * iconvdata/cp773.c: New file.
44421         * iconvdata/cp774.c: New file.
44422         * iconvdata/testdata/CP770: New file.
44423         * iconvdata/testdata/CP770..UTF8: New file.
44424         * iconvdata/testdata/CP771: New file.
44425         * iconvdata/testdata/CP771..UTF8: New file.
44426         * iconvdata/testdata/CP772: New file.
44427         * iconvdata/testdata/CP772..UTF8: New file.
44428         * iconvdata/testdata/CP773: New file.
44429         * iconvdata/testdata/CP773..UTF8: New file.
44430         * iconvdata/testdata/CP774: New file.
44431         * iconvdata/testdata/CP774..UTF8: New file.
44433         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44434         END CHARMAP line.
44435         * iconvdata/gen-8bit-gap.sh: Likewise.
44436         * iconvdata/gen-8bit.sh: Likewise.
44438         * locale/iso-639.def: Add ary entry.
44440         [BZ #11258]
44441         * locale/C-translit.h.in: Add U20A1 transliteration.
44443         [BZ #12178]
44444         * locale/iso-639.def: Add wae entry.
44445         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44447         [BZ #12545]
44448         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44449         for n.
44451         [BZ #12711]
44452         * locale/C-translit.h.in: Add entry for U20B9.
44453         Patch by pravin.d.s@gmail.com.
44455 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44457         [BZ #12713]
44458         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44459         ENAMETOOLONG use generic getcwd.
44460         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44461         in rtld.  Use *stat64.
44462         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44463         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44464         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44465         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44466         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44467         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44468         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44469         __fstatat64 macros.
44470         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44471         * dirent/rewinddir.c: Add libc_hidden_def.
44472         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44473         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44475         * include/dirent.h (__alloc_dir): Add flags parameter.
44476         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44477         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44478         __alloc_dir.
44479         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44480         from fdopendir if O_CLOEXEC is already set.
44482 2011-03-15  Alan Modra  <amodra@gmail.com>
44484         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44485         l_tls_firstbyte_offset non-zero.  Save padding offset in
44486         l_tls_firstbyte_offset for later use.
44487         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44488         freeing static tls block.
44490 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44492         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44493         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44494         being defined by the kernel headers.
44496 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44498         [BZ #12734]
44499         * resolv/resolv.h: Define RES_NOTLDQUERY.
44500         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44501         no-tld-query and set RES_NOTLDQUERY.
44502         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44503         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44504         modern BIND to search name as TLD unless forbidden.
44506 2011-05-07  Petr Baudis  <pasky@suse.cz>
44507             Ulrich Drepper  <drepper@gmail.com>
44509         [BZ #12393]
44510         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44511         (is_trusted_path): ...to here.
44512         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44513         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44514         using is_trusted_path_normalize() in setuid scripts.
44516 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44518         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44519         __BEGIN/__END_DECLS.
44521 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44523         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44524         NSS_STATUS_NOTFOUND if no record was found.
44526 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44528         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44529         (headers-not-in-tirpc): Remove rpc/netdb.h
44530         * resolv/netdb.h: Revert last change.
44532 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44534         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44535         circular dependency between libgcc.a and libc.a.
44537 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44539         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44540         * nis/Makefile: Don't install rpcsvc/*.
44541         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44542         instead of <rpc/types.h>.
44543         (MAXHOSTNAMELEN): Define.
44545 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44547         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44549 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44551         [BZ #12714]
44552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44553         gethostbyname4_r when IPv6 results are possible.
44555 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44557         [BZ #12723]
44558         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44559         _PC_PIPE_BUF handling.
44561 2011-04-30  Bruno Haible  <bruno@clisp.org>
44563         [BZ #12717]
44564         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44565         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44566         to 'int'.
44567         * inet/getnameinfo.c (getnameinfo): Likewise.
44569 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44571         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44572         to groups setting in database lookup.
44573         * nss/nsswitch.conf: Add initgroups entry.
44575 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44577         [BZ #12685]
44578         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44579         mode string.
44580         Patch by Eric Blake <eblake@redhat.com>.
44582 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44584         * sunrpc/Makefile (need-export-routines): Add svc_run.
44585         (routines): Remove svc_run.
44586         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44587         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44588         * sunrpc/svc_run.c (svc_run): Likewise.
44589         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44591 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44593         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44594         problem in reallocation in last patch.
44596 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44598         * sunrpc/Makefile: Move inclusion of Rules.
44600 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44602         * nss/nss_files/files-initgroups.c: New file.
44603         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44604         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44605         _nss_files_initgroups_dyn.
44607 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44609         * elf/elf.h (R_ARM_IRELATIVE): Define.
44611 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44613         * po/ru.po: Update from translation team.
44615 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44617         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44618         dependencies.
44620 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44622         [BZ #12653]
44623         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44624         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44625         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44626         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44627         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44629 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44631         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44632         differing bytes.
44633         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44634         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44635         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44637 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44639         [BZ #12420]
44640         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44641         storing it.
44642         * stdlib/bug-getcontext.c: New file.
44643         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44645 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44647         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44648         instructions into .machine "z9-109".
44649         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44650         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44652 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44654         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44655         between environment variables and auxiliary vector.
44657 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44659         * Makefile: Add rules to build linkobj/libc.so.
44660         * include/libc-symbols.h: Define libc_hidden_nolink.
44661         * include/rpc/auth.h: Mark functions which are to be hidden.
44662         * include/rpc/auth_des.h: Likewise.
44663         * include/rpc/auth_unix.h: Likewise.
44664         * include/rpc/clnt.h: Likewise.
44665         * include/rpc/des_crypt.h: Likewise.
44666         * include/rpc/key_prot.h: Likewise.
44667         * include/rpc/pmap_clnt.h: Likewise.
44668         * include/rpc/pmap_prot.h: Likewise.
44669         * include/rpc/pmap_rmt.h: Likewise.
44670         * include/rpc/rpc_msg.h: Likewise.
44671         * include/rpc/svc.h: Likewise.
44672         * include/rpc/svc_auth.h: Likewise.
44673         * include/rpc/xdr.h: Likewise.
44674         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44675         * nss/Makefile: Likewise.
44676         * sunrpc/Makefile: Don't install headers.  Build library with normal
44677         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44678         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44679         for the compat linking library.  Remove use of INTDEF/INTUSE.
44680         * sunrpc/auth_none.c: Likewise.
44681         * sunrpc/auth_unix.c: Likewise.
44682         * sunrpc/authdes_prot.c: Likewise.
44683         * sunrpc/authuxprot.c: Likewise.
44684         * sunrpc/clnt_gen.c: Likewise.
44685         * sunrpc/clnt_perr.c: Likewise.
44686         * sunrpc/clnt_raw.c: Likewise.
44687         * sunrpc/clnt_simp.c: Likewise.
44688         * sunrpc/clnt_tcp.c: Likewise.
44689         * sunrpc/clnt_udp.c: Likewise.
44690         * sunrpc/clnt_unix.c: Likewise.
44691         * sunrpc/des_crypt.c: Likewise.
44692         * sunrpc/des_soft.c: Likewise.
44693         * sunrpc/get_myaddr.c: Likewise.
44694         * sunrpc/key_call.c: Likewise.
44695         * sunrpc/key_prot.c: Likewise.
44696         * sunrpc/netname.c: Likewise.
44697         * sunrpc/pm_getmaps.c: Likewise.
44698         * sunrpc/pm_getport.c: Likewise.
44699         * sunrpc/pmap_clnt.c: Likewise.
44700         * sunrpc/pmap_prot.c: Likewise.
44701         * sunrpc/pmap_prot2.c: Likewise.
44702         * sunrpc/pmap_rmt.c: Likewise.
44703         * sunrpc/publickey.c: Likewise.
44704         * sunrpc/rpc_cmsg.c: Likewise.
44705         * sunrpc/rpc_common.c: Likewise.
44706         * sunrpc/rpc_dtable.c: Likewise.
44707         * sunrpc/rpc_prot.c: Likewise.
44708         * sunrpc/rpc_thread.c: Likewise.
44709         * sunrpc/rtime.c: Likewise.
44710         * sunrpc/svc.c: Likewise.
44711         * sunrpc/svc_auth.c: Likewise.
44712         * sunrpc/svc_authux.c: Likewise.
44713         * sunrpc/svc_raw.c: Likewise.
44714         * sunrpc/svc_run.c: Likewise.
44715         * sunrpc/svc_simple.c: Likewise.
44716         * sunrpc/svc_tcp.c: Likewise.
44717         * sunrpc/svc_udp.c: Likewise.
44718         * sunrpc/svc_unix.c: Likewise.
44719         * sunrpc/svcauth_des.c: Likewise.
44720         * sunrpc/xcrypt.c: Likewise.
44721         * sunrpc/xdr.c: Likewise.
44722         * sunrpc/xdr_array.c: Likewise.
44723         * sunrpc/xdr_float.c: Likewise.
44724         * sunrpc/xdr_intXX_t.c: Likewise.
44725         * sunrpc/xdr_mem.c: Likewise.
44726         * sunrpc/xdr_rec.c: Likewise.
44727         * sunrpc/xdr_ref.c: Likewise.
44728         * sunrpc/xdr_sizeof.c: Likewise.
44729         * sunrpc/xdr_stdio.c: Likewise.
44731 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44733         [BZ #12650]
44734         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44735         * sysdeps/ia64/dl-tls.h: Likewise.
44736         * sysdeps/powerpc/dl-tls.h: Likewise.
44737         * sysdeps/s390/dl-tls.h: Likewise.
44738         * sysdeps/sh/dl-tls.h: Likewise.
44739         * sysdeps/sparc/dl-tls.h: Likewise.
44740         * sysdeps/x86_64/dl-tls.h: Likewise.
44741         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44743 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44745         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44746         rpath element also skip the following colon.
44747         (expand_dynamic_string_token): Add is_path parameter and pass
44748         down to DL_DST_REQUIRED and _dl_dst_substitute.
44749         (decompose_rpath): Call expand_dynamic_string_token with
44750         non-zero is_path.  Ignore empty rpaths.
44751         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44752         with zero is_path.
44754 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44757         Make cancelable.
44759 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44761         [BZ #12655]
44762         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44763         Patch by Filipe David Manana <fdmanana@apache.org>.
44765 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44767         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44768         Maintain aligned stack.
44769         (CHECK_RSP): Remove unused macro.
44771 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44773         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44774         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44776 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44778         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44780         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44782 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44784         [BZ #12518]
44785         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44786         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44787         * sysdeps/x86_64/memmove.c: New file.
44788         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44789         (memcpy): Renamed to ...
44790         (__new_memcpy): This.
44791         (memcpy): Provide GLIBC_2_14 memcpy.
44792         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44793         (memcpy): Provide GLIBC_2_2_5 memcpy.
44795 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44797         [BZ #12631]
44798         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44800 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44802         * misc/syncfs.c: New file.
44803         * misc/Makefile (routines): Add syncfs.
44804         * posix/unistd.h: Declare syncfs.
44805         * sysdeps/unix/syscalls.list: Add syncfs.
44807 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44809         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44810         open_by_handle_at.
44811         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44812         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44814         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44816         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44817         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44819 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44821         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44822         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44823         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44824         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44825         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44826         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44827         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44829         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44830         sync_file_range.c with -fexceptions.
44831         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44832         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44833         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44834         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44835         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44836         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44837         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44838         sync_file_range as cancellation point
44839         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44840         now a wrapper around __call_sync_file_range with cancellation handling.
44841         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44842         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44843         function name to __call_sync_file_range.
44844         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44845         Add call_sync_file_range.
44847 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44849         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44850         bits/timex.h.
44852 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44854         * iconv/iconv.h: Fix typo in comment.
44855         * io/fcntl.h: Likewise.
44856         * libio/stdio.h: Likewise.
44857         * posix/spawn.h: Likewise.
44858         * posix/unistd.h: Likewise.
44859         * stdlib/stdlib.h: Likewise.
44860         * time/time.h: Likewise.
44861         * wcsmbs/wchar.h: Likewise.
44863         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44864         open_by_handle): Add.
44865         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44866         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44867         Augment a few comments.
44868         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44869         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44870         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44871         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44872         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44873         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44874         open_by_handle.
44876         * io/fcntl.h (AT_EMPTY_PATH): Define.
44878 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44880         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44881         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44882         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44883         to...
44884         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44885         * Versions.def: Add GLIBC_2.14.
44886         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44887         Export.
44889 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44891         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44892         round counter.
44893         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44895 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44897         [BZ #12597]
44898         * string/test-strncmp.c (do_page_test): New function.
44899         (check2): Likewise.
44900         (test_main): Call check2.
44901         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44903 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44905         [BZ #12587]
44906         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44907         Handle cache information in CPU leaf 4.
44908         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44910 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44912         [BZ #12583]
44913         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44914         character representation.
44915         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44917 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44919         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44920         END(__isnan) to END(__isnanf) to match function entry point/label
44921         EALIGN(__isnanf,...).
44923 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
44925         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
44927 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
44929         [BZ #12510]
44930         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
44931         copy from the symbol referenced in the relocation to initialize the
44932         used variable.
44933         Patch by Piotr Bury <pbury@goahead.com>.
44934         * elf/Makefile: Add rules to build and tst-unique3.
44935         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
44936         * elf/tst-unique3.cc: New file.
44937         * elf/tst-unique3.h: New file.
44938         * elf/tst-unique3lib.cc: New file.
44939         * elf/tst-unique3lib2.cc: New file.
44941         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
44943 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
44945         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
44946         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
44947         to _start.
44949 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
44951         * elf/dl-load.c (_dl_map_object): If we are looking for the first
44952         to-be-loaded object along a path to loader is ld.so.
44954 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44955             Ulrich Drepper  <drepper@gmail.com>
44957         * sysdeps/x86_64/memset.S: After aligning destination, code
44958         branches to different locations depending on the value of
44959         misalignment, when multiarch is enabled. Fix this.
44961 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
44963         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
44964         Set _x86_64_preferred_memory_instruction for AMD processsors.
44965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44966         Set bit_Prefer_SSE_for_memop for AMD processors.
44968 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
44970         * libio/fmemopen.c (fmemopen): Optimize a bit.
44972 2011-03-03  Andreas Schwab  <schwab@redhat.com>
44974         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
44976 2011-03-03  Roland McGrath  <roland@redhat.com>
44978         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
44980 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
44982         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
44983         __bzero_ultra1 instead of __memset_ultra1.
44985 2011-02-23  Andreas Schwab  <schwab@redhat.com>
44986             Ulrich Drepper  <drepper@gmail.com>
44988         [BZ #12509]
44989         * include/link.h (struct link_map): Add l_orig_initfini.
44990         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
44991         returning unsuccessfully.
44992         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
44993         close of a file loaded at startup, restore the original l_initfini
44994         list.
44995         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
44996         list, store the pointer.
44997         * elf/Makefile ($(objpfx)noload-mem): New rule.
44998         (noload-ENV): Define.
44999         (tests): Add $(objpfx)noload-mem.
45000         * elf/noload.c: Include <memcheck.h>.
45001         (main): Call mtrace.  Close all opened handles.
45003 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45005         [BZ #12454]
45006         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45007         dependencies are missing.
45009 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45011         Fix __if_freereq crash: Unlike the generic version which uses free,
45012         Hurd needs munmap.
45013         * sysdeps/mach/hurd/ifreq.h: New file.
45015 2011-01-27  Petr Baudis  <pasky@suse.cz>
45016             Ulrich Drepper  <drepper@gmail.com>
45018         [BZ 12445]#
45019         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45020         to extend_alloca().
45021         * stdio-common/bug23.c: New file.
45022         * stdio-common/Makefile (tests): Add bug23.
45024 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45025             Ulrich Drepper  <drepper@gmail.com>
45027         [BZ #12489]
45028         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45029         before performing relro protection.  At old place add assertion
45030         to make sure nothing changed.
45032 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45033             Glauber de Oliveira Costa  <glommer@gmail.com>
45035         * elf/elf.h: Add new ARM TLS relocs.
45037 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45040         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45041         cast from r3.
45042         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45043         'tests' variable.
45044         * sysdeps/wordsize-64/tst-writev.c: New file.
45046 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45048         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45049         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45050         insns in _dl_start to prevent a TOC reference before relocs are
45051         resolved.
45053 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45055         [BZ #12469]
45056         * Makeconfig: Remove RANLIB definition.
45057         * Makerules: Don't use RANLIB.
45058         * aclocal.m4: Remove ranlib test.
45059         * configure.in: No need to check for ranlib.
45060         * elf/rtld-Rules: Don't use RANLIB.
45062 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45064         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45065         protection macro.
45066         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45067         inclusion protection macro.
45069         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45070         SIGRTMIN and SIGRTMAX and print information in that case only when
45071         SIGRTMIN is defined.
45073 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45075         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45076         arginfo fn returning -1.
45078         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45079         and thousands string is zero terminated.
45081 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45083         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45084         sysdeps/unix/sysv/linux/bits/socket.h.
45086 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45088         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45089         (__CPU_COUNT): Remove old macros.
45090         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45091         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45092         (__CPU_ALLOC, __CPU_FREE): Add macros.
45093         (__sched_cpualloc, __sched_cpufree): Add declarations.
45095 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45097         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45098         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45099         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45100         (readdhstai): Return value of addhstaiX call.
45101         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45102         (addgrbyX): Return value returned by cache_addgr.
45103         (readdgrbyname): Return value returned by addgrbyX.
45104         (readdgrbygid): Likewise.
45105         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45106         (addpwbyX): Return value returned by cache_addpw.
45107         (readdpwbyname): Return value returned by addhstbyX.
45108         (readdpwbyuid): Likewise.
45109         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45110         (addservbyX): Return value returned by cache_addserv.
45111         (readdservbyname): Return value returned by addservbyX:
45112         (readdservbyport): Likewise.
45113         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45114         (addhstbyX): Return value returned by cache_addhst.
45115         (readdhstbyname): Return value returned by addhstbyX.
45116         (readdhstbyaddr): Likewise.
45117         (readdhstbynamev6): Likewise.
45118         (readdhstbyaddrv6): Likewise.
45119         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45120         (readdinitgroups): Return value returned by addinitgroupsX.
45121         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45122         (prune_cache): Keep track of timeout value of re-added entries.
45123         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45124         * nscd/nscd.h: Adjust prototypes of readd* functions.
45126 2011-02-04  Roland McGrath  <roland@redhat.com>
45128         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45129         (nis_stats): Likewise.
45130         * nis/nis_modify.c (nis_modify): Likewise.
45131         * nis/nis_remove.c (nis_remove): Likewise.
45132         * nis/nis_add.c (nis_add): Likewise.
45134         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45136         * posix/fnmatch_loop.c: Add some consts.
45138         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45140 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45142         [BZ #12460]
45143         * config.make.in (config-cflags-novzeroupper): Define.
45144         * configure.in: Substitute libc_cv_cc_novzeroupper.
45145         * elf/Makefile (AVX-CFLAGS): Define.
45146         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45147         (CFLAGS-tst-auditmod4a.c): Likewise.
45148         (CFLAGS-tst-auditmod4b.c): Likewise.
45149         (CFLAGS-tst-auditmod6b.c): Likewise.
45150         (CFLAGS-tst-auditmod6c.c): Likewise.
45151         (CFLAGS-tst-auditmod7b.c): Likewise.
45152         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45154 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45156         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45157         function to the callback.
45158         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45160 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45162         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45163         of errno.
45165 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45167         [BZ #11724]
45168         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45169         of constructors.
45170         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45171         of destructors.
45172         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45174         [BZ #11724]
45175         * elf/Makefile: Add rules to build and run new test.
45176         * elf/tst-initorder.c: New file.
45177         * elf/tst-initorder.exp: New file.
45178         * elf/tst-initordera1.c: New file.
45179         * elf/tst-initordera2.c: New file.
45180         * elf/tst-initordera3.c: New file.
45181         * elf/tst-initordera4.c: New file.
45182         * elf/tst-initorderb1.c: New file.
45183         * elf/tst-initorderb2.c: New file.
45184         * elf/tst-order-a1.c: New file.
45185         * elf/tst-order-a2.c: New file.
45186         * elf/tst-order-a3.c: New file.
45187         * elf/tst-order-a4.c: New file.
45188         * elf/tst-order-b1.c: New file.
45189         * elf/tst-order-b2.c: New file.
45190         * elf/tst-order-main.c: New file.
45191         New test case by George Gensure <werkt0@gmail.com>.
45193 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45196         decoding ACE if AI_CANONIDN.
45198 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45200         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45202 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45204         * version.h (RELEASE): Bump for 2.13 release.
45205         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45207         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45209         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45210         MADV_NOHUGEPAGE.
45211         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45212         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45213         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45214         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45215         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45216         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45218         * posix/getconf.c: Update copyright year.
45219         * catgets/gencat.c: Likewise.
45220         * csu/version.c: Likewise.
45221         * debug/catchsegv.sh: Likewise.
45222         * debug/xtrace.sh: Likewise.
45223         * elf/ldconfig.c: Likewise.
45224         * elf/ldd.bash.in: Likewise.
45225         * elf/sprof.c (print_version): Likewise.
45226         * iconv/iconv_prog.c: Likewise.
45227         * iconv/iconvconfig.c: Likewise.
45228         * locale/programs/locale.c: Likewise.
45229         * locale/programs/localedef.c: Likewise.
45230         * malloc/memusage.sh: Likewise.
45231         * malloc/mtrace.pl: Likewise.
45232         * nscd/nscd.c (print_version): Likewise.
45233         * nss/getent.c: Likewise.
45235         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45236         PF_CAIF, and PF_ALG.
45237         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45239 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45241         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45242         (modules-names): Use them.
45243         (ifunc-test-modules, ifunc-pie-tests): Define.
45244         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45245         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45246         (test-extras): Likewise.
45247         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45248         $(compile-command.c).
45249         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45250         (all-built-dso): Define.
45251         (check-textrel.out, check-execstack.out): Depend on it.
45253         * configure.in: Don't override --enable-multi-arch.
45255 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45257         [BZ #6812]
45258         * nscd/hstcache.c (tryagain): Define.
45259         (cache_addhst): Return tryagain not notfound for temporary errors.
45260         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45261         failed.
45263 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45265         [BZ #10563]
45266         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45267         to make the syscall.
45268         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45270         [BZ #12378]
45271         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45272         and fall back to matching as normal character if the string ends before
45273         the matching ']' is found.  This is what POSIX requires.
45274         * posix/testfnm.c: Adjust test result.
45275         * posix/globtest.sh: Adjust test result.  Add new test.
45276         * posix/tst-fnmatch.input: Likewise.
45277         * posix/tst-fnmatch2.c: Add new test.
45279 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45281         * elf/Makefile (check-execstack): Revert last change.  Depend on
45282         check-execstack.h.
45283         (check-execstack.h): New target.
45284         (generated): Add check-execstack.h.
45285         * elf/check-execstack.c: Include "check-execstack.h".
45286         (main): Revert last change.
45287         (handle_file): Return zero if GNU_STACK is absent and
45288         DEFAULT_STACK_PERMS doesn't include PF_X.
45290 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45292         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45293         in child fails because the descriptor is already closed.
45294         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45295         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45296         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45298         [BZ #12397]
45299         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45300         syscall.
45302         [BZ #10484]
45303         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45304         temporary buffer used to handle multi lookups locally.
45305         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45307 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45309         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45310         loader is ld.so.
45312 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45314         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45315         alignment for SSE2.
45317 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45319         [BZ #12394]
45320         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45321         characters.  When rounding increased number of integer digits recompute
45322         number of groups.
45323         * stdio-common/tst-grouping.c: New file.
45324         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45326 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45328         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45329         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45331         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45332         void.
45333         * bits/select.h: Likewise.
45335 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45337         * po/ja.po: Update from translation team.
45339 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45341         [BZ #11155]
45342         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45343         implementation just like for lxstat, fxstatat, et al.
45345 2010-12-27  Jim Meyering  <meyering@redhat.com>
45347         [BZ #12348]
45348         * posix/regexec.c (build_trtable): Return failure indication upon
45349         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45351 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45353         [BZ #12201]
45354         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45355         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45356         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45357         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45359         [BZ #12207]
45360         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45362         [BZ #12204]
45363         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45364         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45366 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45368         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45369         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45370         script has SORT_BY_INIT_PRIORITY.
45371         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45372         NO_CTORS_DTORS_SECTIONS is defined.
45373         * elf/soinit.c: Likewise.
45374         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45375         NO_CTORS_DTORS_SECTIONS is defined.
45376         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45377         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45378         * sysdeps/sh/init-first.c: Likewise.
45379         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45381 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45383         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45384         always use the slow path.
45386 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45388         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45389         similar rule which adds the sysdep directories to the header search in
45390         order to pick up the correct platform stackinfo.h.
45391         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45392         perform test if it is, otherwise return successfully without testing.
45393         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45394         DEFAULT_STACK_PERMS define in stackinfo.h.
45395         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45396         defined in stackinfo.h.
45397         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45398         DEFAULT_STACK_PERMS defined in stackinfo.h.
45399         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45400         * sysdeps/ia64/stackinfo.h: Likewise.
45401         * sysdeps/s390/stackinfo.h: Likewise.
45402         * sysdeps/sh/stackinfo.h: Likewise.
45403         * sysdeps/sparc/stackinfo.h: Likewise.
45404         * sysdeps/x86_64/stackinfo.h: Likewise.
45405         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45406         PF_X for powerpc64.  Retain PF_X for powerpc32.
45408 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45410         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45411         accurately.
45412         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45413         GETDENTS_64BIT_ALIGNED.
45415 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45417         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45419 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45421         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45422         _GNU_SOURCE.
45424         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45425         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45426         Remove __restrict.
45427         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45428         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45430 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45432         [BZ #11655]
45433         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45434         are initialized.
45436 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45438         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45440 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45442         * po/it.po: Update from translation team.
45444 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45446         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45447         unused codes.
45449 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45451         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45453 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45455         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45456         specially.
45457         (gaih_getanswer_slice): Likewise.
45459 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45461         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45463 2010-05-31  Petr Baudis  <pasky@suse.cz>
45465         [BZ #11149]
45466         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45467         silently even in the chroot mode.
45469 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45471         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45472         last patch a bit.  Pretty printing
45474 2010-05-31  Petr Baudis <pasky@suse.cz>
45476         [BZ #10085]
45477         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45478         initialization of skip_initgroups_dyn.
45480 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45482         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45483         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45485 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45487         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45489 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45491         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45492         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45493         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45494         ($(objpfx)tst-fnmatch-mem): New rule.
45495         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45496         * posix/tst-fnmatch.c (main): Call mtrace.
45498 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45500         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45501         Support Intel processor model 6 and model 0x2c.
45503 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45505         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45506           signed comparison.
45508 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45510         [BZ #12205]
45511         * string/test-strncasecmp.c (check_result): New function.
45512         (do_one_test): Use it.
45513         (check1): New function.
45514         (test_main): Use it.
45515         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45516         Support strcasecmp and strncasecmp.
45518 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45520         [BZ #12194]
45521         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45522         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45524 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45526         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45527         IFUNC support.
45528         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45529         memset-x86-64.
45530         * sysdeps/x86_64/multiarch/bzero.S: New file.
45531         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45532         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45533         * sysdeps/x86_64/multiarch/memset.S: New file.
45534         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45535         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45536         Set bit_Prefer_SSE_for_memop for Intel processors.
45537         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45538         Define.
45539         (index_Prefer_SSE_for_memop): Define.
45540         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45542 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45544         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45545         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45547 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45549         [BZ #12191]
45550         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45551         (__x86_64_raw_data_cache_size_half): Likewise.
45552         (__x86_64_raw_shared_cache_size): Likewise.
45553         (__x86_64_raw_shared_cache_size_half): Likewise.
45555         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45556         (__x86_64_raw_data_cache_size_half): Likewise.
45557         (__x86_64_raw_shared_cache_size): Likewise.
45558         (__x86_64_raw_shared_cache_size_half): Likewise.
45559         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45560         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45561         and __x86_64_raw_shared_cache_size_half.  Round
45562         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45563         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45564         to multiple of 256 bytes.
45566 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45568         [BZ #12167]
45569         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45570         of inacessible symlinks.  Verify result of symlink before returning it.
45571         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45572         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45574 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45576         * math/math.h (isinf): Fix typo in comment.
45578 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45580         * po/da.po: Update from translation team.
45582 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45584         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45585         is added to the list.
45587 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45588             Ulrich Drepper  <drepper@gmail.com>
45590         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45591         the global list here.  Move code to...
45592         (_dl_add_to_namespace_list): ...here.  New function.
45593         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45594         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45595         * elf/dl-load.c (lose): Don't remove the element from the list.
45596         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45597         (_dl_map_object): Likewise.
45599 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45601         [BZ #12159]
45602         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45603         into all bytes of SSE register.
45604         Patch by Richard Li <richardpku@gmail.com>.
45606 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45608         [BZ #12140]
45609         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45610         perturbing.
45612 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45614         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45615         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45616         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45617         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45619         submachine.
45620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45622 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45624         * include/dlfcn.h (__RTLD_SECURE): Define.
45625         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45626         mode & __RTLD_SECURE instead.
45627         (open_path): Rename preloaded parameter to secure.
45628         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45629         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45630         * elf/dl-deps.c (openaux): Likewise.
45631         * elf/rtld.c (struct map_args): Remove is_preloaded.
45632         (map_doit): Don't use it.
45633         (dl_main): Likewise.
45634         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45635         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45637 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45639         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45640         (sysd-rules-targets): Remove duplicates.
45641         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45642         rtld-%.$o dependency.
45644 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45646         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45647         _dl_map_object do it.
45649 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45651         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45652         fast fma builtins, define the macros in the C99 standard.
45653         (FP_FAST_FMAF): Likewise.
45654         (FP_FAST_FMAL): Likewise.
45655         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45657         * bits/mathdef.h: Update copyright year.
45658         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45660 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45662         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45663         builtins, define the macros in the C99 standard.
45664         (FP_FAST_FMAF): Likewise.
45665         (FP_FAST_FMAL): Likewise.
45666         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45667         multiply/add.
45668         (FP_FAST_FMAF): Likewise.
45670 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45672         [BZ #3268]
45673         * math/libm-test.inc (fma_test): Some new testcases.
45674         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45675         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45676         y and infinite z.  Do multiplication by C already in long double.
45677         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45678         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45679         y and infinite z.  Do bitwise or of inexact bit into u.d.
45680         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45681         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45682         * sysdeps/i386/fpu/s_fma.S: Removed.
45683         * sysdeps/i386/fpu/s_fmal.S: Removed.
45685 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45687         [BZ #3268]
45688         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45690         computation is not scheduled after fetestexcept.  Fix value
45691         of minimum denormal long double.
45693 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45695         [BZ #3268]
45696         * math/libm-test.inc (fma_test): Add some more tests.
45697         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45698         correctly.
45700 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45702         * scripts/data/localplt-s390-linux-gnu.data: New file.
45703         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45705 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45707         [BZ #3268]
45708         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45709         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45710         instead of dbl-64.
45711         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45712         inlines.
45713         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45714         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45715         if one of x and y is very large and the other is subnormal.
45716         * sysdeps/s390/fpu/s_fmaf.c: New file.
45717         * sysdeps/s390/fpu/s_fma.c: New file.
45718         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45719         * sysdeps/powerpc/fpu/s_fma.S: New file.
45720         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45721         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45722         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45724 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45726         [BZ #3268]
45727         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45728         fma tests.
45729         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45730         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45731         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45732         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45733         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45734         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45735         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45737 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45739         [BZ #12078]
45740         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45741         * posix/bug-regex31.input: Add test case.
45743 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45745         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45746         * posix/bug-regex31.input: New file.
45748         [BZ #12078]
45749         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45750         (parse_sub_exp): Fix last change, use postorder.
45752         * posix/bug-regex31.c: New file.
45753         * posix/Makefile: Add rules to build and run bug-regex31.
45755         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45757         [BZ #12078]
45758         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45760         [BZ #12108]
45761         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45762         to have entries in sys_siglist.
45764         [BZ #12093]
45765         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45766         be NULL.
45768 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45770         [BZ #3268]
45771         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45772         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45773         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45774         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45775         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45776         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45777         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45778         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45779         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45780         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45781         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45782         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45783         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45784         * math/ftestexcept.c (fetestexcept): Likewise.
45785         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45786         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45787         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45788         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45789         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45790         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45791         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45793 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45795         [BZ #12107]
45796         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45797         newline.
45799 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45801         * string/bug-strstr1.c: New file.
45802         * string/Makefile: Add rules to build and run bug-strstr1.
45804 2010-10-05  Eric Blake  <eblake@redhat.com>
45806         [BZ #12092]
45807         * string/str-two-way.h (two_way_long_needle): Always clear memory
45808         when skipping input due to the shift table.
45810 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45812         [BZ #12005]
45813         * malloc/mcheck.c: Handle large requests.
45815         [BZ #12077]
45816         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45817         for strncmp and strncasecmp.
45818         * string/stratcliff.c: Add tests for strcmp and strncmp.
45819         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45821 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45823         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45824         __set_fpscr.
45826 2010-09-30  Andreas Jaeger  <aj@suse.de>
45828         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45829         (CGROUP_SUPER_MAGIC): Define.
45830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45831         Handle btrfs and cgroup file systems.
45832         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45833         Likewise.
45835 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45837         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45838         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45840 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45842         [BZ #12067]
45843         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45844         trying to locate the ELF header.
45846 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45848         [BZ #11611]
45849         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45850         Mask out sign-bit copies when constructing f_fsid.
45852 2010-09-24  Petr Baudis <pasky@suse.cz>
45854         * debug/stack_chk_fail_local.c: Add missing licence exception.
45855         * debug/warning-nop.c: Likewise.
45857 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45859         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45860         implementing getdents64 using getdents syscall, set d_type if
45861         __ASSUME_GETDENTS32_D_TYPE.
45863 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45865         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45866         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45868 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45870         [BZ #12037]
45871         * posix/unistd.h: Undo change of feature selection for ftruncate from
45872         2010-01-11.
45874 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45876         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45877         detection.
45879 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45881         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45882         fanotify_mark.
45883         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45885 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45887         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45888         variables after CHECK_SP call.
45889         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45891 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45892             Ulrich Drepper  <drepper@redhat.com>
45894         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45895         re-relocationg ld.so.
45896         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45897         _dl_init_paths call.
45898         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45899         here anymore.
45901 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45903         * resolv/res_init.c (__res_vinit): Count the default server we added.
45905 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45906             Ulrich Drepper  <drepper@redhat.com>
45908         [BZ #11968]
45909         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45910         (____longjmp_chk): Use %ebx for saving value across system call.
45911         Add unwind info.
45913 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45915         * manual/Makefile: Don't mix pattern rules with normal rules.
45917 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45919         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45920         operation.
45921         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45922         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45923         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
45924         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
45925         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45926         Likewise.
45928 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
45930         [BZ #11979]
45931         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
45932         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
45934 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
45936         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
45937         * sysdeps/x86_64/addmul_1.S: Likewise.
45938         * sysdeps/x86_64/lshift.S: Likewise.
45939         * sysdeps/x86_64/mul_1.S: Likewise.
45940         * sysdeps/x86_64/rshift.S: Likewise.
45941         * sysdeps/x86_64/sub_n.S: Likewise.
45942         * sysdeps/x86_64/submul_1.S: Likewise.
45944 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45946         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
45947         Define __sched_param instead of SCHED_* and sched_param when
45948         <bits/sched.h> is included with __need_schedparam defined.
45949         * bits/sched.h [__need_schedparam]
45950         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
45951         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
45952         (__defined_schedparam): Define to 1.
45953         (__sched_param): New structure, identical to sched_param.
45954         (__need_schedparam): Undefine.
45956 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
45958         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
45959         (epoll_create1): Declare.
45961         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
45963 2010-08-31  Andreas Schwab  <schwab@redhat.com>
45965         [BZ #7066]
45966         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
45967         shifting retval into place.
45969 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
45971         * nis/rpcsvc/nis.h: Update copyright notice.
45972         * nis/rpcsvc/nis.x: Likewise.
45973         * nis/rpcsvc/nis_callback.h: Likewise.
45974         * nis/rpcsvc/nis_callback.x: Likewise.
45975         * nis/rpcsvc/nis_object.x: Likewise.
45976         * nis/rpcsvc/nis_tags.h: Likewise.
45977         * nis/rpcsvc/yp.h: Likewise.
45978         * nis/rpcsvc/yp.x: Likewise.
45979         * nis/rpcsvc/ypupd.h: Likewise.
45980         * nis/yp_xdr.c: Likewise.
45981         * nis/ypupdate_xdr.c: Likewise.
45983         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
45984         mainly the body of pmap_getport.  Add parameters to specify timeouts.
45985         (pmap_getport): Use __libc_rpc_getport.
45986         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
45987         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
45988         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
45990 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
45992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
45993         fanotify_mark.
45995 2010-08-27  Roland McGrath  <roland@redhat.com>
45997         * sysdeps/i386/i686/multiarch/Makefile
45998         (CFLAGS-varshift.c): New variable.
46000 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46002         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46003         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46005         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46007         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46009 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46011         * sysdeps/x86_64/strlen.S: Unroll the loop.
46012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46013         strlen-sse2 strlen-sse2-bsf.
46014         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46015         __strlen_no_bsf if bit_Slow_BSF is set.
46016         (__strlen_sse42): Removed.
46017         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46018         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46020 2010-08-25  Roland McGrath  <roland@redhat.com>
46022         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46023         * sysdeps/x86_64/multiarch/varshift.c: New file.
46024         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46025         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46026         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46027         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46029 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46031         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46032         strlen-sse2 strlen-sse2-bsf.
46033         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46034         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46035         (__strlen_sse2): Removed.
46036         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46037         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46038         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46039         bit_Slow_BSF for Atom.
46040         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46041         (index_Slow_BSF): Define.
46042         (HAS_SLOW_BSF): Define.
46044 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46046         [BZ #10851]
46047         * resolv/res_init.c (__res_vinit): When no server address at all
46048         is given default to loopback.
46050 2010-08-24  Roland McGrath  <roland@redhat.com>
46052         * configure.in: Remove config-name.h generation.
46053         * configure: Regenerated.
46054         * config-name.in: File removed.
46055         * scripts/config-uname.sh: New file.
46056         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46057         ($(objdir)config-name.h): New target.
46059         * sunrpc/rpc_parse.h: Avoid nested comment.
46061 2010-08-24  Richard Henderson  <rth@redhat.com>
46062             Ulrich Drepper  <drepper@redhat.com>
46063             H.J. Lu  <hongjiu.lu@intel.com>
46065         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46066         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46067         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46068         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46069         _mm_alignr_epi8 with _mm_loadu_si128.
46070         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46071         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46072         (__m128i_shift_right): Removed.
46073         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46074         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46075         * sysdeps/x86_64/multiarch/varshift.h: New file.
46076         * sysdeps/x86_64/multiarch/varshift.S: New file.
46078 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46080         * configure.in: Move assembler checks to before sysdep dir checking.
46082 2010-08-20  Petr Baudis  <pasky@suse.cz>
46084         * LICENSES: Sync the sunrpc license.
46086 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46088         * sunrpc/auth_des.c: Update copyright notice once again.
46089         * sunrpc/auth_none.c: Likewise.
46090         * sunrpc/auth_unix.c: Likewise.
46091         * sunrpc/authdes_prot.c: Likewise.
46092         * sunrpc/authuxprot.c: Likewise.
46093         * sunrpc/bindrsvprt.c: Likewise.
46094         * sunrpc/clnt_gen.c: Likewise.
46095         * sunrpc/clnt_perr.c: Likewise.
46096         * sunrpc/clnt_raw.c: Likewise.
46097         * sunrpc/clnt_simp.c: Likewise.
46098         * sunrpc/clnt_tcp.c: Likewise.
46099         * sunrpc/clnt_udp.c: Likewise.
46100         * sunrpc/clnt_unix.c: Likewise.
46101         * sunrpc/des_crypt.c: Likewise.
46102         * sunrpc/des_soft.c: Likewise.
46103         * sunrpc/get_myaddr.c: Likewise.
46104         * sunrpc/getrpcport.c: Likewise.
46105         * sunrpc/key_call.c: Likewise.
46106         * sunrpc/key_prot.c: Likewise.
46107         * sunrpc/openchild.c: Likewise.
46108         * sunrpc/pm_getmaps.c: Likewise.
46109         * sunrpc/pm_getport.c: Likewise.
46110         * sunrpc/pmap_clnt.c: Likewise.
46111         * sunrpc/pmap_prot.c: Likewise.
46112         * sunrpc/pmap_prot2.c: Likewise.
46113         * sunrpc/pmap_rmt.c: Likewise.
46114         * sunrpc/rpc/auth.h: Likewise.
46115         * sunrpc/rpc/auth_unix.h: Likewise.
46116         * sunrpc/rpc/clnt.h: Likewise.
46117         * sunrpc/rpc/des_crypt.h: Likewise.
46118         * sunrpc/rpc/key_prot.h: Likewise.
46119         * sunrpc/rpc/netdb.h: Likewise.
46120         * sunrpc/rpc/pmap_clnt.h: Likewise.
46121         * sunrpc/rpc/pmap_prot.h: Likewise.
46122         * sunrpc/rpc/pmap_rmt.h: Likewise.
46123         * sunrpc/rpc/rpc.h: Likewise.
46124         * sunrpc/rpc/rpc_des.h: Likewise.
46125         * sunrpc/rpc/rpc_msg.h: Likewise.
46126         * sunrpc/rpc/svc.h: Likewise.
46127         * sunrpc/rpc/svc_auth.h: Likewise.
46128         * sunrpc/rpc/types.h: Likewise.
46129         * sunrpc/rpc/xdr.h: Likewise.
46130         * sunrpc/rpc_clntout.c: Likewise.
46131         * sunrpc/rpc_cmsg.c: Likewise.
46132         * sunrpc/rpc_common.c: Likewise.
46133         * sunrpc/rpc_cout.c: Likewise.
46134         * sunrpc/rpc_dtable.c: Likewise.
46135         * sunrpc/rpc_hout.c: Likewise.
46136         * sunrpc/rpc_main.c: Likewise.
46137         * sunrpc/rpc_parse.c: Likewise.
46138         * sunrpc/rpc_parse.h: Likewise.
46139         * sunrpc/rpc_prot.c: Likewise.
46140         * sunrpc/rpc_sample.c: Likewise.
46141         * sunrpc/rpc_scan.c: Likewise.
46142         * sunrpc/rpc_scan.h: Likewise.
46143         * sunrpc/rpc_svcout.c: Likewise.
46144         * sunrpc/rpc_tblout.c: Likewise.
46145         * sunrpc/rpc_util.c: Likewise.
46146         * sunrpc/rpc_util.h: Likewise.
46147         * sunrpc/rpcinfo.c: Likewise.
46148         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46149         * sunrpc/rpcsvc/key_prot.x: Likewise.
46150         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46151         * sunrpc/rpcsvc/mount.x: Likewise.
46152         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46153         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46154         * sunrpc/rpcsvc/rex.x: Likewise.
46155         * sunrpc/rpcsvc/rstat.x: Likewise.
46156         * sunrpc/rpcsvc/rusers.x: Likewise.
46157         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46158         * sunrpc/rpcsvc/spray.x: Likewise.
46159         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46160         * sunrpc/rtime.c: Likewise.
46161         * sunrpc/svc.c: Likewise.
46162         * sunrpc/svc_auth.c: Likewise.
46163         * sunrpc/svc_authux.c: Likewise.
46164         * sunrpc/svc_raw.c: Likewise.
46165         * sunrpc/svc_run.c: Likewise.
46166         * sunrpc/svc_simple.c: Likewise.
46167         * sunrpc/svc_tcp.c: Likewise.
46168         * sunrpc/svc_udp.c: Likewise.
46169         * sunrpc/svc_unix.c: Likewise.
46170         * sunrpc/svcauth_des.c: Likewise.
46171         * sunrpc/xcrypt.c: Likewise.
46172         * sunrpc/xdr.c: Likewise.
46173         * sunrpc/xdr_array.c: Likewise.
46174         * sunrpc/xdr_float.c: Likewise.
46175         * sunrpc/xdr_mem.c: Likewise.
46176         * sunrpc/xdr_rec.c: Likewise.
46177         * sunrpc/xdr_ref.c: Likewise.
46178         * sunrpc/xdr_sizeof.c: Likewise.
46179         * sunrpc/xdr_stdio.c: Likewise.
46181         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46182         handling.
46184 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46186         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46188 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46190         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46191         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46192         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46193         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46194         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46195         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46196         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46197         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46198         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46199         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46200         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46201         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46202         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46203         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46205 2010-07-26  Anton Blanchard  <anton@samba.org>
46207         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46208         * malloc/arena.c (heap_trim): Likewise.
46210 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46212         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46213         here.  Not...
46214         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46215         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46217 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46219         * sysdeps/i386/elf/Makefile: New file.
46221 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46223         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46224         from fanotify_init.
46225         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46226         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46228 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46230         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46231         of strncasecmp_l.
46232         * sysdeps/multiarch/strcmp.S: Likewise.
46234 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46236         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46237         strncase_l-nonascii.
46238         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46239         Add strncase_l-ssse3.
46240         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46241         * sysdeps/x86_64/strcmp.S: Likewise.
46242         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46243         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46244         * sysdeps/x86_64/strncase.S: New file.
46245         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46246         * sysdeps/x86_64/strncase_l.S: New file.
46247         * string/Makefile (strop-tests): Add strncasecmp.
46248         * string/test-strncasecmp.c: New file.
46250         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46251         warning.
46253         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46254         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46256 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46258         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46260 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46262         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46263         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46264         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46266 2010-05-01  Alan Modra  <amodra@gmail.com>
46268         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46269         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46270         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46271         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46272         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46273         tidying.  Don't tail-call __sigjmp_save for static lib.
46274         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46275         save location.
46276         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46277         (CALL_MCOUNT): Add eh info, and nop after bl.
46278         (TAIL_CALL_SYSCALL_ERROR): New macro.
46279         (PSEUDO_RET): Use it.
46280         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46281         Correct save location of integer regs and cr.
46282         (_dl_profile_resolve): Correct cr save location.  Delete nops
46283         after bl when SHARED.  Reduce cfi size a little by better
46284         placement of cfi directives.
46285         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46286         make a stack frame.  Instead use parm save area as a temp.
46287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46288         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46290         Don't make a stack frame for parent, use parm save area.
46291         Increase child stack frame to 112 bytes.  Don't save unused reg,
46292         and adjust reg usage.  Set up cfi on error recovery and
46293         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46295         (__makecontext): Add dummy nop after jump to exit.
46296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46297         Use correct parm save area and cr save, reduce stack frame.
46298         Correct cfi for possible PSEUDO_RET frame setup.
46299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46300         Branch to local label emitted by PSEUDO_RET rather than
46301         __syscall_error.
46303 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46305         [BZ #11904]
46306         * locale/programs/locale.c (print_assignment): New function.
46307         (show_locale_vars): Use it.
46309 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46311         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46312         field.
46313         (struct statfs64): Likewise.
46314         (_STATFS_F_FLAGS): Define.
46315         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46316         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46317         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46318         (ST_VALID): Define locally.
46319         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46320         __statvfs_getflags, use the provided value.
46321         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46322         __ASSUME_STATFS_F_FLAGS.
46324         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46326         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46327         Add sys/fanotify.h.
46328         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46329         fanotify_mask for GLIBC_2.13.
46330         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46331         fanotify_init and fanotify_mark.
46332         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46333         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46335         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46336         Add prlimit.
46337         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46338         prlimit64 for GLIBC_2.13.
46339         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46340         prlimit64.
46341         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46342         syscall.
46343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46344         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46345         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46346         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46347         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46348         add prlimit alias.
46349         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46351         [BZ #11903]
46352         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46353         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46355         * nss/Makefile: Add rules to build and run tst-nss-test1.
46356         * shlib-versions: Add entry for libnss_test1.
46357         * nss/nss_test1.c: New file.
46358         * nss/tst-nss-test1.c: New file.
46360         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46361         (__nss_configure_lookup): Set appropriate entry in
46362         __nss_configure_lookup to true.
46363         * nss/nsswitch.h: Define enum with indeces of databases in
46364         databases and __nss_database_custom arrays.  Declare
46365         __nss_database_custom.
46366         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46367         to avoid using nscd when custom rules are installed.
46368         * nss/getXXbyYY_r.c: Likewise.
46369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46371         * nss/nss_files/files-parse.c: Whitespace fixes.
46373 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46375         [BZ #11883]
46376         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46377         * posix/fnmatch_loop.c: Likewise.
46379 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46381         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46382         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46383         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46384         * Versions.def [GLIBC_2.13]: Add.
46386 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46388         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46389         Also fail if tpwd after pwuid call is NULL.
46391 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46393         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46394         when converting to ms.
46396 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46398         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46399         EOPNOTSUPP errors with ENOTTY.
46400         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46401         EOPNOTSUPP errors with ENOTTY.
46403 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46405         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46406         Add strcasecmp_l-ssse3.
46407         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46408         strcasecmp.
46409         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46410         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46411         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46413 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46415         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46417         * string/Makefile (strop-tests): Add strcasecmp.
46418         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46419         strcasecmp_l-nonascii.
46420         (gen-as-const-headers): Add locale-defines.sym.
46421         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46422         * sysdeps/x86_64/strcasecmp.S: New file.
46423         * sysdeps/x86_64/strcasecmp_l.S: New file.
46424         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46425         * sysdeps/x86_64/locale-defines.sym: New file.
46426         * string/test-strcasecmp.c: New file.
46428         * string/test-strcasestr.c: Test both ends of the range of characters.
46429         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46431 2010-07-29  Roland McGrath  <roland@redhat.com>
46433         [BZ #11856]
46434         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46436 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46438         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46439         for ld.so.
46441 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46443         * manual/memory.texi (Malloc Tunable Parameters): Document
46444         M_PERTURB.
46446 2010-07-26  Roland McGrath  <roland@redhat.com>
46448         [BZ #11840]
46449         * configure.in (-fgnu89-inline check): Set and substitute
46450         gnu89_inline, not libc_cv_gnu89_inline.
46451         * configure: Regenerated.
46452         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46454 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46456         * string/test-strnlen.c: New file.
46457         * string/Makefile (strop-tests): Add strnlen.
46458         * string/tester.c (test_strnlen): Add a few more test cases.
46459         * string/tst-strlen.c: Better error reporting.
46461         * sysdeps/x86_64/strnlen.S: New file.
46463 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46465         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46466         lower-latency instructions.
46468 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46470         * string/test-strcasestr.c: New file.
46471         * string/test-strstr.c: New file.
46472         * string/Makefile (strop-tests): Add strstr and strcasestr.
46473         * string/str-two-way.h: Don't undefine MAX.
46474         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46476 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46478         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46479         strcasestr-nonascii.
46480         (CFLAGS-strcasestr-nonascii.c): Define.
46481         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46482         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46483         Remove unused attribute.
46485 2010-07-20  Roland McGrath  <roland@redhat.com>
46487         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46488         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46489         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46490         like LD_HWCAP_MASK can disable hwcaps.
46492 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46494         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46496 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46498         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46499         call in strcasestr.
46500         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46501         __strcasestr_sse42_nonascii.
46502         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46503         strcasestr-nonascii.c.
46504         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46506 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46508         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46509         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46510         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46511         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46513 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46516         fcntl.
46518 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46520         [BZ #11577]
46521         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46522         dl_signal_cerror.
46524 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46526         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46527         _PC_PIPE_BUF using F_GETPIPE_SZ.
46529 2010-07-05  Roland McGrath  <roland@redhat.com>
46531         * manual/arith.texi (Rounding Functions): Fix rint description
46532         implicit in round description.
46534 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46536         * elf/Makefile: Fix linking for a few tests to make recent linker
46537         happy.
46539 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46541         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46542         $(common-objpfx)libc_nonshared.a.
46544 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46546         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46547         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46548         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46549         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46550         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46551         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46552         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46553         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46568         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46569         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46570         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46571         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46572         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46573         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46574         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46575         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46576         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46577         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46578         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46579         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46595 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46597         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46598         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46599         * string/memmove.c (memmove): Renamed to ...
46600         (MEMMOVE): ...this.  Default to memmove.
46601         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46602         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46603         (END_CHK): Define.
46604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46605         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46606         mempcpy-ssse3-back memmove-ssse3-back.
46607         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46608         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46609         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46610         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46611         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46612         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46613         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46614         * sysdeps/x86_64/multiarch/memmove.c: New file.
46615         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46616         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46617         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46618         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46619         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46620         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46621         Define.
46622         (index_Fast_Copy_Backward): Define.
46623         (HAS_ARCH_FEATURE): Define.
46624         (HAS_FAST_REP_STRING): Define.
46625         (HAS_FAST_COPY_BACKWARD): Define.
46627 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46629         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46630         Restore proper fallback handling.
46632 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46634         [BZ #11701]
46635         * posix/group_member.c (__group_member): Correct checking loop.
46637         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46638         OOM in getpwuid_r correctly.  Return error number when the caller
46639         should return, otherwise -1.
46640         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46641         call returning > 0 value.
46642         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46644 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46646         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46647         libc_nonshared.a from targets in modules-names.
46649 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46651         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46652         requires it.
46654 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46656         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46657         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46658         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46659         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46661 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46663         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46665 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46667         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46668         and F_GETPIPE_SZ.
46669         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46670         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46671         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46672         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46673         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46674         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46676 2010-06-14  Roland McGrath  <roland@redhat.com>
46678         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46680 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46682         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46683         __REDIRECT followed by __THROW.
46684         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46685         * posix/getopt.h (getopt): Likewise.
46687 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46689         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46690         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46691         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46692         in AT_FLAGS.
46693         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46694         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46696 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46698         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46700 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46702         [BZ #11640]
46703         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46704         Properly check family and model.
46706 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46708         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46710 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46712         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46714 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46716         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46717         symbol reference.
46719 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46721         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46722         symbol reference.
46724 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46726         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46727         and internal_recvmmsg.
46728         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46729         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46730         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46731         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46733         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46734         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46735         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46737 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46739         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46741 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46743         POWER7 optimizations.
46744         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46745         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46747 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46749         * version.h: Update for 2.13 development version.
46751 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46753         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46754         exceptions.  Return 0.
46756 2010-05-07  Roland McGrath  <roland@redhat.com>
46758         * elf/ldconfig.c (main): Add a const.
46760 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46762         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46763         (args_options): Add no-idn option.
46764         (ahosts_keys_int): Add idn_flags to ai_flags.
46765         (parse_option): Handle 'i' option to clear idn_flags.
46767         * malloc/malloc.c (_int_free): Possible race in the most recently
46768         added check.  Only act on the data if no current modification
46769         happened.
46771 See ChangeLog.17 for earlier changes.