alpha: Remove bits/siginfo.h (BZ 16966)
[glibc.git] / ChangeLog
blob8fa58d9b1143e34e28b3fa936c977d322da6d5a9
1 2014-05-20  Richard Henderson  <rth@redhat.com>
3         [BZ #16966]
4         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
6         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8 2014-05-20  Will Newton  <will.newton@linaro.org>
10         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11         Test the return value of the system call in the nocancel case.
13 2014-05-20  Will Newton  <will.newton@linaro.org>
14             Yvan Roux  <yvan.roux@linaro.org>
16         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
17         #include of asm/ptrace.h.
18         (PTRACE_GET_THREAD_AREA): Remove #undef.
19         (PTRACE_GETHBPREGS): Likewise.
20         (PTRACE_SETHBPREGS): Likewise.
21         (struct user_regs_struct): New structure.
22         (struct user_fpsimd_struct): New structure.
23         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
24         #include of asm/ptrace.h and second #include of sys/user.h.
25         (PTRACE_GET_THREAD_AREA): Remove #undef.
26         (PTRACE_GETHBPREGS): Likewise.
27         (PTRACE_SETHBPREGS): Likewise.
28         (ELF_NGREG): Use new struct user_regs_struct.
29         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
36 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38         [BZ #16958]
39         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
40         membar to avoid block loads/stores to overlap previous stores.
42 2014-05-17  Richard Henderson  <rth@redhat.com>
44         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
45         Create the __##syscall_name##_nocancel entry point.
46         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
47         Remove; let the sysdep-cancel.h code create it.
49 2014-05-17  David S. Miller  <davem@davemloft.net>
51         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52         Protect with __USE_GNU.
53         (TIOCSET_TEMPT): Likewise.
54         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
55         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
56         these are already provided in bits/ioctl-types.h
58 2014-05-16  Roland McGrath  <roland@hack.frob.com>
60         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
61         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
63         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
64         Use wait4 regardless of [__NR_waitpid].
66 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
68         PR libgcc/60166
69         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
70         (_FP_NANSIGN_Q): Set the quiet bit.
72 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
74         * benchtests/Makefile
75         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
76         not $(common-objpfx)math/libm.so.
77         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
78         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
79         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
80         $(common-objpfx)dlfcn/libdl.so.
81         ($(objpfx)tst-audit8): Depend on $(libm), not
82         $(common-objpfx)math/libm.so.
83         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
84         not $(common-objpfx)dlfcn/libdl.so.
85         * math/Makefile
86         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
87         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
88         [$(build-shared) = yes].
89         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
90         $(common-objpfx)nptl/libpthread.so.
91         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
92         $(common-objpfx)math/libm.so$(libm.so-version) or
93         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
94         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
95         $(common-objpfx)dlfcn/libdl.so.
96         * setjmp/Makefile (link-libm): Remove variable.
97         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
98         * stdio-common/Makefile (link-libm): Remove variable.
99         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
100         * stdlib/Makefile (link-libm): Remove variable.
101         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
102         ($(objpfx)tst-strtod-round): Likewise.
103         ($(objpfx)tst-tininess): Likewise.
104         ($(objpfx)tst-strtod-underflow): Likewise.
105         ($(objpfx)tst-strtod6): Likewise.
106         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
107         $(libdl), not $(common-objpfx)nptl/libpthread.so and
108         $(common-objpfx)dlfcn/libdl.so.
110 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
112         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
113         BSD terminal modes definitions.
115 2014-05-16  Roland McGrath  <roland@hack.frob.com>
117         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
118         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
120         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
121         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
122         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
123         Don't do #include_next.
124         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
125         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
126         Don't do #include_next.
127         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
128         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
129         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
130         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
132 2014-05-16  Allan McRae  <allan@archlinux.org>
134         * po/sv.po: Update Swedish translation from translation project.
136         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
137         in sed expression.
139 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
141         [BZ #16917]
142         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
143         errno if the TIOCGPTN ioctl fails with an error different than
144         EINVAL.
145         * login/tst-ptsname.c: New file.
146         * login/Makefile (tests): Add tst-ptsname.
148         [BZ #16943]
149         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
150         and prlimit64.
152 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
154         [BZ #16849]
155         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
156         herrno to return EAI_AGAIN.
158 2014-05-14  Roland McGrath  <roland@hack.frob.com>
160         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
161         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
162         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
163         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
164         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
165         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
166         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
167         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
168         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
169         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
170         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
171         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
172         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
173         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
174         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
175         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
176         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
177         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
178         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
179         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
180         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
181         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
182         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
183         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
184         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
185         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
186         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
187         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
188         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
189         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
190         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
191         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
192         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
193         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
194         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
195         Moved ...
196         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
198         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
199         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
200         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
201         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
202         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
204         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
205         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
206         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
208         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
209         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
210         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
211         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
212         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
213         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
214         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
215         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
216         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
218         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
219         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
220         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
221         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
222         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
223         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
224         Moved ...
225         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
226         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
227         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
229         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
230         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
231         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
232         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
233         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
234         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
235         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
236         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
237         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
238         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
240         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
241         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
242         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
243         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
244         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
245         Moved ...
246         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
247         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
248         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
250         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
251         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
252         (libpthread-sysdep_routines): Add elision-related stuff here instead.
253         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
254         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
255         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
256         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
257         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
258         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
259         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
260         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
261         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
262         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
263         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
264         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
265         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
266         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
267         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
268         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
269         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
270         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
271         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
272         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
273         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
274         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
275         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
276         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
277         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
278         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
279         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
280         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
282         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
283         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
285         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
286         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
287         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
288         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
289         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
290         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
291         Moved ...
292         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
293         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
294         Moved ...
295         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
296         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
297         Moved ...
298         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
299         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
300         Moved ...
301         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
302         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
303         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
304         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
305         Moved ...
306         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
307         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
308         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
309         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
310         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
311         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
312         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
313         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
314         Moved ...
315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
316         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
317         Moved ...
318         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
319         ... here.
320         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
321         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
322         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
323         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
324         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
325         Moved ...
326         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
327         ... here.
328         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
329         Moved ...
330         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
331         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
332         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
333         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
334         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
335         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
336         Moved ...
337         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
338         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
339         Moved ...
340         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
341         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
342         Moved ...
343         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
344         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
345         Moved ...
346         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
347         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
348         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
349         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
350         Moved ...
351         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
352         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
353         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
354         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
355         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
356         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
357         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
358         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
359         Moved ...
360         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
361         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
362         Moved ...
363         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
364         ... here.
365         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
366         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
367         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
368         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
369         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
370         Moved ...
371         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
372         ... here.
373         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
374         Moved ...
375         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
376         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
377         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
378         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
379         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
380         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
382         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
383         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
384         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
385         Moved ...
386         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
387         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
388         Moved ...
389         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
390         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
391         Moved ...
392         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
393         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
394         Moved ...
395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
396         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
397         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
398         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
399         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
400         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
401         Moved ...
402         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
403         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
404         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
405         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
406         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
407         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
408         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
409         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
410         Moved ...
411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
412         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
413         Moved ...
414         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
415         ... here.
416         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
417         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
418         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
419         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
420         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
421         Moved ...
422         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
423         ... here.
424         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
425         Moved ...
426         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
427         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
428         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
429         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
430         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
431         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
432         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
433         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
434         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
436         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
438         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
439         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
441         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
442         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
444         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
445         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
446         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
447         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
448         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
449         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
450         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
451         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
452         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
453         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
455         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
456         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
457         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
458         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
459         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
460         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
461         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
462         Moved ...
463         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
464         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
465         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
466         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
467         Moved ...
468         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
469         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
470         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
471         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
472         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
473         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
474         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
475         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
476         Moved ...
477         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
478         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
479         Moved ...
480         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
481         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
482         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
483         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
484         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
485         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
486         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
487         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
488         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
489         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
490         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
491         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
492         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
493         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
494         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
495         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
496         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
498         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
499         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
500         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
501         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
502         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
504         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
505         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
506         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
507         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
508         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
509         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
510         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
511         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
512         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
513         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
516         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
518         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
519         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
520         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
521         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
522         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
523         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
524         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
525         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
526         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
527         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
528         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
529         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
530         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
531         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
532         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
533         Update #include.
534         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
535         Likewise.
536         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
537         Likewise.
538         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
539         Likewise.
540         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
541         Likewise.
542         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
543         Likewise.
544         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
545         Likewise.
546         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
547         Likewise.
548         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
549         Likewise.
550         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
551         Likewise.
552         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
554         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
556         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
557         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
558         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
559         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
560         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
561         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
562         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
563         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
564         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
565         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
566         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
568         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
569         that was previously under [RESET_PID].
570         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
571         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
572         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
574         * sysdeps/i386/nptl/Implies: New file.
575         * sysdeps/x86_64/nptl/Implies: New file.
576         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
577         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
578         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
579         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
581         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
582         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
583         (__libc_vfork): New strong alias.
584         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
585         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
587         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
588         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
589         (__libc_vfork): New strong alias.
590         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
591         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
593         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
594         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
595         (__libc_vfork): New strong alias.
596         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
597         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
598         * nptl/pt-vfork.c: New file.
599         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
600         (libpthread: GLIBC_2.20): New version set (empty).
602 2014-05-14  Will Newton  <will.newton@linaro.org>
604         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
605         rather than #if.
607 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
609         [BZ #16564]
610         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
611         arguments with exponent 65 or above.
612         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
613         arguments 0x1p113L or above.
614         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
615         to arguments 0x1p107L or above.
616         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
617         positive arguments with exponent 65 or above.
618         * math/auto-libm-test-in: Add more tests of log1p.
619         * math/auto-libm-test-out: Regenerated.
621         [BZ #16928]
622         * math/s_cacos.c (__cacos): Ensure zero real part of result from
623         non-finite arguments is +0.
624         * math/s_cacosf.c (__cacosf): Likewise.
625         * math/s_cacosl.c (__cacosl): Likewise.
626         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
627         * sysdeps/i386/fpu/libm-test-ulps: Update.
628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
630         [BZ #16927]
631         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
632         value.
633         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
634         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
635         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
636         for explicit high bit of mantissa when testing for argument equal
637         to 1.
638         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
639         * sysdeps/i386/fpu/libm-test-ulps: Update.
640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642         [BZ #16516]
643         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
644         (__erf): Scale by 16 instead of 8 in potentially underflowing
645         case.  Ensure exception if result actually underflows.
646         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
647         (__erff): Scale by 16 instead of 8 in potentially underflowing
648         case.  Ensure exception if result actually underflows.
649         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
650         (efx8): Remove variable.
651         (__erfl): Scale by 16 instead of 8 in potentially underflowing
652         case.  Ensure exception if result actually underflows.
653         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
654         (efx8): Remove variable.
655         (__erfl): Scale by 16 instead of 8 in potentially underflowing
656         case.  Ensure exception if result actually underflows.
657         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
658         (efx8): Remove variable.
659         (__erfl): Scale by 16 instead of 8 in potentially underflowing
660         case.  Ensure exception if result actually underflows.
661         * math/auto-libm-test-in: Add more tests of erf.
662         * math/auto-libm-test-out: Regenerated.
664 2014-05-14  Andreas Schwab  <schwab@suse.de>
666         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
667         Remove code conditionalized on USE___THREAD.
669         * config.h.in (HAVE_PT_CHOWN): Define as 0.
670         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
671         not definedness.
673 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
675         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
676         Define unconditionally.
677         (__ASSUME_O_CLOEXEC): Likewise.
678         (__ASSUME_SOCK_CLOEXEC): Likewise.
679         (__ASSUME_IN_NONBLOCK): Likewise.
680         (__ASSUME_PIPE2): Likewise.
681         (__ASSUME_EVENTFD2): Likewise.
682         (__ASSUME_SIGNALFD4): Likewise.
683         (__ASSUME_DUP3): Likewise.
684         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
685         (__ASSUME_DUP3): Do not define.
686         (__ASSUME_EVENTFD2): Likewise.
687         (__ASSUME_IN_NONBLOCK): Likewise.
688         (__ASSUME_O_CLOEXEC): Likewise.
689         (__ASSUME_PIPE2): Likewise.
690         (__ASSUME_SIGNALFD4): Likewise.
691         (__ASSUME_SOCK_CLOEXEC): Likewise.
692         (__ASSUME_UTIMES): Undefine.
693         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
694         (__ASSUME_UTIMES): Do not define.
695         (__ASSUME_O_CLOEXEC): Likewise.
696         (__ASSUME_SOCK_CLOEXEC): Likewise.
697         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
698         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
699         0x020621].
700         (__ASSUME_PIPE2): Likewise.
701         (__ASSUME_EVENTFD2): Likewise.
702         (__ASSUME_SIGNALFD4): Likewise.
703         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
704         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
705         Do not define.
706         (__ASSUME_EVENTFD2): Likewise.
707         (__ASSUME_SIGNALFD4): Likewise.
708         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
709         (__ASSUME_32BITUIDS): Likewise.
710         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
711         (__ASSUME_IPC64): Likewise.
712         (__ASSUME_ST_INO_64_BIT): Likewise.
713         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
714         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
715         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
716         (__ASSUME_UTIMES): Do not define.
717         (__ASSUME_PSELECT): Likewise.
718         (__ASSUME_PPOLL): Likewise.
719         (__ASSUME_O_CLOEXEC): Likewise.
720         (__ASSUME_SOCK_CLOEXEC): Likewise.
721         (__ASSUME_IN_NONBLOCK): Likewise.
722         (__ASSUME_PIPE2): Likewise.
723         (__ASSUME_EVENTFD2): Likewise.
724         (__ASSUME_SIGNALFD4): Likewise.
725         (__ASSUME_DUP3): Likewise.
726         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
727         (__ASSUME_UTIMES): Likewise.
728         (__ASSUME_O_CLOEXEC): Likewise.
729         (__ASSUME_SOCK_CLOEXEC): Likewise.
730         (__ASSUME_IN_NONBLOCK): Likewise.
731         (__ASSUME_PIPE2): Likewise.
732         (__ASSUME_EVENTFD2): Likewise.
733         (__ASSUME_SIGNALFD4): Likewise.
734         (__ASSUME_DUP3): Likewise.
735         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
736         (__ASSUME_UTIMES): Likewise.
737         (__ASSUME_O_CLOEXEC): Likewise.
738         (__ASSUME_SOCK_CLOEXEC): Likewise.
739         (__ASSUME_IN_NONBLOCK): Likewise.
740         (__ASSUME_PIPE2): Likewise.
741         (__ASSUME_EVENTFD2): Likewise.
742         (__ASSUME_SIGNALFD4): Likewise.
743         (__ASSUME_DUP3): Likewise.
744         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
745         Likewise.
746         (__ASSUME_UTIMES): Likewise.
747         (__ASSUME_EVENTFD2): Likewise.
748         (__ASSUME_SIGNALFD4): Likewise.
749         * sysdeps/unix/sysv/linux/tile/kernel-features.h
750         (__ASSUME_O_CLOEXEC): Likewise.
751         (__ASSUME_SOCK_CLOEXEC): Likewise.
752         (__ASSUME_IN_NONBLOCK): Likewise.
753         (__ASSUME_PIPE2): Likewise.
754         (__ASSUME_EVENTFD2): Likewise.
755         (__ASSUME_SIGNALFD4): Likewise.
756         (__ASSUME_DUP3): Likewise.
757         (__ASSUME_UTIMES): Undefine.
759         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
760         feclearexcept.  Remove symbol versioning code.
761         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
762         symbol versioning code.
763         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
764         symbol versioning code.
765         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
766         feupdateenv.  Remove symbol versioning code.
767         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
768         fegetexceptflag.  Remove symbol versioning code.
769         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
770         fesetexceptflag.  Remove symbol versioning code.
771         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
772         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
773         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
774         (__posix_fadvise64_l32): Remove prototype.
775         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
776         code.
778 2014-05-13  Roland McGrath  <roland@hack.frob.com>
780         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
781         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
782         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
783         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
785 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
787         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
788         current working directory
790 2014-05-13  Roland McGrath  <roland@hack.frob.com>
792         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
793         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
794         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
795         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
796         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
797         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
798         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
799         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
800         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
801         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
802         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
803         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
804         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
805         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
806         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
807         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
808         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
809         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
810         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
811         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
812         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
813         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
814         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
815         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
816         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
817         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
818         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
819         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
820         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
821         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
822         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
823         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
824         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
825         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
826         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
827         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
828         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
829         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
830         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
831         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
832         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
833         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
835         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
836         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
838         * sysdeps/unix/sysv/linux/arm/Makefile
839         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
840         Add rt-aeabi_unwind_cpp_pr1.
841         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
842         Add nptl-aeabi_unwind_cpp_pr1.
843         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
844         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
845         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
846         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
847         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
848         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
850         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
851         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
852         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
853         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
855         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
856         Deconditionalize the code that was previously under [RESET_PID].
857         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
859         * sysdeps/generic/exit-thread.h: New file.
860         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
861         * include/unistd.h (__exit_thread): Remove declaration.
862         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
863         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
864         * csu/libc-start.c: Include <exit-thread.h>.
865         (LIBC_START_MAIN): Pass no argument to __exit_thread.
866         * nptl/pthread_create.c: Include <exit-thread.h>.
867         (start_thread): Call __exit_thread in place of __exit_thread_inline.
868         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
869         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
870         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
871         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
872         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
873         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
874         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
875         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
876         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
877         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
878         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
879         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
880         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
881         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
882         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
883         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
885 2014-05-13  Andreas Schwab  <schwab@suse.de>
887         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
889 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
891         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
892         (__ASSUME_UTIMES): Do not condition on kernel version.
893         (__ASSUME_PSELECT): Define unconditionally.
894         (__ASSUME_PPOLL): Likewise.
895         (__ASSUME_ATFCTS): Likewise.
896         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
897         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
898         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
899         (__ASSUME_UTIMENSAT): Define unconditionally.
900         (__ASSUME_PRIVATE_FUTEX): Likewise.
901         (__ASSUME_FALLOCATE): Likewise.
902         (__ASSUME_O_CLOEXEC): Likewise.
903         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
904         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
905         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
906         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
907         (__ASSUME_IN_NONBLOCK): Likewise.
908         (__ASSUME_PIPE2): Likewise.
909         (__ASSUME_EVENTFD2): Likewise.
910         (__ASSUME_SIGNALFD4): Likewise.
911         (__ASSUME_DUP3): Likewise.
912         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
913         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
914         (__ASSUME_AT_RANDOM): Likewise.
915         (__ASSUME_PREADV): Likewise.
916         (__ASSUME_PWRITEV): Likewise.
917         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
918         (__ASSUME_F_GETOWN_EX): Define unconditionally.
919         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
920         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
921         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
922         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
923         (__ASSUME_O_CLOEXEC): Define unconditionally.
924         (__ASSUME_PSELECT): Do not undefine conditionally.
925         (__ASSUME_PPOLL): Likewise.
926         (__ASSUME_ATFCTS): Likewise.
927         (__ASSUME_SET_ROBUST_LIST): Likewise.
928         (__ASSUME_UTIMENSAT): Likewise.
929         (__ASSUME_FDATASYNC): Define unconditionally.
930         * sysdeps/unix/sysv/linux/arm/kernel-features.h
931         (__ASSUME_SIGFRAME_V2): Likewise.
932         )__ASSUME_EVENTFD2): Likewise.
933         (__ASSUME_SIGNALFD4): Likewise.
934         (__ASSUME_PSELECT): Do not undefine conditionally.
935         (__ASSUME_PPOLL): Likewise.
936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
937         (__ASSUME_PSELECT): Define unconditionally.
938         (__ASSUME_PPOLL): Likewise.
939         (__ASSUME_O_CLOEXEC): Likewise.
940         (__ASSUME_SOCK_CLOEXEC): Likewise.
941         (__ASSUME_IN_NONBLOCK): Likewise.
942         (__ASSUME_PIPE2): Likewise.
943         (__ASSUME_EVENTFD2): Likewise.
944         (__ASSUME_SIGNALFD4): Likewise.
945         (__ASSUME_DUP3): Likewise.
946         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
947         (__ASSUME_O_CLOEXEC): Likewise.
948         (__ASSUME_SOCK_CLOEXEC): Likewise.
949         (__ASSUME_IN_NONBLOCK): Likewise.
950         (__ASSUME_PIPE2): Likewise.
951         (__ASSUME_EVENTFD2): Likewise.
952         (__ASSUME_SIGNALFD4): Likewise.
953         (__ASSUME_DUP3): Likewise.
954         * sysdeps/unix/sysv/linux/mips/kernel-features.h
955         (__ASSUME_EVENTFD2): Likewise.
956         (__ASSUME_SIGNALFD4): Likewise.
957         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
959 2014-05-12  Andreas Schwab  <schwab@suse.de>
961         [BZ #16932]
962         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
963         (_nss_nis_gethostbyname4_r): Return error if item length is larger
964         than maximum RPC packet size.
965         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
966         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
967         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
968         (_nss_nis_getservbyport_r): Likewise.
970 2014-05-12  Will Newton  <will.newton@linaro.org>
972         * malloc/Makefile (tests): Add tst-mallopt.
973         * malloc/tst-mallopt.c: New file.
975 2014-05-09  Roland McGrath  <roland@hack.frob.com>
977         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
978         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
980 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
982         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
983         (tst-tlsmod6.so): Likewise.
985 2014-05-09  Roland McGrath  <roland@hack.frob.com>
987         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
989 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
991         [BZ #16064]
992         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
993         and <dl-procinfo.h>.
994         (__fegetenv): Save SSE state in envp->__eip if supported.
995         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
996         envp->__eip if supported.
997         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
998         and <dl-procinfo.h>.
999         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1000         __data_offset and __data_selector in environment to 0.  Set SSE
1001         state if supported.
1002         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1003         test-fenv-sse.
1004         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1005         -mfpmath=sse.
1006         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1008 2014-05-09  Will Newton  <will.newton@linaro.org>
1010         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1011         and libc_relro_required for ARM.
1012         * sysdeps/arm/preconfigure: Regenerate.
1014 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1015             Stefan Liebler  <stli@linux.vnet.ibm.com>
1017         * config.make.in (enable-lock-elision): New Makefile variable.
1018         * configure.ac: Likewise.
1019         * configure: Regenerate.
1020         * sysdeps/s390/configure.ac:
1021         Add check for gcc transactions support.
1022         * sysdeps/s390/configure: Regenerate.
1023         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1024         Build elision files if enabled.
1025         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1026         Add lock elision support for s390.
1027         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1028         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1029         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1030         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1031         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1032         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1033         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1034         Likewise.
1035         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1036         Likewise.
1037         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1038         Likewise.
1039         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1040         Likewise.
1041         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1042         (__lll_timedlock_elision, __lll_lock_elision)
1043         (__lll_unlock_elision, __lll_trylock_elision)
1044         (lll_timedlock_elision, lll_lock_elision)
1045         (lll_unlock_elision, lll_trylock_elision): Add.
1046         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1047         (pthread_mutex_t): Add lock elision support for s390.
1049 2014-05-14  Wilco  <wdijkstr@arm.com>
1051         * sysdeps/arm/fclrexcpt.c: Cleanup.
1052         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1053         * sysdeps/arm/feenablxcpt.c: Cleanup.
1054         * sysdeps/arm/fegetenv.c: Cleanup.
1055         * sysdeps/arm/fegetexcept.c: Cleanup.
1056         * sysdeps/arm/fegetround.c: Cleanup.
1057         * sysdeps/arm/feholdexcpt.c: Cleanup.
1058         * sysdeps/arm/fesetenv.c: Cleanup.
1059         * sysdeps/arm/fesetround.c: Cleanup.
1060         * sysdeps/arm/feupdateenv.c: Cleanup.
1061         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1062         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1063         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1064         * sysdeps/arm/ftestexcept.c: Cleanup.
1065         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1066         * sysdeps/arm/setfpucw.c: Cleanup.
1068 2014-05-09  Will Newton  <will.newton@linaro.org>
1070         * sysdeps/arm/armv7/strcmp.S: New file.
1071         * NEWS: Mention addition of ARMv7 optimized strcmp.
1073 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1075         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1076         look for %.ac rather than %.in.
1078         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1079         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1080         * sysdeps/mach/hurd/configure: Regenerated.
1081         * sysdeps/unix/sysv/linux/configure: Regenerated.
1083         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1085 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1087         [BZ# 16922]
1088         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1089         (LONG_SUB): Ditto.
1090         (PTR_SUB): Ditto.
1092 2014-05-07  Andreas Schwab  <schwab@suse.de>
1094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1095         when skipping over non-matching result from nscd.
1097 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1099         [BZ #16876]
1100         * nptl/sockperf.c (client): Check socket return value.
1102         [BZ #16877]
1103         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1104         nscd security class.
1106 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1108         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1109         * sysdeps/arm/unwind.h: ... here.
1111 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1113         [BZ# 16916]
1114         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1115         Define.
1117 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1119         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1120         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1121         multiarch strncpy for PPC64.
1122         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1123         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1124         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1125         multiarch optimizations.
1126         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1127         (__libc_ifunc_impl_list): Likewise.
1128         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1129         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1130         multiarch stpncpy for PPC64.
1131         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1134 2014-05-06  Andreas Schwab  <schwab@suse.de>
1136         [BZ #16912]
1137         * gmon/mcount.c (_MCOUNT_DECL): Use
1138         atomic_compare_and_exchange_bool_acq instead of
1139         catomic_compare_and_exchange_bool_acq.
1141 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1143         * elf/Makefile (others, install-bin): Remove pldd.
1144         (pldd-modules): Variable removed.
1145         ($(objpfx)pldd): Target removed.
1146         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1147         (others, install-bin): Append pldd here.
1148         ($(objpfx)pldd): New target.
1150         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1151         to 0, so the first #if test emitted later doesn't see it undefined.
1152         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1153         * sysdeps/gnu/errlist.c: Regenerated.
1155 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1157         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1158         [libc_hidden_builtin_def]: Define to empty value.
1159         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1160         [libc_hidden_builtin_def]: Likewise.
1161         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1162         [libc_hidden_builtin_def]: Likewise.
1163         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1164         [libc_hidden_builtin_def]: Likewise.
1165         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1166         __redirect_memcpy and define ifunc as default hidden symbol.
1167         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1168         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1170 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1172         * locale/iso-4217.def: Reintroduce XDR currency.
1174 2014-05-04  Allan McRae  <allan@archlinux.org>
1176         * po/eo.po: Update Esperanto translation from translation project.
1178 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1180         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1181         and FEATURE_INDEX_MAX to 1.
1182         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1184 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1186         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1187         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1188         * iconvdata/big5.c (ONE_DIRECTION): Define.
1189         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1190         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1191         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1192         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1193         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1194         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1195         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1196         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1197         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1198         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1199         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1200         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1201         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1202         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1203         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1204         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1205         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1206         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1207         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1208         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1209         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1210         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1211         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1212         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1213         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1214         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1215         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1216         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1217         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1218         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1219         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1220         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1221         * iconvdata/johab.c (ONE_DIRECTION): Define.
1222         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1223         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1224         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1225         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1226         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1227         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1228         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1229         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1230         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1231         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1233 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1235         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1236         (_IO_JUMPS_OFFSET): Define to 0.
1238         * nptl/sysdeps/pthread/bits/libc-lock.h
1239         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1240         (__libc_lock_define_initialized_recursive): Always define using
1241         initializer.  Modern compilers treat uninitialized (implicit zero) and
1242         explicit zero initializers the same (i.e. put the datum in bss).
1244 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1246         * nscd/nscd-client.h: Include <string.h>.
1248 2014-05-01  David S. Miller  <davem@davemloft.net>
1250         [BZ #16885]
1251         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1252         multiple zero bytes exist at the end of a string.
1253         Reported by Aurelien Jarno <aurelien@aurel32.net>
1255         * string/test-strcmp.c (check): Add explicit test for situations where
1256         there are multiple zero bytes after the first.
1258 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1260         [BZ #16890]
1261         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1262         when compiling wprintf.
1263         * stdio-common/tstdiomisc.c (t3): New function.
1264         (main): Call it.
1266 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1268         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1269         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1270         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1271         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1273 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1275         * stdlib/longlong.h: Updated from GCC.
1277 2014-05-01  Will Newton  <will.newton@linaro.org>
1278             Bernard Ogden  <bernie.ogden@linaro.org>
1280         * NEWS: Update fixed bug list.
1282         [BZ #15119]
1283         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1285 2014-04-30  David S. Miller  <davem@davemloft.net>
1287         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1288         (libc_feholdexcept_setround_sparc_ctx): New function.
1289         (libc_fesetenv_sparc_ctx): Likewise.
1290         (libc_feupdateenv_sparc_ctx): Likewise.
1291         (libc_feholdsetround_sparc_ctx): Likewise.
1292         (libc_feholdexcept_setround_ctx): Define.
1293         (libc_feholdexcept_setroundf_ctx): Likewise.
1294         (libc_feholdexcept_setroundl_ctx): Likewise.
1295         (libc_fesetenv_ctx): Likewise.
1296         (libc_fesetenvf_ctx): Likewise.
1297         (libc_fesetenvl_ctx): Likewise.
1298         (libc_feupdateenv_ctx): Likewise.
1299         (libc_feupdateenvf_ctx): Likewise.
1300         (libc_feupdateenvl_ctx): Likewise.
1301         (libc_feresetround_ctx): Likewise.
1302         (libc_feresetroundf_ctx): Likewise.
1303         (libc_feresetroundl_ctx): Likewise.
1304         (libc_feholdsetround_ctx): Likewise.
1305         (libc_feholdsetroundf_ctx): Likewise.
1306         (libc_feholdsetroundl_ctx): Likewise.
1308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1309         with __USE_GNU instead of XOPEN cpp guards.
1311         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1312         0.
1314         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1315         with XOPEN cpp guards.
1317 2014-04-30  Julian Brown  <julian@codesourcery.com>
1319         [BZ #16888]
1320         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1321         handling.
1323 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1325         [BZ #9894]
1326         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1327         Change to 2.6.32.
1328         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1329         * sysdeps/unix/sysv/linux/configure: Regenerated.
1330         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1331         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1332         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1333         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1334         * README: Update reference to required Linux kernel version.
1335         * manual/install.texi (Linux): Update reference to required Linux
1336         kernel headers version.
1337         * INSTALL: Regenerated.
1339         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1340         header inclusion.
1341         [POSIX] (limits.h): Likewise.
1342         [POSIX] (math.h): Likewise.
1343         [POSIX] (sys/wait.h): Likewise.
1344         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1345         function.
1346         [POSIX] (stddef.h): Do not allow header inclusion.
1348 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1350         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1352 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1354         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1355         Return immediately after lll_futex_wake.
1357 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1359         [BZ #16791]
1360         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1361         structure.
1362         (datahead_init_pos): Call datahead_init_common early.
1363         (datahead_init_neg): Likewise.
1365         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1366         datahead_init_neg): New functions.
1367         * nscd/aicache.c (addhstaiX): Use them.
1368         * nscd/grpcache.c (cache_addgr): Likewise.
1369         * nscd/hstcache.c (cache_addhst): Likewise.
1370         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1371         * nscd/netgroupcache.c (do_notfound): Likewise.
1372         (addgetnetgrentX): Likewise.
1373         (addinnetgrX): Likewise.
1374         * nscd/pwdcache.c (cache_addpw): Likewise.
1375         * nscd/servicescache.c (cache_addserv): Likewise.
1377 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1378             Atsushi Onoe  <atsushi@onoe.org>
1380         [BZ #14308]
1381         [BZ #12994]
1382         [BZ #13651]
1383         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1384         one response is valid.
1385         * resolv/res_send.c (send_dg): Check for validity of other
1386         response if the current response is a referral.
1388 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1390         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1392 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1394         [BZ #16823]
1395         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1396         Always divide by positive zero when computing -Inf result.
1397         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1398         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1400 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1402         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1403         FPSCR if value do not change.
1404         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1405         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1406         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1407         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1408         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1409         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1410         function.
1412 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1414         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1415         * sysdeps/unix/sysv/linux/hppa: Move directory from
1416         ports/systeps/unix/sysv/linux/hppa.
1417         * README: Update listing for hppa-*-linux-gnu.
1419 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1421         [BZ #16754]
1422         * manual/stdio.texi (Hook functions): Fix types of stream hook
1423         functions.
1424         [BZ #16854]
1425         * socket/sys/socket.h: Fix typo in comment.
1427 2014-04-28  Wilco  <wdijkstr@arm.com>
1429         * sysdeps/arm/fenv_private.h: New file.
1430         * sysdeps/arm/math_private.h: New file.
1431         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1433 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1435         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1436         with __int128_t.
1437         (La_x86_64_retval): Likewise.
1439 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1441         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1442         fpsr if value didn't change.
1443         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1444         to fpcr if value didn't change.
1445         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1446         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1447         fpsr or fpcr if value didn't change.
1448         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1449         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1450         fpcr if value didn't change.
1451         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1452         to fpsr if value didn't change.
1454 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1456         * nptl/tst-sem3.c: Use test-skeleton.c
1457         (main): Rename to do_test.  Use return instead of
1458         exit.
1459         * nptl/tst-sem4.c: Use test-skeleton.c
1460         (main): Rename to do_test.
1462 2014-04-22  David S. Miller  <davem@davemloft.net>
1464         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1465         (struct sigaction): New struct member __glibc_reserved0, change
1466         type of sa_flags to int.
1468 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1470         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1471         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1473 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1475         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1476         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1478 2014-04-22  Will Newton  <will.newton@linaro.org>
1479             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1481         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1482         (__longjmp): Add longjmp and longjmp_target SystemTap
1483         probes.
1484         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1485         (__sigsetjmp): Add setjmp SystemTap probe.
1487 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1489         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1490         match manual order.
1492 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1494         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1496         * sysdeps/powerpc/fpu/fenv_private.h
1497         (libc_feholdexcept_setroundl_ctx): Define to
1498         libc_feholdexcept_setround_ppc_ctx.
1499         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1500         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1501         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1502         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1504 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1506         * sysdeps/aarch64/math-tests.h: New file.
1508 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1510         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1511         New.
1512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1513         Check and set bit_AVX2_Usable.
1514         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1515         macro.
1516         (bit_AVX2): Likewise.
1517         (index_AVX2_Usable): Likewise.
1518         (CPUID_AVX2): Likewise.
1519         (HAS_AVX2): Likewise.
1521 2014-04-17  Will Newton  <will.newton@linaro.org>
1523         * manual/setjmp.texi (System V contexts): Add note that
1524         calling setcontext on a context created by a call to a
1525         signal handler is undefined.  Update text to note that
1526         setcontext from a signal handler is possible but not
1527         recommended.
1529         [BZ #16629]
1530         * stdlib/tst-setcontext.c: Include signal.h.
1531         (main): Check that the signal stack before and
1532         after swapcontext is the same.
1534         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1535         Re-implement to restore registers in user code and avoid
1536         rt_sigreturn system call.
1538 2014-04-17  Wilco  <wdijkstr@arm.com>
1540         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1541         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1542         * math/test-fenv.c: Skip exception trap tests on targets which only
1543         support non-stop mode.
1545 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1546             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1548         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1549         (libc_feholdsetround_aarch64_ctx)
1550         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1551         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1552         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1553         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1554         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1555         (libc_feresetround_noexl_ctx): Define.
1557 2014-04-16  Richard Henderson  <rth@redhat.com>
1559         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1561         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1562         unwind tables.
1564         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1565         const from the non-libc, non-ldso copy.
1567         * sysdeps/alpha/libm-test-ulps: Regenerate.
1569 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1570             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1572         * sysdeps/aarch64/fpu/math_private.h: New file.
1574 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1576         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1578 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1580         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1581         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1582         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1583         Intel MPX bound registers before _dl_profile_fixup.
1584         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1585         registers after _dl_profile_fixup.  Save and restore bound
1586         registers bnd0/bnd1 when calling _dl_call_pltexit.
1587         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1588         (LR_BND_OFFSET): Likewise.
1589         (LRV_BND0_OFFSET): Likewise.
1590         (LRV_BND1_OFFSET): Likewise.
1592 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1594         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1595         to...
1596         * sysdeps/mach/hurd/i386/tls.h: ... here.
1597         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1598         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1599         fields.
1601 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1603         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1605 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1607         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1609 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1611         [BZ #14770]
1612         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1613         * sysdeps/s390/configure: Regenerate.
1615         [BZ #16824]
1616         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1617         Set round-to-nearest internally to reduce error accumulation.
1619 2014-04-16  Alan Modra  <amodra@gmail.com>
1621         [BZ #16740]
1622         [BZ #16619]
1623         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1624         * math/libm-test.inc (frexp_test_data): Add tests.
1625         * NEWS: Update fixed bug list.
1627 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1629         * benchtests/Makefile: Depend on libraries in build directory.
1630         (bench-math): Separate out math tests.
1631         (bench-pthread): Separate out pthread tests.
1632         (bench): Include math and pthread tests.
1634 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1636         [BZ #16831]
1637         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1638         _dl_debug_initialize.
1640         * configure.ac: Remove SELinux header check.
1641         * configure: Regenerate.
1642         * nscd/selinux.c (perms): Array of const char* to permission names.
1643         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1644         default policy. Call string_to_security_class and string_to_av_perm to
1645         translate strings. Enforce default policy and call avs_has_perm with
1646         results of translated strings.
1648 2014-04-13  David S. Miller  <davem@davemloft.net>
1650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1652 2014-04-12  Allan McRae  <allan@archlinux.org>
1654         [BZ #16838]
1655         * manual/string.texi (Collation Functions): Fix qsort argument
1656         order in example.
1657         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1659 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1661         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1662         Make the test a no-op if there are no exceptions defined.
1664 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1666         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1667         enable-hardcoded-path-in-tests
1669 2014-04-11  Will Newton  <will.newton@linaro.org>
1671         * benchtests/Makefile (extra-objs): Add json-lib.o.
1672         (bench-func): Tidy up JSON output.
1673         * benchtests/bench-skeleton.c: Include json-lib.h.
1674         (main): Use JSON library functions to do output of
1675         benchmark results.
1676         * benchtests/bench-timing-type.c (main): Output the
1677         timing type simply, leaving formatting to the user.
1678         * benchtests/json-lib.c: New file.
1679         * benchtests/json-lib.h: Likewise.
1681 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1683         [BZ #15215]
1684         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1685         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1686         memory barriers.  Add comments.
1687         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1688         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1689         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1690         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1691         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1692         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1694 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1696         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1697         * sysdeps/s390/s390-64/configure.ac: ... this ...
1698         * sysdeps/s390/configure.ac: ... to here.
1699         * sysdeps/s390/s390-32/configure: Delete file.
1700         * sysdeps/s390/s390-64/configure: Delete file.
1701         * sysdeps/s390/configure: Regenerate.
1703 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1705         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1707 2014-04-11  Will Newton  <will.newton@linaro.org>
1709         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1710         to zero if it is not defined elsewhere.  (mtrim): Test
1711         the value of MALLOC_DEBUG with #if rather than #ifdef.
1713 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1715         * benchtests/pthread_once-inputs: New file.
1716         * benchtests/pthread_once-source.c: New file.
1717         * benchtests/README: Update documentation.
1719 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1720             H.J. Lu  <hongjiu.lu@intel.com>
1722         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1723         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1724         * sysdeps/x86_64/configure: Regenerated.
1725         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1726         macro.
1727         (REGISTER_SAVE_RAX): Likewise.
1728         (REGISTER_SAVE_RCX): Likewise.
1729         (REGISTER_SAVE_RDX): Likewise.
1730         (REGISTER_SAVE_RSI): Likewise.
1731         (REGISTER_SAVE_RDI): Likewise.
1732         (REGISTER_SAVE_R8): Likewise.
1733         (REGISTER_SAVE_R9): Likewise.
1734         (REGISTER_SAVE_BND0): Likewise.
1735         (REGISTER_SAVE_BND1): Likewise.
1736         (REGISTER_SAVE_BND2): Likewise.
1737         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1738         bound registers when calling _dl_fixup.
1740 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1742         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1743         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1744         of its definition.
1745         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1746         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1747         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1748         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1749         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1750         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1751         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1753 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1755         [BZ #15514]
1756         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1757         pathconf(_PC_NAME_MAX).
1759 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1761         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1762         Remove macro usage.
1763         (__PTHREAD_SPINS): Move definition to ...
1764         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1765         (__PTHREAD_SPINS): ... here.
1766         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1767         (__PTHREAD_SPIN): Likewise.
1768         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1769         (__PTHREAD_SPIN): Likewise.
1770         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1771         (__PTHREAD_SPIN): Likewise.
1772         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1773         (__PTHREAD_SPIN): Likewise.
1774         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1775         (__PTHREAD_SPIN): Likewise.
1776         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1777         (__PTHREAD_SPIN): Likewise.
1778         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1779         (__PTHREAD_SPIN): Likewise.
1780         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1781         (__PTHREAD_SPIN): Likewise.
1782         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1783         (__PTHREAD_SPIN): Likewise.
1784         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1785         (__PTHREAD_SPIN): Likewise.
1786         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1787         (__PTHREAD_SPIN): Likewise.
1788         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1789         (__PTHREAD_SPIN): Likewise.
1791         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1792         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1793         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1794         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1795         imply folder.
1796         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1797         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1798         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1799         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1800         correct imply path.
1801         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1802         strlen symbol for non multi-arch builds.
1803         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1804         missing hidden_def and weak_alias.
1806 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1808         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1810 2014-04-07  Will Newton  <will.newton@linaro.org>
1812         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1813         and contents.  [!_LIBC] Remove #ifndef and contents.
1814         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1815         * string/memccpy.c (__memccpy): Use ANSI prototype.
1816         * string/memfrob.c (memfrob): Likewise.
1817         * string/strcoll.c (STRCOLL): Likewise.
1818         * string/strlen.c (strlen): Likewise.
1819         * string/strtok.c (STRTOK): Likewise.
1820         * string/strcat.c: Remove unused #include of memcopy.h.
1821         (strcat): Use ANSI prototype.
1822         * string/strchr.c: Remove unused #include of memcopy.h.
1823         (strchr): Use ANSI prototype.
1824         * string/strcmp.c: Remove unused #include of memcopy.h.
1825         (strcmp): Use ANSI prototype.
1826         * string/strcpy.c: Remove unused #include of memcopy.h.
1827         (strcpy): Use ANSI prototype.
1829 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1831         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1832         * config.make.in (config-extra-cppflags): Set it from
1833         libc_extra_cppflags.
1834         * configure.ac (libc_extra_cflags): Make it accumulate over
1835         configure fragments.
1836         (libc_extra_cppflags): New flag.
1837         * configure. Regenerate.
1838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1839         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1840         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1843         [BZ #16815]
1844         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1845         result for FE_DOWNWARD rounding mode.
1846         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1847         Likewise.
1848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1850 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1852         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1853         in function argument name.
1855 2014-04-03  David Svoboda  <svoboda@cert.org>
1857         [BZ #5666]
1858         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1859         explicitly.
1861 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1863         * elf/dl-unmap-segments.h: New file.
1864         * sysdeps/generic/ldsodefs.h
1865         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1866         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1867         * elf/dl-fptr.c: Likewise.
1868         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1869         * sysdeps/aarch64/tlsdesc.c: Likewise.
1870         * sysdeps/arm/tlsdesc.c: Likewise.
1871         * sysdeps/i386/tlsdesc.c: Likewise.
1872         * sysdeps/tile/dl-runtime.c: Likewise.
1873         * sysdeps/x86_64/tlsdesc.c: Likewise.
1874         * elf/dl-load.h: New file.
1875         * elf/dl-load.c: Include it.
1876         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1877         Macros moved to dl-load.h.
1878         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1879         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1880         Use _dl_unmap_segments in place of __munmap.
1881         Break out segment-mapping loop into ...
1882         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1884 2014-04-03  Will Newton  <will.newton@linaro.org>
1886         * elf/dl-lookup.c (do_lookup_x): Remove comment
1887         referring to nested function and move variable
1888         declarations down to before first use.
1890 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1892         [BZ #16799]
1893         [BZ #16800]
1894         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1895         with 0 numerator.
1896         * math/s_catanf.c (__catanf): Likewise.
1897         * math/s_catanh.c (__catanh): Likewise.
1898         * math/s_catanhf.c (__catanhf): Likewise.
1899         * math/s_catanhl.c (__catanhl): Likewise.
1900         * math/s_catanl.c (__catanl): Likewise.
1901         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1902         by positive zero when computing -Inf result.
1903         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1904         (catanh_test): Likewise.
1905         * sysdeps/i386/fpu/libm-test-ulps: Update.
1906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1908         [BZ #16789]
1909         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1910         instead of using underflowing value in computing result.
1911         * math/s_clog10.c (__clog10): Likewise.
1912         * math/s_clog10f.c (__clog10f): Likewise.
1913         * math/s_clog10l.c (__clog10l): Likewise.
1914         * math/s_clogf.c (__clogf): Likewise.
1915         * math/s_clogl.c (__clogl): Likewise.
1916         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1917         (clog10_test): Likewise.
1918         * sysdeps/i386/fpu/libm-test-ulps: Update.
1919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1921 2014-04-02  Alan Modra  <amodra@gmail.com>
1923         [BZ #16739]
1924         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1925         output when value is near a power of two.  Use int64_t for lx and
1926         remove casts.  Use decimal rather than hex exponent constants.
1927         Don't use long double multiplication when double will suffice.
1928         * math/libm-test.inc (nextafter_test_data): Add tests.
1929         * NEWS: Add 16739 and 16786 to bug list.
1931         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1933         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1935 2014-04-01  Will Newton  <will.newton@linaro.org>
1937         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1938         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1940 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1942         [BZ #13347]
1943         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1944         * nptl/tst-setuid2.c: New file.
1945         * nptl/Makefile (xtests): Add tst-setuid2.
1947 2014-04-01  Alan Modra  <amodra@gmail.com>
1949         [BZ #16786]
1950         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1952 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #6803]
1955         [BZ #6804]
1956         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1957         set errno as appropriate.
1958         * math/w_scalbf.c (__scalbf): Likewise.
1959         * math/w_scalbl.c (__scalbl): Likewise.
1960         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1961         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1962         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1963         Add more NaN tests.
1965         [BZ #16349]
1966         * math/w_atan2.c: Include <errno.h>.
1967         (__atan2): Set errno for result underflowing to zero.
1968         * math/w_atan2f.c: Include <errno.h>.
1969         (__atan2f): Set errno for result underflowing to zero.
1970         * math/w_atan2l.c: Include <errno.h>.
1971         (__atan2l): Set errno for result underflowing to zero.
1972         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1973         tests.
1974         * math/auto-libm-test-out: Regenerated.
1976 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1978         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1979         Encode instruction correctly in little endian.
1980         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1981         Likewise.
1982         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1983         Likewise.
1984         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1985         Likewise.
1986         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1987         Likewise.
1989 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1991         [BZ #9894]
1992         * sysdeps/unix/sysv/linux/kernel-features.h
1993         [__sparc__ && !__arch64__ && !__sparc_v9__]
1994         (__ASSUME_SET_ROBUST_LIST): Do not define.
1995         [__sparc__ && !__arch64__ && !__sparc_v9__]
1996         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1997         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1998         Likewise.
1999         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2000         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2001         (__ASSUME_REQUEUE_PI): Likewise.
2002         (__ASSUME_SET_ROBUST_LIST): Likewise.
2003         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2004         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2005         Undefine.
2006         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2007         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2008         Likewise.
2009         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2010         Likewise.
2011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2012         Likewise.
2013         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2014         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2015         Undefine.
2016         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2017         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2018         Likewise.
2020         [BZ #16648]
2021         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2022         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2023         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2025 2014-03-31  Will Newton  <will.newton@linaro.org>
2027         * benchtests/Makefile (bench): Add ffs and ffsll to list
2028         of tests.
2029         * benchtests/ffs-inputs: New file.
2030         * benchtests/ffsll-inputs: Likewise.
2032 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2034         [BZ #16770]
2035         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2036         too large before casting to int.
2037         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2038         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2039         * math/libm-test.inc (scalb_test_data): Add more tests.
2041 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2043         * benchtests/Makefile (DETAILED_OPT): New make option.
2044         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2045         set.
2046         * benchtests/bench-skeleton.c: Include stdbool.h.
2047         (main): Store and print timings per input.
2048         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2049         member to each argument value.
2050         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2051         (_print_arg_data): Initialize per-input timing to 0.
2053         * benchtests/Makefile (timing-type): New binary.
2054         (bench-clean): Also remove bench-timing-type.
2055         (bench): New target for timing-type.
2056         (bench-func): Print output in JSON format.
2057         * benchtests/bench-skeleton.c (main): Print output in JSON
2058         format.
2059         * benchtests/bench-timing-type.c: New file.
2060         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2061         (TIMING_PRINT_STATS): Remove.
2062         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2063         name separately.
2065         * benchtests/bench-modf.c: Remove.
2066         * benchtests/modf-inputs: New inputs file.
2068 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2070         [BZ #16362]
2071         * math/s_clog10.c (M_PI_LOG10E): New macro.
2072         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2073         imaginary parts are 0.
2074         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2075         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2076         imaginary parts are 0.
2077         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2078         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2079         imaginary parts are 0.
2080         * math/libm-test.inc (clog10_test_data): Update expected results
2081         for when real and imaginary parts are 0.
2083 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2085         * elf/dl-load.c: Finish conversion of __builtin_expect into
2086         __glibc_{un}likely.
2088 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2090         [BZ #16348]
2091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2092         1+x for argument with exponent below -67.
2093         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2094         Likewise.
2095         * math/auto-libm-test-in: Add more tests of exp.
2096         * math/auto-libm-test-out: Regenerated.
2098 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2100         [BZ #16759]
2101         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2102         (nscd_getnetgrent): Use it.
2104         [BZ #16760]
2105         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2106         of stpcpy.
2108 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2110         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2111         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2112         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2113         (lll_robust_unlock): Remove out of line section. Use cfi
2114         intrinsics.
2115         (LLL_STUB_UNWIND_INFO*): Remove.
2116         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2117         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2118         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2119         (lll_robust_unlock): Remove out of line section. Use cfi
2120         intrinsics.
2121         (LLL_STUB_UNWIND_INFO*): Remove.
2123 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2125         [BZ #16758]
2126         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2127         blank values.
2129 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2131         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2133 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2135         [BZ #16198]
2136         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2137         fnstenv.
2138         * math/test-fenv-preserve.c: New file.
2139         * math/Makefile (tests): Add test-fenv-preserve.
2141 2014-03-26  Will Newton <will.newton@linaro.org>
2143         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2145 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2147         * scripts/versionlist.awk: Partition the version sets and emit all
2148         GLIBC_* (sorted) before all others (sorted).
2150 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2152         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2153         GLIBC_2.2.5 version.
2155 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2157         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2158         calls.
2160         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2161         previous change.
2163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2165 2014-03-25  Andreas Schwab  <schwab@suse.de>
2167         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2168         label to be used after in6ailist is initialized.
2170 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2172         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2173         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2175 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2177         [BZ #16357]
2178         [BZ #16599]
2179         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2180         min_plus_half.
2181         (fp_formats): Update initializers.
2182         (init_fp_formats): Initialize new field.
2183         (output_for_one_input_case): Allow underflow for results up to
2184         min_plus_half.
2185         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2186         * math/auto-libm-test-in: Don't mark some underflows from asin and
2187         atanh as spurious.
2188         * math/auto-libm-test-out: Regenerated.
2189         * sysdeps/i386/fpu/libm-test-ulps: Update.
2190         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2192 2014-03-25  Andreas Schwab  <schwab@suse.de>
2194         * libio/Makefile (tst-ftell-partial-wide-ENV)
2195         (tst-ftell-active-handler-ENV): Define.
2197 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2199         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2201 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2203         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2205 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2207         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2208         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2209         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2211 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2213         [BZ #16634]
2214         * elf/dl-load.c (open_verify): Add mode parameter.
2215         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2216         (open_path): Change from boolean 'secure' to complete flag 'mode'
2217         (_dl_map_object): Adjust.
2218         * elf/Makefile (tests): Add tst-dlopen-aout.
2219         * elf/tst-dlopen-aout.c: New test.
2221 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2223         [BZ #16714]
2224         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2225         (struct stat): Rename member pad0 to __glibc_reserved0.
2227         [BZ #16712]
2228         * sysdeps/s390/s390-32/bits/wordsize.h
2229         (__WORDSIZE32_SIZE_ULONG): New define.
2230         * sysdeps/s390/s390-64/bits/wordsize.h
2231         (__WORDSIZE32_SIZE_ULONG): Likewise.
2232         * sysdeps/generic/stdint.h (SIZE_MAX):
2233         Define as UL if __WORDSIZE32_SIZE_ULONG.
2235         [BZ #16713]
2236         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2237         (__glibc_reserved0): New variable.
2238         (sa_flags): Change type to int.
2240         * posix/Makefile (before-compile): Use += before-compile instead
2241         of a :=.
2243         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2244         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2246 2014-03-20  Andreas Schwab  <schwab@suse.de>
2248         [BZ #16743]
2249         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2250         non-matching result from nscd.
2252 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2254         * scripts/bench.py: Moved to ...
2255         * benchtests/scripts/bench.py: ... here.
2256         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2258 2014-03-24  Andreas Schwab  <schwab@suse.de>
2260         [BZ #16002]
2261         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2262         alloca_account and account alloca use for struct in6ailist.
2264 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2266         [BZ #16284]
2267         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2268         rounding mode to recompute results that overflow to infinity or
2269         underflow to zero.
2270         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2271         bug 16284.
2272         * math/auto-libm-test-out: Regenerated.
2273         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2274         (ccosh_test): Likewise.
2275         (csin_test_data): Use plus_oflow.
2276         (csin_test): Use ALL_RM_TEST.
2277         (csinh_test_data): Use plus_oflow.
2278         (csinh_test): Use ALL_RM_TEST.
2279         * sysdeps/i386/fpu/libm-test-ulps: Update.
2280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2282 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2284         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2285         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2286         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2288         [BZ #16731]
2289         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2290         when x - 1 is zero.
2291         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2292         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2293         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2294         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2295         argument is 1.
2296         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2297         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2298         zero.
2299         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2300         * sysdeps/i386/fpu/libm-test-ulps: Update.
2301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2303 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2305         * scripts/bench.pl: Remove file.
2306         * scripts/bench.py: New benchmark script.
2307         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2308         * benchtests/README: Mention python dependency.
2309         * scripts/pylintrc: New file.
2310         * scripts/pylint: New file.
2312         * bits/mathdef.h: Use #ifdef instead of #if.
2313         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2314         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2315         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2316         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2317         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2318         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2320 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2321             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2323         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2324         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2325         and strpbrk-ppc64 objects.
2326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2327         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2328         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2329         multiarch strpbrk for POWER7.
2330         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2331         multiarch strpbrk for PPC64.
2332         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2333         ifunc selector.
2334         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2335         strpbrk for POWER7.
2337 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2339         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2340         (atan_test): Likewise.
2341         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2342         (atanh_test): Use ALL_RM_TEST.
2343         (atan2_test_data): Likewise.
2344         (cabs_test): Likewise.
2345         (cacosh_test): Likewise.
2346         (carg_test): Likewise.
2347         (casin_test): Likewise.
2348         (casinh_test): Likewise.
2349         (cbrt_test): Likewise.
2350         (csqrt_test): Likewise.
2351         (erf_test): Likewise.
2352         (erfc_test): Likewise.
2353         (pow10_test): Likewise.
2354         (exp2_test): Likewise.
2355         (hypot_test): Likewise.
2356         (j0_test): Likewise.
2357         (j1_test): Likewise.
2358         (lgamma_test): Likewise.
2359         (gamma_test): Likewise.
2360         (sincos_test): Likewise.
2361         (tanh_test): Likewise.
2362         (y0_test): Likewise.
2363         (y1_test): Likewise.
2364         * sysdeps/i386/fpu/libm-test-ulps: Update.
2365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2367 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2369         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2370         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2371         and strcspn-ppc64 objects.
2372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2373         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2374         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2375         multiarch strcspn for POWER7.
2376         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2377         multiarch strcspn for PPC64.
2378         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2379         ifunc selector.
2380         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2381         strcspn for POWER7.
2383 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2385         * math/gen-libm-test.pl (generate_testfile): Expect only function
2386         name as argument to AUTO_TESTS_* and pass results for all rounding
2387         modes to parse_args.
2388         (parse_auto_input): Separate inputs of automatic tests from
2389         outputs before storing in %auto_tests.
2390         * math/libm-test.inc (acos_test_data): Update call to
2391         AUTO_TESTS_f_f.
2392         (acos_test): Use ALL_RM_TEST.
2393         (acos_tonearest_test_data): Remove.
2394         (acos_test_tonearest): Likewise.
2395         (acos_towardzero_test_data): Likewise.
2396         (acos_test_towardzero): Likewise.
2397         (acos_downward_test_data): Likewise.
2398         (acos_test_downward): Likewise.
2399         (acos_upward_test_data): Likewise.
2400         (acos_test_upward): Likewise.
2401         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2402         (asin_test_data): Likewise.
2403         (asin_test): Use ALL_RM_TEST.
2404         (asin_tonearest_test_data): Remove.
2405         (asin_test_tonearest): Likewise.
2406         (asin_towardzero_test_data): Likewise.
2407         (asin_test_towardzero): Likewise.
2408         (asin_downward_test_data): Likewise.
2409         (asin_test_downward): Likewise.
2410         (asin_upward_test_data): Likewise.
2411         (asin_test_upward): Likewise.
2412         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2413         (atan_test_data): Likewise.
2414         (atanh_test_data): Likewise.
2415         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2416         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2417         (carg_test_data): Likewise.
2418         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2419         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2420         (ccosh_test_data): Likewise.
2421         (cexp_test_data): Likewise.
2422         (clog_test_data): Likewise.
2423         (clog10_test_data): Likewise.
2424         (cos_test_data): Update call to AUTO_TESTS_f_f.
2425         (cos_test): Use ALL_RM_TEST.
2426         (cos_tonearest_test_data): Remove.
2427         (cos_test_tonearest): Likewise.
2428         (cos_towardzero_test_data): Likewise.
2429         (cos_test_towardzero): Likewise.
2430         (cos_downward_test_data): Likewise.
2431         (cos_test_downward): Likewise.
2432         (cos_upward_test_data): Likewise.
2433         (cos_test_upward): Likewise.
2434         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2435         (cosh_test): Use ALL_RM_TEST.
2436         (cosh_tonearest_test_data): Remove.
2437         (cosh_test_tonearest): Likewise.
2438         (cosh_towardzero_test_data): Likewise.
2439         (cosh_test_towardzero): Likewise.
2440         (cosh_downward_test_data): Likewise.
2441         (cosh_test_downward): Likewise.
2442         (cosh_upward_test_data): Likewise.
2443         (cosh_test_upward): Likewise.
2444         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2445         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2446         (ctan_test_data): Likewise.
2447         (ctan_test): Use ALL_RM_TEST.
2448         (ctan_tonearest_test_data): Remove.
2449         (ctan_test_tonearest): Likewise.
2450         (ctan_towardzero_test_data): Likewise.
2451         (ctan_test_towardzero): Likewise.
2452         (ctan_downward_test_data): Likewise.
2453         (ctan_test_downward): Likewise.
2454         (ctan_upward_test_data): Likewise.
2455         (ctan_test_upward): Likewise.
2456         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2457         (ctanh_test): Use ALL_RM_TEST.
2458         (ctanh_tonearest_test_data): Remove.
2459         (ctanh_test_tonearest): Likewise.
2460         (ctanh_towardzero_test_data): Likewise.
2461         (ctanh_test_towardzero): Likewise.
2462         (ctanh_downward_test_data): Likewise.
2463         (ctanh_test_downward): Likewise.
2464         (ctanh_upward_test_data): Likewise.
2465         (ctanh_test_upward): Likewise.
2466         (erf_test_data): Update call to AUTO_TESTS_f_f.
2467         (erfc_test_data): Likewise.
2468         (exp_test_data): Likewise.
2469         (exp_test): Use ALL_RM_TEST.
2470         (exp_tonearest_test_data): Remove.
2471         (exp_test_tonearest): Likewise.
2472         (exp_towardzero_test_data): Likewise.
2473         (exp_test_towardzero): Likewise.
2474         (exp_downward_test_data): Likewise.
2475         (exp_test_downward): Likewise.
2476         (exp_upward_test_data): Likewise.
2477         (exp_test_upward): Likewise.
2478         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2479         (exp10_test): Use ALL_RM_TEST.
2480         (exp10_tonearest_test_data): Remove.
2481         (exp10_test_tonearest): Likewise.
2482         (exp10_towardzero_test_data): Likewise.
2483         (exp10_test_towardzero): Likewise.
2484         (exp10_downward_test_data): Likewise.
2485         (exp10_test_downward): Likewise.
2486         (exp10_upward_test_data): Likewise.
2487         (exp10_test_upward): Likewise.
2488         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2489         (expm1_test_data): Likewise.
2490         (expm1_test): Use ALL_RM_TEST.
2491         (expm1_tonearest_test_data): Remove.
2492         (expm1_test_tonearest): Likewise.
2493         (expm1_towardzero_test_data): Likewise.
2494         (expm1_test_towardzero): Likewise.
2495         (expm1_downward_test_data): Likewise.
2496         (expm1_test_downward): Likewise.
2497         (expm1_upward_test_data): Likewise.
2498         (expm1_test_upward): Likewise.
2499         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2500         (fma_test): Use ALL_RM_TEST.
2501         (fma_towardzero_test_data): Remove.
2502         (fma_test_towardzero): Likewise.
2503         (fma_downward_test_data): Likewise.
2504         (fma_test_downward): Likewise.
2505         (fma_upward_test_data): Likewise.
2506         (fma_test_upward): Likewise.
2507         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2508         (j0_test_data): Update call to AUTO_TESTS_f_f.
2509         (j1_test_data): Likewise.
2510         (jn_test_data): Update call to AUTO_TESTS_if_f.
2511         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2512         (log_test_data): Update call to AUTO_TESTS_f_f.
2513         (log10_test_data): Likewise.
2514         (log1p_test_data): Likewise.
2515         (log2_test_data): Likewise.
2516         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2517         (pow_tonearest_test_data): Likewise.
2518         (sin_test_data): Update call to AUTO_TESTS_f_f.
2519         (sin_test): Use ALL_RM_TEST.
2520         (sin_tonearest_test_data): Remove.
2521         (sin_test_tonearest): Likewise.
2522         (sin_towardzero_test_data): Likewise.
2523         (sin_test_towardzero): Likewise.
2524         (sin_downward_test_data): Likewise.
2525         (sin_test_downward): Likewise.
2526         (sin_upward_test_data): Likewise.
2527         (sin_test_upward): Likewise.
2528         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2529         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2530         (sinh_test): Use ALL_RM_TEST.
2531         (sinh_tonearest_test_data): Remove.
2532         (sinh_test_tonearest): Likewise.
2533         (sinh_towardzero_test_data): Likewise.
2534         (sinh_test_towardzero): Likewise.
2535         (sinh_downward_test_data): Likewise.
2536         (sinh_test_downward): Likewise.
2537         (sinh_upward_test_data): Likewise.
2538         (sinh_test_upward): Likewise.
2539         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2540         (sqrt_test): Use ALL_RM_TEST.
2541         (sqrt_tonearest_test_data): Remove.
2542         (sqrt_test_tonearest): Likewise.
2543         (sqrt_towardzero_test_data): Likewise.
2544         (sqrt_test_towardzero): Likewise.
2545         (sqrt_downward_test_data): Likewise.
2546         (sqrt_test_downward): Likewise.
2547         (sqrt_upward_test_data): Likewise.
2548         (sqrt_test_upward): Likewise.
2549         (tan_test_data): Update call to AUTO_TESTS_f_f.
2550         (tan_test): Use ALL_RM_TEST.
2551         (tan_tonearest_test_data): Remove.
2552         (tan_test_tonearest): Likewise.
2553         (tan_towardzero_test_data): Likewise.
2554         (tan_test_towardzero): Likewise.
2555         (tan_downward_test_data): Likewise.
2556         (tan_test_downward): Likewise.
2557         (tan_upward_test_data): Likewise.
2558         (tan_test_upward): Likewise.
2559         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2560         (tgamma_test_data): Likewise.
2561         (y0_test_data): Likewise.
2562         (y1_test_data): Likewise.
2563         (yn_test_data): Update call to AUTO_TESTS_if_f.
2564         (main): Do not call removed functions.
2566 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2568         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2569         (ldexp_test_data): Remove.
2570         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2571         scalbn_test_data.
2572         (scalb_test): Use ALL_RM_TEST.
2574 2014-03-19  Andreas Schwab  <schwab@suse.de>
2576         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2578 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2580         [BZ #16649]
2581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2582         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2583         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2584         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2585         (__ASSUME_PREADV): Undefine.
2586         (__ASSUME_PWRITEV): Likewise.
2588 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2590         * bits/mman-linux.h: Add comment about non-Linux use.
2591         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2592         bits/mman-linux.h resting place.
2594         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2595         * bits/mman-linux.h: ... here.
2597 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2599         * conform/conformtest.pl: Add standard definition when calling C
2600         preprocessor on data files.
2601         (checknamespace): Remove unused variable.
2603 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2605         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2606         minus_oflow, plus_uflow and minus_uflow in expected results.
2607         * math/libm-test.inc (scalbn_test_data): Add more tests of
2608         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2609         minus_uflow.
2610         (scalbn_test): Use ALL_RM_TEST.
2611         (scalbln_test_data): Add more tests of negative arguments.  Use
2612         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2613         (scalbln_test): Use ALL_RM_TEST.
2615 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2617         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2619 2014-03-18  Will Newton  <will.newton@linaro.org>
2621         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2622         inaccurate comment.
2624 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2626         * Makerules [!subdir] (check-abi): Exit with error status if a
2627         test failed.
2629 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2631         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2632         for rint.  Include results for all rounding modes.
2633         (nearbyint_test): Use ALL_RM_TEST.
2634         (rint_test_data): Include all tests used for nearbyint.
2636 2014-03-17  Will Newton  <will.newton@linaro.org>
2638         * nptl/sysdeps/pthread/pthread.h: Revert previous
2639         change.
2641         * sysdeps/generic/ldsodefs.h: Revert previous
2642         change.
2644         * libio/genops.c: Revert previous change.
2645         * libio/libioP.h: Likewise.
2646         * stdio-common/vfprintf.c: Likewise.
2648         * sysdeps/generic/math_private.h: Revert previous
2649         change.
2651         * sysdeps/generic/math_private.h: Check whether
2652         HAVE_RM_CTX is defined with #ifdef rather
2653         than #if.
2655         * argp/argp-fmtstream.h: Check whether
2656         __STRICT_ANSI__ is defined with #ifdef rather
2657         than #if.
2658         * argp/argp.h: Likewise.
2660         * libio/genops.c: Check whether
2661         _IO_JUMPS_OFFSET is defined with #ifdef rather
2662         than #if.
2663         * libio/libioP.h: Likewise.
2664         * stdio-common/vfprintf.c: Likewise.
2666         * sysdeps/generic/ldsodefs.h: Check whether
2667         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2668         than #if.
2670         * nptl/sysdeps/pthread/pthread.h: Check
2671         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2672         its value.
2674 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2676         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2677         setting O_APPEND.
2678         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2679         test case.
2681         [BZ #16680]
2682         * libio/fileops.c (_IO_file_open): Seek to end of file but
2683         don't cache the offset.
2684         (get_file_offset): Remove function.
2685         (do_ftell): Use cached offset when available.
2686         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2687         don't cache the offset.
2688         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2689         case.
2690         (do_one_test): Call it.
2691         (do_ftell_test): Fix up expected old offset for a+ mode.
2692         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2693         available.
2695         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2696         up test status with function return status.
2697         (do_write_test): Likewise.
2698         (do_append_test): Likewise.
2700         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2701         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2702         Remove.
2704 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2706         * math/gen-libm-test.pl (parse_args): Handle results specified for
2707         each rounding mode separately.
2708         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2709         tests and results from lrint_tonearest_test_data,
2710         lrint_towardzero_test_data, lrint_downward_test_data and
2711         lrint_upward_test_data.
2712         (lrint_test): Use ALL_RM_TEST.
2713         (lrint_tonearest_test_data): Remove.
2714         (lrint_test_tonearest): Likewise.
2715         (lrint_towardzero_test_data): Likewise.
2716         (lrint_test_towardzero): Likewise.
2717         (lrint_downward_test_data): Likewise.
2718         (lrint_test_downward): Likewise.
2719         (lrint_upward_test_data): Likewise.
2720         (lrint_test_upward): Likewise.
2721         (llrint_test_data): Merge in per-rounding-mode tests and results
2722         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2723         llrint_downward_test_data and llrint_upward_test_data.
2724         (llrint_test): Use ALL_RM_TEST.
2725         (llrint_tonearest_test_data): Remove.
2726         (llrint_test_tonearest): Likewise.
2727         (llrint_towardzero_test_data): Likewise.
2728         (llrint_test_towardzero): Likewise.
2729         (llrint_downward_test_data): Likewise.
2730         (llrint_test_downward): Likewise.
2731         (llrint_upward_test_data): Likewise.
2732         (llrint_test_upward): Likewise.
2733         (rint_test_data): Merge in per-rounding-mode tests and results
2734         from rint_tonearest_test_data, rint_towardzero_test_data,
2735         rint_downward_test_data and rint_upward_test_data.  Add
2736         per-rounding-mode results for tests not in those arrays.
2737         (rint_test): Use ALL_RM_TEST.
2738         (rint_tonearest_test_data): Remove.
2739         (rint_test_tonearest): Likewise.
2740         (rint_towardzero_test_data): Likewise.
2741         (rint_test_towardzero): Likewise.
2742         (rint_downward_test_data): Likewise.
2743         (rint_test_downward): Likewise.
2744         (rint_upward_test_data): Likewise.
2745         (rint_test_upward): Likewise.
2746         (main): Don't call removed functions.
2748 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2750         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2751         "Compiled on ..." crapola.  It is anti-useful.
2753 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2755         * scripts/evaluate-test.sh: Handle fourth argument to determine
2756         whether test run should stop on failure.
2757         * Makeconfig (stop-on-test-failure): New variable.
2758         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2759         $(stop-on-test-failure).
2760         * Makefile (tests): Give a summary of results from testing and
2761         exit with failure status if they include an ERROR or FAIL.
2762         (xtests): Likewise.
2763         * manual/install.texi (Configuring and compiling): Mention
2764         stop-on-test-failure=y.
2765         * INSTALL: Regenerated.
2767 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2769         * scripts/versionlist.awk: New file.
2770         * Makerules [$(build-shared) = yes]
2771         (postclean-generated): Add Versions.def, not Versions.def.v and
2772         Versions.def.v.i.
2773         ($(common-objpfx)Versions.def.v.i): Target removed.
2774         ($(common-objpfx)Versions.def): New target.
2775         ($(common-objpfx)Versions.all): Depend on that rather that
2776         $(common-objpfx)Versions.def.v.
2777         * Versions.def: File removed.
2779         * Makeconfig (+gccwarn): Add -Wundef.
2780         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2781         a dl-sysdep.h breaking its contract.
2782         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2783         * include/stackinfo.h: New file.
2784         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2785         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2786         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2787         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2788         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2789         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2790         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2791         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2792         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2793         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2794         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2795         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2796         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2797         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2798         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2800 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2802         [BZ #16707]
2803         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2804         implementation.
2805         * math/libm-test.inc (round_test_data): Add more tests.
2807         [BZ #16706]
2808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2809         implementation.
2810         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2812         [BZ #16701]
2813         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2814         implementation.
2815         * math/libm-test.inc (ceil_test_data): Add more tests.
2817         * math/libm-test.inc (trunc_test_data): Add more tests related to
2818         BZ#16414.
2820 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2822         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2823         with #if rather than #ifdef.
2824         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2826 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2828         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2829         first.  Disable AVX-512 GCC support if assembler doesn't support
2830         it.
2831         * sysdeps/x86_64/configure: Regenerated.
2833 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2835         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2836         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2837         (__old_pthread_attr_setstack): Likewise.
2838         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2839         [!_STACK_GROWS_DOWN]: Likewise.
2841 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2843         * config.make.in (have-bash2): Delete.
2844         * configure.ac (libc_cv_have_bash2): Delete.
2845         * configure: Regenerate.
2846         * elf/Makefile (common-ldd-rewrite): Rename to ...
2847         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2848         (sh-ldd-rewrite): Delete.
2849         (bash-ldd-rewrite): Delete.
2850         (have-bash2): Delete checks.
2851         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2852         ldd-rewrite.
2854         * config.make.in (have-ksh): Delete.
2855         (KSH): Delete.
2856         * configure.ac (libc_cv_have_ksh): Delete.
2857         * configure: Regenerate.
2859         * elf/Makefile: Delete $(have-ksh) check.
2860         ($(objpfx)sotruss): Change KSH to BASH.
2861         * elf/sotruss.ksh: Rename to ...
2862         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2863         function style to match POSIX.  Drop ksh vim mode setting.
2865         * manual/time.texi (Specifying the Time Zone with TZ): Change
2866         Tuesday to Thursday.
2868         * debug/tst-longjmp_chk2.c: Update header comment.
2869         (stackoverflow_handler): Add comment.  Call assert on pass value.
2871 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2873         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2874         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2875         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2876         (La_x86_64_vector): Add zmm.
2877         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2878         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2879         ($(objpfx)tst-audit10): New target.
2880         ($(objpfx)tst-audit10.out): Likewise.
2881         (tst-audit10-ENV): New.
2882         (AVX512-CFLAGS): Likewise.
2883         (CFLAGS-tst-audit10.c): Likewise.
2884         (CFLAGS-tst-auditmod10a.c): Likewise.
2885         (CFLAGS-tst-auditmod10b.c): Likewise.
2886         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2887         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2888         * sysdeps/x86_64/configure: Regenerated.
2889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2890         AVX-512 zmm register support.
2891         (_dl_x86_64_save_sse): Likewise.
2892         (_dl_x86_64_restore_sse): Likewise.
2893         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2894         size vector registers.
2895         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2896         (ZMM_SIZE): Likewise.
2897         * sysdeps/x86_64/tst-audit10.c: New file.
2898         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2899         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2901 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2903         * configure.ac (HAVE_EHDR_START): New check.
2904         * configure: Regenerated.
2905         * config.h.in (HAVE_EHDR_START): New #undef.
2906         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2907         assuming the lowest-addressed segment maps the start of the file.
2909 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2911         * INSTALL: Regenerated.
2913 2014-03-13  Will Newton  <will.newton@linaro.org>
2915         * manual/setjmp.texi (System V contexts): Improve
2916         clarity and grammar of documentation.
2918 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2920         [BZ #16381]
2921         * elf/Makefile (tests): Add tst-pie2.
2922         (tests-pie): Add tst-pie2.
2923         * elf/tst-pie2.c: New file.
2924         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2925         for ET_EXEC.
2926         * elf/rtld.c (map_doit): Load executable as lt_executable.
2927         (dl_main): Likewise.
2929 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2931         [BZ #16642]
2932         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2933         (__ASSUME_PSELECT): Undefine.
2935 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2937         [BZ #16689]
2938         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2939         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2940         static build.
2941         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2942         selector for static builds.
2944 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2946         [BZ #16695]
2947         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2948         key in the buffer.
2950 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2952         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2953         IFUNC selector for static builds.
2955 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2957         * sysdeps/mips/math_private.h [__mips_hard_float]
2958         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2959         libc_feresetround_mips_ctx.
2960         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2961         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2962         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2964         [BZ #16677]
2965         * math/s_nextafter.c (__nextafter): Do not return value from
2966         overflowing computation.
2967         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2968         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2969         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2970         Likewise.
2971         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2972         Likewise.
2973         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2974         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2976 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2978         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2979         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2980         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2981         the new mov targetting sp.
2983 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2985         [BZ #16683]
2986         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2987         Define it for static builds as well.
2988         (NO_BZERO_IMPL): Likewise.
2990 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2992         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2993         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2994         multiarch strspn for PPC64.
2995         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2996         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2998         (__libc_ifunc_impl_list): Likewise.
2999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3000         multiarch optimizations
3001         * string/strspn.c (strspn): Using macro to redefine symbol name.
3003 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3004             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3006         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3007         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3008         multiarch strncat for PPC64.
3009         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3010         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3011         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3012         (__libc_ifunc_impl_list): Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3014         multiarch optimizations
3016 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3018         [BZ #16639]
3019         * nscd/nscd.service: Make service type forking.
3021 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3023         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3024         sign in non default rounding modes.
3025         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3027 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3029         * math/libm-test.inc (ALL_RM_TEST): New macro.
3030         (ceil_test): Use ALL_RM_TEST.
3031         (cimag_test): Likewise.
3032         (conj_test): Likewise.
3033         (copysign_test): Likewise.
3034         (cproj_test): Likewise.
3035         (creal_test): Likewise.
3036         (fabs_test): Likewise.
3037         (floor_test): Likewise.
3038         (fmax_test): Likewise.
3039         (fmin_test): Likewise.
3040         (fmod_test): Likewise.
3041         (fpclassify_test): Likewise.
3042         (frexp_test): Likewise.
3043         (ilogb_test): Likewise.
3044         (isfinite_test): Likewise.
3045         (finite_test): Likewise.
3046         (isgreater_test): Likewise.
3047         (isgreaterequal_test): Likewise.
3048         (isinf_test): Likewise.
3049         (isless_test): Likewise.
3050         (islessequal_test): Likewise.
3051         (islessgreater_test): Likewise.
3052         (isnan_test): Likewise.
3053         (isnormal_test): Likewise.
3054         (issignaling_test): Likewise.
3055         (isunordered_test): Likewise.
3056         (logb_test): Likewise.
3057         (logb_downward_test_data): Remove.
3058         (logb_test_downward): Likewise.
3059         (lround_test): Use ALL_RM_TEST.
3060         (llround_test): Likewise.
3061         (modf_test): Likewise.
3062         (nexttoward_test): Likewise.
3063         (remainder_test): Likewise.
3064         (drem_test): Likewise.
3065         (remainder_tonearest_test_data): Likewise.
3066         (remainder_test_tonearest): Likewise.
3067         (drem_test_tonearest): Likewise.
3068         (remainder_towardzero_test_data): Likewise.
3069         (remainder_test_towardzero): Likewise.
3070         (drem_test_towardzero): Likewise.
3071         (remainder_downward_test_data): Likewise.
3072         (remainder_test_downward): Likewise.
3073         (drem_test_downward): Likewise.
3074         (remainder_upward_test_data): Likewise.
3075         (remainder_test_upward): Likewise.
3076         (drem_test_upward): Likewise.
3077         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3078         (round_test): Use ALL_RM_TEST.
3079         (signbit_test): Likewise.
3080         (trunc_test): Likewise.
3081         (significand_test): Likewise.
3082         (main): Don't call removed functions.
3084 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3086         [BZ #16674]
3087         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3088         || __USE_XOPEN2K8].
3089         (ILL_ILLOPN): Likewise.
3090         (ILL_ILLADR): Likewise.
3091         (ILL_ILLTRP): Likewise.
3092         (ILL_PRVOPC): Likewise.
3093         (ILL_PRVREG): Likewise.
3094         (ILL_COPROC): Likewise.
3095         (ILL_BADSTK): Likewise.
3096         (FPE_INTDIV): Likewise.
3097         (FPE_INTOVF): Likewise.
3098         (FPE_FLTDIV): Likewise.
3099         (FPE_FLTOVF): Likewise.
3100         (FPE_FLTUND): Likewise.
3101         (FPE_FLTRES): Likewise.
3102         (FPE_FLTINV): Likewise.
3103         (FPE_FLTSUB): Likewise.
3104         (SEGV_MAPERR): Likewise.
3105         (SEGV_ACCERR): Likewise.
3106         (BUS_ADRALN): Likewise.
3107         (BUS_ADRERR): Likewise.
3108         (BUS_OBJERR): Likewise.
3109         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3110         (TRAP_TRACE): Likewise.
3111         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3112         __USE_XOPEN2K8].
3113         (CLD_KILLED): Likewise.
3114         (CLD_DUMPED): Likewise.
3115         (CLD_TRAPPED): Likewise.
3116         (CLD_STOPPED): Likewise.
3117         (CLD_CONTINUED): Likewise.
3118         (POLL_IN): Likewise.
3119         (POLL_OUT): Likewise.
3120         (POLL_MSG): Likewise.
3121         (POLL_ERR): Likewise.
3122         (POLL_PRI): Likewise.
3123         (POLL_HUP): Likewise.
3124         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3125         Likewise.
3126         (ILL_ILLOPN): Likewise.
3127         (ILL_ILLADR): Likewise.
3128         (ILL_ILLTRP): Likewise.
3129         (ILL_PRVOPC): Likewise.
3130         (ILL_PRVREG): Likewise.
3131         (ILL_COPROC): Likewise.
3132         (ILL_BADSTK): Likewise.
3133         (FPE_INTDIV): Likewise.
3134         (FPE_INTOVF): Likewise.
3135         (FPE_FLTDIV): Likewise.
3136         (FPE_FLTOVF): Likewise.
3137         (FPE_FLTUND): Likewise.
3138         (FPE_FLTRES): Likewise.
3139         (FPE_FLTINV): Likewise.
3140         (FPE_FLTSUB): Likewise.
3141         (SEGV_MAPERR): Likewise.
3142         (SEGV_ACCERR): Likewise.
3143         (BUS_ADRALN): Likewise.
3144         (BUS_ADRERR): Likewise.
3145         (BUS_OBJERR): Likewise.
3146         (BUS_MCEERR_AR): Likewise.
3147         (BUS_MCEERR_AO): Likewise.
3148         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3149         (TRAP_TRACE): Likewise.
3150         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3151         __USE_XOPEN2K8].
3152         (CLD_KILLED): Likewise.
3153         (CLD_DUMPED): Likewise.
3154         (CLD_TRAPPED): Likewise.
3155         (CLD_STOPPED): Likewise.
3156         (CLD_CONTINUED): Likewise.
3157         (POLL_IN): Likewise.
3158         (POLL_OUT): Likewise.
3159         (POLL_MSG): Likewise.
3160         (POLL_ERR): Likewise.
3161         (POLL_PRI): Likewise.
3162         (POLL_HUP): Likewise.
3163         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3164         (ILL_ILLOPN): Likewise.
3165         (ILL_ILLADR): Likewise.
3166         (ILL_ILLTRP): Likewise.
3167         (ILL_PRVOPC): Likewise.
3168         (ILL_PRVREG): Likewise.
3169         (ILL_COPROC): Likewise.
3170         (ILL_BADSTK): Likewise.
3171         (FPE_INTDIV): Likewise.
3172         (FPE_INTOVF): Likewise.
3173         (FPE_FLTDIV): Likewise.
3174         (FPE_FLTOVF): Likewise.
3175         (FPE_FLTUND): Likewise.
3176         (FPE_FLTRES): Likewise.
3177         (FPE_FLTINV): Likewise.
3178         (FPE_FLTSUB): Likewise.
3179         (SEGV_MAPERR): Likewise.
3180         (SEGV_ACCERR): Likewise.
3181         (BUS_ADRALN): Likewise.
3182         (BUS_ADRERR): Likewise.
3183         (BUS_OBJERR): Likewise.
3184         (BUS_MCEERR_AR): Likewise.
3185         (BUS_MCEERR_AO): Likewise.
3186         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3187         (TRAP_TRACE): Likewise.
3188         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3189         __USE_XOPEN2K8].
3190         (CLD_KILLED): Likewise.
3191         (CLD_DUMPED): Likewise.
3192         (CLD_TRAPPED): Likewise.
3193         (CLD_STOPPED): Likewise.
3194         (CLD_CONTINUED): Likewise.
3195         (POLL_IN): Likewise.
3196         (POLL_OUT): Likewise.
3197         (POLL_MSG): Likewise.
3198         (POLL_ERR): Likewise.
3199         (POLL_PRI): Likewise.
3200         (POLL_HUP): Likewise.
3201         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3202         Likewise.
3203         (ILL_ILLOPN): Likewise.
3204         (ILL_ILLADR): Likewise.
3205         (ILL_ILLTRP): Likewise.
3206         (ILL_PRVOPC): Likewise.
3207         (ILL_PRVREG): Likewise.
3208         (ILL_COPROC): Likewise.
3209         (ILL_BADSTK): Likewise.
3210         (ILL_BADIADDR): Likewise.
3211         (ILL_BREAK): Likewise.
3212         (FPE_INTDIV): Likewise.
3213         (FPE_INTOVF): Likewise.
3214         (FPE_FLTDIV): Likewise.
3215         (FPE_FLTOVF): Likewise.
3216         (FPE_FLTUND): Likewise.
3217         (FPE_FLTRES): Likewise.
3218         (FPE_FLTINV): Likewise.
3219         (FPE_FLTSUB): Likewise.
3220         (FPE_DECOVF): Likewise.
3221         (FPE_DECDIV): Likewise.
3222         (FPE_DECERR): Likewise.
3223         (FPE_INVASC): Likewise.
3224         (FPE_INVDEC): Likewise.
3225         (SEGV_MAPERR): Likewise.
3226         (SEGV_ACCERR): Likewise.
3227         (SEGV_PSTKOVF): Likewise.
3228         (BUS_ADRALN): Likewise.
3229         (BUS_ADRERR): Likewise.
3230         (BUS_OBJERR): Likewise.
3231         (BUS_MCEERR_AR): Likewise.
3232         (BUS_MCEERR_AO): Likewise.
3233         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3234         (TRAP_TRACE): Likewise.
3235         (TRAP_BRANCH): Likewise.
3236         (TRAP_HWBKPT): Likewise.
3237         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3238         __USE_XOPEN2K8].
3239         (CLD_KILLED): Likewise.
3240         (CLD_DUMPED): Likewise.
3241         (CLD_TRAPPED): Likewise.
3242         (CLD_STOPPED): Likewise.
3243         (CLD_CONTINUED): Likewise.
3244         (POLL_IN): Likewise.
3245         (POLL_OUT): Likewise.
3246         (POLL_MSG): Likewise.
3247         (POLL_ERR): Likewise.
3248         (POLL_PRI): Likewise.
3249         (POLL_HUP): Likewise.
3250         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3251         (ILL_ILLOPN): Likewise.
3252         (ILL_ILLADR): Likewise.
3253         (ILL_ILLTRP): Likewise.
3254         (ILL_PRVOPC): Likewise.
3255         (ILL_PRVREG): Likewise.
3256         (ILL_COPROC): Likewise.
3257         (ILL_BADSTK): Likewise.
3258         (FPE_INTDIV): Likewise.
3259         (FPE_INTOVF): Likewise.
3260         (FPE_FLTDIV): Likewise.
3261         (FPE_FLTOVF): Likewise.
3262         (FPE_FLTUND): Likewise.
3263         (FPE_FLTRES): Likewise.
3264         (FPE_FLTINV): Likewise.
3265         (FPE_FLTSUB): Likewise.
3266         (SEGV_MAPERR): Likewise.
3267         (SEGV_ACCERR): Likewise.
3268         (BUS_ADRALN): Likewise.
3269         (BUS_ADRERR): Likewise.
3270         (BUS_OBJERR): Likewise.
3271         (BUS_MCEERR_AR): Likewise.
3272         (BUS_MCEERR_AO): Likewise.
3273         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3274         (TRAP_TRACE): Likewise.
3275         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3276         __USE_XOPEN2K8].
3277         (CLD_KILLED): Likewise.
3278         (CLD_DUMPED): Likewise.
3279         (CLD_TRAPPED): Likewise.
3280         (CLD_STOPPED): Likewise.
3281         (CLD_CONTINUED): Likewise.
3282         (POLL_IN): Likewise.
3283         (POLL_OUT): Likewise.
3284         (POLL_MSG): Likewise.
3285         (POLL_ERR): Likewise.
3286         (POLL_PRI): Likewise.
3287         (POLL_HUP): Likewise.
3288         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3289         (ILL_ILLOPN): Likewise.
3290         (ILL_ILLADR): Likewise.
3291         (ILL_ILLTRP): Likewise.
3292         (ILL_PRVOPC): Likewise.
3293         (ILL_PRVREG): Likewise.
3294         (ILL_COPROC): Likewise.
3295         (ILL_BADSTK): Likewise.
3296         (FPE_INTDIV): Likewise.
3297         (FPE_INTOVF): Likewise.
3298         (FPE_FLTDIV): Likewise.
3299         (FPE_FLTOVF): Likewise.
3300         (FPE_FLTUND): Likewise.
3301         (FPE_FLTRES): Likewise.
3302         (FPE_FLTINV): Likewise.
3303         (FPE_FLTSUB): Likewise.
3304         (SEGV_MAPERR): Likewise.
3305         (SEGV_ACCERR): Likewise.
3306         (BUS_ADRALN): Likewise.
3307         (BUS_ADRERR): Likewise.
3308         (BUS_OBJERR): Likewise.
3309         (BUS_MCEERR_AR): Likewise.
3310         (BUS_MCEERR_AO): Likewise.
3311         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3312         (TRAP_TRACE): Likewise.
3313         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3314         __USE_XOPEN2K8].
3315         (CLD_KILLED): Likewise.
3316         (CLD_DUMPED): Likewise.
3317         (CLD_TRAPPED): Likewise.
3318         (CLD_STOPPED): Likewise.
3319         (CLD_CONTINUED): Likewise.
3320         (POLL_IN): Likewise.
3321         (POLL_OUT): Likewise.
3322         (POLL_MSG): Likewise.
3323         (POLL_ERR): Likewise.
3324         (POLL_PRI): Likewise.
3325         (POLL_HUP): Likewise.
3326         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3327         (ILL_ILLOPN): Likewise.
3328         (ILL_ILLADR): Likewise.
3329         (ILL_ILLTRP): Likewise.
3330         (ILL_PRVOPC): Likewise.
3331         (ILL_PRVREG): Likewise.
3332         (ILL_COPROC): Likewise.
3333         (ILL_BADSTK): Likewise.
3334         (FPE_INTDIV): Likewise.
3335         (FPE_INTOVF): Likewise.
3336         (FPE_FLTDIV): Likewise.
3337         (FPE_FLTOVF): Likewise.
3338         (FPE_FLTUND): Likewise.
3339         (FPE_FLTRES): Likewise.
3340         (FPE_FLTINV): Likewise.
3341         (FPE_FLTSUB): Likewise.
3342         (SEGV_MAPERR): Likewise.
3343         (SEGV_ACCERR): Likewise.
3344         (BUS_ADRALN): Likewise.
3345         (BUS_ADRERR): Likewise.
3346         (BUS_OBJERR): Likewise.
3347         (BUS_MCEERR_AR): Likewise.
3348         (BUS_MCEERR_AO): Likewise.
3349         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3350         (TRAP_TRACE): Likewise.
3351         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3352         __USE_XOPEN2K8].
3353         (CLD_KILLED): Likewise.
3354         (CLD_DUMPED): Likewise.
3355         (CLD_TRAPPED): Likewise.
3356         (CLD_STOPPED): Likewise.
3357         (CLD_CONTINUED): Likewise.
3358         (POLL_IN): Likewise.
3359         (POLL_OUT): Likewise.
3360         (POLL_MSG): Likewise.
3361         (POLL_ERR): Likewise.
3362         (POLL_PRI): Likewise.
3363         (POLL_HUP): Likewise.
3364         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3365         (ILL_ILLOPN): Likewise.
3366         (ILL_ILLADR): Likewise.
3367         (ILL_ILLTRP): Likewise.
3368         (ILL_PRVOPC): Likewise.
3369         (ILL_PRVREG): Likewise.
3370         (ILL_COPROC): Likewise.
3371         (ILL_BADSTK): Likewise.
3372         (ILL_DBLFLT): Likewise.
3373         (ILL_HARDWALL): Likewise.
3374         (FPE_INTDIV): Likewise.
3375         (FPE_INTOVF): Likewise.
3376         (FPE_FLTDIV): Likewise.
3377         (FPE_FLTOVF): Likewise.
3378         (FPE_FLTUND): Likewise.
3379         (FPE_FLTRES): Likewise.
3380         (FPE_FLTINV): Likewise.
3381         (FPE_FLTSUB): Likewise.
3382         (SEGV_MAPERR): Likewise.
3383         (SEGV_ACCERR): Likewise.
3384         (BUS_ADRALN): Likewise.
3385         (BUS_ADRERR): Likewise.
3386         (BUS_OBJERR): Likewise.
3387         (BUS_MCEERR_AR): Likewise.
3388         (BUS_MCEERR_AO): Likewise.
3389         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3390         (TRAP_TRACE): Likewise.
3391         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3392         __USE_XOPEN2K8].
3393         (CLD_KILLED): Likewise.
3394         (CLD_DUMPED): Likewise.
3395         (CLD_TRAPPED): Likewise.
3396         (CLD_STOPPED): Likewise.
3397         (CLD_CONTINUED): Likewise.
3398         (POLL_IN): Likewise.
3399         (POLL_OUT): Likewise.
3400         (POLL_MSG): Likewise.
3401         (POLL_ERR): Likewise.
3402         (POLL_PRI): Likewise.
3403         (POLL_HUP): Likewise.
3404         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3405         (ILL_ILLOPN): Likewise.
3406         (ILL_ILLADR): Likewise.
3407         (ILL_ILLTRP): Likewise.
3408         (ILL_PRVOPC): Likewise.
3409         (ILL_PRVREG): Likewise.
3410         (ILL_COPROC): Likewise.
3411         (ILL_BADSTK): Likewise.
3412         (FPE_INTDIV): Likewise.
3413         (FPE_INTOVF): Likewise.
3414         (FPE_FLTDIV): Likewise.
3415         (FPE_FLTOVF): Likewise.
3416         (FPE_FLTUND): Likewise.
3417         (FPE_FLTRES): Likewise.
3418         (FPE_FLTINV): Likewise.
3419         (FPE_FLTSUB): Likewise.
3420         (SEGV_MAPERR): Likewise.
3421         (SEGV_ACCERR): Likewise.
3422         (BUS_ADRALN): Likewise.
3423         (BUS_ADRERR): Likewise.
3424         (BUS_OBJERR): Likewise.
3425         (BUS_MCEERR_AR): Likewise.
3426         (BUS_MCEERR_AO): Likewise.
3427         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3428         (TRAP_TRACE): Likewise.
3429         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3430         __USE_XOPEN2K8].
3431         (CLD_KILLED): Likewise.
3432         (CLD_DUMPED): Likewise.
3433         (CLD_TRAPPED): Likewise.
3434         (CLD_STOPPED): Likewise.
3435         (CLD_CONTINUED): Likewise.
3436         (POLL_IN): Likewise.
3437         (POLL_OUT): Likewise.
3438         (POLL_MSG): Likewise.
3439         (POLL_ERR): Likewise.
3440         (POLL_PRI): Likewise.
3441         (POLL_HUP): Likewise.
3442         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3443         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3445         [BZ #16670]
3446         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3447         before #include of <time.h>.
3448         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3449         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3450         (test-xfail-UNIX98/sched.h/conform): Likewise.
3452 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3454         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3455         error absence of trapping exception support.
3456         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3458 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3460         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3461         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3462         * timezone/Makefile (testdata): Move definition above include of
3463         Rules.
3464         (test-zones): New variable.
3465         (tests-special): Add zone files.
3466         (build-testdata): Use $(evaluate-test).
3468         * elf/Makefile (tests-special): Rename tests to end with .out.
3469         ($(objpfx)noload-mem): Likewise.
3470         ($(objpfx)tst-leaks1-mem): Likewise.
3471         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3472         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3473         $(objpfx)test-iconvconfig.out.
3474         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3475         set -e inside subshell and redirect output to file.
3476         * iconvdata/Makefile (generated): Rename tests to end with .out.
3477         Correct type.
3478         (tests-special): Rename tests to end with .out.
3479         ($(objpfx)mtrace-tst-loading): Likewise.
3480         * intl/Makefile (generated): Likewise.
3481         (tests-special): Likewise.
3482         ($(objpfx)mtrace-tst-gettext): Likewise.
3483         * misc/Makefile (generated): Likewise.
3484         (tests-special): Likewise.
3485         ($(objpfx)tst-error1-mem): Likewise.
3486         * nptl/Makefile (tests-special): Likewise.
3487         ($(objpfx)tst-stack3-mem): Likewise.
3488         (generated): Likewise.
3489         * posix/Makefile (generated): Likewise.
3490         (tests-special): Likewise.
3491         (xtests-special): Likewise.
3492         ($(objpfx)tst-fnmatch-mem): Likewise.
3493         ($(objpfx)bug-regex2-mem): Likewise.
3494         ($(objpfx)bug-regex14-mem): Likewise.
3495         ($(objpfx)bug-regex21-mem): Likewise.
3496         ($(objpfx)bug-regex31-mem): Likewise.
3497         ($(objpfx)tst-vfork3-mem): Likewise.
3498         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3499         ($(objpfx)tst-pcre-mem): Likewise.
3500         ($(objpfx)tst-boost-mem): Likewise.
3501         ($(objpfx)bug-ga2-mem): Likewise.
3502         ($(objpfx)bug-glob2-mem): Likewise.
3503         * resolv/Makefile (generate): Likewise.
3504         (tests-special): Likewise.
3505         (xtests-special): Likewise.
3506         (generated): Likewise.
3507         ($(objpfx)mtrace-tst-leaks): Likewise.
3508         ($(objpfx)mtrace-tst-leaks2): Likewise.
3510         * scripts/merge-test-results.sh: New file.
3511         * Makefile (tests-special-notdir): New variable.
3512         (tests): Run merge-test-results.sh.
3513         (xtests): Likewise.
3514         * Rules (tests-special-notdir): New variable.
3515         (xtests-special-notdir): Likewise.
3516         (tests): Run merge-test-results.sh
3517         (xtests): Likewise.
3519         * Makeconfig (test-xfail-name): New variable.
3520         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3521         compute variable name for expected failures.
3522         * conform/Makefile (conformtest-headers-data): New variable.
3523         (conformtest-standards): Likewise.
3524         (conformtest-headers-ISO): Likewise.
3525         (conformtest-headers-ISO99): Likewise.
3526         (conformtest-headers-ISO11): Likewise.
3527         (conformtest-headers-POSIX): Likewise.
3528         (conformtest-headers-XPG3): Likewise.
3529         (conformtest-headers-XPG4): Likewise.
3530         (conformtest-headers-UNIX98): Likewise.
3531         (conformtest-headers-XOPEN2K): Likewise.
3532         (conformtest-headers-POSIX2008): Likewise.
3533         (conformtest-headers-XOPEN2K8): Likewise.
3534         (conformtest-header-list-base): Likewise.
3535         (conformtest-header-list-tests): Likewise.
3536         (conformtest-header-base): Likewise.
3537         (conformtest-header-tests): Likewise.
3538         (tests-special): Add $(conformtest-header-list-tests).  If
3539         [$(fast-check) && !$(cross-compiling)], add
3540         $(conformtest-header-tests) instead of
3541         $(objpfx)run-conformtest.out.
3542         (generated): Add $(conformtest-header-list-base).  If
3543         [$(fast-check) && !$(cross-compiling)], add
3544         $(conformtest-header-base).  Remove previous setting.
3545         ($(conformtest-header-list-tests)): New target.
3546         (test-xfail-run-conformtest): Remove variable.
3547         ($(objpfx)run-conformtest.out): Remove target.
3548         (test-xfail-ISO11/complex.h/conform): New variable.
3549         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3550         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3551         (test-xfail-XPG3/varargs.h/conform): Likewise.
3552         (test-xfail-XPG4/varargs.h/conform): Likewise.
3553         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3554         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3555         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3556         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3557         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3558         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3559         (test-xfail-XPG3/ftw.h/conform): Likewise.
3560         (test-xfail-XPG3/grp.h/conform): Likewise.
3561         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3562         (test-xfail-XPG3/limits.h/conform): Likewise.
3563         (test-xfail-XPG3/pwd.h/conform): Likewise.
3564         (test-xfail-XPG3/search.h/conform): Likewise.
3565         (test-xfail-XPG3/signal.h/conform): Likewise.
3566         (test-xfail-XPG3/stdio.h/conform): Likewise.
3567         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3568         (test-xfail-XPG3/string.h/conform): Likewise.
3569         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3570         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3571         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3572         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3573         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3574         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3575         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3576         (test-xfail-XPG3/termios.h/conform): Likewise.
3577         (test-xfail-XPG3/time.h/conform): Likewise.
3578         (test-xfail-XPG3/unistd.h/conform): Likewise.
3579         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3580         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3581         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3582         (test-xfail-XPG4/netdb.h/conform): Likewise.
3583         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3584         (test-xfail-XPG4/signal.h/conform): Likewise.
3585         (test-xfail-XPG4/stdio.h/conform): Likewise.
3586         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3587         (test-xfail-XPG4/stropts.h/conform): Likewise.
3588         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3589         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3590         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3591         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3592         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3593         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3594         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3595         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3596         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3597         (test-xfail-XPG4/termios.h/conform): Likewise.
3598         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3599         (test-xfail-XPG4/unistd.h/conform): Likewise.
3600         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3601         (test-xfail-POSIX/sched.h/conform): Likewise.
3602         (test-xfail-POSIX/signal.h/conform): Likewise.
3603         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3604         (test-xfail-POSIX/tar.h/conform): Likewise.
3605         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3606         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3607         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3608         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3609         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3610         (test-xfail-UNIX98/sched.h/conform): Likewise.
3611         (test-xfail-UNIX98/signal.h/conform): Likewise.
3612         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3613         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3614         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3615         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3616         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3617         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3618         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3619         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3620         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3621         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3622         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3623         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3624         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3625         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3626         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3627         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3628         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3629         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3630         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3631         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3632         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3633         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3634         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3635         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3636         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3637         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3638         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3639         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3640         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3641         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3642         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3643         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3644         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3645         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3646         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3647         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3648         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3649         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3650         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3651         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3652         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3653         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3654         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3655         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3656         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3657         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3658         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3659         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3660         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3661         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3662         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3663         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3664         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3665         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3666         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3667         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3668         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3669         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3670         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3671         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3672         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3673         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3674         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3675         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3676         (conformtest-cc-flags): Likewise.
3677         ($(conformtest-header-tests): New target.
3678         * conform/check-header-lists.sh: New file.
3679         * conform/run-conformtest.sh: Remove.
3681         * conform/conformtest.pl: Allow ' and \ in values given for
3682         constants.
3683         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3684         inclusion.
3685         [POSIX] (sys/types.h): Likewise.
3686         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3687         inclusion.
3688         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3689         inclusion.
3690         * conform/data/signal.h-data (SIGIO): Remove expectation.
3691         [XPG3] (SIGBUS): Do not expect.
3692         [POSIX || XPG3] (SIGPOLL): Likewise.
3693         [POSIX || XPG3] (SIGPROF): Likewise.
3694         [POSIX || XPG3] (SIGSYS): Likewise.
3695         [XPG3] (SIGTRAP): Likewise.
3696         [POSIX || XPG3] (SIGURG): Likewise.
3697         [POSIX || XPG3] (SIGVTALRM): Likewise.
3698         [POSIX || XPG3] (SIGXCPU): Likewise.
3699         [POSIX || XPG3] (SIGXFSZ): Likewise.
3700         [POSIX] (SA_SIGINFO): Expect.
3701         [XPG3] (siginfo_t): Do not expect type or contents.
3702         [POSIX] (si_pid): Do not expect element.
3703         [POSIX] (si_uid): Likewise.
3704         [POSIX] (si_addr): Likewise.
3705         [POSIX] (si_status): Likewise.
3706         [POSIX] (si_band): Likewise.
3707         [XPG4] (si_value): Likewise.
3708         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3709         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3710         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3711         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3712         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3713         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3714         [POSIX || XPG3] (ILL_COPROC): Likewise.
3715         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3716         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3717         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3718         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3719         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3720         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3721         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3722         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3723         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3724         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3725         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3726         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3727         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3728         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3729         [POSIX || XPG3] (CLD_EXITED): Likewise.
3730         [POSIX || XPG3] (CLD_KILLED): Likewise.
3731         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3732         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3733         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3734         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3735         [POSIX || XPG3] (POLL_IN): Likewise.
3736         [POSIX || XPG3] (POLL_OUT): Likewise.
3737         [POSIX || XPG3] (POLL_MSG): Likewise.
3738         [POSIX || XPG3] (POLL_ERR): Likewise.
3739         [POSIX || XPG3] (POLL_PRI): Likewise.
3740         [POSIX || XPG3] (POLL_HUP): Likewise.
3741         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3742         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3743         (SIG*): Do not allow.
3744         [XPG3] (si_*): Likewise.
3745         [XPG3] (SI_*): Likewise.
3746         [XPG3 || XPG4] (sigev_*): Likewise.
3747         [XPG3 || XPG4] (SIGEV_*): Likewise.
3748         [XPG3 || XPG4] (sival_*): Likewise.
3749         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3750         [POSIX || XPG3] (BUS_*): Likewise.
3751         [POSIX || XPG3] (CLD_*): Likewise.
3752         [POSIX || XPG3] (FPE_*): Likewise.
3753         [POSIX || XPG3] (ILL_*): Likewise.
3754         [POSIX || XPG3] (POLL_*): Likewise.
3755         [POSIX || XPG3] (SEGV_*): Likewise.
3756         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3757         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3758         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3759         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3760         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3761         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3762         Specify type and value.
3763         (TVERSLEN): Likewise.
3764         (REGTYPE): Likewise.
3765         (AREGTYPE): Likewise.
3766         (LNKTYPE): Likewise.
3767         (SYMTYPE): Likewise.
3768         (CHRTYPE): Likewise.
3769         (BLKTYPE): Likewise.
3770         (DIRTYPE): Likewise.
3771         (FIFOTYPE): Likewise.
3772         (CONTTYPE): Likewise.
3773         (TSUID): Likewise.
3774         (TSGID): Likewise.
3775         (TSVTX): Likewise.
3776         (TUREAD): Likewise.
3777         (TUWRITE): Likewise.
3778         (TUEXEC): Likewise.
3779         (TGREAD): Likewise.
3780         (TGWRITE): Likewise.
3781         (TGEXEC): Likewise.
3782         (TOREAD): Likewise.
3783         (TOWRITE): Likewise.
3784         (TOEXEC): Likewise.
3785         [POSIX] (TSVTX): Expect constant.
3787 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3789         * Makefile (tests): Change dependencies to ....
3790         (tests-special): ... additions to this variable.
3791         (tests): Depend on $(tests-special).
3792         * Makerules (check-abi-list): New variable.
3793         (check-abi): Depend on $(check-abi-list).
3794         [$(subdir) = elf] (tests-special): Add
3795         $(objpfx)check-abi-libc.out.
3796         [$(build-shared) = yes && subdir] (tests-special): Add
3797         $(check-abi-list).
3798         [$(build-shared) = yes && subdir] (tests): Do not depend on
3799         check-abi.
3800         * Rules (tests): Depend on $(tests-special).
3801         (xtests): Depend on $(xtests-special).
3802         * catgets/Makefile (tests): Change dependencies to ....
3803         (tests-special): ... additions to this variable.
3804         * conform/Makefile (tests): Change dependencies to ....
3805         (tests-special): ... additions to this variable.
3806         * elf/Makefile (tests): Change dependencies to ....
3807         (tests-special): ... additions to this variable.
3808         * grp/Makefile (tests): Change dependencies to ....
3809         (tests-special): ... additions to this variable.
3810         * iconv/Makefile (xtests): Change dependencies to ....
3811         (xtests-special): ... additions to this variable.
3812         * iconvdata/Makefile (tests): Change dependencies to ....
3813         (tests-special): ... additions to this variable.
3814         * intl/Makefile (tests): Change dependencies to ....
3815         (tests-special): ... additions to this variable.  Also add
3816         $(objpfx)tst-gettext.out.
3817         * io/Makefile (tests): Change dependencies to ....
3818         (tests-special): ... additions to this variable.
3819         * libio/Makefile (tests): Change dependencies to ....
3820         (tests-special): ... additions to this variable.
3821         * malloc/Makefile (tests): Change dependencies to ....
3822         (tests-special): ... additions to this variable.
3823         * misc/Makefile (tests): Change dependencies to ....
3824         (tests-special): ... additions to this variable.
3825         * nptl/Makefile (tests): Change dependencies to ....
3826         (tests-special): ... additions to this variable.
3827         * nptl_db/Makefile (tests): Change dependencies to ....
3828         (tests-special): ... additions to this variable.
3829         * posix/Makefile (tests): Change dependencies to ....
3830         (tests-special): ... additions to this variable.
3831         (xtests): Change dependencies to ....
3832         (xtests-special): ... additions to this variable.
3833         * resolv/Makefile (tests): Change dependencies to ....
3834         (tests-special): ... additions to this variable.
3835         (xtests): Change dependencies to ....
3836         (xtests-special): ... additions to this variable.
3837         * stdio-common/Makefile (tests): Change dependencies to ....
3838         (tests-special): ... additions to this variable.
3839         (do-tst-unbputc): Remove target.
3840         (do-tst-printf): Likewise.
3841         * stdlib/Makefile (tests): Change dependencies to ....
3842         (tests-special): ... additions to this variable.
3843         * string/Makefile (tests): Change dependencies to ....
3844         (tests-special): ... additions to this variable.
3845         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3846         (tests-special): ... additions to this variable.
3848         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3849         whole file.
3850         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3851         whole file.
3852         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3853         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3855         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3856         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3857         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3858         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3859         * conform/data/libgen.h-data [XPG3]: Likewise.
3860         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3861         * conform/data/ndbm.h-data [XPG3]: Likewise.
3862         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3863         * conform/data/netdb.h-data [XPG3]: Likewise.
3864         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3865         * conform/data/poll.h-data [XPG3]: Likewise.
3866         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3867         * conform/data/strings.h-data [XPG3]: Likewise.
3868         * conform/data/stropts.h-data [XPG3]: Likewise.
3869         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3870         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3871         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3872         Likewise.
3873         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3874         * conform/data/sys/time.h-data [XPG3]: Likewise.
3875         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3876         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3877         * conform/data/sys/un.h-data [XPG3]: Likewise.
3878         * conform/data/syslog.h-data [XPG3]: Likewise.
3879         * conform/data/ucontext.h-data [XPG3]: Likewise.
3880         * conform/data/utmpx.h-data [XPG3]: Likewise.
3881         * conform/data/varargs.h-data [UNIX98]: Enable file.
3883         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3885         * math/libm-test.inc (struct test_f_f_data): Move expected results
3886         into structure for each rounding mode.
3887         (struct test_ff_f_data): Likewise.
3888         (struct test_ff_f_data_nexttoward): Likewise.
3889         (struct test_fi_f_data): Likewise.
3890         (struct test_fl_f_data): Likewise.
3891         (struct test_if_f_data): Likewise.
3892         (struct test_fff_f_data): Likewise.
3893         (struct test_c_f_data): Likewise.
3894         (struct test_f_f1_data): Likewise.
3895         (struct test_fF_f1_data): Likewise.
3896         (struct test_ffI_f1_data): Likewise.
3897         (struct test_c_c_data): Likewise.
3898         (struct test_cc_c_data): Likewise.
3899         (struct test_f_i_data): Likewise.
3900         (struct test_ff_i_data): Likewise.
3901         (struct test_f_l_data): Likewise.
3902         (struct test_f_L_data): Likewise.
3903         (struct test_fFF_11_data): Likewise.
3904         (RM_): New macro.
3905         (RM_FE_DOWNWARD): Likewise.
3906         (RM_FE_TONEAREST): Likewise.
3907         (RM_FE_TOWARDZERO): Likewise.
3908         (RM_FE_UPWARD): Likewise.
3909         (RUN_TEST_LOOP_f_f): Update references to expected results.
3910         (RUN_TEST_LOOP_2_f): Likewise.
3911         (RUN_TEST_LOOP_fff_f): Likewise.
3912         (RUN_TEST_LOOP_c_f): Likewise.
3913         (RUN_TEST_LOOP_f_f1): Likewise.
3914         (RUN_TEST_LOOP_fF_f1): Likewise.
3915         (RUN_TEST_LOOP_fI_f1): Likewise.
3916         (RUN_TEST_LOOP_ffI_f1): Likewise.
3917         (RUN_TEST_LOOP_c_c): Likewise.
3918         (RUN_TEST_LOOP_cc_c): Likewise.
3919         (RUN_TEST_LOOP_f_i): Likewise.
3920         (RUN_TEST_LOOP_f_i_tg): Likewise.
3921         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3922         (RUN_TEST_LOOP_f_b): Likewise.
3923         (RUN_TEST_LOOP_f_b_tg): Likewise.
3924         (RUN_TEST_LOOP_f_l): Likewise.
3925         (RUN_TEST_LOOP_f_L): Likewise.
3926         (RUN_TEST_LOOP_fFF_11): Likewise.
3927         * math/gen-libm-test.pl (parse_args): Output four copies of
3928         expected results for each test.
3930         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3931         (__ASSUME_UTIMES): Remove.
3932         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3933         (__ASSUME_UTIMES): Likewise.
3935         * math/gen-auto-libm-tests.c: Update comment on output format.
3936         (output_for_one_input_case): Generate before-rounding and
3937         after-rounding information as conditions on output flags not
3938         floating-point format.
3939         * math/auto-libm-test-out: Regenerated.
3940         * math/gen-libm-test.pl (cond_value): New function.
3941         (or_cond_value): Use cond_value.
3942         (generate_testfile): Handle conditional exceptions.
3944 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3946         * math/libm-test.inc (max_valid_error): New variable.
3947         (init_max_error): Take new argument specifying whether function
3948         results are exactly determined.  Set max_valid_error and bound
3949         other variables for errors based on this argument.
3950         (set_max_error): Do not record results above max_valid_error.
3951         (check_float_internal): Only accept errors of up to 0.5ulps if
3952         also at most max_valid_error.
3953         (START): Take new argument EXACT and pass it to init_max_error.
3954         (acos_test): Update call to START.
3955         (acos_test_tonearest): Likewise.
3956         (acos_test_towardzero): Likewise.
3957         (acos_test_downward): Likewise.
3958         (acos_test_upward): Likewise.
3959         (acosh_test): Likewise.
3960         (asin_test): Likewise.
3961         (asin_test_tonearest): Likewise.
3962         (asin_test_towardzero): Likewise.
3963         (asin_test_downward): Likewise.
3964         (asin_test_upward): Likewise.
3965         (asinh_test): Likewise.
3966         (atan_test): Likewise.
3967         (atanh_test): Likewise.
3968         (atan2_test): Likewise.
3969         (cabs_test): Likewise.
3970         (cacos_test): Likewise.
3971         (cacosh_test): Likewise.
3972         (carg_test): Likewise.
3973         (casin_test): Likewise.
3974         (casinh_test): Likewise.
3975         (catan_test): Likewise.
3976         (catanh_test): Likewise.
3977         (cbrt_test): Likewise.
3978         (ccos_test): Likewise.
3979         (ccosh_test): Likewise.
3980         (ceil_test): Likewise.
3981         (cexp_test): Likewise.
3982         (cimag_test): Likewise.
3983         (clog_test): Likewise.
3984         (clog10_test): Likewise.
3985         (conj_test): Likewise.
3986         (copysign_test): Likewise.
3987         (cos_test): Likewise.
3988         (cos_test_tonearest): Likewise.
3989         (cos_test_towardzero): Likewise.
3990         (cos_test_downward): Likewise.
3991         (cos_test_upward): Likewise.
3992         (cosh_test): Likewise.
3993         (cosh_test_tonearest): Likewise.
3994         (cosh_test_towardzero): Likewise.
3995         (cosh_test_downward): Likewise.
3996         (cosh_test_upward): Likewise.
3997         (cpow_test): Likewise.
3998         (cproj_test): Likewise.
3999         (creal_test): Likewise.
4000         (csin_test): Likewise.
4001         (csinh_test): Likewise.
4002         (csqrt_test): Likewise.
4003         (ctan_test): Likewise.
4004         (ctan_test_tonearest): Likewise.
4005         (ctan_test_towardzero): Likewise.
4006         (ctan_test_downward): Likewise.
4007         (ctan_test_upward): Likewise.
4008         (ctanh_test): Likewise.
4009         (ctanh_test_tonearest): Likewise.
4010         (ctanh_test_towardzero): Likewise.
4011         (ctanh_test_downward): Likewise.
4012         (ctanh_test_upward): Likewise.
4013         (erf_test): Likewise.
4014         (erfc_test): Likewise.
4015         (exp_test): Likewise.
4016         (exp_test_tonearest): Likewise.
4017         (exp_test_towardzero): Likewise.
4018         (exp_test_downward): Likewise.
4019         (exp_test_upward): Likewise.
4020         (exp10_test): Likewise.
4021         (exp10_test_tonearest): Likewise.
4022         (exp10_test_towardzero): Likewise.
4023         (exp10_test_downward): Likewise.
4024         (exp10_test_upward): Likewise.
4025         (pow10_test): Likewise.
4026         (exp2_test): Likewise.
4027         (expm1_test): Likewise.
4028         (expm1_test_tonearest): Likewise.
4029         (expm1_test_towardzero): Likewise.
4030         (expm1_test_downward): Likewise.
4031         (expm1_test_upward): Likewise.
4032         (fabs_test): Likewise.
4033         (fdim_test): Likewise.
4034         (floor_test): Likewise.
4035         (fma_test): Likewise.
4036         (fma_test_towardzero): Likewise.
4037         (fma_test_downward): Likewise.
4038         (fma_test_upward): Likewise.
4039         (fmax_test): Likewise.
4040         (fmin_test): Likewise.
4041         (fmod_test): Likewise.
4042         (fpclassify_test): Likewise.
4043         (frexp_test): Likewise.
4044         (hypot_test): Likewise.
4045         (ilogb_test): Likewise.
4046         (isfinite_test): Likewise.
4047         (finite_test): Likewise.
4048         (isgreater_test): Likewise.
4049         (isgreaterequal_test): Likewise.
4050         (isinf_test): Likewise.
4051         (isless_test): Likewise.
4052         (islessequal_test): Likewise.
4053         (islessgreater_test): Likewise.
4054         (isnan_test): Likewise.
4055         (isnormal_test): Likewise.
4056         (issignaling_test): Likewise.
4057         (isunordered_test): Likewise.
4058         (j0_test): Likewise.
4059         (j1_test): Likewise.
4060         (jn_test): Likewise.
4061         (ldexp_test): Likewise.
4062         (lgamma_test): Likewise.
4063         (gamma_test): Likewise.
4064         (lrint_test): Likewise.
4065         (lrint_test_tonearest): Likewise.
4066         (lrint_test_towardzero): Likewise.
4067         (lrint_test_downward): Likewise.
4068         (lrint_test_upward): Likewise.
4069         (llrint_test): Likewise.
4070         (llrint_test_tonearest): Likewise.
4071         (llrint_test_towardzero): Likewise.
4072         (llrint_test_downward): Likewise.
4073         (llrint_test_upward): Likewise.
4074         (log_test): Likewise.
4075         (log10_test): Likewise.
4076         (log1p_test): Likewise.
4077         (log2_test): Likewise.
4078         (logb_test): Likewise.
4079         (logb_test_downward): Likewise.
4080         (lround_test): Likewise.
4081         (llround_test): Likewise.
4082         (modf_test): Likewise.
4083         (nearbyint_test): Likewise.
4084         (nextafter_test): Likewise.
4085         (nexttoward_test): Likewise.
4086         (pow_test): Likewise.
4087         (pow_test_tonearest): Likewise.
4088         (pow_test_towardzero): Likewise.
4089         (pow_test_downward): Likewise.
4090         (pow_test_upward): Likewise.
4091         (remainder_test): Likewise.
4092         (drem_test): Likewise.
4093         (remainder_test_tonearest): Likewise.
4094         (drem_test_tonearest): Likewise.
4095         (remainder_test_towardzero): Likewise.
4096         (drem_test_towardzero): Likewise.
4097         (remainder_test_downward): Likewise.
4098         (drem_test_downward): Likewise.
4099         (remainder_test_upward): Likewise.
4100         (drem_test_upward): Likewise.
4101         (remquo_test): Likewise.
4102         (rint_test): Likewise.
4103         (rint_test_tonearest): Likewise.
4104         (rint_test_towardzero): Likewise.
4105         (rint_test_downward): Likewise.
4106         (rint_test_upward): Likewise.
4107         (round_test): Likewise.
4108         (scalb_test): Likewise.
4109         (scalbn_test): Likewise.
4110         (scalbln_test): Likewise.
4111         (signbit_test): Likewise.
4112         (sin_test): Likewise.
4113         (sin_test_tonearest): Likewise.
4114         (sin_test_towardzero): Likewise.
4115         (sin_test_downward): Likewise.
4116         (sin_test_upward): Likewise.
4117         (sincos_test): Likewise.
4118         (sinh_test): Likewise.
4119         (sinh_test_tonearest): Likewise.
4120         (sinh_test_towardzero): Likewise.
4121         (sinh_test_downward): Likewise.
4122         (sinh_test_upward): Likewise.
4123         (sqrt_test): Likewise.
4124         (sqrt_test_tonearest): Likewise.
4125         (sqrt_test_towardzero): Likewise.
4126         (sqrt_test_downward): Likewise.
4127         (sqrt_test_upward): Likewise.
4128         (tan_test): Likewise.
4129         (tan_test_tonearest): Likewise.
4130         (tan_test_towardzero): Likewise.
4131         (tan_test_downward): Likewise.
4132         (tan_test_upward): Likewise.
4133         (tanh_test): Likewise.
4134         (tgamma_test): Likewise.
4135         (trunc_test): Likewise.
4136         (y0_test): Likewise.
4137         (y1_test): Likewise.
4138         (yn_test): Likewise.
4139         (significand_test): Likewise.
4141         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4142         individual tests in comment.
4143         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4144         (prev_max_error): New variable.
4145         (prev_real_max_error): Likewise.
4146         (prev_imag_max_error): Likewise.
4147         (compare_ulp_data): Don't refer to test names in comment.
4148         (find_test_ulps): Remove function.
4149         (find_function_ulps): Likewise.
4150         (find_complex_function_ulps): Likewise.
4151         (init_max_error): Take function name as argument.  Look up ulps
4152         for that function.
4153         (print_ulps): Remove function.
4154         (print_max_error): Use prev_max_error instead of calling
4155         find_function_ulps.
4156         (print_complex_max_error): Use prev_real_max_error and
4157         prev_imag_max_error instead of calling find_complex_function_ulps.
4158         (check_float_internal): Take max_ulp parameter instead of calling
4159         find_test_ulps.  Don't call print_ulps.
4160         (check_float): Update call to check_float_internal.
4161         (check_complex): Update calls to check_float_internal.
4162         (START): Pass argument to init_max_error.
4163         * math/gen-libm-test.pl (%results): Don't include "kind"
4164         information.
4165         (parse_ulps): Don't handle ulps of individual tests.
4166         (print_ulps_file): Likewise.
4167         (output_ulps): Likewise.
4168         * math/README.libm-test: Update.
4169         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4170         individual tests.
4171         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4172         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4173         * sysdeps/arm/libm-test-ulps: Likewise.
4174         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4175         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4176         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4177         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4178         * sysdeps/microblaze/libm-test-ulps: Likewise.
4179         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4180         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4181         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4182         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4183         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4184         * sysdeps/sh/libm-test-ulps: Likewise.
4185         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4186         * sysdeps/tile/libm-test-ulps: Likewise.
4187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4189 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4191         * math/libm-test.inc (print_complex_max_error): Check separately
4192         whether real and imaginary errors are within allowed range and
4193         pass 0 to print_complex_function_ulps instead of value within
4194         allowed range.
4196 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4198         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4199         formatting.
4200         (get_handles_fopen): Likewise.
4201         (do_write_test): Likewise.
4203         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4205         * libio/fileops.c (do_ftell): Use cached offset when
4206         available.
4207         * libio/iofwide.c (do_ftell_wide): Likewise.
4208         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4209         _IO_file_attach.
4210         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4212         [BZ #16532]
4213         * libio/libioP.h (get_file_offset): New function.
4214         * libio/fileops.c (get_file_offset): Likewise.
4215         (do_ftell): Likewise.
4216         (_IO_new_file_seekoff): Split out ftell logic.
4217         * libio/wfileops.c (do_ftell_wide): Likewise.
4218         (_IO_wfile_seekoff): Split out ftell logic.
4219         * libio/tst-ftell-active-handler.c: New test case.
4220         * libio/Makefile (tests): Add it.
4222 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4224         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4225         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4227 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4229         [BZ #16639]
4230         * nscd/connections.c (nscd_init): Call do_exit.
4231         (start_threads): Call do_exit and notify_parent.
4232         (begin_drop_privileges): Call do_exit.
4233         (finish_drop_privileges): Likewise.
4234         * nscd/selinux.c (preserve_capabilities): Likewise.
4235         (install_real_capabilities): Likewise.
4236         (nscd_selinux_enabled): Likewise.
4237         (avc_create_thread): Likewise.
4238         (avc_alloc_lock): Likewise.
4239         (nscd_avc_init): Likewise.
4240         * nscd/nscd.c (parent_fd): New static variable.
4241         (main): Create a pipe between parent and child processes.
4242         Skip closing parent_fd.
4243         (monitor_child): New function.
4244         (do_exit): Likewise.
4245         (notify_parent): Likewise.
4246         * nscd/nscd.h (notify_parent): Likewise.
4247         (do_exit): Likewise.
4249 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4251         * malloc/malloc.c (__libc_calloc): Revert last change.
4253 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4257 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4259         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4261         implementation.
4262         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4263         (__libc_ifunc_impl_list): Likewise.
4264         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4265         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4266         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4267         * string/strrchr.c: Define STRRCHR.
4269 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4271         * benchtest/bench-strtok.c (simple_strtok): Delete.
4272         (strtok_string): Use as benchmark.
4273         * string/strtok (STRTOK): New macro.
4275 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4277         * manual/threads.texi: Add header and standard comments to all
4278         functions.
4280         * elf/dl-lookup.c (check_match): New function.
4281         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4282         (do_lookup_x): Remove nested function check_match. Use non-nested
4283         function check_match.
4285 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4287         * csu/Makefile (generated, before-compile): Use += rather than =.
4288         * catgets/Makefile (generated, generated-dirs): Likewise.
4289         * debug/Makefile (generated): Likewise.
4290         * dlfcn/Makefile (generated): Likewise.
4291         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4292         * iconvdata/Makefile (before-compile, generated): Likewise.
4293         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4294         * libio/Makefile (generated): Likewise.
4295         * malloc/Makefile (generated): Likewise.
4296         * manual/Makefile (generated, generated-dirs): Likewise.
4297         * misc/Makefile (generated): Likewise.
4298         * posix/Makefile (generated): Likewise.
4299         * resolv/Makefile (generated): Likewise.
4300         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4301         * timezone/Makefile (generated, generated-dirs): Likewise.
4303         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4305 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4308         power8 implementation.
4309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4310         file: POWER8 llround ifunc implementation.
4311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4312         (__lllround): Add POWER8 implementation.
4313         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4314         POWER8 llround implementation.
4316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4317         power8 implementation.
4318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4319         file: POWER8 llrint ifunc implementation.
4320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4321         Add POWER8 implementation.
4322         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4323         POWER8 llrint implementation.
4325         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4326         power8 implementation.
4327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4328         file: POWER8 finite ifunc implementation.
4329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4330         Add POWER8 implementation.
4331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4332         Likewise.
4333         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4334         POWER8 finite implementation.
4335         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4337         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4338         power8 implementation.
4339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4340         file: POWER8 isinf ifunc implementation.
4341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4342         POWER8 implementation.
4343         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4344         Likewise.
4345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4346         isinf implementation.
4347         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4349         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4350         (INIT_ARCH): Add hwcap2 initialization.
4351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4352         power8 implementation.
4353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4354         file: POWER8 isnan ifunc implementation.
4355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4356         POWER8 implementation.
4357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4358         Likewise.
4359         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4360         isnan implementation.
4361         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4363 2014-02-27  Joey Ye  <joey.ye@arm.com>
4365         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4366         (_FP_NANFRAC_Q): Set to zero.
4368 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4370         [BZ #16623]
4371         * math/auto-libm-test-in: New test inputs.
4372         * math/auto-libm-test-out: Regenerate.
4373         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4374         and DA.
4375         (__cos): Likewise.
4376         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4378 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4380         * scripts/evaluate-test.sh: Take new argument indicating whether
4381         failure is expected.
4382         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4383         indicating whether failure is expected.
4384         * conform/Makefile (test-xfail-run-conformtest): New variable.
4385         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4386         level.
4387         * posix/Makefile (test-xfail-annexc): New variable.
4388         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4390 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4392         * argp/Makefile: Include Makeconfig immediately after defining
4393         subdir.
4394         * assert/Makefile: Likewise.
4395         * benchtests/Makefile: Likewise.
4396         * catgets/Makefile: Likewise.
4397         * conform/Makefile: Likewise.
4398         * crypt/Makefile: Likewise.
4399         * csu/Makefile: Likewise.
4400         (all): Remove target.
4401         * ctype/Makefile: Include Makeconfig immediately after defining
4402         subdir.
4403         * debug/Makefile: Likewise.
4404         * dirent/Makefile: Likewise.
4405         * dlfcn/Makefile: Likewise.
4406         * gmon/Makefile: Likewise.
4407         * gnulib/Makefile: Likewise.
4408         * grp/Makefile: Likewise.
4409         * gshadow/Makefile: Likewise.
4410         * hesiod/Makefile: Likewise.
4411         * hurd/Makefile: Likewise.
4412         (all): Remove target.
4413         * iconvdata/Makefile: Include Makeconfig immediately after
4414         defining subdir.
4415         * inet/Makefile: Likewise.
4416         * intl/Makefile: Likewise.
4417         * io/Makefile: Likewise.
4418         * libio/Makefile: Likewise.
4419         (all): Remove target.
4420         * locale/Makefile: Include Makeconfig immediately after defining
4421         subdir.
4422         * login/Makefile: Likewise.
4423         * mach/Makefile: Likewise.
4424         (all): Remove target.
4425         * malloc/Makefile: Include Makeconfig immediately after defining
4426         subdir.
4427         (all): Remove target.
4428         * manual/Makefile: Include Makeconfig immediately after defining
4429         subdir.
4430         * math/Makefile: Likewise.
4431         * misc/Makefile: Likewise.
4432         * nis/Makefile: Likewise.
4433         * nss/Makefile: Likewise.
4434         * po/Makefile: Likewise.
4435         (all): Remove target.
4436         * posix/Makefile: Include Makeconfig immediately after defining
4437         subdir.
4438         * pwd/Makefile: Likewise.
4439         * resolv/Makefile: Likewise.
4440         * resource/Makefile: Likewise.
4441         * rt/Makefile: Likewise.
4442         * setjmp/Makefile: Likewise.
4443         * shadow/Makefile: Likewise.
4444         * signal/Makefile: Likewise.
4445         * socket/Makefile: Likewise.
4446         * soft-fp/Makefile: Likewise.
4447         * stdio-common/Makefile: Likewise.
4448         * stdlib/Makefile: Likewise.
4449         * streams/Makefile: Likewise.
4450         * string/Makefile: Likewise.
4451         * sunrpc/Makefile: Likewise.
4452         (all): Remove target.
4453         * sysvipc/Makefile: Include Makeconfig immediately after defining
4454         subdir.
4455         * termios/Makefile: Likewise.
4456         * time/Makefile: Likewise.
4457         * timezone/Makefile: Likewise.
4458         (all): Remove target.
4459         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4460         subdir.
4461         * wctype/Makefile: Likewise.
4463 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4465         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4466         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4467         (libc_feholdexcept_setround_mips): Ditto.
4468         (libc_feholdsetround): New.
4469         (libc_feholdsetroundf): New.
4470         (libc_feholdsetroundl): New.
4471         (libc_feupdateenv_test_mips): New.
4472         (libc_feupdateenv_test): New.
4473         (libc_feupdateenv_testf): New.
4474         (libc_feupdateenv_testl): New.
4475         (libc_feresetround): New.
4476         (libc_feresetroundf): New.
4477         (libc_feresetroundl): New.
4478         (libc_fetestexcept_mips): New.
4479         (libc_fetestexcept): New.
4480         (libc_fetestexceptf): New.
4481         (libc_fetestexceptl): New.
4482         (HAVE_RM_CTX): New.
4483         (libc_feholdexcept_setround_mips_ctx): New.
4484         (libc_feholdexcept_setround_ctx): New.
4485         (libc_feholdexcept_setroundf_ctx): New.
4486         (libc_feholdexcept_setroundl_ctx): New.
4487         (libc_fesetenv_mips_ctx): New.
4488         (libc_fesetenv_ctx): New.
4489         (libc_fesetenv_ctxf): New.
4490         (libc_fesetenv_ctxl): New.
4491         (libc_feupdateenv_mips_ctx): New.
4492         (libc_feupdateenv_ctx): New.
4493         (libc_feupdateenvf_ctx): New.
4494         (libc_feupdateenvl_ctx): New.
4495         (libc_feholdsetround_mips_ctx): New.
4496         (libc_feholdsetround_ctx): New.
4497         (libc_feholdsetroundf_ctx): New.
4498         (libc_feholdsetroundl_ctx): New.
4499         (libc_feresetround_mips_ctx): New.
4500         (libc_feresetround_ctx): New.
4501         (libc_feresetroundf_ctx): New.
4502         (libc_feresetroundl_ctx): New.
4504 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4506         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4508         * manual/ipc.texi: New file.
4509         * manual/Makefile (chapters): Add ipc.
4510         * manual/job.texi: Add "Inter-Process Communication" to next.
4511         * manual/process.texi: Add "Inter-Process Communication" to prev.
4513 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4517 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4519         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4521         * manual/arith.texi: Fix spaces after sentences.
4522         * manual/charset.texi: Likewise.
4523         * manual/errno.texi: Likewise.
4524         * manual/install.texi: Likewise.
4525         * manual/llio.texi: Likewise.
4526         * manual/locale.texi: Likewise.
4527         * manual/maint.texi: Likewise.
4528         * manual/math.texi: Likewise.
4529         * manual/memory.texi: Likewise.
4530         * manual/message.texi: Likewise.
4531         * manual/probes.texi: Likewise.
4532         * manual/resource.texi: Likewise.
4533         * manual/signal.texi: Likewise.
4534         * manual/socket.texi: Likewise.
4535         * manual/stdio.texi: Likewise.
4536         * manual/string.texi: Likewise.
4537         * manual/time.texi: Likewise.
4538         * manual/users.texi: Likewise.
4540 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4542         [BZ #16632]
4543         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4544         _DEFAULT_SOURCE is defined.
4546 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4547             Carlos O'Donell  <carlos@redhat.com>
4549         [BZ #16613]
4550         * elf/dl-tls.c (_dl_count_modids): New function.
4551         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4552         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4553         audit library and increment generation counter.
4554         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4555         * elf/tst-audit9.c: New file.
4556         * elf/tst-auditmod9a.c: New file.
4557         * elf/tst-auditmod9b.c: New file.
4558         * elf/Makefile: Add rules to build and run tst-audit9.
4560 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4562         [BZ #15347]
4563         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4565 2014-02-25  Will Newton  <will.newton@linaro.org>
4567         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4568         (__longjmp): Restore sp and lr before restoring callee
4569         saved registers.  Add longjmp and longjmp_target
4570         SystemTap probe point.
4571         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4572         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4573         Define to zero to match jmpbuf layout.
4574         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4575         (__sigsetjmp): Save sp and lr before saving callee
4576         saved registers.  Add setjmp SystemTap probe point.
4578 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4580         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4582 2014-02-24  Andreas Schwab  <schwab@suse.de>
4584         [BZ #15804]
4585         * elf/pldd.c (wait_for_ptrace_stop): New function.
4586         (main): Call it after attaching.
4588 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4590         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4591         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4592         Versions files is now verboten.
4593         * hurd/Versions (libc: GLIBC_2.0):
4594         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4595         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4596         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4597         * mach/Versions: Likewise.
4599         * csu/Versions: Remove unused %include.
4600         * resolv/Versions: Likewise.
4602 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4604         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4605         ($(objpfx)check-local-headers.out): Likewise.
4606         ($(objpfx)begin-end-check.out): Likewise.
4607         * Makerules (check-abi-%.out): Likewise.
4608         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4609         ($(objpfx)test2.cat): Likewise.
4610         ($(objpfx)de/libc.cat): Likewise.
4611         ($(objpfx)test-gencat.out): Likewise.
4612         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4613         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4614         ($(objpfx)noload-mem): Likewise.
4615         ($(objpfx)tst-pathopt.out): Likewise.
4616         ($(objpfx)tst-rtld-load-self.out): Likewise.
4617         ($(objpfx)tst-array1-cmp.out): Likewise.
4618         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4619         ($(objpfx)tst-array2-cmp.out): Likewise.
4620         ($(objpfx)tst-array3-cmp.out): Likewise.
4621         ($(objpfx)tst-array4-cmp.out): Likewise.
4622         ($(objpfx)tst-array5-cmp.out): Likewise.
4623         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4624         ($(objpfx)check-textrel.out): Likewise.
4625         ($(objpfx)check-execstack.out): Likewise.
4626         ($(objpfx)check-localplt.out): Likewise.
4627         ($(objpfx)order2-cmp.out): Likewise.
4628         ($(objpfx)tst-leaks1-mem): Likewise.
4629         ($(objpfx)tst-leaks1-static-mem): Likewise.
4630         ($(objpfx)tst-initorder-cmp.out): Likewise.
4631         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4632         ($(objpfx)tst-unused-dep.out): Likewise.
4633         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4634         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4635         * iconv/Makefile (test-iconvconfig): Likewise.
4636         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4637         ($(objpfx)iconv-test.out): Likewise.
4638         ($(objpfx)tst-tables.out): Likewise.
4639         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4640         ($(objpfx)tst-gettext.out): Likewise.
4641         ($(objpfx)tst-translit.out): Likewise.
4642         ($(objpfx)tst-gettext2.out): Likewise.
4643         ($(objpfx)tst-gettext4.out): Likewise.
4644         ($(objpfx)tst-gettext6.out): Likewise.
4645         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4646         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4647         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4648         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4649         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4650         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4651         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4652         ($(objpfx)wordexp-tst.out): Likewise.
4653         ($(objpfx)annexc.out): Likewise.
4654         ($(objpfx)tst-fnmatch-mem): Likewise.
4655         ($(objpfx)bug-regex2-mem): Likewise.
4656         ($(objpfx)bug-regex14-mem): Likewise.
4657         ($(objpfx)bug-regex21-mem): Likewise.
4658         ($(objpfx)bug-regex31-mem): Likewise.
4659         ($(objpfx)tst-vfork3-mem): Likewise.
4660         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4661         ($(objpfx)tst-pcre-mem): Likewise.
4662         ($(objpfx)tst-boost-mem): Likewise.
4663         ($(objpfx)tst-getconf.out): Likewise.
4664         ($(objpfx)bug-ga2-mem): Likewise.
4665         ($(objpfx)bug-glob2-mem): Likewise.
4666         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4667         ($(objpfx)mtrace-tst-leaks2): Likewise.
4668         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4669         ($(objpfx)tst-printf.out): Likewise.
4670         ($(objpfx)tst-setvbuf1.out): Likewise.
4671         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4672         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4673         ($(objpfx)tst-fmtmsg.out): Likewise.
4674         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4675         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4677         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4678         * bits/sigaction.h [__USE_MISC]: Likewise.
4679         * bits/waitstatus.h: Update #endif comments.
4680         * ctype/ctype.h: Likewise.
4681         * dirent/dirent.h: Likewise.
4682         [__USE_MISC]: Remove redundant conditionals.
4683         * grp/grp.h: Update #endif comments.
4684         [__USE_GNU]: Remove redundant conditionals.
4685         [__USE_MISC]: Likewise.
4686         * inet/netinet/in.h [__USE_GNU]: Likewise.
4687         * io/sys/stat.h [__USE_MISC]: Likewise.
4688         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4689         * libio/bits/stdio.h: Update #endif comments.
4690         [__USE_MISC]: Remove redundant conditionals.
4691         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4692         * libio/stdio.h: Update #endif comments.
4693         [__USE_MISC]: Remove redundant conditionals.
4694         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4695         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4696         * math/math.h: Update #else and #endif comments.
4697         [__USE_MISC]: Remove redundant conditionals.
4698         * misc/sys/uio.h: Update #endif comments.
4699         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4700         * posix/glob.h [__USE_MISC]: Likewise.
4701         * posix/sys/types.h: Update #endif comments.
4702         [__USE_MISC]: Remove redundant conditionals.
4703         * posix/sys/wait.h: Update #endif comments.
4704         [__USE_MISC]: Remove redundant conditionals.
4705         * posix/unistd.h: Update #endif comments.
4706         [__USE_MISC]: Remove redundant conditionals.
4707         * pwd/pwd.h [__USE_GNU]: Likewise.
4708         [__USE_MISC]: Likewise.
4709         * resolv/netdb.h [__USE_GNU]: Likewise.
4710         * signal/signal.h: Update #endif comments.
4711         [__USE_MISC]: Remove redundant conditionals.
4712         * stdlib/stdlib.h: Update #else and #endif comments.
4713         [__USE_MISC]: Remove redundant conditionals.
4714         [__USE_GNU]: Likewise.
4715         * string/bits/string2.h [__USE_MISC]: Likewise.
4716         * string/string.h: Update #endif comments.
4717         [__USE_MISC]: Remove redundant conditionals.
4718         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4719         Likewise.
4720         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4721         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4722         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4723         Likewise.
4724         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4725         Likewise.
4726         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4727         comments.
4728         [__USE_MISC]: Remove redundant conditionals.
4729         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4730         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4731         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4732         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4733         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4734         Likewise.
4735         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4736         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4737         Likewise.
4738         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4739         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4740         Likewise.
4741         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4742         Likewise.
4743         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4744         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4745         Likewise.
4746         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4747         Likewise.
4748         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4749         * sysdeps/x86/bits/string.h: Update #endif comments.
4750         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4751         conditionals.
4752         * time/sys/time.h: Update #endif comments.
4753         * time/time.h: Likewise.
4754         [__USE_MISC]: Remove redundant conditionals.
4756 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4758         [BZ #16600]
4759         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4761 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4763         * Versions.def (librt): Add GLIBC_2.17.
4765 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4767         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4768         synonym for _SYS_AUXV_H to allow direct inclusion.
4769         * sysdeps/sparc/bits/hwcap.h: Likewise.
4770         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4771         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4772         * sysdeps/sparc/sysdep.h: Likewise.
4774 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4776         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4778 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4780         * benchtests/bench-strrchr.c: Print length instead of position.
4782 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4784         [BZ #16611]
4785         * sysdeps/unix/sysv/linux/kernel-features.h
4786         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4787         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4788         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4789         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4790         Likewise.
4791         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4792         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4793         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4794         (__ASSUME_SENDMMSG): Define instead of using previous
4795         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4796         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4797         (__ASSUME_SENDMMSG_SYSCALL): Define.
4798         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4799         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4800         Likewise.
4801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4802         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4803         Likewise.
4804         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4805         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4806         Likewise.
4807         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4808         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4809         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4810         [__ASSUME_SENDMMSG]: Change conditionals to
4811         [__ASSUME_SENDMMSG_SOCKETCALL].
4812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4813         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4814         Define.
4815         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4816         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4817         Likewise.
4818         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4819         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4820         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4821         [!__ASSUME_SENDMMSG]: Change conditional to
4822         [!__ASSUME_SENDMMSG_SOCKETCALL].
4823         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4824         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4825         Define.
4827         [BZ #16610]
4828         * sysdeps/unix/sysv/linux/kernel-features.h
4829         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4830         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4831         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4832         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4833         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4834         [__i386__ || __sparc__]
4835         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4836         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4837         (__ASSUME_RECVMMSG): Define instead of using previous
4838         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4839         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4840         (__ASSUME_RECVMMSG_SYSCALL): Define.
4841         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4842         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4843         Likewise.
4844         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4845         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4846         Likewise.
4847         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4848         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4849         Likewise.
4850         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4851         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4852         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4853         [__ASSUME_RECVMMSG]: Change condition to
4854         [__ASSUME_RECVMMSG_SOCKETCALL].
4855         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4856         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4857         Define.
4858         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4859         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4860         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4861         Likewise.
4862         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4863         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4864         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4865         [!__ASSUME_RECVMMSG]: Change condition to
4866         [!__ASSUME_RECVMMSG_SOCKETCALL].
4867         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4868         (__ASSUME_RECVMMSG_SYSCALL): Define.
4870         [BZ #16609]
4871         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4872         __powerpc__ || __s390__ || __sh__ || __sparc__]
4873         (__ASSUME_SOCKETCALL): Define.
4874         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4875         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4876         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4877         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4878         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4879         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4880         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4881         (__ASSUME_ACCEPT4): Define instead of using previous
4882         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4883         __powerpc__ || __sparc__ || __s390__)] condition.
4884         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4885         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4886         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4887         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4888         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4889         [!__ASSUME_ACCEPT4]: Change condition to
4890         [!__ASSUME_ACCEPT4_SOCKETCALL].
4891         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4892         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4893         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4894         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4895         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4896         __ASSUME_ACCEPT4_SYSCALL.
4897         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4898         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4899         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4900         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4901         __ASSUME_ACCEPT4_SYSCALL.
4902         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4903         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4904         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4905         [__ASSUME_ACCEPT4]: Change condition to
4906         [__ASSUME_ACCEPT4_SOCKETCALL].
4907         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4908         (__ASSUME_SOCKETCALL): Define.
4909         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4910         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4911         (__ASSUME_SOCKETCALL): Define.
4912         (__ASSUME_ACCEPT4): Remove.
4913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4914         Define.
4915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4916         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4917         Likewise.
4918         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4919         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4921         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4922         macro.
4923         (HWCAP_ARM_LPAE): Likewise.
4924         (HWCAP_ARM_EVTSTRM): Likewise.
4925         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4926         Add vpfd32, lpae and evtstrm.
4927         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4928         Increase to 22.
4930 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4932         * math/auto-libm-test-in: Add tests of clog10.
4933         * math/auto-libm-test-out: Regenerated.
4934         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4935         * sysdeps/i386/fpu/libm-test-ulps: Update.
4936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4938 2014-02-18  Andreas Schwab  <schwab@suse.de>
4940         [BZ #16574]
4941         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4942         Store non-zero if the second buffer was newly allocated.
4943         (send_dg): Likewise.
4944         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4945         to send_vc and send_dg.
4946         (res_nsend): Pass NULL for ansp2_malloced.
4947         * resolv/res_query.c (__libc_res_nquery): Add parameter
4948         answerp2_malloced and pass it down to __libc_res_nsend.
4949         (res_nquery): Pass additional NULL to __libc_res_nquery.
4950         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4951         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4952         second answer buffer if answerp2_malloced was set.
4953         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4954         (__libc_res_nquerydomain): Add parameter
4955         answerp2_malloced and pass it down to __libc_res_nquery.
4956         (res_nquerydomain): Pass additional NULL to
4957         __libc_res_nquerydomain.
4958         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4959         additional NULL to __libc_res_nsend and __libc_res_nquery.
4960         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4961         additional NULL to __libc_res_nsearch.
4962         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4963         parameter of __libc_res_nsearch to check for separately allocated
4964         second buffer.
4965         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4966         __libc_res_nquery.
4967         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4968         additional NULL to __libc_res_nquery.
4969         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4970         __libc_res_nsearch.
4971         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4972         * include/resolv.h: Update prototypes of __libc_res_nquery,
4973         __libc_res_nsearch, __libc_res_nsend.
4975 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4977         * math/auto-libm-test-in: Add tests of fma.
4978         * math/auto-libm-test-out: Regenerated.
4979         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4980         (fma_towardzero_test_data): Likewise.
4981         (fma_downward_test_data): Likewise.
4982         (fma_upward_test_data): Likewise.
4983         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4984         mpc_mode.
4985         (rounding_modes): Add values for new field.
4986         (func_calc_method): Add value mpfr_fff_f.
4987         (func_calc_desc): Add mpfr_fff_f union field.
4988         (test_function): Add field exact_args.
4989         (FUNC): Add macro argument EXACT_ARGS.
4990         (FUNC_mpfr_f_f): Update call to FUNC.
4991         (FUNC_mpfr_f_f): Likewise.
4992         (FUNC_mpfr_ff_f): Likewise.
4993         (FUNC_mpfr_if_f): Likewise.
4994         (FUNC_mpc_c_f): Likewise.
4995         (FUNC_mpc_c_c): Likewise.
4996         (test_functions): Add fma.  Update calls to FUNC.
4997         (handle_input_arg): Add argument exact_args.
4998         (add_test): Update call to handle_input_arg.
4999         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5000         (output_for_one_input_case): Update call to calc_generic_results.
5001         Recalculate exact zero results in each rounding mode.
5003         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5004         non-negative before setting low bit.
5005         * math/auto-libm-test-in: Mark one asin test possibly having
5006         spurious underflow.
5007         * math/auto-libm-test-out: Regenerated.
5008         * sysdeps/i386/fpu/libm-test-ulps: Update.
5009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5011 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5013         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5014         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5015         ports/sysdeps/unix/sysv/linux/microblaze.
5016         * README: Add missing listing for microblaze*-*-linux-gnu.
5018 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5020         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5021         * sysdeps/unix/sysv/linux/ia64: Move directory from
5022         ports/sysdeps/unix/sysv/linux/ia64.
5023         * README: Update listing for ia64-*-linux-gnu.
5025 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5026             Joseph Myers  <joseph@codesourcery.com>
5028         * Makeconfig (test-name): New variable.
5029         (evaluate-test): Likewise.
5030         * Makerules (do-test-clean): Remove .test-result files.
5031         (common-mostlyclean): Likewise.
5032         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5033         * scripts/evaluate-test.sh: New file.
5035 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5037         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5038         separate $(objpfx)tst-fopenloc-cmp.out and
5039         $(objpfx)tst-fopenloc-mem.out targets.
5040         (tests): Update dependencies.
5041         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5042         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5043         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5044         (tst-rxspencer-no-utf8-ARGS): New variable.
5045         (tst-rxspencer-no-utf8-ENV): Likewise.
5046         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5047         instead of $(objpfx)tst-rxspencer-mem.
5048         ($(objpfx)tst-rxspencer-mem): Change target to
5049         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5050         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5051         * posix/tst-rxspencer-no-utf8.c: New file.
5053         * elf/Makefile ($(objpfx)order.out): Remove rule.
5054         [$(run-built-tests) = yes] (tests): Depend on
5055         $(objpfx)order-cmp.out.
5056         ($(objpfx)order-cmp.out): New rule.
5057         [$(run-built-tests) = yes] (tests): Depend on
5058         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5059         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5060         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5061         $(objpfx)tst-array5-static-cmp.out.
5062         ($(objpfx)tst-array1.out): Remove rule.
5063         ($(objpfx)tst-array1-cmp.out): New rule.
5064         ($(objpfx)tst-array1-static.out): Remove rule.
5065         ($(objpfx)tst-array1-static-cmp.out): New rule.
5066         ($(objpfx)tst-array2.out): Remove rule.
5067         ($(objpfx)tst-array2-cmp.out): New rule.
5068         ($(objpfx)tst-array3.out): Remove rule.
5069         ($(objpfx)tst-array3-cmp.out): New rule.
5070         ($(objpfx)tst-array4.out): Remove rule.
5071         ($(objpfx)tst-array4-cmp.out): New rule.
5072         ($(objpfx)tst-array5.out): Remove rule.
5073         ($(objpfx)tst-array5-cmp.out): New rule.
5074         ($(objpfx)tst-array5-static.out): Remove rule.
5075         ($(objpfx)tst-array5-static-cmp.out): New rule.
5076         [$(run-built-tests) = yes] (tests): Depend on
5077         $(objpfx)order2-cmp.out.
5078         ($(objpfx)order2.out): Remove rule.
5079         ($(objpfx)order2-cmp.out): New rule.
5080         ($(objpfx)tst-initorder.out): Remove rule.
5081         [$(run-built-tests) = yes] (tests): Depend on
5082         $(objpfx)tst-initorder-cmp.out.
5083         ($(objpfx)tst-initorder-cmp.out): New rule.
5084         ($(objpfx)tst-initorder2.out): Remove rule.
5085         [$(run-built-tests) = yes] (tests): Depend on
5086         $(objpfx)tst-initorder2-cmp.out.
5087         ($(objpfx)tst-initorder2-cmp.out): New rule.
5088         [$(run-built-tests) = yes] (tests): Depend on
5089         $(objpfx)tst-unused-dep-cmp.out.
5090         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5091         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5092         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5093         on $(objpfx)tst-setvbuf1-cmp.out.
5094         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5095         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5096         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5097         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5098         ($(objpfx)tst-svc.out): Remove rule.
5099         ($(objpfx)tst-svc-cmp.out): New rule.
5101 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5103         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5104         * ctype/ctype.h [__USE_MISC]: Likewise.
5105         * dirent/dirent.h [__USE_MISC]: Likewise.
5106         * grp/grp.h [__USE_MISC]: Likewise.
5107         * io/fcntl.h [__USE_MISC]: Likewise.
5108         * io/sys/stat.h [__USE_MISC]: Likewise.
5109         * libio/stdio.h [__USE_MISC]: Likewise.
5110         * posix/unistd.h [__USE_MISC]: Likewise.
5111         * pwd/pwd.h [__USE_MISC]: Likewise.
5112         * stdlib.h [__USE_MISC]: Likewise.
5113         * string/bits/string2.h [__USE_MISC]: Likewise.
5114         * string/string.h [__USE_MISC]: Likewise.
5115         * time/time.h [__USE_MISC]: Likewise.
5117 2014-02-13  Andreas Schwab  <schwab@suse.de>
5119         [BZ #16574]
5120         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5121         second answer buffer if it was separately allocated.
5123 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5125         * sysdeps/mips/math-tests.h: Include <features.h>.
5126         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5127         (ROUNDING_TESTS_long_double): Do not define.
5128         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5129         (EXCEPTION_TESTS_long_double): Likewise.
5130         * sysdeps/mips/mips64/libm-test-ulps: Update.
5132         * include/features.h (__USE_BSD): Remove macro definitions.
5133         (__USE_SVID): Likewise.
5134         (_BSD_SOURCE): Likewise.
5135         (_SVID_SOURCE): Likewise.
5136         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5137         from definition of _DEFAULT_SOURCE.
5138         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5139         [_DEFAULT_SOURCE].
5140         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5141         * bits/mman.h [__USE_BSD]: Likewise.
5142         * bits/termios.h [__USE_BSD]: Likewise.
5143         * bits/waitstatus.h [__USE_BSD]: Likewise.
5144         * ctype/ctype.h [__USE_SVID]: Likewise.
5145         * dirent/dirent.h [__USE_BSD]: Likewise.
5146         * grp/grp.h [__USE_SVID]: Likewise.
5147         [__USE_BSD]: Likewise.
5148         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5149         * io/fcntl.h [__USE_BSD]: Likewise.
5150         * io/ftw.h [__USE_BSD]: Likewise.
5151         * io/sys/stat.h [__USE_BSD]: Likewise.
5152         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5153         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5154         * libio/stdio.h [__USE_SVID]: Likewise.
5155         [__USE_BSD]: Likewise.
5156         * math/math.h [__USE_SVID]: Likewise.
5157         [__USE_BSD]: Likewise.
5158         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5159         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5160         * misc/search.h [__USE_SVID]: Likewise.
5161         * misc/sys/mman.h [__USE_BSD]: Likewise.
5162         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5163         * misc/sys/uio.h [__USE_BSD]: Likewise.
5164         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5165         * posix/glob.h [__USE_BSD]: Likewise.
5166         * posix/regex.h [__USE_BSD]: Likewise.
5167         * posix/sys/types.h [__USE_BSD]: Likewise.
5168         [__USE_SVID]: Likewise.
5169         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5170         * posix/sys/wait.h [__USE_BSD]: Likewise.
5171         [__USE_SVID]: Likewise.
5172         * posix/unistd.h [__USE_BSD]: Likewise.
5173         [__USE_SVID]: Likewise.
5174         * pwd/pwd.h [__USE_SVID]: Likewise.
5175         * resolv/netdb.h [__USE_BSD]: Likewise.
5176         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5177         * signal/signal.h [__USE_BSD]: Likewise.
5178         [__USE_SVID]: Likewise.
5179         * socket/sys/socket.h [__USE_BSD]: Likewise.
5180         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5181         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5182         [__USE_SVID]: Likewise.
5183         * string/bits/string2.h [__USE_BSD]: Likewise.
5184         [__USE_SVID]: Likewise.
5185         * string/bits/string3.h [__USE_BSD]: Likewise.
5186         * string/endian.h [__USE_BSD]: Likewise.
5187         * string/string.h [__USE_SVID]: Likewise.
5188         [__USE_BSD]: Likewise.
5189         * string/strings.h [__USE_BSD]: Likewise.
5190         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5191         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5192         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5193         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5194         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5195         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5196         Likewise.
5197         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5198         Likewise.
5199         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5200         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5201         Likewise.
5202         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5203         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5204         Likewise.
5205         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5206         Likewise.
5207         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5208         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5209         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5210         Likewise.
5211         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5212         Likewise.
5213         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5214         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5215         * termios/termios.h [__USE_BSD]: Likewise.
5216         * time/sys/time.h [__USE_BSD]: Likewise.
5217         * time/time.h [__USE_BSD]: Likewise.
5218         [__USE_SVID]: Likewise.
5220         * Makefile (subdir_targets): Remove subdir_lint.out.
5222         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5223         (do-tst-printf): Likewise.
5224         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5225         $(objpfx)tst-printf.out.
5227         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5229         * Makerules (check-abi-%): Change target to
5230         $(objpfx)check-abi-%.out.
5231         (check-abi target): Update dependencies.
5232         (check-abi-pattern variable): Redirect output of diff to $@.
5233         (check-abi variable): Likewise.
5234         * elf/Makefile (check-abi): Update dependencies.
5236         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5237         unused.
5238         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5239         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5240         subnormal range.
5241         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5242         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5243         value has largest subnormal exponent.
5244         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5245         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5246         * sysdeps/aarch64/soft-fp/sfp-machine.h
5247         (_FP_TININESS_AFTER_ROUNDING): New macro.
5248         * sysdeps/alpha/soft-fp/sfp-machine.h
5249         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5250         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5251         Likewise.
5252         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5253         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5254         * sysdeps/mips/soft-fp/sfp-machine.h
5255         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5256         * sysdeps/powerpc/soft-fp/sfp-machine.h
5257         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5258         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5259         Likewise.
5260         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5261         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5262         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5263         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5264         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5265         Likewise.
5267 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5269         [BZ #16545]
5270         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5271         model 1.
5273 2014-02-12  Richard Henderson  <rth@redhat.com>
5275         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5276         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5277         * sysdeps/unix/sysv/linux/alpha: Move directory from
5278         ports/sysdeps/unix/sysv/linux/alpha.
5279         * README: Update listing for alpha-*-linux-gnu.
5281 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5283         * include/features.h: Update comment documenting feature test
5284         macros.
5285         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5286         _DEFAULT_SOURCE.
5287         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5288         (_SVID_SOURCE): Likewise.
5289         (_DEFAULT_SOURCE): Update description of default features.
5290         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5291         with _GNU_SOURCE.
5292         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5293         (S_ISVTX): Likewise.
5294         * manual/math.texi (Mathematical Constants): Likewise.
5295         * manual/signal.texi (Interrupted Primitives): Likewise.
5296         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5297         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5298         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5299         Don't refer to _SVID_SOURCE in warning text.
5301         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5303         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5304         already defined.
5305         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5306         * sysdeps/mips/dl-lookup.c: Remove.
5307         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5309 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5311         [BZ #16447]
5312         * math/auto-libm-test-in: Add testcase for expl.
5313         * math/auto-libm-test-out: Regenerate.
5314         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5315         calculation of unsafe.
5316         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5318 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5320         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5321         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5322         ports/sysdeps/unix/sysv/linux/aarch64.
5323         * README: Update listing for aarch64*-*-linux-gnu.
5325 2014-02-11  Will Newton  <will.newton@linaro.org>
5327         * manual/probes.texi (Mathematical Function Probes): Use
5328         "triggered" instead of "hit".
5330         * manual/probes.texi (Internal Probes): Add documentation
5331         of setjmp, longjmp and longjmp_target probes.
5333         * include/stap-probe.h: Add comment about probe argument
5334         format.
5336         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5337         definition.  (tr_where, tr_freehook, tr_mallochook,
5338         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5340 2014-02-11  David S. Miller  <davem@davemloft.net>
5342         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5343         processing int_tests.
5345 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5347         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5348         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5349         * sysdeps/unix/sysv/linux/mips: Move directory from
5350         ports/sysdeps/unix/sysv/linux/mips.
5351         * README: Update listing for mips-*-linux-gnu and
5352         mips64-*-linux-gnu.
5354 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5356         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5357         * sysdeps/unix/sysv/linux/m68k: Move directory from
5358         ports/sysdeps/unix/sysv/linux/m68k.
5359         * README: Update listing for m68k-*-linux-gnu.
5361 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5363         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5364         * sysdeps/unix/sysv/linux/generic: Move directory from
5365         ports/sysdeps/unix/sysv/linux/generic.
5366         * sysdeps/unix/sysv/linux/tile: Move directory from
5367         ports/sysdeps/unix/sysv/linux/tile.
5368         * README: Update listing for tile*-*-linux-gnu.
5370 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5372         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5373         __builtin_expect.
5374         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5375         * catgets/open_catalog.c (__open_catalog): Likewise.
5376         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5377         * debug/confstr_chk.c: Likewise.
5378         * debug/fread_chk.c (__fread_chk): Likewise.
5379         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5380         * debug/getgroups_chk.c: Likewise.
5381         * debug/mbsnrtowcs_chk.c: Likewise.
5382         * debug/mbsrtowcs_chk.c: Likewise.
5383         * debug/mbstowcs_chk.c: Likewise.
5384         * debug/memcpy_chk.c: Likewise.
5385         * debug/memmove_chk.c: Likewise.
5386         * debug/mempcpy_chk.c: Likewise.
5387         * debug/memset_chk.c: Likewise.
5388         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5389         * debug/strcat_chk.c (__strcat_chk): Likewise.
5390         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5391         * debug/strncat_chk.c (__strncat_chk): Likewise.
5392         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5393         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5394         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5395         * debug/wcpncpy_chk.c: Likewise.
5396         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5397         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5398         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5399         * debug/wcsncpy_chk.c: Likewise.
5400         * debug/wcsnrtombs_chk.c: Likewise.
5401         * debug/wcsrtombs_chk.c: Likewise.
5402         * debug/wcstombs_chk.c: Likewise.
5403         * debug/wmemcpy_chk.c: Likewise.
5404         * debug/wmemmove_chk.c: Likewise.
5405         * debug/wmempcpy_chk.c: Likewise.
5406         * debug/wmemset_chk.c: Likewise.
5407         * dirent/scandirat.c (SCANDIRAT): Likewise.
5408         * dlfcn/dladdr1.c (dladdr1): Likewise.
5409         * dlfcn/dladdr.c (dladdr): Likewise.
5410         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5411         * dlfcn/dlerror.c (__dlerror): Likewise.
5412         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5413         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5414         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5415         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5416         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5417         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5418         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5419         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5420         Likewise.
5421         * elf/dl-conflict.c: Likewise.
5422         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5423         * elf/dl-dst.h: Likewise.
5424         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5425         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5426         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5427         * elf/dl-init.c (call_init, _dl_init): Likewise.
5428         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5429         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5430         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5431         Likewise.
5432         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5433         Likewise.
5434         * elf/dl-minimal.c (__libc_memalign): Likewise.
5435         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5436         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5437         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5438         * elf/dl-sym.c (do_sym): Likewise.
5439         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5440         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5441         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5442         * elf/dl-writev.h (_dl_writev): Likewise.
5443         * elf/ldconfig.c (search_dir): Likewise.
5444         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5445         (dl_main): Likewise.
5446         * elf/setup-vdso.h (setup_vdso): Likewise.
5447         * grp/compat-initgroups.c (compat_call): Likewise.
5448         * grp/fgetgrent.c (fgetgrent): Likewise.
5449         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5450         * grp/putgrent.c (putgrent): Likewise.
5451         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5452         Likewise.
5453         * hurd/hurdinit.c: Likewise.
5454         * iconvdata/8bit-gap.c (struct): Likewise.
5455         * iconvdata/ansi_x3.110.c : Likewise.
5456         * iconvdata/big5.c : Likewise.
5457         * iconvdata/big5hkscs.c : Likewise.
5458         * iconvdata/cp1255.c: Likewise.
5459         * iconvdata/cp1258.c : Likewise.
5460         * iconvdata/cp932.c : Likewise.
5461         * iconvdata/euc-cn.c: Likewise.
5462         * iconvdata/euc-jisx0213.c : Likewise.
5463         * iconvdata/euc-jp.c: Likewise.
5464         * iconvdata/euc-jp-ms.c : Likewise.
5465         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5466         * iconvdata/gb18030.c : Likewise.
5467         * iconvdata/gbbig5.c (const): Likewise.
5468         * iconvdata/gbgbk.c: Likewise.
5469         * iconvdata/gbk.c : Likewise.
5470         * iconvdata/ibm1364.c : Likewise.
5471         * iconvdata/ibm930.c : Likewise.
5472         * iconvdata/ibm932.c: Likewise.
5473         * iconvdata/ibm933.c : Likewise.
5474         * iconvdata/ibm935.c : Likewise.
5475         * iconvdata/ibm937.c : Likewise.
5476         * iconvdata/ibm939.c : Likewise.
5477         * iconvdata/ibm943.c: Likewise.
5478         * iconvdata/iso_11548-1.c: Likewise.
5479         * iconvdata/iso-2022-cn.c : Likewise.
5480         * iconvdata/iso-2022-cn-ext.c : Likewise.
5481         * iconvdata/iso-2022-jp-3.c: Likewise.
5482         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5483         * iconvdata/iso-2022-kr.c : Likewise.
5484         * iconvdata/iso646.c (gconv_end): Likewise.
5485         * iconvdata/iso_6937-2.c : Likewise.
5486         * iconvdata/iso_6937.c : Likewise.
5487         * iconvdata/iso8859-1.c: Likewise.
5488         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5489         * iconvdata/shift_jisx0213.c : Likewise.
5490         * iconvdata/sjis.c : Likewise.
5491         * iconvdata/t.61.c : Likewise.
5492         * iconvdata/tcvn5712-1.c : Likewise.
5493         * iconvdata/tscii.c: Likewise.
5494         * iconvdata/uhc.c : Likewise.
5495         * iconvdata/unicode.c (gconv_end): Likewise.
5496         * iconvdata/utf-16.c (gconv_end): Likewise.
5497         * iconvdata/utf-32.c (gconv_end): Likewise.
5498         * iconvdata/utf-7.c (base64): Likewise.
5499         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5500         * iconv/gconv_close.c (__gconv_close): Likewise.
5501         * iconv/gconv_open.c (__gconv_open): Likewise.
5502         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5503         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5504         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5505         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5506         (ucs4le_internal_loop_single): Likewise.
5507         * iconv/iconv.c (iconv): Likewise.
5508         * iconv/iconv_close.c: Likewise.
5509         * iconv/loop.c (SINGLE): Likewise.
5510         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5511         * include/atomic.h: Likewise.
5512         * inet/inet6_option.c (option_alloc): Likewise.
5513         * intl/bindtextdom.c (set_binding_values): Likewise.
5514         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5515         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5516         * intl/localealias.c (read_alias_file): Likewise.
5517         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5518         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5519         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5520         * libio/fmemopen.c (fmemopen): Likewise.
5521         * libio/iofgets.c (_IO_fgets): Likewise.
5522         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5523         * libio/iofgetws.c (fgetws): Likewise.
5524         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5525         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5526         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5527         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5528         * locale/findlocale.c (_nl_find_locale): Likewise.
5529         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5530         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5531         Likewise.
5532         * locale/setlocale.c (setlocale): Likewise.
5533         * login/programs/pt_chown.c (main): Likewise.
5534         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5535         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5536         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5537         (mmap, mmap64, mremap, munmap): Likewise.
5538         * math/e_exp2l.c: Likewise.
5539         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5540         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5541         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5542         * math/s_catan.c (__catan): Likewise.
5543         * math/s_catanf.c (__catanf): Likewise.
5544         * math/s_catanh.c (__catanh): Likewise.
5545         * math/s_catanhf.c (__catanhf): Likewise.
5546         * math/s_catanhl.c (__catanhl): Likewise.
5547         * math/s_catanl.c (__catanl): Likewise.
5548         * math/s_ccosh.c (__ccosh): Likewise.
5549         * math/s_ccoshf.c (__ccoshf): Likewise.
5550         * math/s_ccoshl.c (__ccoshl): Likewise.
5551         * math/s_cexp.c (__cexp): Likewise.
5552         * math/s_cexpf.c (__cexpf): Likewise.
5553         * math/s_cexpl.c (__cexpl): Likewise.
5554         * math/s_clog10.c (__clog10): Likewise.
5555         * math/s_clog10f.c (__clog10f): Likewise.
5556         * math/s_clog10l.c (__clog10l): Likewise.
5557         * math/s_clog.c (__clog): Likewise.
5558         * math/s_clogf.c (__clogf): Likewise.
5559         * math/s_clogl.c (__clogl): Likewise.
5560         * math/s_csin.c (__csin): Likewise.
5561         * math/s_csinf.c (__csinf): Likewise.
5562         * math/s_csinh.c (__csinh): Likewise.
5563         * math/s_csinhf.c (__csinhf): Likewise.
5564         * math/s_csinhl.c (__csinhl): Likewise.
5565         * math/s_csinl.c (__csinl): Likewise.
5566         * math/s_csqrt.c (__csqrt): Likewise.
5567         * math/s_csqrtf.c (__csqrtf): Likewise.
5568         * math/s_csqrtl.c (__csqrtl): Likewise.
5569         * math/s_ctan.c (__ctan): Likewise.
5570         * math/s_ctanf.c (__ctanf): Likewise.
5571         * math/s_ctanh.c (__ctanh): Likewise.
5572         * math/s_ctanhf.c (__ctanhf): Likewise.
5573         * math/s_ctanhl.c (__ctanhl): Likewise.
5574         * math/s_ctanl.c (__ctanl): Likewise.
5575         * math/w_pow.c: Likewise.
5576         * math/w_powf.c: Likewise.
5577         * math/w_powl.c: Likewise.
5578         * math/w_scalb.c (sysv_scalb): Likewise.
5579         * math/w_scalbf.c (sysv_scalbf): Likewise.
5580         * math/w_scalbl.c (sysv_scalbl): Likewise.
5581         * misc/error.c (error_tail): Likewise.
5582         * misc/pselect.c (__pselect): Likewise.
5583         * nis/nis_callback.c (__nis_create_callback): Likewise.
5584         * nis/nis_call.c (__nisfind_server): Likewise.
5585         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5586         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5587         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5588         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5589         * nis/nis_lookup.c (nis_lookup): Likewise.
5590         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5591         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5592         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5593         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5594         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5595         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5596         * nis/nss_compat/compat-initgroups.c (add_group)
5597         (internal_getgrent_r): Likewise.
5598         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5599         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5600         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5601         (internal_getspnam_r): Likewise.
5602         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5603         (_nss_nis_getaliasbyname_r): Likewise.
5604         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5605         (_nss_nis_getntohost_r): Likewise.
5606         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5607         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5608         (_nss_nis_getgrgid_r): Likewise.
5609         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5610         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5611         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5612         (_nss_nis_gethostbyname4_r): Likewise.
5613         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5614         (initgroups_netid): Likewise.
5615         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5616         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5617         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5618         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5619         (_nss_nis_getprotobynumber_r): Likewise.
5620         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5621         (_nss_nis_getsecretkey): Likewise.
5622         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5623         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5624         (_nss_nis_getpwuid_r): Likewise.
5625         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5626         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5627         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5628         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5629         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5630         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5631         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5632         Likewise.
5633         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5634         (_nss_nisplus_getntohost_r): Likewise.
5635         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5636         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5637         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5638         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5639         Likewise.
5640         * nis/nss_nisplus/nisplus-initgroups.c
5641         (_nss_nisplus_initgroups_dyn): Likewise.
5642         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5643         (_nss_nisplus_getnetbyaddr_r): Likewise.
5644         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5645         (_nss_nisplus_getprotobynumber_r): Likewise.
5646         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5647         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5648         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5649         Likewise.
5650         * nis/nss_nisplus/nisplus-service.c
5651         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5652         (_nss_nisplus_getservbyport_r): Likewise.
5653         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5654         (_nss_nisplus_getspnam_r): Likewise.
5655         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5656         Likewise.
5657         * nscd/aicache.c (addhstaiX): Likewise.
5658         * nscd/cache.c (cache_search, prune_cache): Likewise.
5659         * nscd/connections.c (register_traced_file, send_ro_fd)
5660         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5661         (main_loop_epoll): Likewise.
5662         * nscd/grpcache.c (addgrbyX): Likewise.
5663         * nscd/hstcache.c (addhstbyX): Likewise.
5664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5665         * nscd/mem.c (gc, mempool_alloc): Likewise.
5666         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5667         (addinnetgrX): Likewise.
5668         * nscd/nscd-client.h (__nscd_acquire_maplock)
5669         (__nscd_drop_map_ref): Likewise.
5670         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5671         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5672         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5673         Likewise.
5674         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5675         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5676         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5677         (__nscd_get_map_ref): Likewise.
5678         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5679         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5680         Likewise.
5681         * nscd/pwdcache.c (addpwbyX): Likewise.
5682         * nscd/selinux.c (preserve_capabilities): Likewise.
5683         * nscd/servicescache.c (addservbyX): Likewise.
5684         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5685         * posix/fnmatch.c (fnmatch): Likewise.
5686         * posix/getopt.c (_getopt_internal_r): Likewise.
5687         * posix/glob.c (glob, glob_in_dir): Likewise.
5688         * posix/wordexp.c (exec_comm_child): Likewise.
5689         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5690         (getanswer_r, gaih_getanswer_slice): Likewise.
5691         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5692         * resolv/res_init.c: Likewise.
5693         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5694         * resolv/res_query.c (__libc_res_nquery): Likewise.
5695         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5696         Likewise.
5697         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5698         * stdio-common/perror.c (perror): Likewise.
5699         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5700         * stdio-common/tmpnam.c (tmpnam): Likewise.
5701         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5702         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5703         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5704         Likewise.
5705         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5706         * stdlib/putenv.c (putenv): Likewise.
5707         * stdlib/setenv.c (__add_to_environ): Likewise.
5708         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5709         * stdlib/strtol_l.c (INTERNAL): Likewise.
5710         * string/memmem.c (memmem): Likewise.
5711         * string/strerror.c (strerror): Likewise.
5712         * string/strnlen.c (__strnlen): Likewise.
5713         * string/test-memmem.c (simple_memmem): Likewise.
5714         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5715         * sunrpc/pm_getport.c (__get_socket): Likewise.
5716         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5717         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5718         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5719         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5720         Likewise.
5721         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5722         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5723         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5724         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5725         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5726         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5727         Likewise.
5728         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5729         Likewise.
5730         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5731         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5732         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5733         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5734         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5735         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5736         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5737         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5738         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5739         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5740         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5741         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5742         Likewise.
5743         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5744         Likewise.
5745         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5746         Likewise.
5747         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5748         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5749         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5750         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5751         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5752         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5753         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5754         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5755         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5756         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5757         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5759         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5760         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5761         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5763         Likewise.
5764         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5765         Likewise.
5766         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5767         Likewise.
5768         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5769         Likewise.
5770         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5772         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5773         Likewise.
5774         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5775         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5776         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5777         * sysdeps/posix/sleep.c: Likewise.
5778         * sysdeps/posix/tempname.c: Likewise.
5779         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5780         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5781         Likewise.
5782         * sysdeps/powerpc/powerpc32/dl-machine.h
5783         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5784         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5785         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5786         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5787         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5788         Likewise.
5789         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5790         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5791         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5792         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5793         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5794         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5795         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5796         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5797         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5798         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5799         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5800         (elf_machine_lazy_rel): Likewise.
5801         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5802         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5803         (elf_machine_lazy_rel): Likewise.
5804         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5805         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5806         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5807         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5808         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5809         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5810         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5811         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5812         Likewise.
5813         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5814         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5815         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5816         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5817         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5818         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5819         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5820         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5821         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5822         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5823         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5824         Likewise.
5825         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5826         (__posix_fallocate64_l64): Likewise.
5827         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5828         (posix_fallocate): Likewise.
5829         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5830         Likewise.
5831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5832         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5833         (getifaddrs_internal): Likewise.
5834         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5835         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5836         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5837         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5838         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5839         (__posix_fallocate64_l64): Likewise.
5840         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5841         Likewise.
5842         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5843         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5844         (__get_clockfreq): Likewise.
5845         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5846         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5847         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5848         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5849         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5850         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5851         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5852         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5853         Likewise.
5854         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5855         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5856         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5857         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5858         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5859         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5860         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5861         Likewise.
5862         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5863         (posix_fallocate): Likewise.
5864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5865         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5866         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5867         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5868         (elf_machine_rela, elf_machine_rela_relative)
5869         (elf_machine_lazy_rel): Likewise.
5870         * time/asctime.c (asctime_internal): Likewise.
5871         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5872         * time/tzset.c (__tzset_parse_tz): Likewise.
5873         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5874         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5875         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5876         * wcsmbs/wcsmbsload.h: Likewise.
5878         [BZ #15894]
5879         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5881         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5882         (arena_get2): Remove THREAD_STATS conditionals.
5883         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5884         (__malloc_stats, int): Likewise.
5886 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5888         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5889         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5891         * manual/setjmp.texi: Fix typos/grammar errors.
5893         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5894         Only return early when n is <= 0.  Delete unused return statement.
5896         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5897         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5898         * debug/tst-longjmp_chk3.c: New file.
5900         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5901         (test_main): Replace code with set_fortify_handler call.
5902         * debug/test-strcpy_chk.c: Likewise.
5903         * debug/tst-chk1.c: Likewise.
5904         * debug/tst-longjmp_chk.c: Likewise.
5905         * test-skeleton.c: Include fcntl.h & paths.h
5906         (set_fortify_handler): Define.
5908         * debug/tst-longjmp_chk.c: Add header comment and include
5909         ../test-skeleton.c.
5910         (do_test): Mark static.
5911         (TEST_FUNCTION): Define.
5913         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5914         (IP_PMTUDISC_INTERFACE): Likewise.
5915         (IP_MULTICAST_IF): Likewise.
5916         (IP_MULTICAST_TTL): Likewise.
5917         (IP_MULTICAST_LOOP): Likewise.
5918         (IP_ADD_MEMBERSHIP): Likewise.
5919         (IP_DROP_MEMBERSHIP): Likewise.
5920         (IP_UNBLOCK_SOURCE): Likewise.
5921         (IP_BLOCK_SOURCE): Likewise.
5922         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5923         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5924         (IP_MSFILTER): Likewise.
5925         (MCAST_JOIN_GROUP): Likewise.
5926         (MCAST_BLOCK_SOURCE): Likewise.
5927         (MCAST_UNBLOCK_SOURCE): Likewise.
5928         (MCAST_LEAVE_GROUP): Likewise.
5929         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5930         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5931         (MCAST_MSFILTER): Likewise.
5932         (IP_MULTICAST_ALL): Likewise.
5933         (IP_UNICAST_IF): Likewise.
5935         * timezone/Makefile: Delete $(have-ksh) check.
5936         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5937         * timezone/tzselect.ksh: Add +x mode bits.
5939         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5940         (ANON_INODE_FS_MAGIC): Likewise.
5941         (BDEVFS_MAGIC): Likewise.
5942         (BINFMTFS_MAGIC): Likewise.
5943         (BTRFS_TEST_MAGIC): Likewise.
5944         (CRAMFS_MAGIC_WEND): Likewise.
5945         (DEBUGFS_MAGIC): Likewise.
5946         (ECRYPTFS_SUPER_MAGIC): Likewise.
5947         (EXT3_SUPER_MAGIC): Likewise.
5948         (EXT4_SUPER_MAGIC): Likewise.
5949         (FUTEXFS_SUPER_MAGIC): Likewise.
5950         (HOSTFS_SUPER_MAGIC): Likewise.
5951         (HUGETLBFS_MAGIC): Likewise.
5952         (MINIX3_SUPER_MAGIC): Likewise.
5953         (MTD_INODE_FS_MAGIC): Likewise.
5954         (NILFS_SUPER_MAGIC): Likewise.
5955         (OPENPROM_SUPER_MAGIC): Likewise.
5956         (PIPEFS_MAGIC): Likewise.
5957         (PSTOREFS_MAGIC): Likewise.
5958         (QNX6_SUPER_MAGIC): Likewise.
5959         (RAMFS_MAGIC): Likewise.
5960         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5961         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5962         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5963         (SECURITYFS_MAGIC): Likewise.
5964         (SELINUX_MAGIC): Likewise.
5965         (SMACK_MAGIC): Likewise.
5966         (SOCKFS_MAGIC): Likewise.
5967         (SQUASHFS_MAGIC): Likewise.
5968         (STACK_END_MAGIC): Likewise.
5969         (TMPFS_MAGIC): Likewise.
5970         (USBDEVICE_SUPER_MAGIC): Likewise.
5971         (V9FS_MAGIC): Likewise.
5972         (XENFS_SUPER_MAGIC): Likewise.
5973         (CRAMFS_MAGIC): Fix typo in comment.
5974         (EXT2_SUPER_MAGIC): Update comment.
5975         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5977 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5979         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5980         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5981         * sysdeps/unix/sysv/linux/arm: Move directory from
5982         ports/sysdeps/unix/sysv/linux/arm.
5983         * README: Update listing for arm-*-linux-gnueabi.
5985         * README: Remove mention of am33.
5987 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5989         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5990         than the comma operator, to avoid "rhs of comma has no effect"
5991         compiler warnings.
5992         (__sigfillset, __sigandset, __sigorset): Likewise.
5993         * include/signal.h (__sigemptyset): Likewise.
5994         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5996 2014-02-07  Allan McRae  <allan@archlinux.org>
5998         * version.h (RELEASE): Set to "development".
5999         (VERSION): Set to "2.19.90"
6000         * NEWS: Add 2.20 section.
6002 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6004         [BZ #16529]
6005         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6007 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6009         * manual/contrib.texi: Update entry for Carlos O'Donell,
6010         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6012 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6014         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6016         * sysdeps/unix/sysv/linux/kernel-features.h
6017         [__LINUX_KERNEL_VERSION >= 0x020621]
6018         (__ASSUME_PROC_PID_TASK_COMM): Define.
6020 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6022         [BZ #16398]
6023         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6024         conversion when destination buffer does not have enough space.
6025         * libio/tst-ftell-partial-wide.c: New test case.
6026         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6028         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6029         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6030         Leonard and Allan McRae.
6032 2014-02-04  David S. Miller  <davem@davemloft.net>
6034         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6035         32-bit.
6037 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6040         New file
6041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6042         New file
6043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6044         New file.
6045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6046         New file.
6047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6048         New file.
6049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6050         New file.
6051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6052         New file.
6053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6054         New file.
6055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6056         New file.
6057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6058         New file.
6059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6060         New file.
6061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6062         New file.
6063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6064         New file.
6066 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6068         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6069         * shlib-versions: Likewise.
6071 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6072             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6074         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6075         (abilist-pattern): New variable, set to %-le.abilist.
6077         * Makerules (abilist-pattern): New variable.
6078         (vpath): Use $(abilist-pattern) in place of %.abilist.
6079         (check-abi-% pattern rule): Likewise.
6080         (check-abi, update-abi): Likewise.
6082 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6086 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6088         * manual/startup.texi: Add next, previous, and top entries for
6089         the `Program Arguments' and `Environment Variables' nodes.
6091 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6093         * manual/macros.texi: Add comments before MTASC-safety macros.
6095         * manual/users.texi: Document MTASC-safety properties.
6097         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6098         (pthread_getspecific, pthread_setspecific): Format with
6099         @deftypefun, and add @safety note.
6100         * manual/signal.texi: Move comments that analyze the above
6101         functions to their home place.
6103 2014-02-03  Allan McRae  <allan@archlinux.org>
6105         * po/sl.po: Update Slovenian translation from translation project.
6107 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6109         * manual/time.texi (timegm): Add missing blank after @c.
6110         Reported by Joseph Myers <joseph@codesourcery.com>.
6112 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6114         * manual/check-safety.sh: New.
6115         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6117         * manual/terminal.texi: Document MTASC-safety properties.
6119         * manual/filesys.texi: Document MTASC-safety properties.
6121         * manual/errno.texi: Document MTASC-safety properties.
6123         * manual/intro.texi: Document safety identifiers and
6124         conditionals.
6126         * manual/string.texi (wcstok): Fix prototype.
6127         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6129         * manual/time.texi: Document MTASC-safety properties.
6131         * manual/string.texi: Document MTASC-safety properties.
6133         * manual/threads.texi: Document MTASC-safety properties.
6135         * manual/stdio.texi: Document MTASC-safety properties.
6137         * manual/syslog.texi: Document MTASC-safety properties.
6139         * manual/sysinfo.texi: Document MTASC-safety properties.
6141         * manual/startup.texi: Document MTASC-safety properties.
6143         * manual/socket.texi: Document MTASC-safety properties.
6145         * manual/signal.texi: Document MTASC-safety properties.
6147 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6149         * manual/setjmp.texi: Document MTASC-safety properties.
6151         * manual/search.texi: Document MTASC-safety properties.
6153         * manual/resource.texi: Document MTASC-safety properties.
6155         * manual/process.texi: Document MTASC-safety properties.
6157         * manual/platform.texi: Document MTASC-safety properties.
6159         * manual/pipe.texi: Document MTASC-safety properties.
6161         * manual/pattern.texi: Document MTASC-safety properties.
6163         * manual/message.texi: Document MTASC-safety properties.
6165         [BZ #12751]
6166         * manual/memory.texi: Document MTASC-safety properties.
6168         * manual/math.texi: Document MTASC-safety properties.
6170         * manual/locale.texi: Document MTASC-safety properties.
6172         * manual/llio.texi: Document MTASC-safety properties.
6174         * manual/libdl.texi: New.
6176         * manual/lang.texi: Document MTASC-safety properties.
6178         * manual/job.texi: Document MTASC-safety properties.
6180         * manual/getopt.texi: Document MTASC-safety properties.
6182         * manual/ctype.texi: Document MTASC-safety properties.
6184 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6186         [BZ #16046]
6187         * csu/libc-tls.c (static_map): Remove variable.
6188         (__libc_setup_tls): Use main executable's link map for TLS data.
6189         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6190         casing for LM_ID_BASE and GL(dl_nns).
6191         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6192         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6193         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6194         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6195         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6196         member.
6197         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6198         l_phnum members.
6200 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6202         * manual/debug.texi: Document MTASC-safety properties.
6204 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6206         [BZ #16510]
6207         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6208         of __x86_64__ when disabling x87 inline functions.
6210 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6212         * manual/charset.texi: Document MTASC-safety properties.
6214         * manual/crypt.texi: Document MTASC-safety properties.
6216         * manual/conf.texi: Document MTASC-safety properties.
6218         * manual/arith.texi: Document MTASC-safety properties.
6220         * manual/argp.texi: Document MTASC-safety properties.
6222         * manual/macros.texi: Introduce macros to document multi
6223         thread, asynchronous signal and asynchronous cancellation
6224         safety properties.
6225         * manual/intro.texi: Introduce the properties themselves.
6227 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6229         * sysdeps/sh/sh4/Makefile: New file.
6231 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6233         * math/gen-libm-test.pl ($srcdir): New variable.
6234         ($auto_input): Use it.
6236 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6238         [BZ #16506]
6239         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6240         access beyond array bounds when parsing netgroups file.
6242         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6243         the old buffer before realloc.
6245 2014-01-27  Allan McRae  <allan@archlinux.org>
6247         * po/fr.po: Update French translation from translation project.
6249 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6251         * sysdeps/sh/libm-test-ulps: Regenerate.
6253 2014-01-24  David S. Miller  <davem@davemloft.net>
6255         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6257 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6259         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6260         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6262 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6264         [BZ #16474]
6265         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6266         string pointers after reallocation.
6268 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6270         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6271         __SH4A__ instead of __SH_FPU_ANY__.
6273 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6275         * sysdeps/sh/fpu_control.h: New file.
6276         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6277         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6278         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6279         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6280         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6281         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6282         * sysdeps/sh/sys/ucontext.h: Remove.
6283         * sysdeps/sh/sys: Remove directory.
6285 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6287         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6288         s390/sys/ucontext.h.
6289         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6290         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6292 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6294         [BZ #15605]
6295         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6297 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6299         [BZ#16431]
6300         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6301         Adjust the vDSO correctly for internal calls.
6302         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6304 2014-01-20  Allan McRae  <allan@archlinux.org>
6306         * po/ca.po: Update Catalan translation from translation project.
6308 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6310         * sysdeps/s390/sotruss-lib.c: New file.
6312 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6314         [BZ#16430]
6315         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6316         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6317         local calls issues by not having a PLT stub required for IFUNC calls.
6318         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6320 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6322         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6323         * math/test-fpucw-static.c: Likewise.
6325 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6327         [BZ #16453]
6328         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6330 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6332         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6333         implementation for powerpc.
6335 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6337         [BZ #14782]
6338         * sysdeps/posix/system.c (__libc_system): Do not enable
6339         asynchronous cancellation.
6341 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6343         [BZ #16427]
6344         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6345         handling only for numbers special also in the IEEE case.
6347 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6349         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6351 2014-01-11  Allan McRae  <allan@archlinux.org>
6353         * po/bg.po: Update Bulgarian translation from translation project.
6355         * po/de.po: Update German translation from translation project.
6357 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6359         * sysdeps/generic/gcc-compat.h: New file.
6361 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6363         * benchtests/asin-inputs: Correct slow inputs.
6364         * benchtests/acos-inputs: Likewise.
6366 2014-01-10  Allan McRae  <allan@archlinux.org>
6368         * po:sv.po: Update Swedish translation from translation project.
6370         * po/vi.po: Update Vietnamese translation from translation project.
6372         * po/eo.po: Update Esperanto translation from translation project.
6374         * po/cs.po: Update Czech translation from translation project.
6376         * po/nl.po: Update Dutch translation from translation project.
6378         * po/pl.po: Update Polish translation from translation project.
6380         * po/ru.po: Update Russian translation from translation project.
6382         * po/uk.po: Update Ukrainian translation from translation project.
6384 2014-01-08  Brooks Moses  <bmoses@google.com>
6386         * elf/dl-load.c: Fix comment typo.
6388 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6390         * po/header.pot: Rename to...
6391         * po/pot.header: ... this.
6392         * po/Makefile: Use pot.header.
6394 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6395             Maxim Kuvyrkov  <maxim@kugelworks.com>
6397         [BZ #16394]
6398         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6399         SRC and DEST against LEN.
6401 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6403         [BZ #16414]
6404         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6405         implementation.
6406         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6408 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6412 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6414         [BZ #16408]
6415         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6416         for large positive arguments.
6418 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6420         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6422         * math/auto-libm-test-in: Mark various tests with
6423         xfail-rounding:ldbl-128ibm.
6424         * math/auto-libm-test-out: Regenerated.
6426         [BZ #16407]
6427         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6428         Increase overflow threshold.
6430 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6432         [BZ #14286]
6433         * stdio-common/vfprintf.c: Check for integer overflow.
6435 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6437         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6438         the first argument and return value of __tls_get_addr_internal.
6440 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6442         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6443         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6445 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6447         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6448         * sysdeps/s390/rtld-global-offsets.sym: New file.
6449         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6450         GLIBC_2.19 symbol.
6451         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6452         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6453         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6454         ... this.
6455         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6456         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6457         ... this.
6458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6459         Regenerate.
6460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6461         Regenerate.
6462         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6463         halfs of GPRs for high_gprs contexts.
6464         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6465         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6466         field.
6467         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6468         uc_flags field.
6469         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6470         64 bit versions:
6471         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6472         for high GPRs (uc_high_gprs) and for future extensions
6473         (__reserved).
6474         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6475         for future extensions (__reserved).
6476         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6477         64 bit versions:
6478         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6479         SC_HIGHGPRS offset definition.
6480         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6481         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6483         * Versions.def: Add GLIBC_2.19 for libpthread.
6484         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6485         siglongjmp for libpthread with GLIBC_2.19 symver.
6486         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6487         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6488         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6489         * sysdeps/s390/__longjmp.c: New file.
6490         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6491         * sysdeps/s390/longjmp.c: New file.
6492         * sysdeps/s390/setjmp.S: New file.
6493         * sysdeps/s390/sigjmp.S: New file.
6494         * sysdeps/s390/v1-longjmp.c: New file.
6495         * sysdeps/s390/v1-setjmp.h: New file.
6496         * sysdeps/s390/v1-sigjmp.c: New file.
6497         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6498         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6499         GLIBC_2.19 version.
6500         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6501         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6502         versioned symbols for ____longjmp_chk.
6503         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6504         Likewise.
6505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6506         Regenerate.
6507         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6508         Regenerate.
6509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6510         Regenerate.
6511         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6512         Regenerate.
6513         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6514         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6515         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6516         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6517         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6518         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6519         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6520         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6521         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6522         * sysdeps/s390/rtld-__longjmp.c: New file.
6523         * sysdeps/s390/rtld-setjmp.S: New file.
6525 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6527         [BZ #16400]
6528         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6529         Return -__logl (x) for small positive arguments without evaluating
6530         a polynomial.
6532 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6534         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6535         Rename to ...
6536         (__ptrace_peeksiginfo_args): ... this.
6537         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6538         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6541 2014-01-06  Allan McRae  <allan@archlinux.org>
6543         * inet/netinet/in.h: Fix typo in comment.
6545 2014-01-05  Andreas Jaeger  <aj@suse.de>
6547         * sysdeps/i386/fpu/libm-test-ulps: Update.
6549 2014-01-05  Allan McRae  <allan@archlinux.org>
6551         * po/libc.pot: Regenerated.
6553         * malloc/memusagestat.c: Fix gettext call formatting.
6555 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6557         * nscd/nscd.c: Improve usage() output.
6559 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6561         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6562         * sysdeps/unix/sysv/linux/configure: Regenerated.
6563         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6564         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6566 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6568         [BZ #16390]
6569         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6570         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6572 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6574         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6575         extra tokens at end of #undef directive.
6576         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6577         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6578         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6580 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6582         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6584         * math/auto-libm-test-in: Mark various tests with
6585         xfail-rounding:ldbl-128ibm.
6586         * math/auto-libm-test-out: Regenerated.
6588 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6590         [BZ #16386]
6591         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6592         numbers with subnormal high part when calculating exponent.
6594         [BZ #16385]
6595         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6596         fabs.
6598         [BZ #16384]
6599         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6600         M_LN2l.
6601         (__ieee754_acoshl): Use __log1pl not __log1p.
6603 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6605         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6606         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6607         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6608         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6609         (reused_arena, arena_get2): Convert to GNU style.
6610         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6611         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6612         (memalign_check, __malloc_set_state): Likewise.
6613         * malloc/mallocbug.c (main): Likewise.
6614         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6615         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6616         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6617         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6618         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6619         (__posix_memalign, malloc_info): Likewise.
6620         * malloc/malloc.h: Likewise.
6621         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6622         (mallochook, memalignhook, reallochook, mabort): Likewise.
6623         * malloc/mcheck.h: Likewise.
6624         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6625         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6626         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6627         * malloc/morecore.c (__default_morecore): Likewise.
6628         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6629         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6630         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6631         (print_and_abort): Likewise.
6632         * malloc/obstack.h: Likewise.
6633         * malloc/set-freeres.c (__libc_freeres): Likewise.
6634         * malloc/tst-mallocstate.c (main): Likewise.
6635         * malloc/tst-mtrace.c (main): Likewise.
6636         * malloc/tst-realloc.c (do_test): Likewise.
6638 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6640         [BZ #16366]
6641         * nscd/netgroupcache.c (do_notfound): New function.
6642         (addgetnetgrentX): Use it.
6644         [BZ # 16365]
6645         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6646         NSS_STATUS_NOTFOUND.
6648 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6650         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6653 2014-01-01  Allan McRae  <allan@archlinux.org>
6655         * scripts/update-copyrights: Update configure input file suffix.
6657         * NEWS: Update copyright year.
6658         * catgets/gencat.c: Likewise.
6659         * csu/version.c: Likewise.
6660         * debug/catchsegv.sh: Likewise.
6661         * debug/pcprofiledump.c: Likewise.
6662         * debug/xtrace.sh: Likewise.
6663         * elf/ldconfig.c: Likewise.
6664         * elf/ldd.bash.in: Likewise.
6665         * elf/pldd.c: Likewise.
6666         * elf/sotruss.ksh: Likewise.
6667         * elf/sprof.c: Likewise.
6668         * iconv/iconv_prog.c: Likewise.
6669         * iconv/iconvconfig.c: Likewise.
6670         * locale/programs/locale.c: Likewise.
6671         * locale/programs/localedef.c: Likewise.
6672         * login/programs/pt_chown.c: Likewise.
6673         * malloc/memusage.sh: Likewise.
6674         * malloc/memusagestat.c: Likewise.
6675         * malloc/mtrace.pl: Likewise.
6676         * manual/libc.texinfo: Likewise.
6677         * nscd/nscd.c: Likewise.
6678         * nss/getent.c: Likewise.
6679         * nss/makedb.c: Likewise.
6680         * posix/getconf.c: Likewise.
6681         * scripts/test-installation.pl: Likewise.
6683         * All files with FSF copyright notices: Update copyright dates
6684         using scripts/update-copyrights.
6685         * intl/plural.c: Regenerated.
6686         * locale/programs/charmap-kw.h: Likewise.
6687         * locale/programs/locfile-kw.h: Likewise.
6689 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6691         * sysdeps/unix/sysv/linux/configure: Regenerated.
6692         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6693         the linux/fanotify.h header.
6694         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6695         HAVE_LINUX_FANOTIFY_H is defined.
6697 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6699         * benchtests/cos-inputs: New inputs.
6700         * benchtests/sin-inputs: Likewise.
6702         * benchtests/atan-inputs: New inputs. Fix name of multiple
6703         precision fallback inputs.
6705         * benchtests/atanh-inputs: New inputs.
6706         * benchtests/tanh-inputs: Likewise.
6708         * benchtests/acosh-inputs: New inputs.
6709         * benchtests/asinh-inputs: Likewise.
6711         * benchtests/cosh-inputs: New inputs.
6712         * benchtests/sinh-inputs: Likewise.
6714         * benchtests/acos-inputs: Add more inputs.
6715         * benchtests/asin-inputs: Likewise.
6717 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6719         [BZ #16375]
6720         * manual/arith.texi: Fix spelling.
6721         * manual/charset.texi: Likewise.
6722         * manual/errno.texi: Likewise.
6723         * manual/filesys.texi: Likewise.
6724         * manual/lang.texi: Likewise.
6725         * manual/llio.texi: Likewise.
6726         * manual/locale.texi: Likewise.
6727         * manual/message.texi: Likewise.
6728         * manual/resource.texi: Likewise.
6729         * manual/search.texi: Likewise.
6730         * manual/setjmp.texi: Likewise.
6731         * manual/stdio.texi: Likewise.
6732         * manual/string.texi: Likewise.
6733         * manual/sysinfo.texi: Likewise.
6734         * manual/time.texi: Likewise.
6736 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6738         * po/sl.po: New file.
6740 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6742         * .gitignore: Add core/.gdbinit/.gdb_history.
6744 2013-12-27  Allan McRae  <allan@archlinux.org>
6746         [BZ #16369]
6747         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6748         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6750 2013-12-24  Brooks Moses  <bmoses@google.com>
6752         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6753         all compilers that claim C++98 compliance, not just GCC.
6754         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6755         Likewise.
6757 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6759         * NEWS: Restore accidentally deleted bug-fix entries.
6761 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6762             Ondřej Bílka  <neleai@seznam.cz>
6764         [BZ #15073]
6765         * malloc/malloc.c (_int_free): Perform sanity check only if we
6766         have_lock.
6768 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6770         [BZ #12986]
6771         * manual/stdio.texi (String Input Conversions): Clarify that character
6772         classes are not supported.
6774 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6776         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6778 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #16337]
6781         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6782         Calculate results for small negative arguments directly rather
6783         than using reflection formula with special underflow handling.
6785         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6786         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6787         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6788         (fchflags): Likewise.
6789         (revoke): Likewise.
6790         (setlogin): Likewise.
6791         (sigaltstack): Likewise.
6792         (wait4): Likewise.
6793         (sigblock): Remove.
6794         (sigsetmask): Likewise.
6795         (wait3): Likewise.
6796         (waitpid): Likewise.
6797         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6798         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6799         file.
6800         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6801         * sysdeps/unix/bsd/Makefile: ... here.
6802         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6803         * sysdeps/unix/bsd/Versions: ... here.
6804         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6805         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6806         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6807         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6808         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6809         * sysdeps/unix/bsd/sigblock.c: ... here.
6810         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6811         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6812         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6813         * sysdeps/unix/bsd/sigvec.c: ... here.
6814         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6815         * sysdeps/unix/bsd/tcdrain.c: ... here.
6816         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6817         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6818         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6819         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6820         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6821         * sysdeps/unix/bsd/wait.c: ... here.
6822         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6823         * sysdeps/unix/bsd/wait3.c: ... here.
6824         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6825         * sysdeps/unix/bsd/waitpid.c: ... here.
6827 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6829         [BZ #16356]
6830         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6831         round-to-nearest for [!USE_AS_EXPM1L].
6832         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6833         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6834         more tests of exp and exp10.  Expect some exp10 tests to miss
6835         exceptions or fail in directed rounding modes.
6836         * math/auto-libm-test-out: Regenerated.
6837         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6838         (exp10_test_tonearest): New function.
6839         (exp10_towardzero_test_data): New array.
6840         (exp10_test_towardzero): New function.
6841         (exp10_downward_test_data): New array.
6842         (exp10_test_downward): New function.
6843         (exp10_upward_test_data): New array.
6844         (exp10_test_upward): New function.
6845         (main): Call the new functions.
6846         * sysdeps/i386/fpu/libm-test-ulps: Update.
6847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6849 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6851         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6852         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6853         * math/auto-libm-test-out: Regenerated.
6854         * math/libm-test.inc (acosh_test_data): Add more tests.
6855         (atanh_test_data): Likewise.
6856         (ceil_test_data): Likewise.
6857         (copysign_test_data): Likewise.
6858         * sysdeps/i386/fpu/libm-test-ulps: Update.
6859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6861         * timezone/checktab.awk: Update from tzcode 2013i.
6862         * timezone/private.h: Likewise.
6863         * timezone/scheck.c: Likewise.
6864         * timezone/tzfile.h: Likewise.
6865         * timezone/tzselect.ksh: Likewise.
6866         * timezone/zdump.c: Likewise.
6867         * timezone/zic.c: Likewise.
6869         * math/auto-libm-test-in: Add tests of cpow.
6870         * math/auto-libm-test-out: Regenerated.
6871         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6873         mpc_cc_c.
6874         (func_calc_desc): Add mpc_cc_c union field.
6875         (test_functions): Add cpow.
6876         (special_fill_2pi): New function.
6877         (special_real_inputs): Add 2pi.
6878         (calc_generic_results): Handle mpc_cc_c.
6879         * sysdeps/i386/fpu/libm-test-ulps: Update.
6880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6882         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6883         csqrt, ctan and ctanh.
6884         * math/auto-libm-test-out: Regenerated.
6885         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6886         (TEST_COND_x86): Likewise.
6887         (ccos_test_data): Use AUTO_TESTS_c_c.
6888         (ccosh_test_data): Likewise.
6889         (cexp_test_data): Likewise.
6890         (clog_test_data): Likewise.
6891         (csqrt_test_data): Likewise.
6892         (ctan_test_data): Likewise.
6893         (ctan_tonearest_test_data): Likewise.
6894         (ctan_towardzero_test_data): Likewise.
6895         (ctan_downward_test_data): Likewise.
6896         (ctan_upward_test_data): Likewise.
6897         (ctanh_test_data): Likewise.
6898         (ctanh_tonearest_test_data): Likewise.
6899         (ctanh_towardzero_test_data): Likewise.
6900         (ctanh_downward_test_data): Likewise.
6901         (ctanh_upward_test_data): Likewise.
6902         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6903         mpc_c_c.
6904         (func_calc_desc): Add mpc_c_c union field.
6905         (FUNC_mpc_c_c): New macro.
6906         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6907         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6908         ctanh.
6909         (special_fill_min_subnorm_p120): New function.
6910         (special_real_inputs): Add min_subnorm_p120.
6911         (calc_generic_results): Handle mpc_c_c.
6912         * sysdeps/i386/fpu/libm-test-ulps: Update.
6913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6915 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6917         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6918         (do_sin_slow): New functions.
6919         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6920         (cslow2, csloww1, csloww2): Use the new functions.
6922         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6923         Use M to change sign of result instead of X.  Assume X is
6924         positive.
6925         (csloww1): Likewise.
6926         (__sin): Adjust.
6927         (__cos): Adjust.
6929         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6930         arguments A and DA.
6931         (__sin): Adjust.
6932         (__cos): Likewise.
6934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6935         (__cos): Likewise.
6936         (sloww1): Don't adjust sign of DX.
6937         (csloww1): Likewise.
6938         (sloww2): Use X directly and don't adjust sign of DX.
6939         (csloww2): Likewise.
6941 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6943         * math/auto-libm-test-in: Add tests of cabs and carg.
6944         * math/auto-libm-test-out: Regenerated.
6945         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6946         (carg_test_data): Likewise.
6947         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6948         mpc_c_f.
6949         (func_calc_desc): Add mpc_c_f union field.
6950         (test_functions): Add cabs and carg.
6951         (calc_generic_results): Handle mpc_c_f.
6953         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6954         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6955         as a macro and a compat symbol.
6956         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6957         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6958         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6959         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6960         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6961         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6962         not use .hidden.
6963         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6964         Likewise.
6965         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6966         Likewise.
6967         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6968         Likewise.
6969         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6970         Likewise.
6971         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6972         Likewise.
6973         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6974         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6975         from GLIBC_2.3.2.
6977 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6979         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6981 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6983         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6984         trailing whitespace removed.
6985         * scripts/config.guess: Update to version 2013-11-29.
6986         * scripts/config.sub: Update to version 2013-10-01.
6988         * math/auto-libm-test-in: Add tests of sincos.
6989         * math/auto-libm-test-out: Regenerated.
6990         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6991         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6992         mpfr_f_11.
6993         (func_calc_desc): Add mpfr_f_11 union field.
6994         (test_functions): Add sincos.
6995         (calc_generic_results): Handle mpfr_f_11.
6996         * sysdeps/i386/fpu/libm-test-ulps: Update.
6997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6999 2013-12-19  Andreas Schwab  <schwab@suse.de>
7001         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7002         CALL_MCOUNT.
7003         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7004         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7005         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7007 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7009         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7010         * sysdeps/i386/fpu/libm-test-ulps: Update.
7011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7013         [BZ #16293]
7014         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7015         round-to-nearest mode when using frndint.
7016         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7017         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7018         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7019         Likewise.
7020         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7021         sinh test to fail.
7022         * math/auto-libm-test-out: Regenerated.
7023         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7024         (TEST_COND_x86): Likewise.
7025         (expm1_tonearest_test_data): New array.
7026         (expm1_test_tonearest): New function.
7027         (expm1_towardzero_test_data): New array.
7028         (expm1_test_towardzero): New function.
7029         (expm1_downward_test_data): New array.
7030         (expm1_test_downward): New function.
7031         (expm1_upward_test_data): New array.
7032         (expm1_test_upward): New function.
7033         (main): Run the new test functions.
7034         * sysdeps/i386/fpu/libm-test-ulps: Update.
7035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7037         * include/features.h: Update comment documenting feature test
7038         macros.  Mention _DEFAULT_SOURCE in comment.
7039         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7040         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7041         _BSD_SOURCE and _SVID_SOURCE.
7042         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7043         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7044         !_SVID_SOURCE]: Likewise.
7045         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7046         (__USE_POSIX_IMPLICITLY): Define.
7047         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7048         (_POSIX_SOURCE): Undefine and redefine.
7049         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7050         (_POSIX_C_SOURCE): Likewise.
7051         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7052         (Feature Test Macros): Update documentation of default features.
7054 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7056         * benchtests/Makefile: Add bench-strtok.
7057         * benchtests/bench-strtok.c: New file: strtok benchtest.
7059 2013-12-19  Allan McRae  <allan@archlinux.org>
7061         * manual/install.texi: Suppress menu for plain text output.
7062         * INSTALL: Regenerated.
7064 2013-12-18  Brooks Moses  <bmoses@google.com>
7066         [BZ #15846]
7067         * misc/getauxval.c: Include errno.h.
7068         (__getauxval): Set errno to ENOENT if the requested type is not
7069         found.
7070         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7071         don't declare with __attribute_const__.
7072         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7073         * manual/startup.texi: Document that getauxval sets errno.
7075 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7077         * math/auto-libm-test-in: Add tests of jn and yn.
7078         * math/auto-libm-test-out: Regenerated.
7079         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7080         (yn_test_data): Likewise.
7081         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7082         mpfr_if_f.
7083         (func_calc_desc): Add mpfr_if_f union field.
7084         (FUNC_mpfr_if_f): New macro.
7085         (test_functions): Add jn and yn.
7086         (calc_generic_results): Assert type of second input for
7087         mpfr_ff_f.  Handle mpfr_if_f.
7088         (output_for_one_input_case): Disable all checking for arguments
7089         fitting floating-point types in case of an integer argument.
7090         * sysdeps/i386/fpu/libm-test-ulps: Update.
7091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7094         Don't expect fegetround reference in libm.so.
7096 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7098         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7099         $(config-cflags-nofma).
7101 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7103         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7104         * math/auto-libm-test-out: Regenerated.
7106         [BZ #16338]
7107         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7108         to determine exponent and adjust argument to have exponent of -1.
7109         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7110         log2.
7111         * math/auto-libm-test-out: Regenerated.
7112         * sysdeps/i386/fpu/libm-test-ulps: Update.
7113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7115 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7117         * manual/probes.texi: Remove cases when per-thread arenas are
7118         disabled.
7120 2013-12-18  Andreas Schwab  <schwab@suse.de>
7122         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7123         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7124         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7125         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7126         * sysdeps/i386/i686/multiarch/Makefile: Update.
7127         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7129 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7131         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7132         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7134 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7136         [BZ #15968]
7137         Support TZ transition times < 00:00:00.
7138         This is needed for version-3 tz-format files; it supports time
7139         stamps past 2037 for America/Godthab (the only entry in the tz
7140         database for which this change is relevant).
7141         * manual/time.texi (TZ Variable): Document transition times
7142         from -167:59:59 through -00:00:01.
7143         * time/tzset.c (tz_rule): Time of day is now signed.
7144         (__tzset_parse_tz): Parse negative time of day.
7146         Document TZ transition times >= 25:00:00.
7147         * manual/time.texi (TZ Variable): Document transition times from
7148         25:00:00 through 167:59:59.  These are already supported, and this
7149         support will help with version-3 tz-format files.
7151         * manual/time.texi (TZ Variable): Modernize North America example
7152         to reflect current (i.e., 2007-and-later) daylight saving rules.
7154         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7156 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7158         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7159         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7160         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7161         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7162         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7163         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7164         * sysdeps/unix/bsd/clock.c: Likewise.
7165         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7166         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7167         * sysdeps/unix/bsd/init-posix.c: Likewise.
7168         * sysdeps/unix/bsd/poll.c: Likewise.
7169         * sysdeps/unix/bsd/ptsname.c: Likewise.
7170         * sysdeps/unix/bsd/seekdir.c: Likewise.
7171         * sysdeps/unix/bsd/setegid.c: Likewise.
7172         * sysdeps/unix/bsd/seteuid.c: Likewise.
7173         * sysdeps/unix/bsd/setgid.c: Likewise.
7174         * sysdeps/unix/bsd/setrgid.c: Likewise.
7175         * sysdeps/unix/bsd/setruid.c: Likewise.
7176         * sysdeps/unix/bsd/setsid.c: Likewise.
7177         * sysdeps/unix/bsd/setuid.c: Likewise.
7178         * sysdeps/unix/bsd/sigaction.c: Likewise.
7179         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7180         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7181         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7182         * sysdeps/unix/bsd/telldir.c: Likewise.
7183         * sysdeps/unix/bsd/times.c: Likewise.
7184         * sysdeps/unix/bsd/usleep.c: Likewise.
7186         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7187         ($(objpfx)libbsd-compat.a): Remove rule.
7189         * include/features.h (__FAVOR_BSD): Do not define.
7190         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7191         features conflicting with POSIX.
7192         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7193         (_BSD_SOURCE): Remove description of not being a subset of other
7194         feature test macros.
7195         * manual/job.texi (getpgrp): Do not document BSD version.
7196         (getpgid): Do not document by reference to BSD getpgrp.
7197         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7198         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7199         * signal/signal.h [__FAVOR_BSD]: Likewise.
7200         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7201         instead of making contents conditional on [__FAVOR_BSD].
7202         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7204 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7208 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7210         [BZ #16314]
7211         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7212         values below 2**-450, not 2**-500.
7213         * math/auto-libm-test-in: Don't allow spurious underflow from
7214         hypot.
7215         * math/auto-libm-test-out: Regenerated.
7217         [BZ #16316]
7218         [BZ #16330]
7219         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7220         values of ha and hb and sort them after adjusting subnormal
7221         arguments.
7222         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7223         Likewise.
7224         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7225         values of ea and eb and sort them after adjusting subnormal
7226         arguments.
7227         * math/auto-libm-test-in: Do not expect some hypot tests of
7228         subnormals to fail.  Add more hypot tests.
7229         * math/auto-libm-test-out: Regenerated.
7231 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7233         [BZ #13304]
7234         * sysdeps/sh/s_fma.c: New file.
7235         * sysdeps/sh/s_fmaf.c: New file.
7236         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7237         version.
7238         * sysdeps/sh/Implies: Add sh/soft-fp.
7240 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7242         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7243         level of indirection to members `objname', `errstring', `malloced'.
7244         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7245         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7246         it as the __longjmp argument (just pass 1 instead).
7247         (_dl_catch_error): Initialize C with argument pointers and address of
7248         volatile local ERRCODE rather than copying values out of C at return.
7250 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7252         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7253         * math/auto-libm-test-out: Regenerated.
7254         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7255         (hypot_test_data): Likewise.
7256         (pow_test_data): Likewise.
7257         (pow_tonearest_test_data): Likewise.
7258         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7259         mpfr_ff_f.
7260         (func_calc_desc): Add mpfr_ff_f union field.
7261         (FUNC_mpfr_ff_f): New macro.
7262         (test_functions): Add atan2, hypot and pow.
7263         (special_fill_min): New function.
7264         (special_fill_minus_min): Likewise.
7265         (special_fill_min_subnorm): Likewise.
7266         (special_fill_minus_min_subnorm): Likewise.
7267         (special_real_inputs): Add min, -min, min_subnorm and
7268         -min_subnorm.
7269         (calc_generic_results): Handle mpfr_ff_f.
7270         * sysdeps/i386/fpu/libm-test-ulps: Update.
7271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7273 2013-12-16  Will Newton  <will.newton@linaro.org>
7275         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7276         (Aligned Memory Blocks): Add documentation for aligned_alloc
7277         and suggest it as an alternative to posix_memalign.
7278         (Hooks for Malloc): Document __memalign_hook is also called
7279         for aligned_alloc.  (Summary of Malloc): Add summary for
7280         aligned alloc.  Document __memalign_hook is also called
7281         for aligned_alloc.
7283 2013-12-16  Will Newton  <will.newton@linaro.org>
7285         * manual/memory.texi (Malloc Examples): Clarify default
7286         alignment documentation.  Suggest posix_memalign rather
7287         than memalign or valloc.
7288         (Aligned Memory Blocks): Remove suggestion to use memalign
7289         or valloc.  Remove obsolete comment about BSD.
7290         Document memalign errno values and mark the function obsolete.
7291         Document posix_memalign returned error codes.  Mark valloc
7292         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7293         called for posix_memalign and valloc.
7294         (Summary of Malloc): Add posix_memalign to function summary.
7295         __memalign_hook is also called for posix_memalign and valloc.
7297 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7299         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7300         TAYLOR_SIN.
7301         (__sin): Adjust.
7302         (__cos): Likewise.
7303         (sloww): Use mynumber union.  Expand ternary operator into
7304         if-else statements.
7305         (cslow): use mynumber union.
7307 2013-12-16  Allan McRae  <allan@archlinux.org>
7309         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7310         * configure: Regenerated.
7312         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7314         [BZ #14120]
7315         * configure.ac: Added --enable-maintainer-mode. Check for
7316         autoconf when enabled.
7317         * configure: Regenerated.
7319         * nscd/nscd.service: New file.
7320         * nscd/nscd.tmpfiles: New file.
7322 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7324         [BZ #12100]
7325         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7326         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7327         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7328         (strstr): Add __strstr_sse2_unaligned ifunc.
7329         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7330         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7331         (strcasestr): Remove __strcasestr_sse42 ifunc.
7332         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7336 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7338         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7339         * sysdeps/sh/bits/fenv.h: ... here.
7340         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7342 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7344         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7346         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7347         hypotf multiarch implementations.
7348         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7349         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7350         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7351         multiarch hypot for PPC64.
7352         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7353         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7354         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7355         multiarch hypotf for PPC64.
7357         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7358         modff multiarch implementations.
7359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7362         multiarch modf for PPC64.
7363         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7365         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7366         multiarch modff for PPC64.
7368         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7369         and logl multiarch implementations.
7370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7371         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7373         multiarch logb for PPC64.
7374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7376         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7377         multiarch logb for PPC64.
7378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7380         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7381         multiarch logb for PPC64.
7383         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7384         isinff multiarch implementation.
7385         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7386         file.
7387         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7389         multiarch isinf for PPC64.
7390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7391         file.
7392         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7393         multiarch isinff for PPC64.
7395         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7396         finitef multiarch implementation.
7397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7398         file.
7399         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7401         multiarch finite for PPC64.
7402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7403         file.
7404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7405         multiarch finitef for PPC64.
7407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7408         lrint multiarch implementation.
7409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7410         file.
7411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7413         multiarch llrint for PPC64.
7414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7415         multiarch lrint for PPC64.
7417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7418         copysignf multiarch implementation.
7419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7420         file.
7421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7422         file.
7423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7424         multiarch copysign for PPC64.
7425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7426         multiarch copysignf for PPC64.
7428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7429         multiarch implementation.
7430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7431         file.
7432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7433         file.
7434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7435         file.
7436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7437         file.
7438         multiarch llround for PPC64.
7439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7440         multiarch trunc for PPC64.
7441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7442         multiarch truncf for PPC64.
7444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7445         multiarch implementation.
7446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7447         file.
7448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7449         file.
7450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7451         file.
7452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7453         file.
7454         multiarch llround for PPC64.
7455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7456         multiarch round for PPC64.
7457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7458         multiarch roundf for PPC64.
7460         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7461         multiarch implementation.
7462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7463         file.
7464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7465         file.
7466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7467         file.
7468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7469         file.
7470         multiarch llround for PPC64.
7471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7472         multiarch floor for PPC64.
7473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7474         multiarch floorf for PPC64.
7476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7477         multiarch implementation.
7478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7479         file.
7480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7481         file.
7482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7483         file.
7484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7485         file.
7486         multiarch llround for PPC64.
7487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7488         multiarch ceil for PPC64.
7489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7490         multiarch ceilf for PPC64.
7492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7493         multiarch implementation.
7494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7495         file.
7496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7497         file.
7498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7499         file.
7500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7501         multiarch llround for PPC64.
7502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7503         multiarch lround for PPC64.
7505         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7506         multiarch implementation.
7507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7510         file.
7511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7514         multiarch isnan for PPC64.
7515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7516         multiarch isnanf for PPC64.
7518         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7519         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7520         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7521         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7522         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7525         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7526         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7527         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7528         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7530         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7531         multiarch implementations.
7532         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7533         (__libc_ifunc_impl_list): Likewise.
7534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7535         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7536         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7537         multiarch stpcpy for PPC64.
7539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7540         multiarch implementations.
7541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7542         (__libc_ifunc_impl_list): Likewise.
7543         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7544         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7545         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7546         multiarch strcpy for PPC64.
7548         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7549         redefine function name.
7550         (_wordcopy_fwd_dest_aligned): Likewise.
7551         (_wordcopy_bwd_aligned): Likewise.
7552         (_wordcopy_bwd_dest_aligned): Likewise.
7553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7554         multiarch implementations.
7555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7556         (__libc_ifunc_impl_list): Likewise.
7557         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7558         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7559         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7560         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7561         multiarch wcscpy for PPC64.
7563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7564         multiarch implementations.
7565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7566         (__libc_ifunc_impl_list): Likewise.
7567         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7568         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7569         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7570         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7571         multiarch wcscpy for PPC64.
7573         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7574         multiarch implementations.
7575         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7576         (__libc_ifunc_impl_list): Likewise.
7577         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7578         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7579         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7580         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7581         multiarch wcsrchr for PPC64.
7583         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7584         multiarch implementations.
7585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7586         (__libc_ifunc_impl_list): Likewise.
7587         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7588         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7589         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7590         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7591         multiarch wcschr for PPC64.
7593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7594         multiarch implementations.
7595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7596         (__libc_ifunc_impl_list): Likewise.
7597         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7598         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7599         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7600         multiarch strchrnul for PPC64.
7602         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7603         implementations.
7604         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7605         (__libc_ifunc_impl_list): Likewise.
7606         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7607         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7608         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7609         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7610         strchr for PPC64.
7612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7613         implementations.
7614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7615         (__libc_ifunc_impl_list): Likewise.
7616         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7617         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7618         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7619         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7620         strncmp for PPC64.
7622         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7623         multiarch implementations.
7624         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7625         (__libc_ifunc_impl_list): Likewise.
7626         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7627         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7628         strncasecmp for PPC64.
7629         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7630         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7631         multiarch strncasecmp_l for PPC64.
7633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7634         multiarch implementations.
7635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7636         (__libc_ifunc_impl_list): Likewise.
7637         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7639         multiarch strcasecmp for PPC64.
7640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7641         file.
7642         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7643         multiarch strcasecmp_l for PPC64.
7645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7646         implementations.
7647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7648         (__libc_ifunc_impl_list): Likewise.
7649         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7650         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7651         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7652         strnlen for PPC64.
7654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7655         implementations.
7656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7657         (__libc_ifunc_impl_list): Likewise.
7658         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7659         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7660         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7661         strlen for PPC64.
7663         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7664         implementations.
7665         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7666         (__libc_ifunc_impl_list): Likewise.
7667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7668         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7669         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7670         rawmemrchr for PPC64.
7672         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7673         implementation.
7674         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7675         (__libc_ifunc_impl_list): Likewise.
7676         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7677         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7678         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7679         memrchr for PPC64.
7681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7682         implementation.
7683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7684         (__libc_ifunc_impl_list): Likewise.
7685         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7686         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7687         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7688         memchr for PPC64.
7690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7691         implementation.
7692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7693         (__libc_ifunc_impl_list): Likewise.
7694         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7695         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7696         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7697         mempcpy for PPC64.
7699         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7700         avoid cretion of __bzero symbol.
7701         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7702         Likewise.
7703         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7704         Likewise.
7705         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7706         Likewise.
7707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7708         multiarch implementations.
7709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7710         (__libc_ifunc_impl_list): Likewise.
7711         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7712         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7713         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7714         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7715         bzero for PPC32.
7716         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7717         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7718         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7719         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7720         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7721         memset for PPC64.
7722         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7724         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7726         implementations.
7727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7728         (__libc_ifunc_impl_list): Likewise.
7729         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7730         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7731         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7732         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7733         memcmp for PPC64.
7735         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7736         multiarch for POWER/PPC64.
7737         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7738         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7739         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7740         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7741         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7742         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7743         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7744         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7745         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7746         memcpy for PPC64.
7748         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7749         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7750         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7751         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7752         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7753         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7754         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7755         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7756         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7757         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7758         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7759         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7760         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7761         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7762         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7771 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7775 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7777         * benchtests/Makefile (bench): Add exp2 and log2.
7778         (LDLIBS-bench-exp2): Add -lm.
7779         (LDLIBS-bench-log2): Likewise.
7780         * benchtests/exp2-inputs: New inputs file.
7781         * benchtests/log2-inputs: New inputs file.
7782         * benchtests/log-inputs: Add new inputs.
7783         * benchtests/tan-inputs: Likewise.
7785 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7787         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7788         definition...
7789         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7790         (csloww2): ... from here.
7792         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7793         instead of structures.
7794         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7795         (POLYNOMIAL): Likewise.
7796         (TAYLOR_SLOW): Likewise.
7797         (__sin): Likewise.
7798         (__cos): Likewise.
7799         (slow1): Likewise.
7800         (slow2): Likewise.
7801         (sloww): Likewise.
7802         (sloww1); Likewise.
7803         (sloww2): Likewise.
7804         (bsloww1): Likewise.
7805         (bsloww2): Likewise.
7806         (cslow2): Likewise.
7807         (csloww): Likewise.
7808         (csloww1): Likewise.
7809         (csloww2): Likewise.
7811 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7813         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7814         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7815         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7816         * malloc/hooks.c (realloc_check): Likewise.
7818         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7819         * malloc/arena.c: Remove PER_THREAD conditional.
7820         [!PER_THREAD]: Remove code.
7821         (ptmalloc_unlock_all2): Likewise.
7822         (ptmalloc_init): Likewise.
7823         (_int_new_arena): Likewise.
7824         (arena_get2): Likewise.
7825         * malloc/hooks.c (__malloc_get_state): Likewise.
7826         (__malloc_set_state): Likewise.
7827         * malloc/malloc.c: Likewise.
7828         (struct malloc_state): Likewise.
7829         (struct malloc_par): Likewise.
7830         (__libc_realloc): Likewise.
7831         (__libc_mallopt): Likewise.
7833 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7835         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7837 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7839         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7840         macro to a function.  Check for zero perturb_byte.
7841         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7843         * malloc/malloc.c: (force_reg): Remove.
7844         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7845         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7846         force_reg by atomic_forced_read.
7847         * malloc/arena.c (ptmalloc_init): Likewise.
7848         * malloc/hooks.c (top_check): Likewise.
7850 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7854 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7856         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7858 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7860         * math/auto-libm-test-in: Add tests of lgamma.
7861         * math/auto-libm-test-out: Regenerated.
7862         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7863         (M_LOG_2_SQRT_PIl): Likewise.
7864         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7865         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7866         mpfr_f_f1.
7867         (func_calc_desc): Add mpfr_f_f1 union field.
7868         (ARGS1): New macro.
7869         (ARGS2): Likewise.
7870         (ARGS3): Likewise.
7871         (ARGS4): Likewise.
7872         (RET1): Likewise.
7873         (RET2): Likewise.
7874         (CALC): Likewise.
7875         (FUNC): Likewise.
7876         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7877         (test_functions): Add lgamma.
7878         (calc_generic_results): Handle mpfr_f_f1.
7879         * sysdeps/i386/fpu/libm-test-ulps: Update.
7880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7882 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7884         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7885         __mpn_add_n for PowerPC64/POWER7.
7886         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7887         __mpn_sub_n for PowerPC64/POWER7.
7889         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7890         __mpn_addmul_1 for PowerPC64.
7891         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7892         __mpn_submul_1 for PowerPC64.
7893         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7894         for PowerPC64.
7895         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7896         for PowerPC64.
7898 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7900         [BZ #15089]
7901         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7903 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7905         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7907         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7908         add multiarch folders.
7909         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7910         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7911         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7912         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7913         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7914         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7915         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7916         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7917         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7918         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7919         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7928         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7930         New file.
7931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7932         New file.
7933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7934         multiarch __ieee754_hypot for PowerPC32.
7935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7936         New file.
7937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7938         New file.
7939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7940         multiarch __ieee754_hypotf for PowerPC32.
7942         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7943         long_double_symbol only if __logbl is defined.
7944         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7945         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7946         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7947         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7948         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7949         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7950         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7951         path for implementation.
7952         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7953         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7955         logb, and logbl multiarch implementations for PowerPC32.
7956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7957         file.
7958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7959         file.
7960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7961         multiarch logb for PowerPC32.
7962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7963         file.
7964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7965         file.
7966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7967         multiarch logbf for PowerPC32.
7968         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7970         file.
7971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7972         multiarch logbl implementation for PowerPC32.
7974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7975         and modff multiarch implementations.
7976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7977         New file.
7978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7979         New file.
7980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7981         multiarch modf for PowerPC32.
7982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7983         New file.
7984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7985         New file.
7986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7987         multiarch modff for PowerPC32.
7989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7990         and lrintf multiarch implementations.
7991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7992         New file.
7993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7994         New file.
7995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7996         multiarch lrint for PowerPC32.
7997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7998         file: multiarch lrintf for PowerPC32.
8000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8001         and lroundf multiarch implementations.
8002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8003         New file.
8004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8005         New file.
8006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8007         New file.
8008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8009         multiarch lround for PowerPC32.
8010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8011         file: multiarch lroundf for PowerPC32.
8013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8014         copysign and copysignf multiarch implementations.
8015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8016         New file.
8017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8018         New file.
8019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8020         file: multiarch copysign for PowerPC32.
8021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8022         file: multiarch copysignf for PowerPC32.
8024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8025         and truncf multiarch implementations.
8026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8027         New file.
8028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8029         file.
8030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8031         multiarch trunc for PowerPC32.
8032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8033         New file.
8034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8035         New file.
8036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8037         multiarch truncf for PowerPC32.
8039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8040         and roundf multiarch implementations.
8041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8042         New file.
8043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8044         file.
8045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8046         multiarch round for PowerPC32.
8047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8048         New file.
8049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8050         New file.
8051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8052         multiarch roundf for PowerPC32.
8054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8055         and floorf multiarch implementations.
8056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8057         New file.
8058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8059         file.
8060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8061         multiarch floor for PowerPC32.
8062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8063         New file.
8064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8065         New file.
8066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8067         multiarch floorf for PowerPC32.
8069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8070         and ceilf multiarch implementations.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8072         New file.
8073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8074         file.
8075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8076         multiarch ceil for PowerPC32.
8077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8078         New file.
8079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8080         file.
8081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8082         multiarch ceilf for PowerPC32.
8084         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8085         is defined.
8086         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8087         FINITEF is defined.
8088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8089         and finitef multiarch implementations.
8090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8091         New file.
8092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8093         file.
8094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8095         multiarch finite for PowerPC32.
8096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8097         New file.
8098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8099         file: multiarch finitef for PowerPC32.
8101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8102         and isinff multiarch implementations.
8103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8104         file.
8105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8106         file.
8107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8108         multiarch isinf for PowerPC32.
8109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8110         New file.
8111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8112         multiarch isinff for PowerPC32.
8114         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8115         alias when __isnan is defined.
8116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8117         and isnanf multiarch implementations.
8118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8119         file.
8120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8121         file.
8122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8123         file.
8124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8125         file.
8126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8127         multiarch isnan for PowerPC32.
8128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8129         New file.
8130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8131         New file.
8132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8133         multiarch isnanf for PowerPC32.
8135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8136         and sqrtf multiarch implementations.
8137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8138         file.
8139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8140         file.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8142         multiarch sqrt for PowerPC32.
8143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8144         file.
8145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8146         file.
8147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8148         multiarch sqrtf for PowerPC32.
8150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8151         and llroundf multiarch implementations.
8152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8153         New file.
8154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8155         New file.
8156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8157         New file.
8158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8159         file: multiarch llround for PowerPC32.
8160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8161         file: multiarch llroundf for PowerPC32.
8163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8164         multiarch PowerPC32 fpu implementations.
8165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8166         New file.
8167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8168         New file.
8169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8170         multiarch llrint for PowerPC32.
8171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8172         New file.
8173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8174         New file.
8175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8176         file.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8180         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8181         file.
8182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8183         file.
8184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8185         file.
8186         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8187         multiarch wordcopy for PPC32.
8188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8189         wordcopy objects.
8190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8191         (__libc_ifunc_impl_list): Likewise.
8192         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8193         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8194         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8195         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8196         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8197         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8199         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8200         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8201         file.
8202         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8203         file.
8204         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8205         file.
8206         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8207         multiarch wcscpy for PPC32.
8208         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8209         multiarch objects.
8210         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8211         (__libc_ifunc_impl_list): Likewise.
8212         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8213         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8214         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8215         sysdeps/powerpc/power6/wcscpy.c.
8217         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8218         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8219         file.
8220         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8221         file.
8222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8223         file.
8224         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8225         multiarch wcsrchr for PPC32.
8226         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8227         multiarch objects.
8228         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8229         (__libc_ifunc_impl_list): Likewise.
8230         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8231         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8232         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8233         sysdeps/powerpc/power6/wcsrchr.c.
8235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8236         file.
8237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8238         file.
8239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8240         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8241         multiarch wcschr for PPc32.
8242         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8243         multiarch objects.
8244         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8245         (__libc_ifunc_impl_list): Likewise.
8246         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8247         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8248         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8249         sysdeps/powerpc/power6/wcschr.c.
8251         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8252         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8253         file.
8254         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8255         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8256         file: multiarch strchr for PPC32.
8257         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8258         multiarch objects.
8259         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8260         (__libc_ifunc_impl_list): Likewise.
8262         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8263         name.
8264         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8265         file.
8266         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8267         file.
8268         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8269         multiarch strchrnul for PPC32.
8270         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8271         multiarch objects.
8272         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8273         (__libc_ifunc_impl_list): Likewise.
8275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8276         file.
8277         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8278         multiarch strncasecmp for PPC32.
8279         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8280         file.
8281         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8282         multiarch strncasecmp_l for PPC32.
8283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8284         strncasecmp multiarch objects.
8285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8286         (__libc_ifunc_impl_list): Likewise.
8288         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8289         file.
8290         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8291         multiarch strncasecmp for PPC32.
8292         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8293         New file.
8294         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8295         multiarch strcasecmp_l for PPC32.
8296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8297         multiarch objects.
8298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8299         (__libc_ifunc_impl_list): Likewise.
8301         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8302         file.
8303         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8304         file.
8305         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8306         multiarch strncmp for PPC32.
8307         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8308         multiarch objects.
8309         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8310         (__libc_ifunc_impl_list): Likewise.
8312         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8313         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8314         file.
8315         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8316         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8318         multiarch objects.
8319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8320         (__libc_ifunc_impl_list): Likewise.
8322         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8323         file.
8324         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8325         file.
8326         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8327         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8328         multiarch objects.
8329         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8330         (__libc_ifunc_impl_list): Likewise.
8332         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8333         file.
8334         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8335         file.
8336         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8337         multiarch rawmemchr for PPC32.
8338         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8339         multiarch objects.
8340         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8341         (__libc_ifunc_impl_list): Likewise.
8343         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8344         file.
8345         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8346         file.
8347         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8348         file: memrchr multiarch for PPC32.
8349         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8350         multiarch objects.
8351         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8352         (__libc_ifunc_impl_list): Likewise.
8354         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8355         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8356         file.
8357         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8358         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8359         multiarch memchr for PPC32.
8360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8361         multiarch objects.
8362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8363         (__libc_ifunc_impl_list): Likewise.
8365         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8367         file.
8368         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8369         file.
8370         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8371         file: multiarch mempcpy for PPC32.
8372         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8373         multiarch objects.
8374         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8375         (__libc_ifunc_impl_list): Likewise.
8377         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8378         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8379         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8380         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8381         multiarch bzero for PPC32.
8382         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8383         file.
8384         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8385         file.
8386         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8387         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8388         file: multiarch memset for PPC32.
8389         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8390         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8391         memset multiarch objects.
8392         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8393         (__libc_ifunc_impl_list): Likewise.
8395         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8396         file.
8397         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8398         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8399         memcmp for PPC32.
8400         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8402         multiarch objects.
8403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8404         (__libc_ifunc_impl_list): Likewise.
8406         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8407         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8408         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8409         file.
8410         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8411         file.
8412         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8413         file.
8414         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8415         multiarch memcpy for PPC32.
8416         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8417         multiarch objects.
8418         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8419         (__libc_ifunc_impl_list): Likewise.
8421         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8422         support multiarch for POWER/PPC32.
8423         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8424         Likewise.
8425         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8427         Implies file to make multiarch folder appers before the fpu and
8428         default folder for power4 configuration.
8430 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8432         * scripts/bench.pl: Append volatile keyword to type.
8434 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8436         * sysdeps/sh/sotruss-lib.c: New file.
8437         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8439 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8443 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8445         [BZ #6810]
8446         * math/w_tgamma.c: Include <errno.h>.
8447         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8448         * math/w_tgammaf.c: Include <errno.h>.
8449         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8450         * math/w_tgammal.c: Include <errno.h>.
8451         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8452         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8453         underflow.  Add more tgamma tests.
8454         * math/auto-libm-test-out: Regenerated.
8455         * sysdeps/i386/fpu/libm-test-ulps: Update.
8456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8458         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8459         sin, sinh, tan, tanh, tgamma, y0 and y1.
8460         * math/auto-libm-test-out: Regenerated.
8461         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8462         (TEST_COND_x86): Likewise.
8463         (M_E2l): Remove macro.
8464         (M_E3l): Likewise.
8465         (M_2_SQRT_PIl): Likewise.
8466         (M_SQRT_PIl): Likewise.
8467         (M_1_DIV_El): Likewise.
8468         (log_test_data): Use AUTO_TESTS_f_f.
8469         (log10_test_data): Likewise.
8470         (log1p_test_data): Likewise.
8471         (log2_test_data): Likewise.
8472         (sin_test_data): Likewise.
8473         (sin_tonearest_test_data): Likewise.
8474         (sin_towardzero_test_data): Likewise.
8475         (sin_downward_test_data): Likewise.
8476         (sin_upward_test_data): Likewise.
8477         (sinh_test_data): Likewise.
8478         (sinh_tonearest_test_data): Likewise.
8479         (sinh_towardzero_test_data): Likewise.
8480         (sinh_downward_test_data): Likewise.
8481         (sinh_upward_test_data): Likewise.
8482         (tan_test_data): Likewise.
8483         (tan_tonearest_test_data): Likewise.
8484         (tan_towardzero_test_data): Likewise.
8485         (tan_downward_test_data): Likewise.
8486         (tan_upward_test_data): Likewise.
8487         (tanh_test_data): Likewise.
8488         (tgamma_test_data): Likewise.
8489         (y0_test_data): Likewise.
8490         (y1_test_data): Likewise.
8491         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8492         (special_real_inputs): Add pi/4.
8493         * sysdeps/i386/fpu/libm-test-ulps: Update.
8494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8496 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8498         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8499         "longjmp_target" static probes.
8500         (__longjmp): Rename to __longjmp_symbol.
8501         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8502         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8503         on which longjmp to generate.
8504         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8505         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8506         probe.
8507         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8508         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8509         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8510         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8511         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8512         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8514         __longjmp_symbol based on which __longjmp to generate.
8515         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8516         probe.
8517         (setjmp): Rename to setjmp_symbol.
8518         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8519         (_setjmp): Rename to _setjmp_symbol.
8520         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8521         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8522         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8523         which setjmp to generate.
8524         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8525         "longjmp_target" static probes.
8527 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8529         * benchtests/README: Add note about output arguments.
8530         * benchtests/bench-sincos.c: Remove file.
8531         * benchtests/sincos-inputs: New file.
8532         * scripts/bench.pl: Identify output arguments and define
8533         static variables for them.
8535         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8537         [BZ #15941]
8538         * Makefile (INSTALL): Add install-plain.texi as the primary
8539         dependency.
8540         * manual/install-plain.texi: New file.
8541         * manual/install.texi: Include node directive only for
8542         non-plaintext output.
8544 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8546         * stdlib/longlong.h: Update from GCC.
8548         [BZ #6807]
8549         [BZ #15901]
8550         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8551         * math/w_j0f.c (y0f): Likewise.
8552         * math/w_j0l.c (__y0l): Likewise.
8553         * math/w_j1.c (y1): Likewise.
8554         * math/w_j1f.c (y1f): Likewise.
8555         * math/w_j1l.c (__y1l): Likewise
8556         * math/w_jn.c (yn): Likewise.
8557         * math/w_jnf.c (ynf): Likewise.
8558         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8559         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8560         value for Bessel function domain errors outside _SVID_ mode.
8561         Adjust sign of return value for yn (negative integer, 0).
8562         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8563         by zero in return for negative x and set sign appropriately for
8564         negative n.
8565         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8566         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8567         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8568         expectations in error cases.
8569         (y1_test_data): Likewise.
8570         (yn_test_data): Likewise.
8571         * sysdeps/i386/fpu/libm-test-ulps: Update.
8572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8574 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8576         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8577         "64" to "64-v1".  Add "64-v2".
8578         (abi-64-options): Rename to ...
8579         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8580         (abi-64-condition): Rename to ...
8581         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8582         (abi-64-ld-soname): Rename to ...
8583         (abi-64-v1-ld-soname): ... this.
8584         (abi-64-v2-options): Define.
8585         (abi-64-v2-condition): Likewise.
8586         (abi-64-v2-ld-soname): Likewise.
8587         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8588         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8593 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8594             Alan Modra  <amodra@gmail.com>
8596         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8597         New versions for use with the ELFv2 ABI.
8598         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8599         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8600         declaration.
8601         (struct La_ppc64v2_retval): Likewise.
8602         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8603         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8604         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8605         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8606         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8607         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8608         Do not save or restore CR.
8609         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8610         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8611         return values for ELFv2 ABI.  Fix location of FPR return registers.
8612         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8613         updated values for _CALL_ELF == 2.
8614         (La_regs, La_retval, int_retval): Likewise.
8616 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8618         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8619         (FRAME_MIN_SIZE_PARM): Likewise.
8620         (FRAME_BACKCHAIN): Likewise.
8621         (FRAME_CR_SAVE): Likewise.
8622         (FRAME_LR_SAVE): Likewise.
8623         (FRAME_TOC_SAVE): Likewise.
8624         (FRAME_PARM_SAVE): Likewise.
8625         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8626         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8627         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8628         (call_mcount_parm_offset): New macro.
8629         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8630         (PROF): Use symbolic stack frame offsets.
8631         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8632         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8633         Redefine in terms of FRAME_MIN_SIZE.
8634         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8635         (_dl_profile_resolve): Likewise.  Update comment.
8636         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8637         symbols stack frame offsets.
8638         (__sigsetjmp): Likewise.
8639         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8640         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8641         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8642         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8645         (FRAME_BACKCHAIN): Remove.
8646         (FRAME_CR_SAVE): Likewise.
8647         (FRAME_LR_SAVE): Likewise.
8648         (FRAME_COMPILER_DW): Likewise.
8649         (FRAME_LINKER_DW): Likewise.
8650         (FRAME_TOC_SAVE): Likewise.
8651         (FRAME_PARM_SAVE): Likewise.
8652         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8653         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8654         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8656         (CHECK_SP): Use symbolic stack frame offsets.
8657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8658         zone" instead of caller's parameter save area for temp storage.
8659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8660         Likewise.  Also, use symbolic stack frame offsets.
8661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8662         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8663         our own stack frame instead of the caller's.
8664         (__socket): Use symbolic stack frame offsets.
8666 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8667             Alan Modra  <amodra@gmail.com>
8669         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8670         Define.
8671         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8672         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8673         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8674         New function.
8675         (elf_machine_fixup_plt): Call it.
8676         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8677         reloc arguments.
8678         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8679         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8680         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8681         r2 before calling target.
8683 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8684             Alan Modra  <amodra@gmail.com>
8686         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8687         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8688         versions of macros to support ELFv2 ABI.
8689         (LOCALENTRY): New macro.
8690         (ENTRY, EALIGN): Use it.
8691         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8692         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8693         fall through into ENTRY entry point.
8694         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8695         Only define if _CALL_ELF != 2.
8697         (elf_machine_matches_host): Verify ABI version matches.
8698         (RTLD_START): Use LOCALENTRY.
8699         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8700         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8701         (PLT_ENTRY_WORDS): New macro.
8702         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8703         (elf_machine_runtime_setup): Support ELFv2 ABI.
8704         (elf_machine_fixup_plt): Likewise.
8705         (elf_machine_plt_conflict): Likewise.
8706         (resolve_ifunc): Likewise.
8707         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8708         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8709         Likewise.
8710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8711         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8713         (makecontext): Support ELFv2 ABI.
8714         * elf/elf.h (EF_PPC64_ABI): Define.
8716 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8718         * sysdeps/powerpc/powerpc64/sysdep.h
8719         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8720         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8721         (ENTRY) [ASSEMBLER]: ... but instead here ...
8722         (EALIGN) [ASSEMBLER]: ... and here.
8723         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8724         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8725         (ENTRY_2) [!ASSEMBLER]: Use it.
8726         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8727         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8728         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8729         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8730         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8732         Use PPC64_LOAD_FUNCPTR.
8734         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8736 2013-12-04  Alan Modra  <amodra@gmail.com>
8738         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8739         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8740         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8741         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8743         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8744         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8745         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8746         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8747         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8748         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8750 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8753         (__makecontext): Fix incorrect CFI when backtracing out of
8754         context created via makecontext.
8755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8756         (__setcontext): Fix incorrect CFI during switch to new context.
8757         (__novec_setcontext): Likewise.
8759 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8761         [BZ #4772]
8762         * time/strptime_l.c (__strptime_internal): Allow modifiers
8763         in strptime.
8764         * time/tst-strptime.c (day_tests): Add testcase.
8766 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8768         * scripts/bench.pl: Skip over blank lines.
8770 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8772         [BZ #926]
8773         * manual/time.texi (Calendar Time): Clarify what timezone functions
8774         use.
8776 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8780 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8782         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8783         implementation.
8784         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8785         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8786         * debug/memset_chk.c (__memset_chk): Likewise.
8787         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8788         * debug/strncpy_chk.c: Likewise.
8790 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8792         [BZ #15268]
8793         [BZ #15425]
8794         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8795         (__ieee754_exp): For possibly underflowing results, check size of
8796         result and force underflow exception if required.
8797         * math/auto-libm-test-in: Add more tests of exp.
8798         * math/auto-libm-test-out: Regenerated.
8799         * sysdeps/i386/fpu/libm-test-ulps: Update.
8800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8802         [BZ #16283]
8803         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8804         * math/w_exp2f.c (__exp2f): Likewise.
8805         * math/w_exp2l.c (__exp2l): Likewise.
8806         * math/auto-libm-test-in: Do not allow missing errno on exp2
8807         underflow.
8808         * math/auto-libm-test-out: Regenerated.
8810 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8812         [BZ #16274]
8813         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8814         handle filename validation.
8815         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8816         (do_open): Delete.
8818 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8820         [BZ #6786]
8821         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8822         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8823         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8824         <float.h>.
8825         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8826         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8827         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8828         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8829         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8830         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8831         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8832         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8833         Add more erfc tests.
8834         * math/auto-libm-test-out: Regenerated.
8835         * sysdeps/i386/fpu/libm-test-ulps: Update.
8836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8838         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8839         exp2, expm1, j0 and j1.
8840         * math/auto-libm-test-out: Regenerated.
8841         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8842         (erfc_test_data): Likewise.
8843         (exp_test_data): Likewise.
8844         (exp_tonearest_test_data): Likewise.
8845         (exp_towardzero_test_data): Likewise.
8846         (exp_downward_test_data): Likewise.
8847         (exp_upward_test_data): Likewise.
8848         (exp10_test_data): Likewise.
8849         (exp2_test_data): Likewise.
8850         (expm1_test_data): Likewise.
8851         (j0_test_data): Likewise.
8852         (j1_test_data): Likewise.
8853         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8854         (input_flag_type): Add flag_xfail_rounding.
8855         (input_flags): Add xfail-rounding.
8856         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8857         (output_for_one_input_case): Handle flag_xfail_rounding.
8858         * sysdeps/i386/fpu/libm-test-ulps: Update.
8859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8861 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8863         [BZ #16289]
8864         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8865         division by 0.
8867 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8869         [BZ #16195]
8870         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8871         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8872         (STAP_PROBE0): New macro.
8873         (STAP_PROBE1): Likewise.
8874         (STAP_PROBE2): Likewise.
8875         (STAP_PROBE3): Likewise.
8876         (STAP_PROBE4): Likewise.
8878 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8880         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8882 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8884         * benchtests/Makefile (bench): Add sqrt.
8885         (LDLIBS-bench-sqrt): New.
8886         * benchtests/sqrt-input: New.
8888 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8890         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8891         (GAIH_EAI): Likewise.
8892         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8893         (gaih_inet): Likewise.
8894         (getaddrinfo): Don't use GAIH_EAI.
8896         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8897         (struct gaih): Remove definition.
8899 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8901         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8902         Use HERRNOP directly.
8904 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8908 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8910         * math/gen-auto-libm-tests.c (test_functions): Add more
8911         single-argument functions.
8912         (special_fill_pi_2): New function.
8913         (special_fill_minus_pi_2): Likewise.
8914         (special_fill_pi_6): Likewise.
8915         (special_fill_minus_pi_6): Likewise.
8916         (special_fill_pi_3): Likewise.
8917         (special_fill_2pi_3): Likewise.
8918         (special_fill_e): Likewise.
8919         (special_fill_1_e): Likewise.
8920         (special_fill_e_minus_1): Likewise.
8921         (special_real_inputs): Add more special inputs.
8922         (output_for_one_input_case): Do not require ERANGE on underflow to
8923         zero if round-to-nearest result does not underflow to zero, unless
8924         exact results required.
8925         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8926         atan, atanh, cbrt, cos and cosh.
8927         * math/auto-libm-test-out: Regenerated.
8928         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8929         (acos_tonearest_test_data): Likewise.
8930         (acos_towardzero_test_data): Likewise.
8931         (acos_downward_test_data): Likewise.
8932         (acos_upward_test_data): Likewise.
8933         (acosh_test_data): Likewise.
8934         (asin_test_data): Likewise.
8935         (asin_tonearest_test_data): Likewise.
8936         (asin_towardzero_test_data): Likewise.
8937         (asin_upward_test_data): Likewise.
8938         (asinh_test_data): Likewise.
8939         (atan_test_data): Likewise.
8940         (atanh_test_data): Likewise.
8941         (cbrt_test_data): Likewise.
8942         (cos_test_data): Likewise.
8943         (cos_tonearest_test_data): Likewise.
8944         (cos_towardzero_test_data): Likewise.
8945         (cos_downward_test_data): Likewise.
8946         (cos_upward_test_data): Likewise.
8947         (cosh_test_data): Likewise.
8948         (cosh_tonearest_test_data): Likewise.
8949         (cosh_towardzero_test_data): Likewise.
8950         (cosh_downward_test_data): Likewise.
8951         (cosh_upward_test_data): Likewise.
8952         * sysdeps/i386/fpu/libm-test-ulps: Update.
8953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8955 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8957         [BZ #6787]
8958         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8959         * math/w_exp10f.c (__exp10f): Likewise.
8960         * math/w_exp10l.c (__exp10l): Likewise.
8961         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8962         errno settings in existing tests.
8964         [BZ #14032]
8965         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8966         precision control set to double precision.
8967         * sysdeps/i386/fpu/w_sqrt.c: New file.
8968         * math/auto-libm-test-in: Add more tests.
8969         * math/auto-libm-test-out: Update.
8971         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8972         (sqrt_test_tonearest): New function.
8973         (sqrt_towardzero_test_data): New variable.
8974         (sqrt_test_towardzero): New function.
8975         (sqrt_downward_test_data): New variable.
8976         (sqrt_test_downward): New function.
8977         (sqrt_upward_test_data): New variable.
8978         (sqrt_test_upward): New function.
8979         (main): Call the new functions.
8981         * math/gen-auto-libm-tests.c: New file.
8982         * math/auto-libm-test-in: Likewise.
8983         * math/auto-libm-test-out: New generated file.
8984         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8985         variables.
8986         (%beautify): Add generated representations of zero.
8987         (top level): Set $auto_input and call parse_auto_input.
8988         (beautify): Remove trailing "f" from hex float constants.
8989         (parse_args): Handle XFAIL_TEST.
8990         (convert_condition): New function.
8991         (or_value): Likewise.
8992         (or_cond_value): Likewise.
8993         (generate_testfile): Handle AUTO_TESTS_* lines.
8994         (parse_auto_input): New function.
8995         * math/libm-test.inc (XFAIL_TEST): New macro.
8996         (ERRNO_UNCHANGED): Update value.
8997         (ERRNO_EDOM): Likewise.
8998         (ERRNO_ERANGE): Likewise.
8999         (IGNORE_RESULT): Likewise.
9000         (TEST_COND_flt_32): New macro.
9001         (TEST_COND_dbl_64): Likewise.
9002         (TEST_COND_ldbl_96_intel): Likewise.
9003         (TEST_COND_ldbl_96_m68k): Likewise.
9004         (TEST_COND_ldbl_128): Likewise.
9005         (TEST_COND_ldbl_128ibm): Likewise.
9006         (TEST_COND_long32): Likewise.
9007         (TEST_COND_long64): Likewise.
9008         (TEST_COND_before_rounding): Likewise.
9009         (TEST_COND_after_rounding): Likewise.
9010         (enable_test): Handle XFAIL_TEST flag.
9011         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9012         with finite results.
9013         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9014         auto-libm-test-out.
9016 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9017             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9019         [BZ #16214]
9020         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9021         __tls_get_addr_internal instead of __tls_get_offset in order to
9022         avoid GOT pointer dependency.  Make rtld export
9023         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9024         __tls_get_addr since we are a __tls_get_offset platform.
9025         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9026         GOT pointer being set up before.
9027         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9029 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9031         * manual/math.texi (Errors in Math Functions): Document accuracy
9032         goals.
9034         [BZ #15004]
9035         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9036         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9037         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9038         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9039         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9040         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9041         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9042         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9043         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9044         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9045         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9046         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9047         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9048         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9049         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9050         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9052         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9053         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9054         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9055         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9056         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9057         Likewise.
9058         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9059         Likewise.
9060         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9061         Likewise.
9062         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9063         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9064         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9065         atomic-feupdateenv and flt-rounds.
9066         * sysdeps/powerpc/nofpu/Versions (libc): Add
9067         __atomic_feholdexcept, __atomic_feclearexcept,
9068         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9069         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9070         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9071         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9072         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9073         here.
9074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9075         Update.
9077         * manual/arith.texi (FP Exceptions): Document that exceptions may
9078         not be raised when matherr is used.
9079         (Math Error Reporting): Document overflow in directed rounding
9080         modes.  Document that errno may not be set when finite values are
9081         returned on overflow.  Document intent to set errno on underflow
9082         only for underflow to zero.
9084         [BZ #16271]
9085         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9086         round-to-nearest then adjust result for other rounding modes.
9087         * include/fenv.h (fegetround): Use libm_hidden_proto.
9088         * math/fegetround.c (fegetround): Use libm_hidden_def.
9089         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9090         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9091         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9092         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9093         Likewise.
9094         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9095         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9096         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9097         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9099 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9101         [BZ #16077]
9102         * nss/Versions (libnss_files): Add
9103         _nss_files_gethostbyname3_r.
9104         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9105         New function.
9106         (HOST_DB_LOOKUP): Remove macro.
9107         (_nss_files_gethostbyname_r): Implement function without the
9108         HOST_DB_LOOKUP macro.
9109         (_nss_files_gethostbyname2_r): Likewise.
9111 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9113         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9115 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9117         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9118         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9119         warning.
9121 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9123         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9124         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9125         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9126         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9127         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9128         __fe_nomask_env_priv and attribute_hidden.
9129         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9130         (libc_feupdateenv_test_ppc): Likewise.
9131         (libc_feresetround_ppc): Likewise.
9132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9133         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9134         compat_symbol macro.
9135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9136         (__fe_nomask_env): Likewise.
9137         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9139 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9141         * string/Makefile: Remove ifunc tests.
9142         * string/test-string.h: Define TEST_IFUNC.
9143         * string/test-bcopy-ifunc.c: Remove.
9144         * string/test-bzero-ifunc.c: Likewise.
9145         * string/test-memccpy-ifunc.c: Likewise.
9146         * string/test-memchr-ifunc.c: Likewise.
9147         * string/test-memcmp-ifunc.c: Likewise.
9148         * string/test-memcpy-ifunc.c: Likewise.
9149         * string/test-memmem-ifunc.c: Likewise.
9150         * string/test-memmove-ifunc.c: Likewise.
9151         * string/test-mempcpy-ifunc.c: Likewise.
9152         * string/test-memrchr-ifunc.c: Likewise.
9153         * string/test-memset-ifunc.c: Likewise.
9154         * string/test-rawmemchr-ifunc.c: Likewise.
9155         * string/test-stpcpy-ifunc.c: Likewise.
9156         * string/test-stpncpy-ifunc.c: Likewise.
9157         * string/test-strcasecmp-ifunc.c: Likewise.
9158         * string/test-strcasestr-ifunc.c: Likewise.
9159         * string/test-strcat-ifunc.c: Likewise.
9160         * string/test-strchr-ifunc.c: Likewise.
9161         * string/test-strchrnul-ifunc.c: Likewise.
9162         * string/test-strcmp-ifunc.c: Likewise.
9163         * string/test-strcpy-ifunc.c: Likewise.
9164         * string/test-strcspn-ifunc.c: Likewise.
9165         * string/test-strlen-ifunc.c: Likewise.
9166         * string/test-strncasecmp-ifunc.c: Likewise.
9167         * string/test-strncat-ifunc.c: Likewise.
9168         * string/test-strncmp-ifunc.c: Likewise.
9169         * string/test-strncpy-ifunc.c: Likewise.
9170         * string/test-strnlen-ifunc.c: Likewise.
9171         * string/test-strpbrk-ifunc.c: Likewise.
9172         * string/test-strrchr-ifunc.c: Likewise.
9173         * string/test-strspn-ifunc.c: Likewise.
9174         * string/test-strstr-ifunc.c: Likewise.
9176 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9178         * benchtests/Makefile: Remove ifunc tests.
9179         * benchtests/bench-string.h: Define TEST_IFUNC.
9180         * benchtests/bench-bcopy-ifunc.c: Remove.
9181         * benchtests/bench-bzero-ifunc.c: Likewise.
9182         * benchtests/bench-memccpy-ifunc.c: Likewise.
9183         * benchtests/bench-memchr-ifunc.c: Likewise.
9184         * benchtests/bench-memcmp-ifunc.c: Likewise.
9185         * benchtests/bench-memcpy-ifunc.c: Likewise.
9186         * benchtests/bench-memmem-ifunc.c: Likewise.
9187         * benchtests/bench-memmove-ifunc.c: Likewise.
9188         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9189         * benchtests/bench-memrchr-ifunc.c: Likewise.
9190         * benchtests/bench-memset-ifunc.c: Likewise.
9191         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9192         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9193         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9194         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9195         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9196         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9197         * benchtests/bench-strcat-ifunc.c: Likewise.
9198         * benchtests/bench-strchr-ifunc.c: Likewise.
9199         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9200         * benchtests/bench-strcmp-ifunc.c: Likewise.
9201         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9202         * benchtests/bench-strcpy-ifunc.c: Likewise.
9203         * benchtests/bench-strcspn-ifunc.c: Likewise.
9204         * benchtests/bench-strlen-ifunc.c: Likewise.
9205         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9206         * benchtests/bench-strncat-ifunc.c: Likewise.
9207         * benchtests/bench-strncmp-ifunc.c: Likewise.
9208         * benchtests/bench-strncpy-ifunc.c: Likewise.
9209         * benchtests/bench-strnlen-ifunc.c: Likewise.
9210         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9211         * benchtests/bench-strrchr-ifunc.c: Likewise.
9212         * benchtests/bench-strsep-ifunc.c: Likewise.
9213         * benchtests/bench-strspn-ifunc.c: Likewise.
9214         * benchtests/bench-strstr-ifunc.c: Likewise.
9216 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9218         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9220 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9222         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9223         * rt/aio.h: Likewise.
9224         * sysdeps/gnu/bits/utmp.h: Likewise.
9225         * sysdeps/gnu/bits/utmpx.h: Likewise.
9226         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9227         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9228         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9229         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9230         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9231         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9232         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9233         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9234         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9235         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9236         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9237         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9238         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9240         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9241         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9242         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9243         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9244         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9245         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9246         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9247         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9248         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9249         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9250         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9252         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9253         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9254         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9255         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9256         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9257         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9258         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9259         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9260         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9261         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9262         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9263         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9264         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9265         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9266         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9267         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9269 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9271         [BZ #16245]
9272         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9273         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9275 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9277         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9278         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9279         Likewise.
9281 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9283         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9284         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9285         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9286         (__fesetround): Remove define.
9287         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9288         rounding and exceptions handling.
9289         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9290         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9291         (__fe_nomask_env): Likewise.
9292         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9293         __fegetround instead of fegetround.
9294         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9295         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9297 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9299         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9300         it's there.
9302         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9304 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9306         [BZ #11157]
9307         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9308         (encrypt_r): Likewise.
9309         * malloc/obstack.h (obstack_free): Likewise.
9310         * posix/unistd.h (encrypt): Likewise.
9312 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9314         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9315         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9316         DL_CALL_DT_FINI() that call the functions directly.
9317         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9318         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9319         * elf/dl-fini.c: Likewise.
9321 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9323         * malloc/hooks.c (memalign_check): Add alignment rounding.
9324         * malloc/malloc.c (_mid_memalign): New function.
9325         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9326         Implement by calling _mid_memalign.
9327         * manual/probes.texi (Memory Allocation Probes): Remove
9328         memory_valloc_retry and memory_pvalloc_retry.
9330 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9332         * locale/programs/locarchive.c (open_archive): Add const
9333         qualifier to ARCHIVEFNAME and copy default fname to
9334         DEFAULT_FNAME.
9336         [BZ #15601]
9337         * libio/tst-widetext.input: Rename Oriya to Odia.
9338         * locale/iso-639.def: Likewise.
9340         * manual/probes.texi (Mathematical Function Probes): Add
9341         documentation for sin, cos, asin and acos probes.
9342         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9343         (__sin32): Add slowasin probe.
9344         (__cos32): Add slowacos probe.
9345         (__mpsin): Add slowsin probe.
9346         (__mpcos): Add slowcos probe.
9348 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9350         [BZ #15483]
9351         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9352         thread-local __sim_exceptions_thread and global
9353         __sim_exceptions_global.
9354         (__sim_disabled_exceptions): Change to thread-local
9355         __sim_disabled_exceptions_thread and global
9356         __sim_disabled_exceptions_global.
9357         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9358         and global __sim_round_mode_global.
9359         (__simulate_exceptions): Use thread-local floating-point state and
9360         set global state from it as needed.
9361         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9362         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9363         __sim_round_mode_thread.
9364         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9365         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9366         and global __sim_exceptions_global.
9367         (__sim_disabled_exceptions): Change to thread-local
9368         __sim_disabled_exceptions_thread and global
9369         __sim_disabled_exceptions_global.
9370         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9371         and global __sim_round_mode_global.
9372         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9373         (SIM_SET_GLOBAL): Likewise.
9374         * sysdeps/powerpc/soft-fp/sfp-machine.h
9375         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9376         __sim_round_mode_thread.
9377         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9378         __sim_disabled_exceptions_thread.
9379         (__sim_exceptions): Change to __sim_exceptions_thread.
9380         (__sim_disabled_exceptions): Change to
9381         __sim_disabled_exceptions_thread.
9382         (__sim_round_mode): Change to __sim_round_mode_thread.
9383         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9384         thread-local floating-point state and set global state from it as
9385         needed.
9386         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9387         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9388         (__sim_disabled_exceptions): Remove extern declaration.
9389         (feenableexcept): Use thread-local floating-point state and set
9390         global state from it as needed.
9391         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9392         extern declaration.
9393         (__sim_disabled_exceptions): Likewise.
9394         (__sim_round_mode): Likewise.
9395         (__fegetenv): Use thread-local floating-point state.
9396         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9397         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9398         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9399         floating-point state and set global state from it as needed.
9400         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9401         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9402         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9403         Likewise.
9404         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9405         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9406         Likewise.
9407         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9408         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9409         Use __sim_round_mode_thread.
9410         * math/test-fenv-tls.c: New file.
9411         * math/Makefile (tests): Add test-fenv-tls.
9412         ($(objpfx)test-fenv-tls): Depend on
9413         $(common-objpfx)nptl/libpthread.so.
9415 2013-11-19  Andreas Schwab  <schwab@suse.de>
9417         * locale/programs/locale.c (show_info): Decode wordarray elements.
9418         * locale/categories.def (LC_MONETARY): Add element for
9419         _NL_MONETARY_CRNCYSTR.
9420         * locale/C-monetary.c (conversion_rate): New variable.
9421         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9422         element.
9424 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9426         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9427         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9429 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9431         * elf/Makefile (tst-auxv): New test.
9432         * elf/tst-auxv.c: New
9433         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9435 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9437         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9438         (hidden_proto): Caller changed.
9439         (hidden_tls_proto): New macro.
9440         (libc_hidden_tls_proto): Likewise.
9441         (rtld_hidden_tls_proto): Likewise.
9442         (libm_hidden_tls_proto): Likewise.
9443         (libresolv_hidden_tls_proto): Likewise.
9444         (librt_hidden_tls_proto): Likewise.
9445         (libdl_hidden_tls_proto): Likewise.
9446         (libnss_files_hidden_tls_proto): Likewise.
9447         (libnsl_hidden_tls_proto): Likewise.
9448         (libnss_nisplus_hidden_tls_proto): Likewise.
9449         (libutil_hidden_tls_proto): Likewise.
9451 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9453         [BZ #10253]
9454         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9455         (decompose_rpath): Defer expansion to fillin_rpath.
9456         (_dl_init_paths): Pass linkmap to fillin_rpath.
9458 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9460         * benchtests/Makefile: Add strsep.
9461         * benchtests/bench-strsep.c: New file: strsep benchtest.
9462         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9464 2013-11-18  Andreas Schwab  <schwab@suse.de>
9466         * locale/programs/locale.c (show_info) [case byte]: Check for
9467         '\377' instead of '\177'.
9468         * locale/C-monetary.c (not_available): Always use "\377".
9469         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9470         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9471         detect unavailable sign_posn locale elements.
9472         * locale/localeconv.c (__localeconv): For grouping and
9473         mon_grouping handle "\177" and "\377" like no grouping.
9474         (INT_ELEM): New macro.  Use it to set all numeric members.
9475         * locale/programs/ld-monetary.c (monetary_read)
9476         <tok_mon_grouping>: Normalize single -1 to the empty string.
9477         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9478         Likewise.
9480 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9482         [BZ #16055]
9483         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9484         when we match (nil).
9485         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9487 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9489         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9490         (NO_TEST_INLINE): Update value.
9491         (ERRNO_UNCHANGED): Likewise.
9492         (ERRNO_EDOM): Likewise.
9493         (ERRNO_ERANGE): Likewise.
9494         (IGNORE_RESULT): Likewise.
9495         (check_float_internal): Check signs of NaN results if
9496         TEST_NAN_SIGN used.
9497         (check_complex): Pass TEST_NAN_SIGN flag through to second
9498         check_float_internal call.
9499         (copysign_test_data): Add tests with quiet NaNs as second
9500         argument.  Use TEST_NAN_SIGN.
9501         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9502         TEST_NAN_SIGN.
9503         (signbit_test_data): Add tests of quiet NaN argument.
9504         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9506         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9507         $ignore_result.
9508         (parse_args): Handle function results specified as IGNORE.
9509         * math/libm-test.inc (IGNORE_RESULT): New macro.
9510         (check_float_internal): Do not check numerical result if flag
9511         IGNORE_RESULT set.
9512         (check_complex): Pass through IGNORE_RESULT to second
9513         check_float_internal call.
9514         (check_int): Do not check numerical result if flag IGNORE_RESULT
9515         set.
9516         (check_long): Likewise.
9517         (check_bool): Likewise.
9518         (check_longlong): Likewise.
9519         (lrint_test_data): Add tests of infinite and NaN arguments.
9520         (lrint_tonearest_test_data): Likewise.
9521         (lrint_towardzero_test_data): Likewise.
9522         (lrint_downward_test_data): Likewise.
9523         (lrint_upward_test_data): Likewise.
9524         (llrint_test_data): Likewise.
9525         (llrint_tonearest_test_data): Likewise.
9526         (llrint_towardzero_test_data): Likewise.
9527         (llrint_downward_test_data): Likewise.
9528         (llrint_upward_test_data): Likewise.
9529         (lround_test_data): Likewise.
9530         (llround_test_data): Likewise.
9532         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9533         (ERRNO_UNCHANGED): Update value.
9534         (ERRNO_EDOM): Likewise.
9535         (ERRNO_ERANGE): Likewise.
9536         (NO_TEST_INLINE_FLOAT): New macro.
9537         (NO_TEST_INLINE_DOUBLE): Likewise.
9538         (enable_test): New function.
9539         (RUN_TEST_f_f): Check enable_test before running test.
9540         (RUN_TEST_2_f): Likewise.
9541         (RUN_TEST_fff_f): Likewise.
9542         (RUN_TEST_c_f): Likewise.
9543         (RUN_TEST_f_f1): Likewise.
9544         (RUN_TEST_fF_f1): Likewise.
9545         (RUN_TEST_fI_f1): Likewise.
9546         (RUN_TEST_ffI_f1): Likewise.
9547         (RUN_TEST_c_c): Likewise.
9548         (RUN_TEST_cc_c): Likewise.
9549         (RUN_TEST_f_i): Likewise.
9550         (RUN_TEST_f_i_tg): Likewise.
9551         (RUN_TEST_ff_i_tg): Likewise.
9552         (RUN_TEST_f_b): Likewise.
9553         (RUN_TEST_f_b_tg): Likewise.
9554         (RUN_TEST_f_l): Likewise.
9555         (RUN_TEST_f_L): Likewise.
9556         (RUN_TEST_fFF_11): Likewise.
9557         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9558         conditionals.
9559         (cosh_test_data): Likewise.
9560         (exp_test_data): Likewise.
9561         (expm1_test_data): Likewise.
9562         (hypot_test_data): Likewise.
9563         (pow_test_data): Likewise.
9564         (sinh_test_data): Likewise.
9565         (tanh_test_data): Likewise.
9566         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9567         flags argument.
9569         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9570         tests with quiet NaN input and output.
9571         (acosh_test_data): Likewise.
9572         (asin_test_data): Likewise.
9573         (asinh_test_data): Likewise.
9574         (atan_test_data): Likewise.
9575         (atanh_test_data): Likewise.
9576         (atan2_test_data): Likewise.
9577         (cbrt_test_data): Likewise.
9578         (cos_test_data): Likewise.
9579         (cosh_test_data): Likewise.
9580         (erf_test_data): Likewise.
9581         (erfc_test_data): Likewise.
9582         (exp_test_data): Likewise.
9583         (exp10_test_data): Likewise.
9584         (exp2_test_data): Likewise.
9585         (expm1_test_data): Likewise.
9586         (hypot_test_data): Likewise.
9587         (j0_test_data): Likewise.
9588         (j1_test_data): Likewise.
9589         (jn_test_data): Likewise.
9590         (lgamma_test_data): Likewise.
9591         (log_test_data): Likewise.
9592         (log10_test_data): Likewise.
9593         (log1p_test_data): Likewise.
9594         (log2_test_data): Likewise.
9595         (pow_test_data): Likewise.
9596         (scalb_test_data): Likewise.
9597         (sin_test_data): Likewise.
9598         (sincos_test_data): Likewise.
9599         (sinh_test_data): Likewise.
9600         (tan_test_data): Likewise.
9601         (tanh_test_data): Likewise.
9602         (tgamma_test_data): Likewise.
9603         (y0_test_data): Likewise.
9604         (y1_test_data): Likewise.
9605         (yn_test_data): Likewise.
9607         [BZ #16167]
9608         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9609         argument being NaN and avoid computations with second argument in
9610         that case.
9611         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9612         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9613         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9615 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9617         * locale/iso-639.def: Add Chitwani Tharu (the).
9619 2013-11-14  Andreas Schwab  <schwab@suse.de>
9621         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9622         word instead of empty string.
9624 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9627         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9629         (__fe_nomask_env): Likewise.
9631 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9633         * benchtests/bench-timing.h: Include time.h.
9635 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9637         [BZ #15997]
9638         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9639         to 3.4.0 for x32.
9640         * sysdeps/unix/sysv/linux/configure: Regenerated.
9642 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9644         [BZ #16151]
9645         * stdlib/strtod_l.c (round_and_return): Do not consider
9646         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9647         exponent one less than half the least subnormal exponent.
9648         * stdlib/test-strtod-round-data: Add more tests.
9649         * stdlib/tst-strtod-round.c (tests): Regenerated.
9651 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9653         [BZ #14143]
9654         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9655         (__fe_mask_env): Likewise.
9656         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9657         libm_hidden_proto and add function prototype.
9658         (__fe_mask_env): Add function prototype.
9659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9660         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9662         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9664         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9666 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9668         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9669         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9671 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9673         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9674         of htab_find_slot().
9676 2013-11-11  David S. Miller  <davem@davemloft.net>
9678         [BZ #16150]
9679         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9680         symbol in the non-vis3 case in static builds.
9681         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9682         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9683         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9684         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9686 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9688         [BZ #387]
9689         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9690         it is empty.
9692 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9694         * benchtests/Makefile: Add bench-strtod.
9695         * benchtests/bench-strtod.c: New file: strtod benchtest
9697 2013-11-11  Andreas Schwab  <schwab@suse.de>
9699         [BZ #16153]
9700         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9701         terminating NUL in key length.
9703 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9705         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9706         Add artificial ODP entry for vDSO symbol for PPC64.
9707         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9708         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9710 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9712         [BZ #15374]
9713         * nss/getent.c (services_keys): Recognize services starting with digit.
9715 2013-11-06  David S. Miller  <davem@davemloft.net>
9717         [BZ #15985]
9718         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9719         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9721 2013-11-06  Will Newton  <will.newton@linaro.org>
9723         * manual/memory.texi (Malloc Examples): Remove register
9724         keyword from examples.
9726 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9728         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9730 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9732         [BZ #6981]
9733         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9734         depending on [__GCC_IEC_559 > 0].
9735         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9736         depending on [__GCC_IEC_559_COMPLEX > 0].
9738 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9740         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9741         to iso-639.def.
9743 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9745         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9747 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9749         [BZ #16112]
9750         * malloc/malloc (malloc_info): Do not handle first bin as
9751         special case.
9753 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9755         * locale/iso-639.def: Add Central Nahuatl (nhn).
9757 2013-11-01  Bruno Haible  <bruno@clisp.org>
9759         [BZ #7003]
9760         * manual/math.texi (BSD Random): Specify range upper bound as
9761         in POSIX.
9763 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9765         * locale/iso-639.def: Add Meadow Mari (mhr).
9767 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9769         [BZ #14752], [BZ #15763]
9770         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9771         Validate name.
9772         * rt/tst_shm.c: Add test for escaping directory.
9774 2013-10-31  Andreas Schwab  <schwab@suse.de>
9776         [BZ #15917]
9777         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9778         followed by 'x' as part of digit sequence.
9779         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9781 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9783         [BZ #16037]
9784         * configure.ac: allow GNU Make 4.0 and greater.
9785         * configure: Regenerated.
9787 2013-10-30  Will Newton  <will.newton@linaro.org>
9789         [BZ #16038]
9790         * malloc/hooks.c (memalign_check): Limit alignment to the
9791         maximum representable power of two.
9792         * malloc/malloc.c (__libc_memalign): Likewise.
9793         * malloc/tst-memalign.c (do_test): Add test for very
9794         large alignment values.
9795         * malloc/tst-posix_memalign.c (do_test): Likewise.
9797 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9799         [BZ #11087]
9800         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9801         (munmap_chunk): Likewise.
9802         (mremap_chunk): Likewise.
9804 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9806         [BZ #15799]
9807         * stdlib/div.c (div): Remove obsolete code.
9808         * stdlib/ldiv.c (ldiv): Likewise.
9809         * stdlib/lldiv.c (lldiv): Likewise.
9811 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9813         [BZ #16071]
9814         * nss/nss_files/files-XXX.c (get_contents_ret): New
9815         enumerator.
9816         (get_contents): New function.
9817         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9819 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9821         * configure.in: Moved to ...
9822         * configure.ac: ... here. Change reference to configure.in
9823         to configure.ac.
9824         * sysdeps/arm/preconfigure.ac: ... here.
9825         configure.in to configure.ac.
9826         * sysdeps/gnu/configure.in: Moved to ...
9827         * sysdeps/gnu/configure.ac: ... here.
9828         * sysdeps/i386/configure.in: Moved to ...
9829         * sysdeps/i386/configure.ac: ... here.
9830         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9831         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9832         * sysdeps/mach/configure.in: Moved to ...
9833         * sysdeps/mach/configure.ac: ... here.
9834         * sysdeps/mach/hurd/configure.in: Moved to ...
9835         * sysdeps/mach/hurd/configure.ac: ... here.
9836         * sysdeps/powerpc/configure.in: Moved to ...
9837         * sysdeps/powerpc/configure.ac: ... here.
9838         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9839         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9840         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9841         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9842         * sysdeps/s390/s390-32/configure.in: Moved to ...
9843         * sysdeps/s390/s390-32/configure.ac: ... here.
9844         * sysdeps/s390/s390-64/configure.in: Moved to ...
9845         * sysdeps/s390/s390-64/configure.ac: ... here.
9846         * sysdeps/sh/configure.in: Moved to ...
9847         * sysdeps/sh/configure.ac: ... here.
9848         * sysdeps/sparc/configure.in: Moved to ...
9849         * sysdeps/sparc/configure.ac: ... here.
9850         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9851         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9852         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9853         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9854         * sysdeps/x86_64/configure.in: Moved to ...
9855         * sysdeps/x86_64/configure.ac: ... here.
9856         * sysdeps/x86_64/preconfigure.in: Moved to ...
9857         * sysdeps/x86_64/preconfigure.ac: ... here.
9858         * aclocal.m4: Change reference to configure.in to configure.ac.
9859         * config.h.in: Likewise.
9860         * manual/install.texi: Likewise.
9861         * manual/maint.texi: Likewise.
9862         * Makefile: Likewise.
9863         * malloc/Makefile: Likewise.
9864         * nscd/Makefile: Likewise.
9865         * Makeconfig: Change reference to configure.in and
9866         preconfigure.in to configure.ac and preconfigure.ac
9867         respectively.
9868         * INSTALL: Regenerated.
9869         * configure: Likewise.
9870         * sysdeps/gnu/configure: Likewise.
9871         * sysdeps/i386/configure: Likewise.
9872         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9873         * sysdeps/mach/configure: Likewise.
9874         * sysdeps/mach/hurd/configure: Likewise.
9875         * sysdeps/powerpc/configure: Likewise.
9876         * sysdeps/powerpc/powerpc32/configure: Likewise.
9877         * sysdeps/powerpc/powerpc64/configure: Likewise.
9878         * sysdeps/s390/s390-32/configure: Likewise.
9879         * sysdeps/s390/s390-64/configure: Likewise.
9880         * sysdeps/sh/configure: Likewise.
9881         * sysdeps/sparc/configure: Likewise.
9882         * sysdeps/unix/sysv/linux/configure: Likewise.
9883         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9884         * sysdeps/x86_64/configure: Likewise.
9885         * sysdeps/x86_64/preconfigure: Likewise.
9887 2013-10-29  Andreas Schwab  <schwab@suse.de>
9889         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9891 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9893         * benchtests/pow-inputs: Add new inputs.
9895         * benchtests/exp-inputs: Add new inputs.
9897         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9898         conditional check for return value.
9899         (__cos32): Likewise.
9901 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9903         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9904         to provide a boost for large inputs with word alignment.
9905         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9906         implementation based on optimized PPC64 strcpy.
9907         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9908         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9909         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9910         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9912 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9914         [BZ #2801]
9915         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9917 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9919         [BZ #14876]
9920         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9921         * time/tst-strptime.c (day_tests): Add testcase.
9923 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9925         [BZ #14029]
9926         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9928 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9930         [BZ #16074]
9931         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9932         MAP_FAILED on error.
9934 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9936         [BZ #16072]
9937         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9938         heap for large requests.
9940 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9942         [BZ #9954]
9943         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9944         result if the result has no associated interface.
9945         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9946         interface for all 127.X.Y.Z addresses.
9948 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9950         * locale/iso-639.def: Add Ligurian (lij)
9952 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9954         [BZ #15825]
9955         * sunrpc/rpc_main.c: Document rpcgen -5.
9957 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9959         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9961 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9963         [BZ #10278]
9964         * posix/glob.c: Match only directories when trailing slash is present.
9965         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9966         (main): Add testcase.
9968 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9970         [BZ #15670]
9971         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9973 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9975         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9976         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9977         AUTH_DES and cindex for FIPS 140-2.
9978         (DES Encryption): Add cindex FIPS 46-3.
9980         * locale/locarchive.h (struct locarhandle): Add fname.
9981         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9982         if an optional argument was specified to --list-archive,
9983         otherwise NULL.
9984         * locale/programs/locarchive.c (show_archive_content): Take new
9985         argument fname and pass it via ah.fname to open_archive.
9986         * locale/programs/localedef.h: Update decl.
9987         (open_archive): If AH->fname is non-null, open that file
9988         rather than the default file name, and don't ignore ENOENT.
9989         (create_archive): Set AH.fname to NULL.
9990         (delete_locales_from_archive): Likewise.
9991         (add_locales_to_archive): Likewise.
9992         * locale/programs/locfile.c (write_all_categories): Likewise.
9994 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9995             Aldy Hernandez  <aldyh@redhat.com>
9997         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9998         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9999         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10000         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10001         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10002         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10003         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10004         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10005         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10006         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10007         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10010         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10011         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10012         Likewise.
10013         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10014         Likewise.
10015         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10016         Likewise.
10017         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10018         Likewise.
10019         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10020         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10021         Likewise.
10022         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10023         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10024         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10025         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10026         Likewise.
10027         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10028         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10029         * sysdeps/powerpc/preconfigure: Likewise.
10030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10031         Likewise.
10032         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10033         Replace contents of file by #include of <fenv_libc.h>.
10034         * sysdeps/powerpc/soft-fp/sfp-machine.h
10035         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10036         and <sys/prctl.h>.
10037         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10038         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10039         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10040         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10041         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10042         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10044         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10045         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10046         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10047         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10048         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10050         Allow copysignl PLT reference to be missing.
10052 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10053             Joseph Myers  <joseph@codesourcery.com
10055         [BZ #15948]
10056         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10057         single character.
10058         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10060 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10062         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10063         * elf/tst-tls1.c: Likewise.
10064         * elf/tst-tls10.h: Likewise.
10065         * elf/tst-tls14.c: Likewise.
10066         * elf/tst-tls2.c: Likewise.
10067         * elf/tst-tls3.c: Likewise.
10068         * elf/tst-tls4.c: Likewise.
10069         * elf/tst-tls5.c: Likewise.
10070         * elf/tst-tls6.c: Likewise.
10071         * elf/tst-tls7.c: Likewise.
10072         * elf/tst-tls8.c: Likewise.
10073         * elf/tst-tls9.c: Likewise.
10074         * elf/tst-tlsmod1.c: Likewise.
10075         * elf/tst-tlsmod13.c: Likewise.
10076         * elf/tst-tlsmod13a.c: Likewise.
10077         * elf/tst-tlsmod14a.c: Likewise.
10078         * elf/tst-tlsmod16a.c: Likewise.
10079         * elf/tst-tlsmod16b.c: Likewise.
10080         * elf/tst-tlsmod2.c: Likewise.
10081         * elf/tst-tlsmod3.c: Likewise.
10082         * elf/tst-tlsmod4.c: Likewise.
10083         * elf/tst-tlsmod5.c: Likewise.
10084         * elf/tst-tlsmod6.c: Likewise.
10086 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10088         [BZ #12486]
10089         * malloc/malloc.c: remove checks for statistics.
10091 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10093         [BZ #15277]
10094         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10095         * inet/tst-network.c: Add testcase.
10097 2013-10-17  Andreas Schwab  <schwab@suse.de>
10099         [BZ #15218]
10100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10101         to determine canonical name.
10103 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10105         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10106         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10107         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10108         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10109         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10110         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10111         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10112         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10113         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10114         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10115         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10116         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10117         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10118         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10119         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10120         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10121         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10122         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10123         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10124         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10125         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10126         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10127         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10128         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10129         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10130         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10131         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10132         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10133         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10134         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10135         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10136         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10137         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10138         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10139         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10140         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10141         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10142         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10143         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10144         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10145         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10146         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10147         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10148         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10149         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10150         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10151         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10152         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10153         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10154         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10155         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10156         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10157         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10158         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10159         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10160         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10161         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10162         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10164 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10166         [BZ #16041]
10167         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10168         make result into a quiet NaN.
10170 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10172         * soft-fp/adddf3.c: Fix horizontal whitespace.
10173         * soft-fp/addsf3.c: Likewise.
10174         * soft-fp/addtf3.c: Likewise.
10175         * soft-fp/divdf3.c: Likewise.
10176         * soft-fp/divsf3.c: Likewise.
10177         * soft-fp/divtf3.c: Likewise.
10178         * soft-fp/double.h: Likewise.
10179         * soft-fp/eqdf2.c: Likewise.
10180         * soft-fp/eqsf2.c: Likewise.
10181         * soft-fp/eqtf2.c: Likewise.
10182         * soft-fp/extenddftf2.c: Likewise.
10183         * soft-fp/extended.h: Likewise.
10184         * soft-fp/extendsfdf2.c: Likewise.
10185         * soft-fp/extendsftf2.c: Likewise.
10186         * soft-fp/extendxftf2.c: Likewise.
10187         * soft-fp/fixdfdi.c: Likewise.
10188         * soft-fp/fixdfsi.c: Likewise.
10189         * soft-fp/fixdfti.c: Likewise.
10190         * soft-fp/fixsfdi.c: Likewise.
10191         * soft-fp/fixsfsi.c: Likewise.
10192         * soft-fp/fixsfti.c: Likewise.
10193         * soft-fp/fixtfdi.c: Likewise.
10194         * soft-fp/fixtfsi.c: Likewise.
10195         * soft-fp/fixtfti.c: Likewise.
10196         * soft-fp/fixunsdfdi.c: Likewise.
10197         * soft-fp/fixunsdfsi.c: Likewise.
10198         * soft-fp/fixunsdfti.c: Likewise.
10199         * soft-fp/fixunssfdi.c: Likewise.
10200         * soft-fp/fixunssfsi.c: Likewise.
10201         * soft-fp/fixunssfti.c: Likewise.
10202         * soft-fp/fixunstfdi.c: Likewise.
10203         * soft-fp/fixunstfsi.c: Likewise.
10204         * soft-fp/fixunstfti.c: Likewise.
10205         * soft-fp/floatdidf.c: Likewise.
10206         * soft-fp/floatdisf.c: Likewise.
10207         * soft-fp/floatditf.c: Likewise.
10208         * soft-fp/floatsidf.c: Likewise.
10209         * soft-fp/floatsisf.c: Likewise.
10210         * soft-fp/floatsitf.c: Likewise.
10211         * soft-fp/floattidf.c: Likewise.
10212         * soft-fp/floattisf.c: Likewise.
10213         * soft-fp/floattitf.c: Likewise.
10214         * soft-fp/floatundidf.c: Likewise.
10215         * soft-fp/floatundisf.c: Likewise.
10216         * soft-fp/floatunditf.c: Likewise.
10217         * soft-fp/floatunsidf.c: Likewise.
10218         * soft-fp/floatunsisf.c: Likewise.
10219         * soft-fp/floatunsitf.c: Likewise.
10220         * soft-fp/floatuntidf.c: Likewise.
10221         * soft-fp/floatuntisf.c: Likewise.
10222         * soft-fp/floatuntitf.c: Likewise.
10223         * soft-fp/fmadf4.c: Likewise.
10224         * soft-fp/fmasf4.c: Likewise.
10225         * soft-fp/fmatf4.c: Likewise.
10226         * soft-fp/gedf2.c: Likewise.
10227         * soft-fp/gesf2.c: Likewise.
10228         * soft-fp/getf2.c: Likewise.
10229         * soft-fp/ledf2.c: Likewise.
10230         * soft-fp/lesf2.c: Likewise.
10231         * soft-fp/letf2.c: Likewise.
10232         * soft-fp/muldf3.c: Likewise.
10233         * soft-fp/mulsf3.c: Likewise.
10234         * soft-fp/multf3.c: Likewise.
10235         * soft-fp/negdf2.c: Likewise.
10236         * soft-fp/negsf2.c: Likewise.
10237         * soft-fp/negtf2.c: Likewise.
10238         * soft-fp/op-1.h: Likewise.
10239         * soft-fp/op-2.h: Likewise.
10240         * soft-fp/op-4.h: Likewise.
10241         * soft-fp/op-8.h: Likewise.
10242         * soft-fp/op-common.h: Likewise.
10243         * soft-fp/quad.h: Likewise.
10244         * soft-fp/single.h: Likewise.
10245         * soft-fp/soft-fp.h: Likewise.
10246         * soft-fp/sqrtdf2.c: Likewise.
10247         * soft-fp/sqrtsf2.c: Likewise.
10248         * soft-fp/sqrttf2.c: Likewise.
10249         * soft-fp/subdf3.c: Likewise.
10250         * soft-fp/subsf3.c: Likewise.
10251         * soft-fp/subtf3.c: Likewise.
10252         * soft-fp/truncdfsf2.c: Likewise.
10253         * soft-fp/trunctfdf2.c: Likewise.
10254         * soft-fp/trunctfsf2.c: Likewise.
10255         * soft-fp/trunctfxf2.c: Likewise.
10256         * soft-fp/unorddf2.c: Likewise.
10257         * soft-fp/unordsf2.c: Likewise.
10258         * soft-fp/unordtf2.c: Likewise.
10260 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10262         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10263         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10265 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10267         * elf/dl-libc.c: Clear initfini list after freeing.
10269 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10271         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10272         * soft-fp/addsf3.c: Likewise.
10273         * soft-fp/addtf3.c: Likewise.
10274         * soft-fp/divdf3.c: Likewise.
10275         * soft-fp/divsf3.c: Likewise.
10276         * soft-fp/divtf3.c: Likewise.
10277         * soft-fp/double.h: Likewise.
10278         * soft-fp/eqdf2.c: Likewise.
10279         * soft-fp/eqsf2.c: Likewise.
10280         * soft-fp/eqtf2.c: Likewise.
10281         * soft-fp/extenddftf2.c: Likewise.
10282         * soft-fp/extended.h: Likewise.
10283         * soft-fp/extendsfdf2.c: Likewise.
10284         * soft-fp/extendsftf2.c: Likewise.
10285         * soft-fp/extendxftf2.c: Likewise.
10286         * soft-fp/fixdfdi.c: Likewise.
10287         * soft-fp/fixdfsi.c: Likewise.
10288         * soft-fp/fixdfti.c: Likewise.
10289         * soft-fp/fixsfdi.c: Likewise.
10290         * soft-fp/fixsfsi.c: Likewise.
10291         * soft-fp/fixsfti.c: Likewise.
10292         * soft-fp/fixtfdi.c: Likewise.
10293         * soft-fp/fixtfsi.c: Likewise.
10294         * soft-fp/fixtfti.c: Likewise.
10295         * soft-fp/fixunsdfdi.c: Likewise.
10296         * soft-fp/fixunsdfsi.c: Likewise.
10297         * soft-fp/fixunsdfti.c: Likewise.
10298         * soft-fp/fixunssfdi.c: Likewise.
10299         * soft-fp/fixunssfsi.c: Likewise.
10300         * soft-fp/fixunssfti.c: Likewise.
10301         * soft-fp/fixunstfdi.c: Likewise.
10302         * soft-fp/fixunstfsi.c: Likewise.
10303         * soft-fp/fixunstfti.c: Likewise.
10304         * soft-fp/floatdidf.c: Likewise.
10305         * soft-fp/floatdisf.c: Likewise.
10306         * soft-fp/floatditf.c: Likewise.
10307         * soft-fp/floatsidf.c: Likewise.
10308         * soft-fp/floatsisf.c: Likewise.
10309         * soft-fp/floatsitf.c: Likewise.
10310         * soft-fp/floattidf.c: Likewise.
10311         * soft-fp/floattisf.c: Likewise.
10312         * soft-fp/floattitf.c: Likewise.
10313         * soft-fp/floatundidf.c: Likewise.
10314         * soft-fp/floatundisf.c: Likewise.
10315         * soft-fp/floatunsidf.c: Likewise.
10316         * soft-fp/floatunsisf.c: Likewise.
10317         * soft-fp/floatuntidf.c: Likewise.
10318         * soft-fp/floatuntisf.c: Likewise.
10319         * soft-fp/floatuntitf.c: Likewise.
10320         * soft-fp/fmadf4.c: Likewise.
10321         * soft-fp/fmasf4.c: Likewise.
10322         * soft-fp/fmatf4.c: Likewise.
10323         * soft-fp/gedf2.c: Likewise.
10324         * soft-fp/gesf2.c: Likewise.
10325         * soft-fp/getf2.c: Likewise.
10326         * soft-fp/ledf2.c: Likewise.
10327         * soft-fp/lesf2.c: Likewise.
10328         * soft-fp/letf2.c: Likewise.
10329         * soft-fp/muldf3.c: Likewise.
10330         * soft-fp/mulsf3.c: Likewise.
10331         * soft-fp/multf3.c: Likewise.
10332         * soft-fp/negdf2.c: Likewise.
10333         * soft-fp/negsf2.c: Likewise.
10334         * soft-fp/negtf2.c: Likewise.
10335         * soft-fp/op-1.h: Likewise.
10336         * soft-fp/op-2.h: Likewise.
10337         * soft-fp/op-4.h: Likewise.
10338         * soft-fp/op-8.h: Likewise.
10339         * soft-fp/op-common.h: Likewise.
10340         * soft-fp/quad.h: Likewise.
10341         * soft-fp/single.h: Likewise.
10342         * soft-fp/soft-fp.h: Likewise.
10343         * soft-fp/sqrtdf2.c: Likewise.
10344         * soft-fp/sqrtsf2.c: Likewise.
10345         * soft-fp/sqrttf2.c: Likewise.
10346         * soft-fp/subdf3.c: Likewise.
10347         * soft-fp/subsf3.c: Likewise.
10348         * soft-fp/subtf3.c: Likewise.
10349         * soft-fp/truncdfsf2.c: Likewise.
10350         * soft-fp/trunctfdf2.c: Likewise.
10351         * soft-fp/trunctfsf2.c: Likewise.
10352         * soft-fp/trunctfxf2.c: Likewise.
10353         * soft-fp/unorddf2.c: Likewise.
10354         * soft-fp/unordsf2.c: Likewise.
10355         * soft-fp/unordtf2.c: Likewise.
10357 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10359         [BZ #15672]
10360         * misc/error.c (error_tail): Fix possible buffer overflow.
10362 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10364         [BZ #13028]
10365         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10366         address.
10368 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10370         [BZ #832]
10371         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10372         testing pipefail option.
10374 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10376         * soft-fp/double.h: Indent preprocessor directives inside #if.
10377         * soft-fp/extended.h: Likewise.
10378         * soft-fp/op-2.h: Likewise.
10379         * soft-fp/op-4.h: Likewise.
10380         * soft-fp/op-common.h: Likewise.
10381         * soft-fp/quad.h: Likewise.
10382         * soft-fp/single.h: Likewise.
10383         * soft-fp/soft-fp.h: Likewise.
10385 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10387         * iconv/iconv_prog.c: Fix typos.
10388         * stdio-common/psiginfo-data.h: Likewise.
10390 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10392         [BZ #15764]
10393         * locale/setlocale.c: Fix typo.
10395 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10397         [BZ #16036]
10398         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10399         signaling NaN arguments.
10400         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10401         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10403         [BZ #14910]
10404         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10405         unordered operands.
10406         * soft-fp/gesf2.c (__gesf2): Likewise.
10407         * soft-fp/getf2.c (__getf2): Likewise.
10408         * soft-fp/ledf2.c (__ledf2): Likewise.
10409         * soft-fp/lesf2.c (__lesf2): Likewise.
10410         * soft-fp/letf2.c (__letf2): Likewise.
10412         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10413         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10414         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10415         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10416         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10417         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10418         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10419         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10420         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10421         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10422         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10423         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10424         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10425         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10426         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10427         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10428         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10429         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10430         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10431         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10432         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10433         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10434         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10435         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10436         * soft-fp/floattidf.c (__floattidf): Likewise.
10437         * soft-fp/floattisf.c (__floattisf): Likewise.
10438         * soft-fp/floattitf.c (__floattitf): Likewise.
10439         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10440         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10441         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10442         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10443         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10444         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10445         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10446         * soft-fp/gesf2.c (__gesf2): Likewise.
10447         * soft-fp/getf2.c (__getf2): Likewise.
10448         * soft-fp/ledf2.c (__ledf2): Likewise.
10449         * soft-fp/lesf2.c (__lesf2): Likewise.
10450         * soft-fp/letf2.c (__letf2): Likewise.
10452         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10453         Undefine and redefine.
10454         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10455         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10456         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10457         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10458         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10459         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10460         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10461         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10462         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10463         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10464         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10465         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10466         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10467         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10468         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10470         [BZ #16032]
10471         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10472         without decrementing exponent if mantissa >= that for the
10473         denominator, not >.
10474         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10475         denominator, not >.  Decrement exponent in < case instead of
10476         incrementing in >= case.
10477         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10478         without decrementing exponent if mantissa >= that for the
10479         denominator, not >.
10481         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10482         computing saturated result for unsigned overflow.
10484 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10485             Jeff Law  <law@redhat.com>
10487         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10488         (atan2Mp): Add systemtap probe marker.
10489         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10490         (__ieee754_log): Add systemtap probe marker.
10491         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10492         (atanMp): Add systemtap probe marker.
10493         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10494         (tanMp): Add systemtap probe marker.
10495         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10496         (__slowexp): Add systemtap probe marker.
10497         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10498         (__slowpow): Add systemtap probe marker.
10499         * manual/probes.texi: Document probes.
10501 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10503         [BZ #15362]
10504         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10505         written.
10506         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10507         written.
10508         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10509         written to buffer but not flushed.
10510         * libio/iofwrite_u.c:  Likewise.
10511         * libio/iopadn.c:  Return bytes returned even if EOF was
10512         encountered.
10513         * libio/iowpadn.c:  Likewise.
10514         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10515         if _IO_padn does not write the whole buffer.
10516         [!COMPILE_WPRINTF] (PAD): Likewise.
10518 2013-10-10  David S. Miller  <davem@davemloft.net>
10520         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10521         directory block.
10523 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10525         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10526         instead of FSF address.
10527         * soft-fp/fixdfti.c: Likewise.
10528         * soft-fp/fixsfti.c: Likewise.
10529         * soft-fp/fixtfti.c: Likewise.
10530         * soft-fp/fixunsdfti.c: Likewise.
10531         * soft-fp/fixunssfti.c: Likewise.
10532         * soft-fp/fixunstfti.c: Likewise.
10533         * soft-fp/floattidf.c: Likewise.
10534         * soft-fp/floattisf.c: Likewise.
10535         * soft-fp/floattitf.c: Likewise.
10536         * soft-fp/floatuntidf.c: Likewise.
10537         * soft-fp/floatuntisf.c: Likewise.
10538         * soft-fp/floatuntitf.c: Likewise.
10539         * soft-fp/trunctfxf2.c: Likewise.
10541         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10542         * soft-fp/fixdfti.c: Likewise.
10543         * soft-fp/fixsfti.c: Likewise.
10544         * soft-fp/fixtfti.c: Likewise.
10545         * soft-fp/fixunsdfti.c: Likewise.
10546         * soft-fp/fixunssfti.c: Likewise.
10547         * soft-fp/fixunstfti.c: Likewise.
10548         * soft-fp/floattidf.c: Likewise.
10549         * soft-fp/floattisf.c: Likewise.
10550         * soft-fp/floattitf.c: Likewise.
10551         * soft-fp/floatuntidf.c: Likewise.
10552         * soft-fp/floatuntisf.c: Likewise.
10553         * soft-fp/floatuntitf.c: Likewise.
10554         * soft-fp/trunctfxf2.c: Likewise.
10556 2013-10-10  David S. Miller  <davem@davemloft.net>
10558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10560 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10562         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10563         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10564         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10565         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10566         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10567         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10568         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10570         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10571         for NaNs before doing comparisons on argument.
10572         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10573         Likewise.
10575 2013-10-10  Will Newton  <will.newton@linaro.org>
10577         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10578         passed to _int_memalign does not overflow.
10580 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10582         * scripts/bench.pl: Add include-sources directive.
10583         * benchtests/README: Update documentation.
10585 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10587         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10588         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10589         instead of FP_INIT_ROUNDMODE.
10590         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10591         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10593         [BZ #16034]
10594         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10595         copy class of input value.
10596         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10597         not handle exceptions.
10598         * soft-fp/negsf2.c (__negsf2): Likewise.
10599         * soft-fp/negtf2.c (__negtf2): Likewise.
10600         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10602 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10604         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10605         semicolon.  From Linux kernel.
10607 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10609         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10611 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10613         [BZ #156]
10614         * manual/socket.texi: Added statement about buffer
10615         for gethostbyname2_r.
10617 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10619         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10620         Use .p2align directive instead, throughout.
10621         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10622         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10623         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10624         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10625         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10626         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10627         * sysdeps/x86_64/strchr.S: Likewise.
10628         * sysdeps/x86_64/strrchr.S: Likewise.
10630 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10632         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10634         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10636         * sysdeps/generic/math_private.h (__mpsin1): Remove
10637         declaration.
10638         (__mpcos1): Likewise.
10639         (__mpsin): New argument __range_reduce.
10640         (__mpcos): Likewise.
10641         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10642         (slow): Use __mpsin and __mpcos.
10643         (slow1): Likewise.
10644         (slow2): Likewise.
10645         (sloww): Likewise.
10646         (sloww1): Likewise.
10647         (sloww2): Likewise.
10648         (bsloww): Likewise.
10649         (bsloww1): Likewise.
10650         (bsloww2): Likewise.
10651         (cslow2): Likewise.
10652         (csloww): Likewise.
10653         (csloww1): Likewise.
10654         (csloww2): Likewise.
10655         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10656         range_reduce.  Merge in __mpsin1.
10657         (__mpcos): Likewise.
10658         (__mpsin1): Remove.
10659         (__mpcos1): Likewise.
10661 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10663         * locale/loadlocale.c (_nl_intern_locale_data): Use
10664         LOCFILE_ALIGNED_P.
10665         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10666         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10667         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10668         obstack data is appropriately aligned.
10669         (obstack_int32_grow_fast): Likewise.
10670         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10671         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10672         (add_locale_uint32_array): Likewise.
10674 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676         * benchtests/Makefile: Remove ARGLIST and RET variables.
10677         ($(objpfx)bench-%.c): Pass only function name to the script.
10678         * benchtests/README: Update documentation.
10679         * benchtests/acos-inputs: Add new directives.
10680         * benchtests/acosh-inputs: Likewise.
10681         * benchtests/asin-inputs: Likewise.
10682         * benchtests/asinh-inputs: Likewise.
10683         * benchtests/atan-inputs: Likewise.
10684         * benchtests/atanh-inputs: Likewise.
10685         * benchtests/cos-inputs: Likewise.
10686         * benchtests/cosh-inputs: Likewise.
10687         * benchtests/exp-inputs: Likewise.
10688         * benchtests/log-inputs: Likewise.
10689         * benchtests/pow-inputs: Likewise.
10690         * benchtests/rint-inputs: Likewise.
10691         * benchtests/sin-inputs: Likewise.
10692         * benchtests/sinh-inputs: Likewise.
10693         * benchtests/tan-inputs: Likewise.
10694         * benchtests/tanh-inputs: Likewise.
10695         * scripts/bench.pl: Add support for new directives.
10697 2013-10-07  Alan Modra  <amodra@gmail.com>
10699         * README: Fix careless merge.
10701 2013-10-05  Alan Modra  <amodra@gmail.com>
10703         * NEWS: Mention powerpc64le support and bugs fixed.
10704         * README: Both big-endian and little-endian powerpc64 supported.
10706 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10708         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10709         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10710         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10711         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10713 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10715         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10716         match prototype.
10718 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10720         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10721         Move -mhard-float appending from
10722         ports/sysdeps/powerpc/powerpc32/Makefile.
10723         [$(with-fp) = yes] (ASFLAGS): Likewise.
10724         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10725         * sysdeps/powerpc/nofpu: Move directory from
10726         ports/sysdeps/powerpc/nofpu.
10727         * sysdeps/powerpc/soft-fp: Move directory from
10728         ports/sysdeps/powerpc/soft-fp.
10729         * sysdeps/powerpc/powerpc32/405: Move directory from
10730         ports/sysdeps/powerpc/powerpc32/405.
10731         * sysdeps/powerpc/powerpc32/440: Move directory from
10732         ports/sysdeps/powerpc/powerpc32/440.
10733         * sysdeps/powerpc/powerpc32/464: Move directory from
10734         ports/sysdeps/powerpc/powerpc32/464.
10735         * sysdeps/powerpc/powerpc32/476: Move directory from
10736         ports/sysdeps/powerpc/powerpc32/476.
10737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10738         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10740         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10742         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10744         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10746         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10747         * README: Update for powerpc-*-linux-gnu software floating point
10748         support in libc.
10750         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10751         case to powerpc/powerpc32*.
10752         * sysdeps/unix/sysv/linux/configure: Regenerated.
10754         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10755         (_FPU_MASK_OM): Define as 0x04.
10756         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10757         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10758         0x00c10080.
10759         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10760         0x0000003c.
10761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10764         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10765         getcontext_e500.
10766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10767         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10768         setcontext_e500.
10769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10770         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10771         and setcontext_e500.
10773 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10775         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10777 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10779         * manual/threads.texi (Default Thread Attributes): Fix typo.
10781 2013-10-04  Will Newton  <will.newton@linaro.org>
10783         * malloc/Makefile: Add tst-memalign.
10784         * malloc/tst-memalign.c: New file.
10786         * malloc/tst-posix_memalign.c: Add comments.
10787         (do_test): Add comments and call free on all potentially
10788         allocated pointers. Add space after cast.
10790         * malloc/tst-pvalloc.c: Add comments.
10791         (do_test): Add comments and call free on all potentially
10792         allocated pointers. Remove duplicate check for NULL pointer.
10793         Add space after cast.
10795         * malloc/tst-valloc.c: Add comments.
10796         (do_test): Add comments and call free on all potentially
10797         allocated pointers. Remove duplicate check for NULL pointer.
10798         Add space after cast.
10800 2013-10-04  Alan Modra  <amodra@gmail.com>
10802         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10803         Use stdint types in rather than __attribute__((mode())).
10804         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10806 2013-10-04  Alan Modra  <amodra@gmail.com>
10808         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10809         Correct handling of unaligned relocs for little-endian.
10810         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10812 2013-10-04  Alan Modra  <amodra@gmail.com>
10814         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10815         * configure: Regenerate.
10816         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10817         * shlib-versions: Likewise.
10819 2013-10-04  Alan Modra  <amodra@gmail.com>
10821         * string/tester.c (test_memrchr): Increment reported test cycle.
10823 2013-10-04  Alan Modra  <amodra@gmail.com>
10825         * string/test-memcpy.c (do_one_test): When reporting errors, print
10826         string address and don't overrun end of string.
10828 2013-10-04  Alan Modra  <amodra@gmail.com>
10830         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10831         insrdi.  Make better use of reg selection to speed exit slightly.
10832         Schedule entry path a little better.  Remove useless "are we done"
10833         checks on entry to main loop.  Handle wrapping around zero address.
10834         Correct main loop count.  Handle single left-over word from main
10835         loop inline rather than by using loop_small.  Remove extra word
10836         case in loop_small caused by wrong loop count.  Add little-endian
10837         support.
10838         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10839         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10840         cache hint.
10841         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10842         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10843         support.  Avoid rlwimi.
10844         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10846 2013-10-04  Alan Modra  <amodra@gmail.com>
10848         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10849         insrdi.  Formatting.
10850         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10851         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10852         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10853         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10854         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10855         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10857 2013-10-04  Alan Modra  <amodra@gmail.com>
10859         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10860         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10861         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10862         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10863         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10864         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10865         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10866         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10867         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10868         use of regs.  Use power7 mtocrf.  Tidy function tails.
10870 2013-10-04  Alan Modra  <amodra@gmail.com>
10872         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10873         Formatting.  Consistently use rXXX register defines or rN defines.
10874         Use early exit labels that avoid restoring unused non-volatile regs.
10875         Make cr field use more consistent with rWORDn compares.  Rename
10876         regs used as shift registers for unaligned loop, using rN defines
10877         for short lifetime/multiple use regs.
10878         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10879         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10880         addi 1,1,64 to pop stack frame.  Simplify return value code.
10881         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10883 2013-10-04  Alan Modra  <amodra@gmail.com>
10885         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10886         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10887         rather than rlwimi.
10888         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10889         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10890         little-endian support.  Correct typos.
10891         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10892         rather than rlwimi.
10893         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10894         in loop and entry code to keep "and." results.
10895         (strchr): Add little-endian support.  Comment.  Move cntlzd
10896         earlier in tail.
10897         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10899 2013-10-04  Alan Modra  <amodra@gmail.com>
10901         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10902         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10903         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10904         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10906 2013-10-04  Alan Modra  <amodra@gmail.com>
10908         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10909         (rTMP): Define as r11.
10910         (strcmp): Add little-endian support.  Optimise tail.
10911         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10912         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10913         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10914         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10915         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10916         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10917         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10919 2013-10-04  Alan Modra  <amodra@gmail.com>
10921         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10922         little-endian support.  Remove unnecessary "are we done" tests.
10923         Handle "s" wrapping around zero and extremely large "size".
10924         Correct main loop count.  Handle single left-over word from main
10925         loop inline rather than by using small_loop.  Correct comments.
10926         Delete "zero" tail, use "end_max" instead.
10927         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10929 2013-10-04  Alan Modra  <amodra@gmail.com>
10931         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10932         support.  Don't branch over align.
10933         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10934         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10935         support.  Rearrange tmp reg use to suit.  Comment.
10936         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10938 2013-10-04  Alan Modra  <amodra@gmail.com>
10940         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10942 2013-10-04  Alan Modra  <amodra@gmail.com>
10944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10945         conditional form of branch and link when obtaining pc.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10948 2013-10-04  Alan Modra  <amodra@gmail.com>
10950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10951         HIWORD/LOWORD.
10952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10955 2013-10-04  Alan Modra  <amodra@gmail.com>
10957         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10958         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10959         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10960         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10961         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10962         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10963         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10964         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10966         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10968 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10969             Alistair Popple <alistair@ozlabs.au.ibm.com>
10970             Alan Modra <amodra@gmail.com>
10972         [BZ #15723]
10973         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10974         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10975         _dl_hwcap access for little-endian.
10976         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10977         destroy vmx regs when saving unaligned.
10978         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10979         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10980         destroy vmx regs when saving unaligned.
10982 2013-10-04  Alan Modra  <amodra@gmail.com>
10984         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10985         Don't use a union to pack hi/low value.
10987 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10989         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10990         for little-endian.
10991         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10992         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10993         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10994         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10995         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10997 2013-10-04  Alan Modra  <amodra@gmail.com>
10999         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11000         constants to usual value for .cst8 section, and remove redundant
11001         high address load.
11002         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11003         constant for 0x1p52.  Load little-endian words of double from
11004         correct stack offsets.
11006 2013-10-04  Alan Modra  <amodra@gmail.com>
11008         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11009         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11010         words of double from correct stack offsets.
11011         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11012         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11013         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11014         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11015         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11016         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11017         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11018         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11019         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11020         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11021         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11022         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11023         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11024         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11025         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11026         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11027         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11029 2013-10-04  Alan Modra  <amodra@gmail.com>
11031         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11032         64-bit int/double union.
11033         (_FPU_SETCW): Likewise.
11034         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11035         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11037 2013-10-04  Alan Modra  <amodra@gmail.com>
11039         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11040         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11042 2013-10-04  Alan Modra  <amodra@gmail.com>
11044         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11045         use vector int constants.
11046         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11048 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11050         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11051         array with long long.
11052         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11053         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11054         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11055         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11056         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11057         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11058         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11059         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11060         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11061         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11062         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11063         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11064         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11066 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11068         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11069         (__signbit): Likewise.  Correct for little-endian.
11070         (__signbitl): Call __signbit.
11071         (lrint): Correct for little-endian.
11072         (lrintf): Call lrint.
11074 2013-10-04  Alan Modra  <amodra@gmail.com>
11076         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11077         union 32-bit int array member with 64-bit int array.
11078         (t515, tm256): Double rather than long double.
11079         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11081 2013-10-04  Alan Modra  <amodra@gmail.com>
11083         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11084         Delete.
11085         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11086         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11087         version of math_ldbl.h.
11089 2013-10-04  Alan Modra  <amodra@gmail.com>
11091         [BZ #15734], [BZ #15735]
11092         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11093         all uses of ieee875 long double macros and unions.  Simplify test
11094         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11095         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11096         normalize after ldbl_extract_mantissa, and don't add hidden bit
11097         already handled.  Don't treat low word of ieee854 mantissa like
11098         low word of IBM long double and mask off bit when testing for
11099         zero.
11100         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11101         all uses of ieee875 long double macros and unions.  Simplify tests
11102         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11103         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11104         two1022, instead use their values.  Recognise that tests for large
11105         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11106         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11107         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11108         test for 0.0L and nan.  Correct negation.
11109         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11110         ieee875 long double macros and unions.  Correct output for large
11111         magnitude x.  Correct absolute value calculation.
11112         (__erfcl): Likewise.
11113         * math/libm-test.inc: Add tests for errors discovered in IBM long
11114         double versions of fmodl, remainderl, erfl and erfcl.
11116 2013-10-04  Alan Modra  <amodra@gmail.com>
11118         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11119         all uses of ieee854 long double macros and unions.  Simplify tests
11120         for long doubles that are fully specified by the high double.
11121         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11122         Likewise.
11123         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11124         Remove dead code too.
11125         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11126         (__ieee754_ynl): Likewise.
11127         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11128         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11129         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11130         Remove dead code too.
11131         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11132         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11133         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11134         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11135         Simplify.
11136         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11137         Simplify.
11138         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11139         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11140         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11141         Comment on variable precision.
11142         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11143         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11144         Likewise.
11145         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11146         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11147         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11148         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11149         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11151 2013-10-04  Alan Modra  <amodra@gmail.com>
11153         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11154         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11155         all uses of ieee854 long double macros and unions.
11156         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11157         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11158         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11160         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11161         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11162         Likewise.
11163         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11164         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11165         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11166         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11167         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11168         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11169         Simplify sign and nan test too.
11170         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11171         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11172         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11173         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11174         Likewise.
11175         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11176         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11177         Likewise.
11178         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11179         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11180         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11181         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11182         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11183         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11185 2013-10-04  Alan Modra  <amodra@gmail.com>
11187         * stdio-common/printf_size.c (__printf_size): Don't use
11188         union ieee854_long_double in fpnum union.
11189         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11190         signbit macro to retrieve sign from long double.
11191         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11192         retrieve sign from long double.
11193         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11194         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11195         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11196         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11197         * math/test-misc.c (main): Don't use union ieee854_long_double.
11199 2013-10-04  Alan Modra  <amodra@gmail.com>
11201         [BZ #15680]
11202         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11203         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11204         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11205         calculation.  Remove unnecessary test for denormal exponent.
11206         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11207         Correct handling of denormals.  Avoid undefined shift behaviour.
11208         Correct normalisation of low mantissa when low double is denormal.
11209         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11210         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11211         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11212         Correct normalisation of low mantissa.  Test for overflow of high
11213         mantissa and normalise.
11214         (ldbl_nearbyint): Use more readable constant for two52.
11215         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11216         (__mpn_construct_long_double): Fix test for overflow of high
11217         mantissa and correct normalisation.  Avoid undefined shift.
11219 2013-10-04  Alan Modra  <amodra@gmail.com>
11221         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11222         (union ibm_extended_long_double): Define as an array of ieee754_double.
11223         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11224         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11225         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11226         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11227         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11228         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11229         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11230         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11231         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11232         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11233         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11235 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11237         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11238         page size instead of calling getpagesize.
11240         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11241         (LOCFILE_ALIGN_MASK): Likewise.
11242         (LOCFILE_ALIGN_UP): Likewise.
11243         (LOCFILE_ALIGNED_P): Likewise.
11244         * locale/programs/ld-collate.c (collate_output): Use the new
11245         macros instead of __alignof__ (int32_t).
11246         * locale/weight.h (findidx): Likewise.
11248 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11250         [BZ #431]
11251         * manual/string.texi: Fix strncat and wcsncat.
11253 2013-10-03  Brooks Moses  <bmoses@google.com>
11255         [BZ #15915]
11256         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11257         * Makerules: ...here, and adjust associated comments.
11259 2013-10-02  Will Newton  <will.newton@linaro.org>
11261         * malloc/Makefile: Add tst-pvalloc.
11262         * malloc/tst-pvalloc.c: New file.
11264 2013-10-02  Will Newton  <will.newton@linaro.org>
11266         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11267         improve test coverage.
11269 2013-10-02  Will Newton  <will.newton@linaro.org>
11271         * malloc/Makefile: Add tst-posix_memalign.
11272         * malloc/tst-posix_memalign.c: New file.
11274 2013-10-01  Eric Blake  <eblake@redhat.com>
11276         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11277         Use __THROWNL rather than __THROW on static functions.
11279 2013-09-30  Petr Machata  <pmachata@redhat.com>
11281         * elf/elf.h (R_AARCH64_ABS16): New macro.
11282         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11283         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11284         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11285         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11286         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11287         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11288         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11289         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11290         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11291         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11292         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11293         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11294         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11295         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11296         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11297         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11298         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11299         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11300         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11301         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11302         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11303         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11304         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11305         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11306         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11307         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11308         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11309         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11310         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11311         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11312         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11313         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11314         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11315         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11316         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11317         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11318         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11319         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11320         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11321         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11322         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11323         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11324         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11325         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11326         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11327         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11328         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11329         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11330         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11331         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11332         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11333         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11334         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11335         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11336         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11337         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11338         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11339         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11340         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11341         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11342         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11343         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11344         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11345         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11346         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11347         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11348         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11349         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11350         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11351         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11352         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11353         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11354         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11355         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11356         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11357         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11358         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11359         (R_AARCH64_TLSDESC_LDR): Likewise.
11360         (R_AARCH64_TLSDESC_ADD): Likewise.
11361         (R_AARCH64_TLSDESC_CALL): Likewise.
11363 2013-09-30  Andreas Schwab  <schwab@suse.de>
11365         [BZ #15048]
11366         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11367         the nss database lookup.
11368         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11371 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11373         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11375 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11377         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11378         ${Bash-specific parameter/pattern/string} parameter expansion.
11379         * sysdeps/unix/make-syscalls.sh: Likewise.
11381 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11383         * sysdeps/sh/stackguard-macros.h: New file.
11385 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11387         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11389         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11390         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11391         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11392         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11394 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11396         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11397         Fix thread ID register.
11399 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11401         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11402         [POSIX || UNIX98]: Require rather than permitting all symbols from
11403         <time.h>.
11404         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11405         element of struct sched_param.
11406         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11407         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11408         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11409         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11410         constant.
11412 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11414         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11415         argument calculation.
11417 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11419         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11420         Expect macro.
11421         [POSIX] (pthread_attr_t): Do not require type.
11422         [POSIX] (pthread_cond_t): Likewise.
11423         [POSIX] (pthread_condattr_t): Likewise.
11424         [POSIX] (pthread_key_t): Likewise.
11425         [POSIX] (pthread_mutex_t): Likewise.
11426         [POSIX] (pthread_mutexattr_t): Likewise.
11427         [POSIX] (pthread_once_t): Likewise.
11428         [POSIX] (pthread_t): Likewise.
11429         [POSIX-based standards] (pthread_atfork): Expect function.
11431 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11432             Richard Sandiford  <richard@codesourcery.com>
11434         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11435         (swap_endianness_p): New extern variable.
11436         (set_big_endian): New inline function.
11437         (maybe_swap_uint32): Likewise.
11438         (maybe_swap_uint32_array): Likewise.
11439         (maybe_swap_uint32_obstack): Likewise.
11440         * locale/programs/locfile.c: Include <stdbool.h>.
11441         (swap_endianness_p): New variable.
11442         (add_locale_uint32): Call maybe_swap_uint32.
11443         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11444         (write_locale_data): Call maybe_swap_uint32_array.
11445         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11446         maybe_swap_uint32.
11447         (obstack_int32_grow_fast): Likewise.
11448         (output_weightwc): Call maybe_swap_uint32_obstack.
11449         (collate_output): Likewise.
11450         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11451         (OPT_LITTLE_ENDIAN): Likewise.
11452         (options): Add --little-endian and --big-endian options.
11453         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11454         * locale/programs/locarchive.c: Include "locfile.h".
11455         (GET): New macro.
11456         (SET): Likewise.
11457         (INC): Likewise.
11458         (create_archive): Use the new macros to access fields of
11459         structures directly mapped from or written to locale archives.
11460         (oldlocrecentcmp): Likewise.
11461         (enlarge_archive): Likewise.
11462         (insert_name): Likewise.
11463         (add_alias): Likewise.
11464         (add_locale): Likewise.
11465         (delete_locales_from_archive): Likewise.
11466         (show_archive_content): Likewise.
11467         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11468         locale data.
11470 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11472         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11473         http://www.gnu.org/doc/freemanuals.texi.
11474         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11476 2013-09-24  Will Newton  <will.newton@linaro.org>
11478         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11479         macro.
11481 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11483         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11484         unsigned char.
11486 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11488         * manual/threads.texi (POSIX Threads): Fix a typo.
11490 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11492         [BZ #14547]
11493         * string/tst-strcoll-overflow.c: New test case.
11494         * string/Makefile (xtests): Add tst-strcoll-overflow.
11495         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11496         cache if string sizes may cause integer overflow.
11498         [BZ #14547]
11499         * string/strcoll_l.c (coll_seq): New members rule, idx,
11500         save_idx and back_us.
11501         (get_next_seq_nocache): New function.
11502         (do_compare_nocache): New function.
11503         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11504         when malloc fails.
11506 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11508         [BZ #15754]
11509         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11510         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11511         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11513         [BZ #15754]
11514         * elf/Makefile (tests): Add tst-ptrguard1.
11515         (tests-static): Add tst-ptrguard1-static.
11516         (tst-ptrguard1-ARGS): Define.
11517         (tst-ptrguard1-static-ARGS): Define.
11518         * elf/tst-ptrguard1.c: New file.
11519         * elf/tst-ptrguard1-static.c: New file.
11520         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11521         * sysdeps/i386/stackguard-macros.h: Likewise.
11522         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11523         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11524         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11525         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11526         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11527         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11529 2013-09-23  Hector Marco  <hecmargi@upv.es>
11530             Ismael Ripoll  <iripoll@disca.upv.es>
11531             Carlos O'Donell  <carlos@redhat.com>
11533         [BZ #15754]
11534         * sysdeps/generic/stackguard-macros.h: Define
11535         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11536         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11537         Define __pointer_chk_guard_local.
11538         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11539         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11541 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11543         [BZ #15859]
11544         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11546 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11548         * include/string.h (__ffs): Declare as hidden.
11549         * string/ffs.c (__ffs): Define as hidden.
11550         * sysdeps/i386/ffs.c (__ffs): Likewise.
11551         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11552         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11553         * sysdeps/s390/ffs.c (__ffs): Likewise.
11554         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11556 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11558         * NEWS: Mention malloc probes.
11560         * malloc/arena.c (new_heap): New memory_heap_new probe.
11561         (grow_heap): New memory_heap_more probe.
11562         (shrink_heap): New memory_heap_less probe.
11563         (heap_trim): New memory_heap_free probe.
11564         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11565         (systrim): New memory_sbrk_less probe.
11566         * manual/probes.texi: Document them.
11568         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11569         * manual/probes.texi: Document it.
11571         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11572         (__libc_realloc): Add memory_realloc_retry probe.
11573         (__libc_memalign): Add memory_memalign_retry probe.
11574         (__libc_valloc): Add memory_valloc_retry probe.
11575         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11576         (__libc_calloc): Add memory_calloc_retry probe.
11577         * manual/probes.texi: Document them.
11579         * malloc/arena.c (get_free_list): Add probe
11580         memory_arena_reuse_free_list.
11581         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11582         and memory_arena_reuse.
11583         (arena_get2) [!PER_THREAD]: Likewise.
11584         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11585         memory_arena_reuse_realloc.
11586         * manual/probes.texi: Document them.
11588         * malloc/malloc.c (__libc_free): Add
11589         memory_mallopt_free_dyn_thresholds probe.
11590         (__libc_mallopt): Add multiple memory_mallopt probes.
11591         * manual/probes.texi: Document them.
11593         * malloc/malloc.c: Include stap-probe.h.
11594         (__libc_mallopt): Add memory_mallopt probe.
11595         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11596         * manual/probes.texi: New.
11597         * manual/Makefile (chapters): Add probes.
11598         * manual/threads.texi: Set next node.
11600 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11602         [BZ #15963, #13985]
11603         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11604         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11605         Add `Chinese' to `nan' entry name.
11607 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11609         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11610         (POLYNOMIAL): Likewise.
11611         (TAYLOR_SINCOS): Likewise.
11612         (TAYLOR_SLOW): Likewise.
11613         (__sin): Use TAYLOR_SINCOS.
11614         (__cos): Likewise.
11615         (slow): Use TAYLOR_SLOW.
11616         (sloww): Likewise.
11617         (bsloww): Likewise.
11618         (csloww): Likewise.
11620 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11622         * stdlib/strtod_l.c: Fix buffer overrun.
11624 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11626         * benchtests/Makefile (bench): Add sincos.
11627         * benchtests/bench-sincos.c: New file.
11629         * math/libm-test.inc (cos_test_data): New test inputs.
11630         (sin_test_data): Likewise.
11632         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11633         macro.
11634         (__sin): Use it.
11635         (__cos): Likewise.
11636         (slow1): Likewise.
11637         (slow2): Likewise.
11638         (sloww1): Likewise.
11639         (sloww2): Likewise.
11640         (bsloww1): Likewise.
11641         (bsloww2): Likewise.
11642         (cslow2): Likewise.
11643         (csloww1): Likewise.
11644         (csloww2): Likewise.
11646         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11647         function.
11648         (__sin): Use it.
11649         (__cos): Likewise.
11651         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11652         gotos.
11653         (__cos): Likewise.
11655 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11657         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11658         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11659         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11660         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11661         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11662         * elf/cache.c (print_entry): Handle the new cache flags.
11664 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11665             Aldy Hernandez  <aldyh@redhat.com>
11667         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11668         Change condition to [_SOFT_FLOAT].
11669         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11670         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11671         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11672         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11673         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11674         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11675         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11676         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11677         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11678         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11679         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11680         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11681         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11682         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11683         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11684         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11685         declaration.
11687 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11689         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11690         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11691         (__longjmp): Use LOAD_GP to load saved GPRs.
11692         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11693         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11694         (__sigsetjmp): Use SAVE_GP to save GPRs.
11696         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11697         Do not append -msoft-float.
11698         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11700 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11702         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11704 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11706         [BZ #15966]
11707         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11708         (_FPU_GETCW): Use initial "__" on variable and field names but not
11709         on macro parameter name.
11710         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11711         parentheses around reference to macro parameter.
11713 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11715         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11716         prototype.
11717         (ctype_startup): Use uint32_t in cast and sizeof for
11718         ctype->charnames.
11720 2013-09-11  Jia Liu  <proljc@gmail.com>
11722         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11723         __daddr_t_defined.
11724         [__FreeBSD__]: Likewise.
11726 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11728         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11729         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11730         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11731         (strchr): Remove __strchr_sse42 ifunc selection.
11732         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11733         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11735 2013-09-11  Will Newton  <will.newton@linaro.org>
11737         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11738         parameter to RES. Remove hardcoded 1000 value.
11739         * benchtests/bench-skeleton.c (main): Pass RES parameter
11740         to TIMING_INIT and multiply result by 1000.
11742 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11746 2013-09-11  Andreas Schwab  <schwab@suse.de>
11748         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11749         if not defined.
11750         (O_TMPFILE) [__USE_GNU]: Define.
11751         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11752         Define.
11754 2013-09-11  Will Newton  <will.newton@linaro.org>
11756         [BZ #15857]
11757         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11758         does not overflow.
11760 2013-09-11  Will Newton  <will.newton@linaro.org>
11762         [BZ #15856]
11763         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11764         does not overflow.
11766 2013-09-11  Will Newton  <will.newton@linaro.org>
11768         [BZ #15855]
11769         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11770         does not overflow.
11772 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11774         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11775         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11776         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11777         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11778         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11780 2013-09-10  Allan McRae  <allan@archlinux.org>
11782         [BZ #15748]
11783         * manual/arith.texi (Parsing of Floats): Clarify
11784         cross-reference.
11786         [BZ #15849]
11787         * manual/install.texi (Running make install): Mention
11788         --enable-pt-chown.
11789         * INSTALL: Regenerated.
11791 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11793         * csu/init-first.c (_init): Remove the !SHARED condition around
11794         FPU control word initialization.
11795         * elf/dl-support.c (_dl_fpu_control): New variable.
11796         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11797         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11798         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11799         * math/test-fpucw-static.c: New file.
11800         * math/test-fpucw-ieee.c: New file.
11801         * math/test-fpucw-ieee-static.c: New file.
11802         * math/Makefile (tests): Add `test-fpucw-ieee' and
11803         `$(tests-static)'.
11804         (tests-static): New variable.
11805         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11806         dependency to...
11807         [($(build-shared),yes)]
11808         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11809         ... this.
11810         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11811         New dependency.
11813 2013-09-09  Allan McRae  <allan@archlinux.org>
11815         [BZ #15939]
11816         * manual/string.texi (Collation Functions): Fix typo in
11817         strcoll example.
11818         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11820         [BZ #15893]
11821         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11823         [BZ #15892]
11824         * libio/memstream.c (open_memstream): Fix memory leak.
11825         * libio/wmemstream.c (open_wmemstream): Likewise.
11827         [BZ #15895]
11828         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11830 2013-09-09  Will Newton  <will.newton@linaro.org>
11832         * malloc/Makefile: Add tst-realloc to tests.
11833         * malloc/tst-realloc.c: New file.
11835 2013-09-09  Allan McRae  <allan@archlinux.org>
11837         [BZ #15844]
11838         * COPYING: Update from GNU website to fix FSF address.
11839         * COPYING.LIB: Likewise.
11841 2013-09-06  David S. Miller  <davem@davemloft.net>
11843         * po/zh_TW.po: Update Chinese (traditional) translation from
11844         translation project.
11846 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11847             Joseph Myers  <joseph@codesourcery.com>
11849         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11850         "localeinfo.h".
11851         (obstack_chunk_alloc): New macro.
11852         (obstack_chunk_free): Likewise.
11853         (record_offset): New function.
11854         (init_locale_data): Likewise.
11855         (align_locale_data): Likewise.
11856         (add_locale_empty): Likewise.
11857         (add_locale_raw_data): Likewise.
11858         (add_locale_raw_obstack): Likewise.
11859         (add_locale_string): Likewise.
11860         (add_locale_wstring): Likewise.
11861         (add_locale_uint32): Likewise.
11862         (add_locale_uint32_array): Likewise.
11863         (add_locale_char): Likewise.
11864         (start_locale_structure): Likewise.
11865         (end_locale_structure): Likewise.
11866         (start_locale_prelude): Likewise.
11867         (end_locale_prelude): Likewise.
11868         (write_locale_data): Take locale_file structure rather than an
11869         iovec.
11870         * locale/programs/locfile.h: Include "obstack.h".
11871         (struct locale_file): Change to store locale file contents instead
11872         of header.
11873         (init_locale_data): New prototype.
11874         (align_locale_data): Likewise.
11875         (add_locale_empty): Likewise.
11876         (add_locale_raw_data): Likewise.
11877         (add_locale_raw_obstack): Likewise.
11878         (add_locale_string): Likewise.
11879         (add_locale_wstring): Likewise.
11880         (add_locale_uint32): Likewise.
11881         (add_locale_uint32_array): Likewise.
11882         (add_locale_char): Likewise.
11883         (start_locale_structure): Likewise.
11884         (end_locale_structure): Likewise.
11885         (start_locale_prelude): Likewise.
11886         (end_locale_prelude): Likewise.
11887         (write_locale_data): Update prototype.
11888         * locale/programs/3level.h (struct TABLE): Remove result field.
11889         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11890         Use new locale_file interface.
11891         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11892         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11893         * locale/programs/ld-address.c (address_output): Use new
11894         locale_file interface.
11895         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11896         NO_ADD_LOCALE.
11897         (collate_finish): Don't call collseq_table_finalize.
11898         (collate_output): Use new locale_file interface.
11899         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11900         in file.
11901         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11902         (TABLE): Move defines earlier in file.
11903         (ELEMENT): Likewise.
11904         (DEFAULT): Likewise.
11905         (wctrans_table_add): Move macro and inline function earlier in
11906         file.
11907         (struct wctype_table): Move type earlier in file.
11908         (add_locale_wctype_table): New static prototype.
11909         (struct locale_ctype_t): Use logical types instead of struct iovec
11910         pointers for members.
11911         (ctype_output): Use new locale_file interface.
11912         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11913         new locale_file interface.
11914         (allocate_arrays): Update for use of new locale_file interface.
11915         * locale/programs/ld-identification.c (identification_output): Use
11916         new locale_file interface.
11917         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11918         * locale/programs/ld-messages.c (messages_output): Likewise.
11919         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11920         * locale/programs/ld-name.c (name_output): Likewise.
11921         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11922         * locale/programs/ld-paper.c (paper_output): Likewise.
11923         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11924         * locale/programs/ld-time.c (time_output): Likewise.
11926 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11928         * benchtests/Makefile: Add memrchr benchmark.
11929         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11930         benchmark as memrchr.
11931         * benchtests/bench-memrchr-ifunc.c: New file.
11932         * benchtests/bench-memrchr.c: New file.
11934 2013-09-06   Will Newton  <will.newton@linaro.org>
11936         * benchtests/Makefile (string-bench): Add memcpy.
11938 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11939             Cong Wang  <amwang@redhat.com>
11941         [BZ #15850]
11942         * sysdeps/unix/sysv/linux/bits/in.h
11943         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11944         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11945         before __USE_KERNEL_IPV6_DEFS uses.
11946         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11947         IPPROTO_BEETPH.
11948         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11949         sockaddr_in6, or ipv6_mreq.
11951 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11953         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11954         memory access for final bytes in some large inputs.
11955         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11957 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11959         * string/test-memrchr.c: New file.
11960         * string/test-memrchr-ifunc.c: New file.
11961         * string/Makefile: Add new memrchr testcase.
11963 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11965         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11966         fanotify_init returns EPERM.
11968 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11970         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11971         errors.
11972         (top level): Treat second token from macro or constant entries for
11973         allowed headers as allowed.
11974         * include/complex.h: Condition internal declarations on
11975         [!_ISOMAC].
11976         * include/fenv.h: Condition include of <stdbool.h> and internal
11977         declarations on [!_ISOMAC].
11979 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11981         [BZ #15923]
11982         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11984 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11986         * configure.in (--enable-versioning): Remove configure option.
11987         (libc_cv_asm_symver_directive): Remove configure test.
11988         (libc_cv_ld_version_script_option): Likewise.
11989         (VERSIONING): Remove variable and AC_SUBST.
11990         (DO_VERSIONING): Remove AC_DEFINE.
11991         * configure: Regenerated.
11992         * config.h.in (DO_VERSIONING): Remove macro.
11993         * Makerules [$(versioning) = yes]: Change conditionals to
11994         [$(build-shared) = yes].
11995         * config.make.in (versioning): Remove variable.
11996         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11997         [$(build-shared) = yes].
11998         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11999         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12000         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12001         [$(build-shared) = yes].
12002         * extra-lib.mk [$(versioning) = yes]: Likewise.
12003         * hurd/Makefile [$(versioning) = yes]: Likewise.
12004         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12005         [SHARED].
12006         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12007         [SHARED].
12008         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12009         [SHARED && !NO_HIDDEN].
12010         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12011         [SHARED].
12012         [SHARED && DO_VERSIONING]: Likewise..
12013         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12014         [$(build-shared) = yes].
12015         * manual/install.texi (--disable-versioning): Remove
12016         documentation.
12017         * INSTALL: Regenerated.
12018         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12019         to [SHARED].
12020         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12021         [$(build-shared) = yes].
12022         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12023         * sysdeps/i386/i686/multiarch/strstr-c.c
12024         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12025         [SHARED && !NO_HIDDEN].
12026         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12027         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12028         * sysdeps/powerpc/powerpc32/dl-machine.c
12029         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12030         * sysdeps/powerpc/powerpc32/sysdep.h
12031         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12032         to [SHARED && PIC && !NO_HIDDEN].
12033         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12034         conditional to [SHARED].
12036 2013-09-04   Will Newton  <will.newton@linaro.org>
12038         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12039         * benchtests/bench-string.h: Include bench-timing.h instead
12040         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12041         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12042         call to HP_TIMING_DIFF_INIT.
12043         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12044         instead of hp-timing.h macros.
12045         * benchtests/bench-memchr.c: Likewise.
12046         * benchtests/bench-memcmp.c: Likewise.
12047         * benchtests/bench-memcpy.c: Likewise.
12048         * benchtests/bench-memmem.c: Likewise.
12049         * benchtests/bench-memmove.c: Likewise.
12050         * benchtests/bench-memset.c: Likewise.
12051         * benchtests/bench-rawmemchr.c: Likewise.
12052         * benchtests/bench-strcasecmp.c: Likewise.
12053         * benchtests/bench-strcasestr.c: Likewise.
12054         * benchtests/bench-strcat.c: Likewise.
12055         * benchtests/bench-strchr.c: Likewise.
12056         * benchtests/bench-strcmp.c: Likewise.
12057         * benchtests/bench-strcpy.c: Likewise.
12058         * benchtests/bench-strcpy_chk.c: Likewise.
12059         * benchtests/bench-strlen.c: Likewise.
12060         * benchtests/bench-strncasecmp.c: Likewise.
12061         * benchtests/bench-strncat.c: Likewise.
12062         * benchtests/bench-strncmp.c: Likewise.
12063         * benchtests/bench-strncpy.c: Likewise.
12064         * benchtests/bench-strnlen.c: Likewise.
12065         * benchtests/bench-strpbrk.c: Likewise.
12066         * benchtests/bench-strrchr.c: Likewise.
12067         * benchtests/bench-strspn.c: Likewise.
12068         * benchtests/bench-strstr.c: Likewise.
12070 2013-09-04  Will Newton  <will.newton@linaro.org>
12072         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12074 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12076         [BZ #15427]
12077         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12078         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12079         * math/libm-test.inc (lgamma_test_data): Add more tests.
12080         * sysdeps/i386/fpu/libm-test-ulps: Update.
12081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12083 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12085         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12086         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12087         Add ifunc.
12088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12089         Add strcmp-sse2-unaligned
12090         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12092 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12094         * Versions.def (libc): Add GLIBC_2.19.
12096 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12098         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12099         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12101 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12103         [BZ #14155]
12104         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12105         intermediate calculations in recurrence.
12106         (__ieee754_ynf): Likewise.
12107         * math/libm-test.inc (jn_test_data): Do not allow spurious
12108         underflow exception.  Add more tests.
12109         (yn_test_data): Add more tests.
12110         * sysdeps/i386/fpu/libm-test-ulps: Update.
12111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12113 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12115         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12117 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12119         * csu/init-first.c: Fix then/than typos.
12120         * locale/programs/ld-collate.c: Likewise.
12121         * locale/programs/linereader.h: Likewise.
12122         * manual/charset.texi: Likewise.
12123         * manual/filesys.texi: Likewise.
12124         * manual/stdio.texi: Likewise.
12125         * manual/string.texi: Likewise.
12126         * stdlib/fmtmsg.c: Likewise.
12127         * sysdeps/i386/stpncpy.S: Likewise.
12128         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12129         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12130         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12131         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12133 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12135         * elf/dl-open.c: Fix typos.
12136         * iconvdata/gbbig5.c: Likewise.
12137         * iconvdata/iso-2022-jp.c: Likewise.
12138         * iconv/gconv_int.h: Likewise.
12139         * iconv/loop.c: Likewise.
12140         * nis/rpcsvc/nis.h: Likewise.
12141         * resolv/ns_name.c: Likewise.
12142         * stdio-common/vfscanf.c: Likewise.
12143         * streams/stropts.h: Likewise.
12144         * sunrpc/rpc_thread.c: Likewise.
12145         * sysdeps/i386/strpbrk.S: Likewise.
12146         * sysdeps/ieee754/k_standard.c: Likewise.
12147         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12148         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12149         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12150         * sysdeps/mach/hurd/profil.c: Likewise.
12151         * sysdeps/s390/dl-procinfo.h: Likewise.
12152         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12153         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12154         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12155         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12156         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12158 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12160         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12161         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12163 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12165         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12166         aix specific files.
12167         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12168         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12169         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12170         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12171         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12172         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12173         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12176 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12177             Roland McGrath  <roland@hack.frob.com>
12179         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12180         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12182 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12184         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12185         __executable_start symbol instead of _start.
12187 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12189         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12190         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12191         Move macros to...
12192         * sysdeps/gnu/ldsodefs.h: ... this new file.
12194         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12195         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12196         instead of ELFOSABI_LINUX.
12198         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12199         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12200         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12201         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12202         Likewise.
12203         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12204         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12205         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12206         Likewise.
12207         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12208         (ibm_extended_long_double): Add ieee_nan member.
12209         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12210         (do_test): New function.
12212         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12213         TEST_TRUNC.
12214         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12215         functions, renamed from truncdfsf_test, trunctfsf_test,
12216         trunctfdf_test.
12217         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12218         functions.
12219         (do_test): Run all these.
12221 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12223         * argp/argp-help.c: Fix typos.
12224         * argp/argp-parse.c: Likewise.
12225         * debug/backtracesyms.c: Likewise.
12226         * elf/elf.h: Likewise.
12227         * malloc/malloc.c: Likewise.
12228         * nis/nis_print.c: Likewise.
12229         * resolv/res_comp.c: Likewise.
12230         * stdlib/stdlib.h: Likewise.
12231         * sunrpc/clnt_tcp.c: Likewise.
12232         * sunrpc/clnt_udp.c: Likewise.
12233         * sunrpc/clnt_unix.c: Likewise.
12234         * sysdeps/unix/bsd/ptsname.c: Likewise.
12235         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12236         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12238         Likewise.
12239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12240         Likewise.
12241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12242         Likewise.
12243         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12245 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12247         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12248         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12250 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12252         [BZ #15897]
12253         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12254         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12255         ($(objpfx)bug-dl-leaf): New rule.
12256         ($(objpfx)bug-dl-leaf.so): Likewise.
12257         ($(objpfx)bug-dl-leaf.out): Likewise.
12258         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12259         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12260         * dlfcn/bug-dl-leaf.c: New test.
12261         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12262         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12263         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12264         (dlclose): Likewise.
12265         (dlmopen): Likewise.
12267 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12269         * include/netdb.h [!_ISOMAC]:
12270         Don't include <tls.h>.
12271         (h_errno, __libc_h_errno): Move declaration and macros out of
12272         [_LIBC_REENTRANT].
12274         * include/resolv.h [_RESOLV_H_]:
12275         Don't include <tls.h>.
12276         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12277         * resolv/res_libc.c: Don't include <tls.h>.
12278         (_res): Use __attribute__ ((nocommon)) in place of
12279         __attribute__ ((section (".bss"))).
12281         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12282         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12284         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12286         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12287         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12289         * resolv/res_mkquery.c: Include <sys/time.h>.
12291         * inet/ifreq.c: Moved to ...
12292         * sysdeps/unix/ifreq.c: ... here.
12293         * inet/ifreq.c: New file, true stub version.
12295         * socket/sa_len.c: New file.
12296         * socket/Makefile (aux): Add it.
12297         * sysdeps/unix/sysv/linux/Makefile
12298         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12299         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12300         and #include <socket/sa_len.c>.
12301         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12302         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12304         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12305         * bits/socket.h: ... here.
12307         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12308         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12309         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12311 2013-08-27  Andreas Schwab  <schwab@suse.de>
12313         [BZ #15736]
12314         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12315         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12316         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12317         * string/test-strcasecmp.c (test_main): Run tests in several
12318         locales.
12319         * string/test-strncasecmp.c (test_main): Likewise.
12321         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12322         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12323         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12324         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12325         (__strncasecmp_ssse3) [PIC]: Likewise.
12327 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12329         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12331         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12332         instead of explicitly declaring xdecrypt.
12333         * nis/nss_nis/nis-publickey.c: Likewise.
12335 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12337         [BZ #15890]
12338         * nscd/aicache.c: Include res_hconf.h.
12339         (addhstaiX): Initialize res_hconf.
12341 2013-08-26  Andreas Schwab  <schwab@suse.de>
12343         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12344         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12346 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12348         * nscd/aicache.c (addhstaiX): Fix indentation.
12350 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12352         * configure.ac: Quote $build_pt_chown test.
12353         * configure: Regenerated.
12355 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12357         [BZ #15532]
12358         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12359         * math/s_cexpf.c (__cexpf): Likewise.
12360         * math/s_cexpl.c (__cexpl): Likewise.
12361         * math/libm-test.inc (cexp_test_data): Correct expected return
12362         value for NaN + i0.  Add another test.
12364 2013-08-22  David S. Miller  <davem@davemloft.net>
12366         * po/ca.po: Update Catalan translation from translation project.
12367         * po/uk.po: Add Ukrainian translations from translation project.
12369 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12371         [BZ #15797]
12372         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12373         is infinite, not alongside NaN test.
12374         * math/s_fdimf.c (__fdimf): Likewise.
12375         * math/s_fdiml.c (__fdiml): Likewise.
12376         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12377         errno is unchanged.
12379 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12381         * argp/argp-help.c: Fix typos.
12382         * crypt/speeds.c: Likewise.
12383         * csu/check_fds.c: Likewise.
12384         * elf/dl-load.c: Likewise.
12385         * elf/dl-open.c: Likewise.
12386         * elf/reldep3.c: Likewise.
12387         * elf/reldep.c: Likewise.
12388         * elf/sprof.c: Likewise.
12389         * iconv/iconv_charmap.c: Likewise.
12390         * iconv/skeleton.c: Likewise.
12391         * iconv/strtab.c: Likewise.
12392         * io/lockf64.c: Likewise.
12393         * libio/libioP.h: Likewise.
12394         * resolv/gai_notify.c: Likewise.
12395         * resolv/ns_name.c: Likewise.
12396         * resolv/ns_samedomain.c: Likewise.
12397         * resolv/res_send.c: Likewise.
12398         * stdlib/random.c: Likewise.
12399         * sunrpc/rpc/xdr.h: Likewise.
12400         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12401         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12402         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12403         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12404         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12405         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12406         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12407         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12408         * sysdeps/mach/hurd/check_fds.c: Likewise.
12409         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12410         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12411         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12412         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12413         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12414         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12415         * sysdeps/pthread/aio_notify.c: Likewise.
12416         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12417         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12418         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12419         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12420         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12422 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12424         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12425         version if bit_Slow_SSE4_2 is set.
12426         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12427         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12429 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12431         [BZ #15867]
12432         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12433         trampoline stack frame information.
12434         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12435         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12436         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12437         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12438         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12439         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12440         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12441         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12442         sa_flags value.
12443         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12444         interrupting a syscall and set with option SA_SIGINFO.
12446 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12448         [BZ #15531]
12449         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12450         argument is infinite.
12451         * math/s_cprojf.c (__cprojf): Likewise.
12452         * math/s_cprojl.c (__cprojl): Likewise.
12453         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12454         * math/libm-test.inc (cproj_test_data): Add more tests.
12456         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12458         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12459         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12460         size.  Use __ffs to determine corresponding shift.
12462 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12463             Roland McGrath  <roland@hack.frob.com>
12465         * Makefile (INSTALL): Remove trailing blank lines from output of
12466         makeinfo.
12468 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12470         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12471         Align 32 bit compat elf_greg to 8 bytes.
12473 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12475         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12477 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12479         * string/strcoll_l.c (coll_seq): New structure.
12480         (get_next_seq_cached): New function.
12481         (get_next_seq): New function.
12482         (do_compare): New function.
12483         (STRCOLL): Use GNU style definition.  Simplify implementation
12484         by using get_next_seq, get_next_seq_cached and do_compare.
12486 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12488         [BZ #14699]
12489         CVE-2013-4237
12490         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12491         member.
12492         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12493         member.
12494         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12495         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12496         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12497         conditional.
12498         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12499         GETDENTS_64BIT_ALIGNED.
12500         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12501         * manual/filesys.texi (Reading/Closing Directory): Document
12502         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12503         strongly.
12504         * manual/conf.texi (Limits for Files): Add portability note to
12505         NAME_MAX, PATH_MAX.
12506         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12508 2013-08-13  Andreas Schwab  <schwab@suse.de>
12510         [BZ #15749]
12511         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12512         of fabs.
12513         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12514         LDBL_MAX_EXP >= 16384]: Add tests for it.
12516 2013-08-12  David S. Miller  <davem@davemloft.net>
12518         * version.h (RELEASE): Set to "development".
12519         (VERSION): Set to "2.18.90".
12520         * NEWS: Add 2.19 section.
12522 2013-08-03  David S. Miller  <davem@davemloft.net>
12524         * po/ko.po: Update Korean translation from translation project.
12526 2013-08-01  David S. Miller  <davem@davemloft.net>
12528         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12529         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12530         Bilka.
12532 2013-07-30  David S. Miller  <davem@davemloft.net>
12534         * po/fr.po: Update French translation from translation project.
12536 2013-07-28  David S. Miller  <davem@davemloft.net>
12538         * po/cs.po: Update Czech translation from translation project.
12540         * po/sv.po: Update Swedish translation from translation project.
12542 2013-07-27  David S. Miller  <davem@davemloft.net>
12544         * po/eo.po: Update Esperanto translation from translation project.
12546         * po/vi.po: Update Vietnamese translation from translation project.
12548         * po/de.po: Update German translation from translation project.
12550 2013-07-26  David S. Miller  <davem@davemloft.net>
12552         * po/bg.po: Update Bulgarian translation from translation project.
12554         * po/nl.po: Update Dutch translation from translation project.
12555         * po/pl.po: Update Polish translation from translation project.
12556         * po/ru.po: Update Russian translation from translation project.
12558 2013-07-24  David S. Miller  <davem@davemloft.net>
12560         * po/libc.pot: Update.
12562 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12564         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12565         variable page size.
12566         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12567         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12568         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12570 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12572         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12574 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12575             Andreas Schwab  <schwab@suse.de>
12576             Roland McGrath  <roland@hack.frob.com>
12577             Joseph Myers  <joseph@codesourcery.com>
12578             Carlos O'Donell  <carlos@redhat.com>
12580         [BZ #15755]
12581         * config.h.in: Define HAVE_PT_CHOWN.
12582         * config.make.in (build-pt-chown): New variable.
12583         * configure.in (--enable-pt_chown): New configure option.
12584         * configure: Regenerate.
12585         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12586         build-pt-chown is enabled.
12587         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12588         pt_chown to fix pty ownership.
12589         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12590         CLOSE_ALL_FDS.
12591         * manual/install.texi (Configuring and compiling): Mention
12592         --enable-pt_chown. Add @findex for grantpt.
12593         * INSTALL: Regenerate.
12595 2013-07-20  David S. Miller  <davem@davemloft.net>
12597         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12598         difference between 32-bit and 64-bit.
12600 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12602         [BZ #15711]
12603         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12604         Avoid system header dependency with -ffreestanding.
12605         ($(objpfx)bits/syscall%d): Likewise.
12607 2013-07-13  David S. Miller  <davem@davemloft.net>
12609         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12610         underflows from atanl/atan2l due to bug 15319.
12611         (casinh_test_data): Likewise.
12613 2013-07-07  David S. Miller  <davem@davemloft.net>
12615         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12617 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12619         * sysdeps/i386/fpu/libm-test-ulps: Update.
12620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12622 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12624         * configure.in (--enable-lock-elision): Fix message text.
12625         * INSTALL: Regenerate.
12626         * configure: Regenerate.
12628 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12632 2013-07-03  Andreas Jaeger  <aj@suse.de>
12634         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12635         define.
12636         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12637         (ptrace_peeksiginfo_args): Add.
12638         (__ptrace_peeksiginfo_flags): Add.
12639         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12640         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12641         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12643 2013-07-03  Allan McRae  <allan@archlinux.org>
12645         * sysdeps/i386/fpu/libm-test-ulps: Update.
12647 2013-07-02  David S. Miller  <davem@davemloft.net>
12649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12651 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12653         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12655 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12657         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12660 2013-07-02  Andi Kleen <ak@linux.intel.com>
12662         * config.h.in (ENABLE_LOCK_ELISION): Add.
12663         * configure.in (--enable-lock-elision): Add option.
12664         * manual/install.texi: Document --enable lock elision.
12665         * configure: Regenerate
12666         * INSTALL: Regenerate.
12668 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12670         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12671         SSE4.2 strcasecmp for libc.a.
12672         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12674 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12676         [BZ #13304]
12677         * soft-fp/op-common.h (_FP_FMA): New macro.
12678         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12679         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12680         (_FP_MUL_MEAT_1_imm): ... here.
12681         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12682         (_FP_MUL_MEAT_1_wide): ... here.
12683         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12684         (_FP_MUL_MEAT_1_hard): ... here.
12685         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12686         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12687         (_FP_MUL_MEAT_2_wide): ... here.
12688         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12689         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12690         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12691         (_FP_MUL_MEAT_2_gmp): ... here.
12692         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12693         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12694         (_FP_MUL_MEAT_4_wide): ... here.
12695         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12696         (_FP_MUL_MEAT_4_gmp): ... here.
12697         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12698         (_FP_WFRACBITS_DW_S): Likewise.
12699         (_FP_WFRACXBITS_DW_S): Likewise.
12700         (_FP_HIGHBIT_DW_S): Likewise.
12701         (FP_FMA_S): Likewise.
12702         (_FP_FRAC_HIGH_DW_S): Likewise.
12703         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12704         (_FP_WFRACBITS_DW_D): Likewise.
12705         (_FP_WFRACXBITS_DW_D): Likewise.
12706         (_FP_HIGHBIT_DW_D): Likewise.
12707         (FP_FMA_D): Likewise.
12708         (_FP_FRAC_HIGH_DW_D): Likewise.
12709         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12710         (_FP_WFRACBITS_DW_E): Likewise.
12711         (_FP_WFRACXBITS_DW_E): Likewise.
12712         (_FP_HIGHBIT_DW_E): Likewise.
12713         (FP_FMA_E): Likewise.
12714         (_FP_FRAC_HIGH_DW_E): Likewise.
12715         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12716         (_FP_WFRACBITS_DW_Q): Likewise.
12717         (_FP_WFRACXBITS_DW_Q): Likewise.
12718         (_FP_HIGHBIT_DW_Q): Likewise.
12719         (FP_FMA_Q): Likewise.
12720         (_FP_FRAC_HIGH_DW_Q): Likewise.
12721         * soft-fp/fmasf4.c: New file.
12722         * soft-fp/fmadf4.c: Likewise.
12723         * soft-fp/fmatf4.c: Likewise.
12725 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12728         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12729         Silvermont.
12730         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12731         macro.
12732         (index_Slow_SSE4_2): Likewise.
12733         (index_Prefer_PMINUB_for_stringop): Likewise.
12734         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12735         bit_Slow_SSE4_2 is set.
12736         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12737         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12739 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12741         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12742         rtld_global._dl_hwcap2.
12743         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12744         POWER8.
12745         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12746         POWER8 feature descriptions defined in _dl_hwcap2.
12747         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12748         string handling for POWER8 feature bits.
12749         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12750         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12751         _dl_powerpc_cap_flags.
12752         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12753         * sysdeps/powerpc/rtld-global-offsets.sym
12754         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12755         _dl_hwcap2 in the rtld_global_ro structure.
12757 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12759         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12760         hardware capabilities in support of AT_HWCAP2.
12761         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12762         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12763         GLRO(dl_hwcap2).
12764         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12765         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12766         explicitly the unknown a_type display mechanism is used.
12767         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12768         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12769         struct member.
12770         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12771         to macro prototype for AT_HWCAP2 support.
12772         * sysdeps/i386/dl-procinfo.h: Likewise.
12773         * sysdeps/s390/dl-procinfo.h: Likewise.
12774         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12775         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12776         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12777         return -1 for unknown a_type display fallback.
12778         * sysdeps/sparc/dl-procinfo.h: Likewise.
12779         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12780         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12782 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12784         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12785         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12787 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12789         [BZ #12492]
12790         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12791         mprotect making __stack_prot writable.
12793 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12794             Joseph Myers  <joseph@codesourcery.com>
12796         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12797         as being properly aligned.
12799 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12801         * dlfcn/modstatic5.c: New file.
12802         * dlfcn/tststatic5.c: New file.
12803         * dlfcn/Makefile (tests): Add tststatic5.
12804         (tests-static): Likewise.
12805         (modules-names): Add modstatic5.
12806         (tststatic5-ENV): New variable.
12807         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12809         [BZ #15022]
12810         * elf/dl-support.c (_dl_main_map): New variable.
12811         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12812         (_dl_nns, _dl_load_adds): Set to 1.
12813         (_dl_initial_searchlist): Refer to _dl_main_map.
12814         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12815         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12816         call to _dl_get_origin.
12817         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12818         around call_map.
12819         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12820         * dlfcn/modstatic3.c: New file.
12821         * dlfcn/tststatic3.c: New file.
12822         * dlfcn/tststatic4.c: New file.
12823         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12824         (tests-static): Likewise.
12825         (modules-names): Add modstatic3.
12826         (tststatic3-ENV, tststatic4-ENV): New variables.
12827         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12828         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12830 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12832         * configure.in (CC): Require GCC version 4.4 or later.
12833         * configure: Regenerated.
12834         * manual/install.texi (Tools for Compilation): Update GCC version
12835         requirement.
12836         * INSTALL: Regenerated.
12838 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12840         [BZ #15674]
12841         * string/test-memcmp.c (check2): New.
12842         (main): Call check2.
12844         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12846 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12848         [BZ #15022]
12849         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12850         over to...
12851         (dl_open_worker) [!SHARED]: ... here.
12853 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12855         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12857 2013-06-25  Richard Henderson  <rth@redhat.com>
12859         * locale/programs/locarchive.c: Include <libc-internal.h>
12861 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12863         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12864         trailing whitespace removed.
12866 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12868         [BZ #10283]
12869         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12870         * locale/programs/locarchive.c: Include libc-mmap.h.
12871         (prepare_address_space): Take two new outputs (the mmap base and len).
12872         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12873         values.
12874         (create_archive): Declare new mmap base and len values for
12875         prepare_address_space, and store the result in ah.
12876         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12877         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12878         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12879         Declare new mmap base and len values for
12880         prepare_address_space, and store the result in new_ah.
12881         (open_archive): Declare new mmap base and len values for
12882         prepare_address_space, and store the result in ah.
12883         (close_archive): If ah->mmap_base is not NULL, use that and
12884         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12885         * sysdeps/generic/libc-mmap.h: New file.
12887 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12889         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12890         (ALIGN_UP): Likewise.
12891         (PTR_ALIGN_DOWN): Likewise.
12892         (PTR_ALIGN_UP): Likewise.
12894 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12896         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12897         entry mapped to PPC_PLATFORM_POWER8.
12898         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12899         POWER8.
12900         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12901         (_dl_string_platform): Add case for exporting platform position for
12902         POWER8.
12903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12904         search path to sysdeps/powerpc/powerpc32/power8 directory.
12905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12906         search path to sysdeps/powerpc/powerpc64/power8 directory.
12907         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12908         power7 directories.
12909         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12910         power7 directories.
12912 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12914         * INSTALL: Regenerate.
12916         * nscd/connections.c (nscd_init): Fix comment.
12918 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12920         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12922         [BZ #15667]
12923         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12924         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12926 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12928         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12929         DL_DST_REQ_STATIC.
12930         (DL_DST_REQ_STATIC): Remove macro.
12932 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12934         [BZ #7006]
12935         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12936         with a shift of 0 bits.
12938 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12940         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12941         $(tststatic-ENV).
12943 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12945         [BZ #15655]
12946         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12948 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12950         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12951         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12952         accepts -fno-tree-loop-distribute-patterns.
12953         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12954         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12955         recursive call.
12956         * string/memset.c (memset): Likewise.
12957         * string/test-memmove.c (simple_memmove): Disable loop transformation
12958         to library calls.
12959         * string/test-memset.c (simple_memset): Likewise.
12960         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12961         * benchtests/bench-memset.c (simple_memset): Likewise.
12962         * configure: Regenerated.
12964 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12966         * math/test-misc.c (main): Ignore fesetround failure when failures
12967         of subsequent rounding tests would be ignored.
12969         [BZ #15654]
12970         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12971         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12972         * math/fegetenv.c (__fegetenv): Return 0.
12973         * math/fegetexcept.c (fegetexcept): Return 0.
12974         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12975         FE_TONEAREST.
12976         * math/feholdexcpt.c (feholdexcept): Return 0.
12977         * math/fesetenv.c (__fesetenv): Return 0.
12978         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12979         argument FE_TONEAREST.
12980         * math/feupdateenv.c (__feupdateenv): Return 0.
12981         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12983 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12985         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12986         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12987         ($(objpfx)rtld-%.os rules): Use them.
12989 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12991         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12992         fields.
12994 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12996         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12997         length of target pattern, then descending length of dependency pattern.
12998         * configure.in (AWK): Require gawk 3.1.2 or newer.
12999         * manual/install.texi (Tools for Compilation): Say that we do.
13000         * configure: Regenerated.
13002         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13003         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13004         * scripts/sysd-rules.awk: ... this new script.
13005         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13006         than a glob-style pattern.
13008 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13010         * math/test-misc.c (main): Do not treat incorrectly rounded
13011         conversions as failure unless ROUNDING_TESTS passes.
13013 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13015         [BZ #15631]
13016         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13017         restore exception state around main square root computation, then
13018         check for inexactness explicitly.
13020         * math/libm-test.inc (fma_test_data): Add another test.
13022 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13024         * manual/threads.texi (Non-POSIX Extensions): New document
13025         node.  Document pthread_getattr_default_np and
13026         pthread_setattr_default_np.
13028         * Versions.def (libpthread): Add GLIBC_2.18.
13029         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13031         Likewise.
13032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13033         Likewise.
13034         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13035         Likewise.
13036         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13037         Likewise.
13038         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13039         Likewise.
13040         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13041         Likewise.
13042         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13043         Likewise.
13044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13045         Likewise.
13046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13047         Likewise.
13049 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13052         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13054 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13055             H.J. Lu  <hjl.tools@gmail.com>
13057         [BZ #15627]
13058         * sysdeps/x86_64/rtld-memset.c: Remove file.
13059         * sysdeps/x86_64/rtld-memset.S: New file.
13061 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13063         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13064         (test_in_one_mode): Take arguments for whether the rounding mode
13065         is supported for each floating-point type.
13066         (do_test): Pass new arguments to test_in_one_mode using
13067         ROUNDING_TESTS.
13069 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13071         * posix/tst-waitid.c (do_test): Distinguish different instances of
13072         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13073         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13074         before entering the kernel for waitpid.
13076 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13078         * NEWS: Fix note on clock function precision.  Text by Roland
13079         McGrath.
13081 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13083         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13084         it into place only when and if the sanity check passes.
13086 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13088         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13089         output for whether conversion result is exact.  Take argument
13090         indicating whether type is IBM long double.
13091         (round_for_all): Change need_exact field to ibm_ld.
13092         * stdlib/tst-strtod-round.c (struct exactness): New type.
13093         (struct test): Change bool ld_ok field to struct exactness exact.
13094         (TEST): Update all definitions for change to field.
13095         (tests): Regenerate array contents.
13096         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13097         field value.  Check for IBM long double here.
13098         (do_test): Update calls to test_in_one_mode.
13100 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13102         [BZ #12515]
13103         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13104         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13106 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13108         [BZ #15605]
13109         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13110         generated by the compiler on loop optimizations.
13111         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13112         general definitions.
13114 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13116         * math/bug-nextafter.c: Include <math-tests.h>.
13117         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13118         the relevant type.
13119         * math/bug-nexttoward.c: Include <math-tests.h>.
13120         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13121         the relevant type.
13122         * math/test-misc.c: Include <math-tests.h>.
13123         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13124         the relevant type.
13126 2013-06-12  Andreas Jaeger  <aj@suse.de>
13128         * po/ia.po: Update Interlingua translation from translation
13129         project.
13131 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13133         * include/fenv.h: Include stdbool.h.
13134         (struct rm_ctx): New structure.
13135         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13136         Define macro.
13137         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13138         (SET_RESTORE_ROUNDF): Likewise.
13139         (SET_RESTORE_ROUNDL): Likewise.
13140         (SET_RESTORE_ROUND_NOEX): Likewise.
13141         (SET_RESTORE_ROUND_NOEXF): Likewise.
13142         (SET_RESTORE_ROUND_NOEXL): Likewise.
13143         (SET_RESTORE_ROUND_53BIT): Likewise.
13144         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13145         (libc_feresetround_noexf_ctx): Likewise.
13146         (libc_feresetround_noexl_ctx): Likewise.
13147         (libc_feholdsetround_53bit_ctx): Likewise.
13148         (libc_feresetround_53bit_ctx): Likewise.
13149         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13150         (libc_feholdexcept_setround_sse_ctx): New function.
13151         (libc_fesetenv_sse_ctx): Likewise.
13152         (libc_feupdateenv_sse_ctx): Likewise.
13153         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13154         (libc_feholdexcept_setround_387_ctx): Likewise.
13155         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13156         (libc_feholdsetround_387_prec_ctx): Likewise.
13157         (libc_feholdsetround_387_ctx): Likewise.
13158         (libc_feholdsetround_387_53bit_ctx): Likewise.
13159         (libc_feholdsetround_sse_ctx): Likewise.
13160         (libc_feresetround_sse_ctx): Likewise.
13161         (libc_feresetround_387_ctx): Likewise.
13162         (libc_feupdateenv_387_ctx): Likewise.
13163         (libc_feholdexcept_setroundf_ctx): Define macro.
13164         (libc_fesetenvf_ctx): Likewise.
13165         (libc_feupdateenvf_ctx): Likewise.
13166         (libc_feholdsetroundf_ctx): Likewise.
13167         (libc_feresetroundf_ctx): Likewise.
13168         (libc_feholdexcept_setround_ctx): Likewise.
13169         (libc_fesetenv_ctx): Likewise.
13170         (libc_feupdateenv_ctx): Likewise.
13171         (libc_feholdsetround_ctx): Likewise.
13172         (libc_feresetround_ctx): Likewise.
13173         (libc_feholdexcept_setroundl_ctx): Likewise.
13174         (libc_feupdateenvl_ctx): Likewise.
13175         (libc_feholdsetroundl_ctx): Likewise.
13176         (libc_feresetroundl_ctx): Likewise.
13177         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13178         (libc_feresetround_53bit_ctx): Likewise.
13180 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13182         * locale/iso-639.def: Convert to UTF-8.
13184 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13186         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13187         (EXCEPTION_TESTS_double): Likewise.
13188         (EXCEPTION_TESTS_long_double): Likewise.
13189         (EXCEPTION_TESTS): Likewise.
13190         * math/libm-test.inc (test_exceptions): Only test exceptions if
13191         EXCEPTION_TESTS (FLOAT).
13193 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13195         * benchtests/Makefile (string-bench): Add strcpy_chk and
13196         stpcpy_chk.
13197         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13198         * benchtests/bench-stpcpy_chk.c: New file.
13199         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13200         * benchtests/bench-strcpy_chk.c: New file.
13201         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13202         code.
13203         (do_test): Likewise.
13205 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13207         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13208         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13209         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13210         with tabs where appropriate.
13211         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13212         dl-procinfo.h.
13213         [PPC_PLATFORM_PPC440]: Likewise.
13214         [PPC_PLATFORM_PPC464]: Likewise.
13215         [PPC_PLATFORM_PPC476]: Likewise.
13216         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13217         ppc464, and ppc476 platform strings merging from ports/
13218         dl-procinfo.h.
13220 2013-06-11  Andreas Schwab  <schwab@suse.de>
13222         [BZ #14991]
13223         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13224         (from_ucs4_idx): Regenerate.
13225         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13226         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13227         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13228         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13229         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13230         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13231         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13232         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13233         from FROM_LOOP and TO_LOOP specific macros.
13234         (BODY): Handle combining characters.
13235         * iconvdata/BIG5HKSCS.irreversible: Update.
13236         * iconvdata/BIG5HKSCS.precomposed: New file.
13237         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13238         characters.
13239         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13241 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13243         * include/sys/time.h: Fix indentation and add copyright header.
13245         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13246         (do_test): Likewise.
13247         * string/test-memchr.c (do_one_test): Likewise.
13248         (do_test): Likewise.
13249         * string/test-memcmp.c (do_one_test): Likewise.
13250         (do_test): Likewise.
13251         * string/test-memcpy.c (do_one_test): Likewise.
13252         (do_test): Likewise.
13253         * string/test-memmem.c (do_one_test): Likewise.
13254         (do_test): Likewise.
13255         (do_random_tests): Likewise.
13256         * string/test-memmove.c (do_one_test): Likewise.
13257         (do_test): Likewise.
13258         * string/test-memset.c (do_one_test): Likewise.
13259         (do_test): Likewise.
13260         * string/test-rawmemchr.c (do_one_test): Likewise.
13261         (do_test): Likewise.
13262         * string/test-strcasecmp.c (do_one_test): Likewise.
13263         (do_test): Likewise.
13264         * string/test-strcasestr.c (do_one_test): Likewise.
13265         (do_test): Likewise.
13266         * string/test-strcat.c (do_one_test): Likewise.
13267         (do_test): Likewise.
13268         * string/test-strchr.c (do_one_test): Likewise.
13269         (do_test): Likewise.
13270         * string/test-strcmp.c (do_one_test): Likewise.
13271         (do_test): Likewise.
13272         * string/test-strcpy.c (do_one_test): Likewise.
13273         (do_test): Likewise.
13274         * string/test-string.h: Likewise.
13275         (test_init): Likewise.
13276         * string/test-strlen.c (do_one_test): Likewise.
13277         (do_test): Likewise.
13278         * string/test-strncasecmp.c (do_one_test): Likewise.
13279         (do_test): Likewise.
13280         * string/test-strncat.c (do_one_test): Likewise.
13281         (do_test): Likewise.
13282         * string/test-strncmp.c (do_one_test): Likewise.
13283         (do_test_limit): Likewise.
13284         (do_test): Likewise.
13285         * string/test-strncpy.c (do_one_test): Likewise.
13286         (do_test): Likewise.
13287         * string/test-strnlen.c (do_one_test): Likewise.
13288         (do_test): Likewise.
13289         * string/test-strpbrk.c (do_one_test): Likewise.
13290         (do_test): Likewise.
13291         * string/test-strrchr.c (do_one_test): Likewise.
13292         (do_test): Likewise.
13293         * string/test-strspn.c (do_one_test): Likewise.
13294         (do_test): Likewise.
13295         * string/test-strstr.c (do_one_test): Likewise.
13296         (do_test): Likewise.
13298         * benchtests/Makefile (string-bench): Add string benchmarks.
13299         * benchtests/bench-bcopy-ifunc.c: New file.
13300         * benchtests/bench-bcopy.c: New file.
13301         * benchtests/bench-bzero-ifunc.c: New file.
13302         * benchtests/bench-bzero.c: New file.
13303         * benchtests/bench-memccpy-ifunc.c: New file.
13304         * benchtests/bench-memccpy.c: New file.
13305         * benchtests/bench-memchr-ifunc.c: New file.
13306         * benchtests/bench-memchr.c: New file.
13307         * benchtests/bench-memcmp-ifunc.c: New file.
13308         * benchtests/bench-memcmp.c: New file.
13309         * benchtests/bench-memmem-ifunc.c: New file.
13310         * benchtests/bench-memmem.c: New file.
13311         * benchtests/bench-memmove-ifunc.c: New file.
13312         * benchtests/bench-memmove.c: New file.
13313         * benchtests/bench-mempcpy-ifunc.c: New file.
13314         * benchtests/bench-mempcpy.c: New file.
13315         * benchtests/bench-memset-ifunc.c: New file.
13316         * benchtests/bench-memset.c: New file.
13317         * benchtests/bench-rawmemchr-ifunc.c: New file.
13318         * benchtests/bench-rawmemchr.c: New file.
13319         * benchtests/bench-stpcpy-ifunc.c: New file.
13320         * benchtests/bench-stpcpy.c: New file.
13321         * benchtests/bench-stpncpy-ifunc.c: New file.
13322         * benchtests/bench-stpncpy.c: New file.
13323         * benchtests/bench-strcasecmp-ifunc.c: New file.
13324         * benchtests/bench-strcasecmp.c: New file.
13325         * benchtests/bench-strcasestr-ifunc.c: New file.
13326         * benchtests/bench-strcasestr.c: New file.
13327         * benchtests/bench-strcat-ifunc.c: New file.
13328         * benchtests/bench-strcat.c: New file.
13329         * benchtests/bench-strchr-ifunc.c: New file.
13330         * benchtests/bench-strchr.c: New file.
13331         * benchtests/bench-strchrnul-ifunc.c: New file.
13332         * benchtests/bench-strchrnul.c: New file.
13333         * benchtests/bench-strcmp-ifunc.c: New file.
13334         * benchtests/bench-strcmp.c: New file.
13335         * benchtests/bench-strcpy-ifunc.c: New file.
13336         * benchtests/bench-strcpy.c: New file.
13337         * benchtests/bench-strcspn-ifunc.c: New file.
13338         * benchtests/bench-strcspn.c: New file.
13339         * benchtests/bench-strlen-ifunc.c: New file.
13340         * benchtests/bench-strlen.c: New file.
13341         * benchtests/bench-strncasecmp-ifunc.c: New file.
13342         * benchtests/bench-strncasecmp.c: New file.
13343         * benchtests/bench-strncat-ifunc.c: New file.
13344         * benchtests/bench-strncat.c: New file.
13345         * benchtests/bench-strncmp-ifunc.c: New file.
13346         * benchtests/bench-strncmp.c: New file.
13347         * benchtests/bench-strncpy-ifunc.c: New file.
13348         * benchtests/bench-strncpy.c: New file.
13349         * benchtests/bench-strnlen-ifunc.c: New file.
13350         * benchtests/bench-strnlen.c: New file.
13351         * benchtests/bench-strpbrk-ifunc.c: New file.
13352         * benchtests/bench-strpbrk.c: New file.
13353         * benchtests/bench-strrchr-ifunc.c: New file.
13354         * benchtests/bench-strrchr.c: New file.
13355         * benchtests/bench-strspn-ifunc.c: New file.
13356         * benchtests/bench-strspn.c: New file.
13357         * benchtests/bench-strstr-ifunc.c: New file.
13358         * benchtests/bench-strstr.c: New file.
13360         * benchtests/Makefile: Disable parallel execution of targets.
13361         (string-bench): Add memcpy.
13362         (benchset): New variable to store a list of benchmark sets.
13363         (bench-func): Renamed from bench.
13364         (bench-set): New target.
13365         (bench): Depend on bench-func and bench-set.
13366         * benchtests/README: Add section on benchmark sets.
13367         * benchtests/bench-memcpy-ifunc.c: New file.
13368         * benchtests/bench-memcpy.c: New file.
13369         * benchtests/bench-string.h: New file.
13371 2013-06-11  Andreas Schwab  <schwab@suse.de>
13373         [BZ #15577]
13374         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13375         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13376         values in the triple.
13377         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13378         terminator in the group key.
13380 2013-06-11  Andreas Jaeger  <aj@suse.de>
13382         * po/zh_TW.po: Update Chinese (traditional) translation from
13383         translation project.
13385 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13387         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13388         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13389         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13390         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13391         (clock_getcpuclockid): Likewise.
13392         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13393         Add weak_alias and libc_hidden_def.
13394         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13395         * rt/clock_gettime.c (clock_gettime): Rename to
13396         __clock_gettime.  Add weak_alias and libc_hidden_def.
13397         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13398         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13399         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13400         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13401         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13402         Likewise.
13403         * rt/clock_settime.c (clock_settime): Rename to
13404         __clock_settime.  Add weak_alias and libc_hidden_def.
13405         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13407 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13409         * mach/err_boot.sub: Remove trailing whitespace.
13410         * mach/err_ipc.sub: Likewise.
13411         * mach/err_mach.sub: Likewise.
13413         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13414         (ROUNDING_TESTS_double): Likewise.
13415         (ROUNDING_TESTS_long_double): Likewise.
13416         (ROUNDING_TESTS): Likewise.
13417         * math/libm-test.inc: Include <math-tests.h>.
13418         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13419         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13420         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13421         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13423 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13425         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13426         of assigning.
13428 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13430         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13431         otherwise empty TRANS lines.
13432         * sysdeps/gnu/errlist.c: Regenerated.
13434         * catgets/gencat.c (error_print): Use (void) in function
13435         definition.
13436         * crypt/crypt_util.c (__init_des): Likewise.
13437         * crypt/speeds.c (Stop): Likewise.
13438         (main): Likewise.
13439         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13440         * inet/ruserpass.c (token): Likewise.
13441         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13442         * intl/localealias.c (extend_alias_table): Likewise.
13443         * intl/plural-exp.c (init_germanic_plural): Likewise.
13444         * libio/fcloseall.c (__fcloseall): Likewise.
13445         * libio/genops.c (_IO_flush_all): Likewise.
13446         (_IO_flush_all_linebuffered): Likewise.
13447         (_IO_cleanup): Likewise.
13448         (_IO_iter_begin): Likewise.
13449         (_IO_iter_end): Likewise.
13450         (_IO_list_lock): Likewise.
13451         (_IO_list_unlock): Likewise.
13452         (_IO_list_resetlock): Likewise.
13453         * libio/getchar.c (getchar): Likewise.
13454         * libio/getchar_u.c (getchar_unlocked): Likewise.
13455         * libio/getwchar.c (getwchar): Likewise.
13456         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13457         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13458         * login/getpt.c (__getpt): Likewise.
13459         * login/tst-utmp.c (main): Likewise.
13460         * malloc/hooks.c (__malloc_check_init): Likewise.
13461         * malloc/malloc.c (__malloc_stats): Likewise.
13462         * malloc/mtrace.c (tr_break): Likewise.
13463         (mtrace): Likewise.
13464         (muntrace): Likewise.
13465         * misc/fstab.c (endfsent): Likewise.
13466         * misc/getclktck.c (__getclktck): Likewise.
13467         * misc/getdtsz.c (__getdtablesize): Likewise.
13468         * misc/gethostid.c (gethostid): Likewise.
13469         * misc/getpagesize.c (__getpagesize): Likewise.
13470         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13471         (__get_nprocs): Likewise.
13472         (__get_phys_pages): Likewise.
13473         (__get_avphys_pages): Likewise.
13474         * misc/getttyent.c (getttyent): Likewise.
13475         (setttyent): Likewise.
13476         (endttyent): Likewise.
13477         * misc/getusershell.c (getusershell): Likewise.
13478         (endusershell): Likewise.
13479         (setusershell): Likewise.
13480         (initshells): Likewise.
13481         * misc/hsearch.c (__hdestroy): Likewise.
13482         * misc/sync.c (sync): Likewise.
13483         * misc/syslog.c (closelog_internal): Likewise.
13484         (closelog): Likewise.
13485         * misc/ttyslot.c (ttyslot): Likewise.
13486         * misc/vhangup.c (vhangup): Likewise.
13487         * posix/fork.c (__fork): Likewise.
13488         * posix/getegid.c (__getegid): Likewise.
13489         * posix/geteuid.c (__geteuid): Likewise.
13490         * posix/getgid.c (__getgid): Likewise.
13491         * posix/getpid.c (__getpid): Likewise.
13492         * posix/getppid.c (__getppid): Likewise.
13493         * posix/getuid.c (__getuid): Likewise.
13494         * posix/pause.c (pause): Likewise.
13495         * posix/setpgrp.c (setpgrp): Likewise.
13496         * posix/setsid.c (__setsid): Likewise.
13497         * posix/test-vfork.c (noop): Likewise.
13498         * resolv/gethnamaddr.c (_endhtent): Likewise.
13499         (_gethtent): Likewise.
13500         (ht_endhostent): Likewise.
13501         (gethostent): Likewise.
13502         (dns_service): Likewise.
13503         * stdlib/drand48.c (drand48): Likewise.
13504         * stdlib/lrand48.c (lrand48): Likewise.
13505         * stdlib/mrand48.c (mrand48): Likewise.
13506         * stdlib/rand.c (rand): Likewise.
13507         * stdlib/random.c (__random): Likewise.
13508         * stdlib/setenv.c (clearenv): Likewise.
13509         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13510         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13511         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13512         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13513         (__get_nprocs): Likewise.
13514         (__get_phys_pages): Likewise.
13515         (__get_avphys_pages): Likewise.
13516         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13517         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13518         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13519         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13520         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13521         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13522         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13523         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13524         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13525         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13526         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13527         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13528         * sysdeps/posix/clock.c (clock): Likewise.
13529         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13530         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13531         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13532         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13533         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13534         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13535         (__get_nprocs_conf): Likewise.
13536         (__get_phys_pages): Likewise.
13537         (__get_avphys_pages): Likewise.
13538         * time/clock.c (clock): Likewise.
13539         * time/tzset.c (__tzname_max): Likewise.
13541 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13543         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13544         (__bswap_32): Do not use "register".
13545         * crypt/crypt.c (_ufc_doit_r): Likewise.
13546         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13547         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13548         * gmon/gmon.c (__monstartup): Likewise.
13549         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13550         * hurd/hurdmalloc.c (more_memory): Likewise.
13551         (malloc): Likewise.
13552         (free): Likewise.
13553         (realloc): Likewise.
13554         (malloc_fork_prepare): Likewise.
13555         (malloc_fork_parent): Likewise.
13556         (malloc_fork_child): Likewise.
13557         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13558         (_svcauth_des): Likewise.
13559         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13560         * inet/inet_net.c (inet_network): Likewise.
13561         * inet/inet_netof.c (inet_netof): Likewise.
13562         * inet/rcmd.c (__validuser2_sa): Likewise.
13563         * io/fts.c (fts_open): Likewise.
13564         (fts_load): Likewise.
13565         (fts_close): Likewise.
13566         (fts_read): Likewise.
13567         (fts_children): Likewise.
13568         (fts_build): Likewise.
13569         (fts_stat): Likewise.
13570         (fts_sort): Likewise.
13571         (fts_alloc): Likewise.
13572         (fts_lfree): Likewise.
13573         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13574         (_IO_file_xsgetn): Likewise.
13575         (_IO_file_xsgetn_mmap): Likewise.
13576         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13577         (_IO_cookie_write): Likewise.
13578         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13579         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13580         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13581         * malloc/obstack.c (_obstack_begin): Likewise.
13582         (_obstack_begin_1): Likewise.
13583         (_obstack_newchunk): Likewise.
13584         (_obstack_allocated_p): Likewise.
13585         (obstack_free): Likewise.
13586         (_obstack_memory_used): Likewise.
13587         * misc/getttyent.c (getttynam): Likewise.
13588         (getttyent): Likewise.
13589         (skip): Likewise.
13590         (value): Likewise.
13591         * misc/getusershell.c (initshells): Likewise.
13592         * misc/syslog.c (__vsyslog_chk): Likewise.
13593         * misc/ttyslot.c (ttyslot): Likewise.
13594         * nis/nis_hash.c (__nis_hash): Likewise.
13595         * posix/fnmatch_loop.c (FCT): Likewise.
13596         * posix/getconf.c (print_all): Likewise.
13597         (main): Likewise.
13598         * posix/getopt.c (exchange): Likewise.
13599         * posix/glob.c (globfree): Likewise.
13600         (prefix_array): Likewise.
13601         (__glob_pattern_type): Likewise.
13602         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13603         (NS_GET32): Likewise.
13604         (NS_PUT16): Likewise.
13605         (NS_PUT32): Likewise.
13606         * resolv/gethnamaddr.c (getanswer): Likewise.
13607         (gethostbyname2): Likewise.
13608         (gethostbyaddr): Likewise.
13609         (_gethtent): Likewise.
13610         (_gethtbyname2): Likewise.
13611         (_gethtbyaddr): Likewise.
13612         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13613         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13614         * resolv/res_init.c (__res_vinit): Likewise.
13615         (net_mask): Likewise.
13616         * resolv/res_mkquery.c (outchar): Likewise.
13617         (PRINT): Likewise.
13618         * stdio-common/printf_fp.c (outchar): Likewise.
13619         (PRINT): Likewise.
13620         * stdio-common/printf_fphex.c (outchar): Likewise.
13621         (PRINT): Likewise.
13622         * stdio-common/printf_size.c (outchar): Likewise.
13623         (PRINT): Likewise.
13624         * stdio-common/test_rdwr.c (main): Likewise.
13625         * stdio-common/tfformat.c (matches): Likewise.
13626         * stdio-common/vfprintf.c (outchar): Likewise.
13627         (printf_unknown): Likewise.
13628         (buffered_vfprintf): Likewise.
13629         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13630         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13631         (ReadFile): Likewise.
13632         * stdlib/qsort.c (SWAP): Likewise.
13633         (_quicksort): Likewise.
13634         * stdlib/setenv.c (__add_to_environ): Likewise.
13635         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13636         * stdlib/strtol_l.c (__strtol_l): Likewise.
13637         * stdlib/tst-strtod.c (main): Likewise.
13638         * stdlib/tst-strtol.c (main): Likewise.
13639         * stdlib/tst-strtoll.c (main): Likewise.
13640         * string/bits/string2.h (__strcmp_cc): Likewise.
13641         (__strcmp_cg): Likewise.
13642         (__strcspn_c1): Likewise.
13643         (__strcspn_c2): Likewise.
13644         (__strcspn_c3): Likewise.
13645         (__strspn_c1): Likewise.
13646         (__strspn_c2): Likewise.
13647         (__strspn_c3): Likewise.
13648         (__strsep_1c): Likewise.
13649         (__strsep_2c): Likewise.
13650         (__strsep_3c): Likewise.
13651         * string/memccpy.c (__memccpy): Likewise.
13652         * string/stpcpy.c (__stpcpy): Likewise.
13653         * string/strcmp.c (strcmp): Likewise.
13654         * string/strrchr.c (strrchr): Likewise.
13655         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13656         Likewise.
13657         * sysdeps/mach/hurd/getcwd.c
13658         (_hurd_canonicalize_directory_name_internal): Likewise.
13659         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13660         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13661         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13662         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13663         Likewise, in both definitions.
13664         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13665         definitions.
13666         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13667         64] (__bswap_64): Likewise.
13668         * time/test_time.c (main): Likewise.
13669         * time/tzfile.c (__tzfile_read): Likewise.
13670         (__tzfile_compute): Likewise.
13671         * time/tzset.c (__tzset_parse_tz): Likewise.
13672         (tzset_internal): Likewise.
13673         (compute_change): Likewise.
13674         * wcsmbs/wcscat.c (__wcscat): Likewise.
13675         * wcsmbs/wcschr.c (wcschr): Likewise.
13676         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13677         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13678         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13679         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13680         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13681         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13682         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13683         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13684         * wcsmbs/wmemset.c (wmemset): Likewise.
13686 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13688         * scripts/config.guess: Update to version 2013-05-16.
13689         * scripts/config.sub: Update to version 2013-04-24.
13690         * scripts/install-sh: Update to version 2011-11-20.07.
13691         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13692         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13694 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13696         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13697         * elf/sln.c: Likewise.
13698         * hurd/hurd/ioctl.h: Likewise.
13699         * hurd/hurdmalloc.c: Likewise.
13700         * hurd/xattr.c: Likewise.
13701         * include/shlib-compat.h: Likewise.
13702         * inet/ruserpass.c: Likewise.
13703         * libio/iofgets_u.c: Likewise.
13704         * libio/iofgetws_u.c: Likewise.
13705         * locale/programs/ld-identification.c: Likewise.
13706         * locale/programs/ld-time.c: Likewise.
13707         * mach/msg-destroy.c: Likewise.
13708         * nss/nss_files/files-netgrp.c: Likewise.
13709         * resolv/res_data.c: Likewise.
13710         * soft-fp/op-1.h: Likewise.
13711         * soft-fp/op-2.h: Likewise.
13712         * soft-fp/op-4.h: Likewise.
13713         * soft-fp/op-common.h: Likewise.
13714         * stdio-common/printf_fphex.c: Likewise.
13715         * stdlib/strtod_l.c: Likewise.
13716         * sunrpc/rpc/clnt.h: Likewise.
13717         * sysdeps/generic/framestate.c: Likewise.
13718         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13719         * sysdeps/i386/bsd-setjmp.S: Likewise.
13720         * sysdeps/i386/__longjmp.S: Likewise.
13721         * sysdeps/i386/setjmp.S: Likewise.
13722         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13723         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13724         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13725         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13726         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13727         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13728         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13729         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13730         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13731         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13732         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13733         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13734         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13735         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13736         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13737         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13738         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13739         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13740         * sysdeps/ieee754/support.c: Likewise.
13741         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13742         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13743         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13744         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13745         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13746         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13747         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13748         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13749         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13750         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13751         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13752         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13753         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13754         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13755         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13756         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13757         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13760 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13762         * posix/transbug.c: Remove executable mode.
13764 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13766         * crypt/speeds.c: Remove trailing whitespace.
13767         * dlfcn/default.c: Likewise.
13768         * elf/ifuncdep2.c: Likewise.
13769         * elf/ifuncmain1.c: Likewise.
13770         * elf/ifuncmain1vis.c: Likewise.
13771         * elf/testobj.h: Likewise.
13772         * elf/tst-stackguard1.c: Likewise.
13773         * gmon/sys/gmon.h: Likewise.
13774         * hurd/hurdmsg.c: Likewise.
13775         * hurd/new-fd.c: Likewise.
13776         * hurd/ports-get.c: Likewise.
13777         * iconvdata/ibm1008_420.c: Likewise.
13778         * inet/tst-getni1.c: Likewise.
13779         * inet/tst-getni2.c: Likewise.
13780         * libio/ioungetc.c: Likewise.
13781         * libio/wfiledoalloc.c: Likewise.
13782         * manual/libm-err-tab.pl: Likewise.
13783         * math/w_dremf.c: Likewise.
13784         * misc/ftruncate.c: Likewise.
13785         * posix/bug-glob2.c: Likewise.
13786         * posix/tst-pcre.c: Likewise.
13787         * posix/wait4.c: Likewise.
13788         * resolv/README: Likewise.
13789         * resolv/res_debug.h: Likewise.
13790         * resolv/tst-inet_ntop.c: Likewise.
13791         * setjmp/bug269-setjmp.c: Likewise.
13792         * soft-fp/extended.h: Likewise.
13793         * soft-fp/op-1.h: Likewise.
13794         * soft-fp/op-2.h: Likewise.
13795         * soft-fp/op-4.h: Likewise.
13796         * soft-fp/op-8.h: Likewise.
13797         * soft-fp/testit.c: Likewise.
13798         * stdio-common/bug16.c: Likewise.
13799         * stdlib/random.c: Likewise.
13800         * sunrpc/rpcsvc/rquota.x: Likewise.
13801         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13802         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13803         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13804         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13805         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13806         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13807         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13808         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13809         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13810         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13811         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13812         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13813         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13814         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13815         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13816         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13817         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13818         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13819         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13820         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13823         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13825         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13827         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13829         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13830         * sysdeps/ieee754/s_lib_version.c: Likewise.
13831         * sysdeps/mach/hurd/check_fds.c: Likewise.
13832         * sysdeps/mach/hurd/getsockname.c: Likewise.
13833         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13834         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13835         * sysdeps/powerpc/bits/link.h: Likewise.
13836         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13837         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13838         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13839         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13840         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13841         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13842         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13843         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13844         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13845         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13846         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13847         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13848         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13849         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13850         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13851         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13852         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13853         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13854         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13855         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13856         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13857         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13858         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13859         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13860         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13861         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13862         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13863         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13864         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13865         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13867         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13868         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13869         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13870         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13871         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13872         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13873         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13874         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13875         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13876         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13877         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13878         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13879         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13880         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13881         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13882         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13883         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13884         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13885         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13886         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13887         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13888         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13889         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13890         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13891         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13892         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13893         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13894         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13895         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13896         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13897         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13898         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13899         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13900         * sysdeps/powerpc/sysdep.h: Likewise.
13901         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13902         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13903         * sysdeps/sh/dl-trampoline.S: Likewise.
13904         * sysdeps/sh/memset.S: Likewise.
13905         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13906         * sysdeps/sh/strlen.S: Likewise.
13907         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13908         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13909         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13910         * sysdeps/sparc/sparc32/rem.S: Likewise.
13911         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13912         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13913         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13914         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13915         * sysdeps/sparc/sparc32/urem.S: Likewise.
13916         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13917         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13918         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13919         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13920         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13921         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13922         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13923         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13924         * sysdeps/unix/bsd/times.c: Likewise.
13925         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13926         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13930         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13931         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13932         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13933         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13934         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13935         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13936         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13937         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13938         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13939         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13940         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13941         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13942         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13943         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13944         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13945         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13946         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13947         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13948         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13949         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13950         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13951         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13952         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13953         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13954         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13955         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13956         * sysdeps/x86_64/strcspn.S: Likewise.
13958 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13960         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13961         generated file.  Regenerate properly from gen-translit.pl.
13962         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13963         locale/C-translit.h.
13965 2013-06-05  Andreas Schwab  <schwab@suse.de>
13967         [BZ #15100]
13968         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13969         week as 6 instead of -1.
13970         * time/tst-strptime.c (day_tests): Add test case.
13972 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13974         * sysdeps/generic/math_private.h
13975         (libc_feholdexcept_setround_53bit): Replace with
13976         libc_feholdsetround_53bit.
13977         (libc_feupdateenv_53bit): Replace with
13978         libc_feresetround_53bit.
13979         (SET_RESTORE_ROUND_53BIT): Adjust.
13981 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13983         * string/test-strchrnul.c: Add copyright header.
13985         * posix/tst-getaddrinfo4.c: Increase test timeout.
13987 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13989         [BZ #15536]
13990         * math/libm-test.inc (MAX_EXP): Remove
13991         (MIN_EXP): Define.
13992         (ulp): Use MIN_EXP - MANT_DIG.
13993         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13995 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13997         * po/be.po: Revert last change.
13998         * po/zh_CN.po: Likewise.
13999         * po/header.pot: Likewise.
14001 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14003         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14004         link-libc-deps to empty as target-specific variable.
14005         * Makerules (link-libc-args): New variable.
14006         (libc-for-link): Likewise.
14007         (link-libc-deps): Likewise.
14008         (lib%.so): Depend on $(link-libc-deps).  Link with
14009         $(link-libc-args).
14010         (build-module): Link with $(link-libc-args).
14011         (build-module-asneeded): Likewise.
14012         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14013         list of objects.
14014         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14015         target-specific variable.
14016         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14017         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14018         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14019         libc.
14020         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14021         libc and ld.so.
14022         ($(objpfx)libpcprofile.so): Likewise.
14023         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14024         libc_nonshared.a.
14025         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14026         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14027         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14028         $(link-libc-deps).
14029         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14030         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14031         * login/Makefile ($(objpfx)libutil.so): Likewise.
14032         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14033         * math/Makefile ($(objpfx)libm.so): Likewise.
14034         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14035         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14036         variable instead of depending directly on libc.
14037         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14038         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14039         $(link-libc-deps).
14040         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14041         libc.
14042         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14043         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14044         ($(objpfx)libanl.so): Likewise.
14045         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14046         ld.so.
14047         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14048         $(link-libc-deps).
14049         * sysdeps/i386/fpu/Makefile: Remove file.
14050         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14051         ($(objpfx)libm.so): Remove dependency on ld.so.
14053 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14055         [BZ # 15553]
14056         * nis/yp_xdr.c (XDRMAXNAME): Define.
14057         (XDRMAXRECORD): Define.
14058         (xdr_domainname): Use XDRMAXNAME.
14059         (xdr_mapname): Likewise.
14060         (xdr_peername): Likewise.
14061         (xdr_keydat): Use XDRMAXRECORD.
14062         (xdr_valdat): Likewise.
14064 2013-05-30  Jeff Law  <law@redhat.com>
14066         [BZ #14256]
14067         * manual/errno.texi (ESTALE): Update to account for more than
14068         just NFS file systems.
14069         * sysdeps/gnu/errlist.c: Regenerated.
14071 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14073         [BZ #15465]
14074         * elf/Makefile (tests): Add tst-null-argv.
14075         (modules-names):  Add tst-null-argv-lib.
14076         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14077         (tst-null-argv-ENV): Set environment for tst-null-argv.
14078         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14079         (RTLD_PROGNAME): New macro.
14080         * elf/tst-null-argv.c: New test case.
14081         * elf/tst-null-argv-lib.c: Library for test case.
14082         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14083         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14084         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14085         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14086         * elf/dl-init.c (call_init): Likewise.
14087         (_dl_init): Likewise.
14088         * elf/dl-load.c (print_search_path): Likewise.
14089         (_dl_map_object): Likewise.
14090         * elf/dl-lookup.c (do_lookup_x): Likewise.
14091         (add_dependency): Likewise.
14092         (_dl_lookup_symbol_x): Likewise.
14093         (_dl_debug_bindings): Likewise.
14094         * elf/dl-open.c (_dl_show_scope): Likewise.
14095         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14096         * elf/dl-version.c (match_symbol): Likewise.
14097         (_dl_check_map_versions): Likewise.
14098         * elf/rtld.c (dl_main): Likewise.
14099         (print_unresolved): Use RTLD_PROGNAME.
14100         (print_missing_version): Likewise.
14101         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14102         (elf_machine_rela): Likewise.
14103         * sysdeps/powerpc/powerpc32/dl-machine.c
14104         (__process_machine_rela): Likewise.
14105         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14106         Likewise.
14107         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14108         Likewise.
14109         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14110         Likewise.
14111         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14112         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14113         Likewise.
14114         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14115         Likewise.
14116         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14118 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14120         * po/be.po: Add descriptive title.
14121         * po/zh_CN.po: Likewise.
14122         * po/header.pot: Likewise.
14124 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14126         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14127         error message.
14128         (enlarge_archive): Likewise.
14130 2013-05-28  Ben North  <ben@redfrontdoor.org>
14132         * manual/arith.texi (frexp): It is the magnitude of the return
14133         value which lies in [0.5, 1), not the return value itself.
14135 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14139 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14141         * stdio-common/bug26.c (main): Correct fscanf template.
14143         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14144         declare _dl_skip_args.
14146         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14147         Don't declare.
14149         * manual/platform.texi: Add missing @end deftypefun.
14151 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14153         [BZ #15529]
14154         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14155         bit of mantissa of 2^16382.
14156         * math/libm-test.inc (hypot_test_data): Add more tests.
14158         * math/libm-test.inc: Add drem and pow10 to list of tested
14159         functions.
14160         (pow10_test): New function.
14161         (drem_test): Likewise.
14162         (drem_test_tonearest): Likewise.
14163         (drem_test_towardzero): Likewise.
14164         (drem_test_downward): Likewise.
14165         (drem_test_upward): Likewise.
14166         (main): Call the new functions.
14168         * math/libm-test.inc (finite_test_data): Remove.
14169         (finite_test): Run tests from isfinite_test_data.
14170         (gamma_test_data): Remove.
14171         (gamma_test): Run tests from lgamma_test_data.
14172         * sysdeps/i386/fpu/libm-test-ulps: Update.
14173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14175 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14177         * manual/platform.texi: Add PowerPC PPR function set documentation.
14178         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14179         implementation.
14181 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14183         * math/libm-test.inc (MAX_EXP): Define.
14184         (ULPDIFF): Define.
14185         (ulp): New function.
14186         (check_float_internal): Use ULPDIFF.
14187         (cpow_test): Disable failing test.
14188         (check_ulp): Test ulp() implemetnation.
14189         (main): Call check_ulp before starting tests.
14191 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14193         * math/gen-libm-test.pl (generate_testfile): Do not handle
14194         START_DATA and END_DATA.
14195         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14196         END_DATA.
14197         (acos_tonearest_test_data): Likewise.
14198         (acos_towardzero_test_data): Likewise.
14199         (acos_downward_test_data): Likewise.
14200         (acos_upward_test_data): Likewise.
14201         (acosh_test_data): Likewise.
14202         (asin_test_data): Likewise.
14203         (asin_tonearest_test_data): Likewise.
14204         (asin_towardzero_test_data): Likewise.
14205         (asin_downward_test_data): Likewise.
14206         (asin_upward_test_data): Likewise.
14207         (asinh_test_data): Likewise.
14208         (atan_test_data): Likewise.
14209         (atanh_test_data): Likewise.
14210         (atan2_test_data): Likewise.
14211         (cabs_test_data): Likewise.
14212         (cacos_test_data): Likewise.
14213         (cacosh_test_data): Likewise.
14214         (carg_test_data): Likewise.
14215         (casin_test_data): Likewise.
14216         (casinh_test_data): Likewise.
14217         (catan_test_data): Likewise.
14218         (catanh_test_data): Likewise.
14219         (cbrt_test_data): Likewise.
14220         (ccos_test_data): Likewise.
14221         (ccosh_test_data): Likewise.
14222         (ceil_test_data): Likewise.
14223         (cexp_test_data): Likewise.
14224         (cimag_test_data): Likewise.
14225         (clog_test_data): Likewise.
14226         (clog10_test_data): Likewise.
14227         (conj_test_data): Likewise.
14228         (copysign_test_data): Likewise.
14229         (cos_test_data): Likewise.
14230         (cos_tonearest_test_data): Likewise.
14231         (cos_towardzero_test_data): Likewise.
14232         (cos_downward_test_data): Likewise.
14233         (cos_upward_test_data): Likewise.
14234         (cosh_test_data): Likewise.
14235         (cosh_tonearest_test_data): Likewise.
14236         (cosh_towardzero_test_data): Likewise.
14237         (cosh_downward_test_data): Likewise.
14238         (cosh_upward_test_data): Likewise.
14239         (cpow_test_data): Likewise.
14240         (cproj_test_data): Likewise.
14241         (creal_test_data): Likewise.
14242         (csin_test_data): Likewise.
14243         (csinh_test_data): Likewise.
14244         (csqrt_test_data): Likewise.
14245         (ctan_test_data): Likewise.
14246         (ctan_tonearest_test_data): Likewise.
14247         (ctan_towardzero_test_data): Likewise.
14248         (ctan_downward_test_data): Likewise.
14249         (ctan_upward_test_data): Likewise.
14250         (ctanh_test_data): Likewise.
14251         (ctanh_tonearest_test_data): Likewise.
14252         (ctanh_towardzero_test_data): Likewise.
14253         (ctanh_downward_test_data): Likewise.
14254         (ctanh_upward_test_data): Likewise.
14255         (erf_test_data): Likewise.
14256         (erfc_test_data): Likewise.
14257         (exp_test_data): Likewise.
14258         (exp_tonearest_test_data): Likewise.
14259         (exp_towardzero_test_data): Likewise.
14260         (exp_downward_test_data): Likewise.
14261         (exp_upward_test_data): Likewise.
14262         (exp10_test_data): Likewise.
14263         (exp2_test_data): Likewise.
14264         (expm1_test_data): Likewise.
14265         (fabs_test_data): Likewise.
14266         (fdim_test_data): Likewise.
14267         (finite_test_data): Likewise.
14268         (floor_test_data): Likewise.
14269         (fma_test_data): Likewise.
14270         (fma_towardzero_test_data): Likewise.
14271         (fma_downward_test_data): Likewise.
14272         (fma_upward_test_data): Likewise.
14273         (fmax_test_data): Likewise.
14274         (fmin_test_data): Likewise.
14275         (fmod_test_data): Likewise.
14276         (fpclassify_test_data): Likewise.
14277         (frexp_test_data): Likewise.
14278         (gamma_test_data): Likewise.
14279         (hypot_test_data): Likewise.
14280         (ilogb_test_data): Likewise.
14281         (isfinite_test_data): Likewise.
14282         (isgreater_test_data): Likewise.
14283         (isgreaterequal_test_data): Likewise.
14284         (isinf_test_data): Likewise.
14285         (isless_test_data): Likewise.
14286         (islessequal_test_data): Likewise.
14287         (islessgreater_test_data): Likewise.
14288         (isnan_test_data): Likewise.
14289         (isnormal_test_data): Likewise.
14290         (issignaling_test_data): Likewise.
14291         (isunordered_test_data): Likewise.
14292         (j0_test_data): Likewise.
14293         (j1_test_data): Likewise.
14294         (jn_test_data): Likewise.
14295         (ldexp_test_data): Likewise.
14296         (lgamma_test_data): Likewise.
14297         (lrint_test_data): Likewise.
14298         (lrint_tonearest_test_data): Likewise.
14299         (lrint_towardzero_test_data): Likewise.
14300         (lrint_downward_test_data): Likewise.
14301         (lrint_upward_test_data): Likewise.
14302         (llrint_test_data): Likewise.
14303         (llrint_tonearest_test_data): Likewise.
14304         (llrint_towardzero_test_data): Likewise.
14305         (llrint_downward_test_data): Likewise.
14306         (llrint_upward_test_data): Likewise.
14307         (log_test_data): Likewise.
14308         (log10_test_data): Likewise.
14309         (log1p_test_data): Likewise.
14310         (log2_test_data): Likewise.
14311         (logb_test_data): Likewise.
14312         (logb_downward_test_data): Likewise.
14313         (lround_test_data): Likewise.
14314         (llround_test_data): Likewise.
14315         (modf_test_data): Likewise.
14316         (nearbyint_test_data): Likewise.
14317         (nextafter_test_data): Likewise.
14318         (nexttoward_test_data): Likewise.
14319         (pow_test_data): Likewise.
14320         (pow_tonearest_test_data): Likewise.
14321         (pow_towardzero_test_data): Likewise.
14322         (pow_downward_test_data): Likewise.
14323         (pow_upward_test_data): Likewise.
14324         (remainder_test_data): Likewise.
14325         (remainder_tonearest_test_data): Likewise.
14326         (remainder_towardzero_test_data): Likewise.
14327         (remainder_downward_test_data): Likewise.
14328         (remainder_upward_test_data): Likewise.
14329         (remquo_test_data): Likewise.
14330         (rint_test_data): Likewise.
14331         (rint_tonearest_test_data): Likewise.
14332         (rint_towardzero_test_data): Likewise.
14333         (rint_downward_test_data): Likewise.
14334         (rint_upward_test_data): Likewise.
14335         (round_test_data): Likewise.
14336         (scalb_test_data): Likewise.
14337         (scalbn_test_data): Likewise.
14338         (scalbln_test_data): Likewise.
14339         (signbit_test_data): Likewise.
14340         (sin_test_data): Likewise.
14341         (sin_tonearest_test_data): Likewise.
14342         (sin_towardzero_test_data): Likewise.
14343         (sin_downward_test_data): Likewise.
14344         (sin_upward_test_data): Likewise.
14345         (sincos_test_data): Likewise.
14346         (sinh_test_data): Likewise.
14347         (sinh_tonearest_test_data): Likewise.
14348         (sinh_towardzero_test_data): Likewise.
14349         (sinh_downward_test_data): Likewise.
14350         (sinh_upward_test_data): Likewise.
14351         (sqrt_test_data): Likewise.
14352         (tan_test_data): Likewise.
14353         (tan_tonearest_test_data): Likewise.
14354         (tan_towardzero_test_data): Likewise.
14355         (tan_downward_test_data): Likewise.
14356         (tan_upward_test_data): Likewise.
14357         (tanh_test_data): Likewise.
14358         (tgamma_test_data): Likewise.
14359         (trunc_test_data): Likewise.
14360         (y0_test_data): Likewise.
14361         (y1_test_data): Likewise.
14362         (yn_test_data): Likewise.
14363         (significand_test_data): Likewise.
14365         * math/gen-libm-test.pl (@functions): Remove variable.
14366         (generate_testfile): Don't handle START and END lines.
14367         * math/libm-test.inc (START): New macro.
14368         (END): Likewise.
14369         (END_COMPLEX): Likewise.
14370         (acos_test): Use END macro without arguments.
14371         (acos_test_tonearest): Likewise.
14372         (acos_test_towardzero): Likewise.
14373         (acos_test_downward): Likewise.
14374         (acos_test_upward): Likewise.
14375         (acosh_test): Likewise.
14376         (asin_test): Likewise.
14377         (asin_test_tonearest): Likewise.
14378         (asin_test_towardzero): Likewise.
14379         (asin_test_downward): Likewise.
14380         (asin_test_upward): Likewise.
14381         (asinh_test): Likewise.
14382         (atan_test): Likewise.
14383         (atanh_test): Likewise.
14384         (atan2_test): Likewise.
14385         (cabs_test): Likewise.
14386         (cacos_test): Use END_COMPLEX macro without arguments.
14387         (cacosh_test): Likewise.
14388         (carg_test): Use END macro without arguments.
14389         (casin_test): Use END_COMPLEX macro without arguments.
14390         (casinh_test): Likewise.
14391         (catan_test): Likewise.
14392         (catanh_test): Likewise.
14393         (cbrt_test): Use END macro without arguments.
14394         (ccos_test): Use END_COMPLEX macro without arguments.
14395         (ccosh_test): Likewise.
14396         (ceil_test): Use END macro without arguments.
14397         (cexp_test): Use END_COMPLEX macro without arguments.
14398         (cimag_test): Use END macro without arguments.
14399         (clog_test): Use END_COMPLEX macro without arguments.
14400         (clog10_test): Likewise.
14401         (conj_test): Likewise.
14402         (copysign_test): Use END macro without arguments.
14403         (cos_test): Likewise.
14404         (cos_test_tonearest): Likewise.
14405         (cos_test_towardzero): Likewise.
14406         (cos_test_downward): Likewise.
14407         (cos_test_upward): Likewise.
14408         (cosh_test): Likewise.
14409         (cosh_test_tonearest): Likewise.
14410         (cosh_test_towardzero): Likewise.
14411         (cosh_test_downward): Likewise.
14412         (cosh_test_upward): Likewise.
14413         (cpow_test): Use END_COMPLEX macro without arguments.
14414         (cproj_test): Likewise.
14415         (creal_test): Use END macro without arguments.
14416         (csin_test): Use END_COMPLEX macro without arguments.
14417         (csinh_test): Likewise.
14418         (csqrt_test): Likewise.
14419         (ctan_test): Likewise.
14420         (ctan_test_tonearest): Likewise.
14421         (ctan_test_towardzero): Likewise.
14422         (ctan_test_downward): Likewise.
14423         (ctan_test_upward): Likewise.
14424         (ctanh_test): Likewise.
14425         (ctanh_test_tonearest): Likewise.
14426         (ctanh_test_towardzero): Likewise.
14427         (ctanh_test_downward): Likewise.
14428         (ctanh_test_upward): Likewise.
14429         (erf_test): Use END macro without arguments.
14430         (erfc_test): Likewise.
14431         (exp_test): Likewise.
14432         (exp_test_tonearest): Likewise.
14433         (exp_test_towardzero): Likewise.
14434         (exp_test_downward): Likewise.
14435         (exp_test_upward): Likewise.
14436         (exp10_test): Likewise.
14437         (exp2_test): Likewise.
14438         (expm1_test): Likewise.
14439         (fabs_test): Likewise.
14440         (fdim_test): Likewise.
14441         (finite_test): Likewise.
14442         (floor_test): Likewise.
14443         (fma_test): Likewise.
14444         (fma_test_towardzero): Likewise.
14445         (fma_test_downward): Likewise.
14446         (fma_test_upward): Likewise.
14447         (fmax_test): Likewise.
14448         (fmin_test): Likewise.
14449         (fmod_test): Likewise.
14450         (fpclassify_test): Likewise.
14451         (frexp_test): Likewise.
14452         (gamma_test): Likewise.
14453         (hypot_test): Likewise.
14454         (ilogb_test): Likewise.
14455         (isfinite_test): Likewise.
14456         (isgreater_test): Likewise.
14457         (isgreaterequal_test): Likewise.
14458         (isinf_test): Likewise.
14459         (isless_test): Likewise.
14460         (islessequal_test): Likewise.
14461         (islessgreater_test): Likewise.
14462         (isnan_test): Likewise.
14463         (isnormal_test): Likewise.
14464         (issignaling_test): Likewise.
14465         (isunordered_test): Likewise.
14466         (j0_test): Likewise.
14467         (j1_test): Likewise.
14468         (jn_test): Likewise.
14469         (ldexp_test): Likewise.
14470         (lgamma_test): Likewise.
14471         (lrint_test): Likewise.
14472         (lrint_test_tonearest): Likewise.
14473         (lrint_test_towardzero): Likewise.
14474         (lrint_test_downward): Likewise.
14475         (lrint_test_upward): Likewise.
14476         (llrint_test): Likewise.
14477         (llrint_test_tonearest): Likewise.
14478         (llrint_test_towardzero): Likewise.
14479         (llrint_test_downward): Likewise.
14480         (llrint_test_upward): Likewise.
14481         (log_test): Likewise.
14482         (log10_test): Likewise.
14483         (log1p_test): Likewise.
14484         (log2_test): Likewise.
14485         (logb_test): Likewise.
14486         (logb_test_downward): Likewise.
14487         (lround_test): Likewise.
14488         (llround_test): Likewise.
14489         (modf_test): Likewise.
14490         (nearbyint_test): Likewise.
14491         (nextafter_test): Likewise.
14492         (nexttoward_test): Likewise.
14493         (pow_test): Likewise.
14494         (pow_test_tonearest): Likewise.
14495         (pow_test_towardzero): Likewise.
14496         (pow_test_downward): Likewise.
14497         (pow_test_upward): Likewise.
14498         (remainder_test): Likewise.
14499         (remainder_test_tonearest): Likewise.
14500         (remainder_test_towardzero): Likewise.
14501         (remainder_test_downward): Likewise.
14502         (remainder_test_upward): Likewise.
14503         (remquo_test): Likewise.
14504         (rint_test): Likewise.
14505         (rint_test_tonearest): Likewise.
14506         (rint_test_towardzero): Likewise.
14507         (rint_test_downward): Likewise.
14508         (rint_test_upward): Likewise.
14509         (round_test): Likewise.
14510         (scalb_test): Likewise.
14511         (scalbn_test): Likewise.
14512         (scalbln_test): Likewise.
14513         (signbit_test): Likewise.
14514         (sin_test): Likewise.
14515         (sin_test_tonearest): Likewise.
14516         (sin_test_towardzero): Likewise.
14517         (sin_test_downward): Likewise.
14518         (sin_test_upward): Likewise.
14519         (sincos_test): Likewise.
14520         (sinh_test): Likewise.
14521         (sinh_test_tonearest): Likewise.
14522         (sinh_test_towardzero): Likewise.
14523         (sinh_test_downward): Likewise.
14524         (sinh_test_upward): Likewise.
14525         (sqrt_test): Likewise.
14526         (tan_test): Likewise.
14527         (tan_test_tonearest): Likewise.
14528         (tan_test_towardzero): Likewise.
14529         (tan_test_downward): Likewise.
14530         (tan_test_upward): Likewise.
14531         (tanh_test): Likewise.
14532         (tgamma_test): Likewise.
14533         (trunc_test): Likewise.
14534         (y0_test): Likewise.
14535         (y1_test): Likewise.
14536         (yn_test): Likewise.
14537         (significand_test): Likewise.
14539 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14541         [BZ #15381]
14542         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14544 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14546         [BZ #14894]
14547         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14548         __ppc_mdoio and __ppc_mdoom.
14549         * manual/platform.texi: Document new functions __ppc_yield,
14550         __ppc_mdoio and __ppc_mdoom.
14552 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14554         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14555         (main): Mention "tls" pseudo-hwcap is legacy.
14556         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14558 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14560         * math/gen-libm-test.pl (parse_args): Output only string of
14561         arguments as text for test name, not full call or descriptions of
14562         tests for extra outputs.
14563         (generate_testfile): Do not pass function name to parse_args.
14564         Generate this_func variable from START.
14565         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14566         field to arg_str.
14567         (struct test_ff_f_data): Likewise.
14568         (test_ff_f_data_nexttoward): Likewise.
14569         (struct test_fi_f_data): Likewise.
14570         (struct test_fl_f_data): Likewise.
14571         (struct test_if_f_data): Likewise.
14572         (struct test_fff_f_data): Likewise.
14573         (struct test_c_f_data): Likewise.
14574         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14575         (struct test_fF_f1_data): Likewise.
14576         (struct test_ffI_f1_data): Likewise.
14577         (struct test_c_c_data): Rename test_name field to arg_str.
14578         (struct test_cc_c_data): Likewise.
14579         (struct test_f_i_data): Likewise.
14580         (struct test_ff_i_data): Likewise.
14581         (struct test_f_l_data): Likewise.
14582         (struct test_f_L_data): Likewise.
14583         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14584         and extra2_name.
14585         (COMMON_TEST_SETUP): New macro.
14586         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14587         (COMMON_TEST_CLEANUP): Likewise.
14588         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14589         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14590         macros.
14591         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14592         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14593         macros.
14594         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14595         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14596         cleanup macros.
14597         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14598         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14599         macros.
14600         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14601         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14602         macros.
14603         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14604         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14605         cleanup macros.
14606         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14607         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14608         cleanup macros.
14609         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14610         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14611         cleanup macros.
14612         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14613         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14614         macros.
14615         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14616         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14617         macros.
14618         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14619         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14620         macros.
14621         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14622         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14623         cleanup macros.
14624         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14625         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14626         cleanup macros.
14627         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14628         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14629         macros.
14630         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14631         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14632         cleanup macros.
14633         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14634         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14635         macros.
14636         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14637         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14638         macros.
14639         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14640         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14641         cleanup macros.
14642         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14644 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14646         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14647         to _sifields.sigfault.
14648         (si_addr_lsb): Define new macro.
14649         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14650         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14653 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14655         [BZ #15441]
14656         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14657         returns -1.
14658         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14659         null return -1.
14660         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14661         loading the domain.
14663 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14665         * math/gen-libm-test.pl (parse_args): Do not include expected
14666         result in test name.
14667         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14668         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14669         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14670         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14671         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14674 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14676         * benchtests/Makefile: Sort function entries.
14678         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14679         tanh, asinh, acosh, atanh.
14680         * benchtests/acos-inputs: New file.
14681         * benchtests/acosh-inputs: New file.
14682         * benchtests/asin-inputs: New file.
14683         * benchtests/asinh-inputs: New file.
14684         * benchtests/atanh-inputs: New file.
14685         * benchtests/cosh-inputs: New file.
14686         * benchtests/log-inputs: New file.
14687         * benchtests/sinh-inputs: New file.
14688         * benchtests/tanh-inputs: New file.
14690 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14692         [BZ #15339]
14693         * posix/tst-getaddrinfo4.c: New test.
14694         * posix/Makefile (tests): Add it.
14696 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14698         [BZ #15339]
14699         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14700         when no services were used.
14701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14702         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14704 2013-05-21  Andreas Schwab  <schwab@suse.de>
14706         [BZ #15014]
14707         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14708         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14709         successful.
14710         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14711         redundant variable declarations and reallocation of buffer when
14712         parsing as IPv6 address.  Always set NSS status when called from
14713         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14714         buffer too small.  Correct computation of needed size.
14715         * nss/Makefile (tests): Add test-digits-dots.
14716         * nss/test-digits-dots.c: New test.
14718 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14720         * benchtests/Makefile: Remove instructions for adding
14721         benchmark tests.
14722         * benchtests/README: New file to explain how to execute and
14723         enhance the benchmark tests.
14725 2013-05-21  Andreas Schwab  <schwab@suse.de>
14727         [BZ #15493]
14728         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14729         * setjmp/tst-sigsetjmp.c: New test.
14731 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14733         * sysdeps/x86_64/memset.S (memset): New implementation.
14734         (__bzero): Likewise.
14735         (__memset_tail): New function.
14737 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14739         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14740         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14741         __memcpy_sse2_unaligned ifunc selection.
14742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14743         Add memcpy-sse2-unaligned.S.
14744         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14745         Add: __memcpy_sse2_unaligned.
14747 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14749         [BZ #15490]
14750         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14751         math_force_eval before restoring floating-point envrionment.
14752         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14753         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14754         Likewise.
14755         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14756         <math_private.h>.
14757         (__nearbyintl): Use math_force_eval before restoring
14758         floating-point environment.
14759         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14761         * math/gen-libm-test.pl (special_functions): Remove.
14762         (parse_args): Don't handle TEST_extra.  Handle functions with no
14763         return value.
14764         * math/libm-test.inc (struct test_sincos_data): Replace with
14765         struct test_fFF_11_data.
14766         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14767         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14768         (sincos_test_data): Change element type to struct
14769         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14770         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14771         RUN_TEST_LOOP_sincos.
14772         * math/README.libm-test: Don't mention special handling of
14773         individual functions.
14774         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14775         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14776         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14777         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14778         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14781         * math/gen-libm-test.pl (get_variable): Remove function.
14782         (parse_args): Don't show pointer parameters to call in test
14783         names.  Use "extra output N" in test names for extra outputs
14784         rather than naming variables.
14786 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14788         [BZ #15488]
14789         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14790         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14791         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14792         double tests.
14793         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14794         disable.
14795         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14796         check_long_double.
14798         * math/gen-libm-test.pl (@tests): Remove variable.
14799         ($count): Likewise.
14800         (new_test): Remove function.
14801         (show_exceptions): New function.
14802         (special_functions): Use show_exceptions instead of new_test.
14803         (parse_args): Likewise.
14804         (generate_testfile): Pass only function name in generated call to
14805         print_max_error or print_complex_max_error.
14806         (get_ulps): Do not handle complex tests specially.
14807         (output_test): Rename to ...
14808         (get_all_ulps_for_test): ... this.  Return a string rather than
14809         printing to a file.  Require ulps to be present.
14810         (output_ulps): Generate arrays rather than #defines.
14811         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14812         (struct ulp_data): New type.
14813         (BUILD_COMPLEX_ULP): Remove macro.
14814         (compare_ulp_data): New function.
14815         (find_ulps): Likewise.
14816         (find_test_ulps): Likewise.
14817         (find_function_ulps): Likewise.
14818         (find_complex_function_ulps): Likewise.
14819         (print_max_error): Determine allowed ulps using
14820         find_function_ulps.
14821         (print_complex_max_error): Determine allowed ulps using
14822         find_complex_function_ulps.
14823         (check_float_internal): Determine max ulps using find_test_ulps.
14824         (check_float): Do not take max_ulp parameter.  Update call to
14825         check_float_internal.
14826         (check_complex): Likewise.
14827         (check_int): Do not take max_ulp parameter.
14828         (check_long): Likewise.
14829         (check_bool): Likewise.
14830         (check_longlong): Likewise.
14831         (struct test_f_f_data): Remove max_ulp field.
14832         (struct test_ff_f_data): Likewise.
14833         (struct test_ff_f_data_nexttoward): Likewise.
14834         (struct test_fi_f_data): Likewise.
14835         (struct test_fl_f_data): Likewise.
14836         (struct test_if_f_data): Likewise.
14837         (struct test_fff_f_data): Likewise.
14838         (struct test_c_f_data): Likewise.
14839         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14840         (struct test_fF_f1_data): Likewise.
14841         (struct test_ffI_f1_data): Likewise.
14842         (struct test_c_c_data): Remove max_ulp field.
14843         (struct test_cc_c_data): Likewise.
14844         (struct test_f_i_data): Likewise.
14845         (struct test_ff_i_data): Likewise.
14846         (struct test_f_l_data): Likewise.
14847         (struct test_f_L_data): Likewise.
14848         (struct test_sincos_data): Likewise.
14849         (RUN_TEST_f_f): Do not handle ulps.
14850         (RUN_TEST_LOOP_f_f): Likewise.
14851         (RUN_TEST_2_f): Likewise.
14852         (RUN_TEST_LOOP_2_f): Likewise.
14853         (RUN_TEST_fff_f): Likewise.
14854         (RUN_TEST_LOOP_fff_f): Likewise.
14855         (RUN_TEST_c_f): Likewise.
14856         (RUN_TEST_LOOP_c_f): Likewise.
14857         (RUN_TEST_f_f1): Likewise.
14858         (RUN_TEST_LOOP_f_f1): Likewise.
14859         (RUN_TEST_fF_f1): Likewise.
14860         (RUN_TEST_LOOP_fF_f1): Likewise.
14861         (RUN_TEST_fI_f1): Likewise.
14862         (RUN_TEST_LOOP_fI_f1): Likewise.
14863         (RUN_TEST_ffI_f1): Likewise.
14864         (RUN_TEST_LOOP_ffI_f1): Likewise.
14865         (RUN_TEST_c_c): Likewise.
14866         (RUN_TEST_LOOP_c_c): Likewise.
14867         (RUN_TEST_cc_c): Likewise.
14868         (RUN_TEST_LOOP_cc_c): Likewise.
14869         (RUN_TEST_f_i): Likewise.
14870         (RUN_TEST_LOOP_f_i): Likewise.
14871         (RUN_TEST_f_i_tg): Likewise.
14872         (RUN_TEST_LOOP_f_i_tg): Likewise.
14873         (RUN_TEST_ff_i_tg): Likewise.
14874         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14875         (RUN_TEST_f_b): Likewise.
14876         (RUN_TEST_LOOP_f_b): Likewise.
14877         (RUN_TEST_f_b_tg): Likewise.
14878         (RUN_TEST_LOOP_f_b_tg): Likewise.
14879         (RUN_TEST_f_l): Likewise.
14880         (RUN_TEST_LOOP_f_l): Likewise.
14881         (RUN_TEST_f_L): Likewise.
14882         (RUN_TEST_LOOP_f_L): Likewise.
14883         (RUN_TEST_sincos): Likewise.
14884         (RUN_TEST_LOOP_sincos): Likewise.
14886 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14888         [BZ #15480]
14889         [BZ #15485]
14890         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14891         main case of finite arguments, set rounding mode to FE_TONEAREST
14892         and discard exceptions.
14893         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14894         exceptions.
14895         (remainder_tonearest_test_data): New variable.
14896         (remainder_test_tonearest): New function.
14897         (remainder_towardzero_test_data): New variable.
14898         (remainder_test_towardzero): New function.
14899         (remainder_downward_test_data): New variable.
14900         (remainder_test_downward): New function.
14901         (remainder_upward_test_data): New variable.
14902         (remainder_test_upward): New function.
14903         (main): Call the new test functions.
14905         * math/libm-test.inc (struct test_f_f1_data): Remove field
14906         extra_init.
14907         (struct test_fF_f1_data): Likewise.
14908         (struct test_ffI_f1_data): Likewise.
14909         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14910         based on value of EXTRA_EXPECTED.
14911         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14912         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14913         EXTRA_VAR based on value of EXTRA_EXPECTED.
14914         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14915         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14916         EXTRA_VAR based on value of EXTRA_EXPECTED.
14917         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14918         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14919         EXTRA_VAR based on value of EXTRA_EXPECTED.
14920         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14921         * math/gen-libm-test.pl (parse_args): Don't output initializers
14922         for extra output values.
14924         * math/libm-test.inc (check_int): Expect result to be exactly
14925         equal to expected value and do not handle ulps.
14926         (check_long): Likewise.
14927         (check_longlong): Likewise.
14929         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14930         exceptions.
14931         (cimag_test_data): Likewise.
14932         (conj_test_data): Likewise.
14933         (copysign_test_data): Likewise.
14934         (cproj_test_data): Likewise.
14935         (creal_test_data): Likewise.
14936         (fabs_test_data): Likewise.
14937         (fdim_test_data): Likewise.
14938         (finite_test_data): Likewise.
14939         (floor_test_data): Likewise.
14940         (fmax_test_data): Likewise.
14941         (fmin_test_data): Likewise.
14942         (fmod_test_data): Likewise.
14943         (fpclassify_test_data): Likewise.
14944         (frexp_test_data): Likewise.
14945         (ilogb_test_data): Likewise.
14946         (isfinite_test_data): Likewise.
14947         (isgreater_test_data): Likewise.
14948         (isgreaterequal_test_data): Likewise.
14949         (isinf_test_data): Likewise.
14950         (isless_test_data): Likewise.
14951         (islessequal_test_data): Likewise.
14952         (islessgreater_test_data): Likewise.
14953         (isnan_test_data): Likewise.
14954         (isnormal_test_data): Likewise.
14955         (issignaling_test_data): Likewise.
14956         (isunordered_test_data): Likewise.
14957         (ldexp_test_data): Likewise.
14958         (lrint_test_data): Likewise.
14959         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14960         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14961         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14962         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14963         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14964         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14965         test input.
14966         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14967         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14968         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14969         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14970         that test input.
14971         (lrint_downward_test_data): Test for "inexact" exceptions.
14972         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14973         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14974         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14975         test input.
14976         (lrint_upward_test_data): Test for "inexact" exceptions.
14977         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14978         test input.
14979         (llrint_test_data): Test for "inexact" exceptions.
14980         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14981         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14982         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14983         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14984         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14985         (llrint_downward_test_data): Test for "inexact" exceptions.
14986         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14987         (llrint_upward_test_data): Test for "inexact" exceptions.
14988         (logb_test_data): Likewise.
14989         (logb_downward_test_data): Likewise.
14990         (nextafter_test_data): Likewise.
14991         (nexttoward_test_data): Likewise.
14992         (remainder_test_data): Likewise.
14993         (remquo_test_data): Likewise.
14994         (scalbn_test_data): Likewise.
14995         (scalbln_test_data): Likewise.
14996         (signbit_test_data): Likewise.
14997         (sqrt_test_data): Likewise.
14998         (significand_test_data): Likewise.
15000 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15002         [BZ #15424]
15003         * benchtests/bench-modf.c (struct args): Mark arg0 as
15004         volatile.
15005         * scripts/bench.pl: Mark members of struct args as volatile.
15007 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15009         [BZ # 15497]
15010         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15011         negative infinity on POWER6 or lower.
15012         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15014 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15016         [BZ #15442]
15017         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15018         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15019         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15020         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15021         (_FP_SETQNAN): New macro.
15022         (_FP_SETQNAN_SEMIRAW): Likewise.
15023         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15024         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15025         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15026         (FP_EXTEND): Use _FP_FRAC_SNANP.
15027         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15028         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15029         into account.
15030         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15031         New macro.
15032         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15033         Likewise.
15035 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15037         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15038         with DIVIDE_BY_ZERO_EXCEPTION.
15039         (gamma_test_data): Likewise.
15040         (lgamma_test_data): Likewise.
15041         (log_test_data): Likewise.
15042         (log10_test_data): Likewise.
15043         (log2_test_data): Likewise.
15044         (tgamma_test_data): Likewise.
15046         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15047         (acos_test_tonearest): Likewise.
15048         (acos_test_towardzero): Likewise.
15049         (acos_test_downward): Likewise.
15050         (acos_test_upward): Likewise.
15051         (acosh_test): Likewise.
15052         (asin_test): Likewise.
15053         (asin_test_tonearest): Likewise.
15054         (asin_test_towardzero): Likewise.
15055         (asin_test_downward): Likewise.
15056         (asin_test_upward): Likewise.
15057         (asinh_test): Likewise.
15058         (atan_test): Likewise.
15059         (atanh_test): Likewise.
15060         (atan2_test): Likewise.
15061         (cabs_test): Likewise.
15062         (cacos_test): Likewise.
15063         (cacosh_test): Likewise.
15064         (casin_test): Likewise.
15065         (casinh_test): Likewise.
15066         (catan_test): Likewise.
15067         (catanh_test): Likewise.
15068         (cbrt_test): Likewise.
15069         (ccos_test): Likewise.
15070         (ccosh_test): Likewise.
15071         (cexp_test): Likewise.
15072         (clog_test): Likewise.
15073         (clog10_test): Likewise.
15074         (cos_test): Likewise.
15075         (cos_test_tonearest): Likewise.
15076         (cos_test_towardzero): Likewise.
15077         (cos_test_downward): Likewise.
15078         (cos_test_upward): Likewise.
15079         (cosh_test): Likewise.
15080         (cosh_test_tonearest): Likewise.
15081         (cosh_test_towardzero): Likewise.
15082         (cosh_test_downward): Likewise.
15083         (cosh_test_upward): Likewise.
15084         (cpow_test): Likewise.
15085         (csin_test): Likewise.
15086         (csinh_test): Likewise.
15087         (csqrt_test): Likewise.
15088         (ctan_test): Likewise.
15089         (ctan_test_tonearest): Likewise.
15090         (ctan_test_towardzero): Likewise.
15091         (ctan_test_downward): Likewise.
15092         (ctan_test_upward): Likewise.
15093         (ctanh_test): Likewise.
15094         (ctanh_test_tonearest): Likewise.
15095         (ctanh_test_towardzero): Likewise.
15096         (ctanh_test_downward): Likewise.
15097         (ctanh_test_upward): Likewise.
15098         (erf_test): Likewise.
15099         (erfc_test): Likewise.
15100         (exp_test): Likewise.
15101         (exp_test_tonearest): Likewise.
15102         (exp_test_towardzero): Likewise.
15103         (exp_test_downward): Likewise.
15104         (exp_test_upward): Likewise.
15105         (exp10_test): Likewise.
15106         (exp2_test): Likewise.
15107         (expm1_test): Likewise.
15108         (fmod_test): Likewise.
15109         (gamma_test): Likewise.
15110         (hypot_test): Likewise.
15111         (j0_test): Likewise.
15112         (j1_test): Likewise.
15113         (jn_test): Likewise.
15114         (lgamma_test): Likewise.
15115         (log_test): Likewise.
15116         (log10_test): Likewise.
15117         (log1p_test): Likewise.
15118         (log2_test): Likewise.
15119         (logb_test_downward): Likewise.
15120         (pow_test): Likewise.
15121         (pow_test_tonearest): Likewise.
15122         (pow_test_towardzero): Likewise.
15123         (pow_test_downward): Likewise.
15124         (pow_test_upward): Likewise.
15125         (remainder_test): Likewise.
15126         (remquo_test): Likewise.
15127         (sin_test): Likewise.
15128         (sin_test_tonearest): Likewise.
15129         (sin_test_towardzero): Likewise.
15130         (sin_test_downward): Likewise.
15131         (sin_test_upward): Likewise.
15132         (sincos_test): Likewise.
15133         (sinh_test): Likewise.
15134         (sinh_test_tonearest): Likewise.
15135         (sinh_test_towardzero): Likewise.
15136         (sinh_test_downward): Likewise.
15137         (sinh_test_upward): Likewise.
15138         (sqrt_test): Likewise.
15139         (tan_test): Likewise.
15140         (tan_test_tonearest): Likewise.
15141         (tan_test_towardzero): Likewise.
15142         (tan_test_downward): Likewise.
15143         (tan_test_upward): Likewise.
15144         (tanh_test): Likewise.
15145         (tgamma_test): Likewise.
15146         (y0_test): Likewise.
15147         (y1_test): Likewise.
15148         (yn_test): Likewise.
15150         * math/gen-libm-test.pl (adjust_arg): Remove function.
15151         (special_function): Remove argument $in_func.  Only handle
15152         generating output for tables of tests, not inside functions.
15153         (parse_args): Likewise.
15154         (generate_testfile): Remove variable $in_func.  Update call to
15155         parse_args.
15156         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15157         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15158         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15159         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15160         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15161         (MAX_VALUE_INIT): Rename macro to max_value.
15162         (MIN_VALUE_INIT): Rename macro to min_value.
15163         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15164         (plus_zero): Remove variable.
15165         (minus_zero): Likewise.
15166         (plus_infty): Likewise.
15167         (minus_infty): Likewise.
15168         (qnan_value): Likewise.
15169         (max_value): Likewise.
15170         (min_value): Likewise.
15171         (min_subnorm_value): Likewise.
15173 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15175         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15176         uint64_t or uint32_t usage.
15177         * crypt/sha256-block.c: Likewise.
15178         * crypt/sha256-crypt.c: Likewise.
15179         * crypt/sha256.c: Likewise.
15180         * crypt/sha512-block.c: Likewise.
15181         * crypt/sha512-crypt.c: Likewise.
15182         * crypt/sha512.c: Likewise.
15183         * debug/backtrace-tst.c: Likewise.
15184         * debug/pcprofiledump.c: Likewise.
15185         * elf/cache.c: Likewise.
15186         * elf/dl-cache.c: Likewise.
15187         * elf/dl-misc.c: Likewise.
15188         * elf/dl-profile.c: Likewise.
15189         * elf/dl-support.c: Likewise.
15190         * elf/ldconfig.c: Likewise.
15191         * elf/sprof.c: Likewise.
15192         * iconv/dummy-repertoire.c: Likewise.
15193         * iconv/iconv_charmap.c: Likewise.
15194         * iconv/skeleton.c: Likewise.
15195         * iconvdata/8bit-generic.c: Likewise.
15196         * iconvdata/cp737.h: Likewise.
15197         * iconvdata/cp775.h: Likewise.
15198         * iconvdata/ibm1008.h: Likewise.
15199         * iconvdata/ibm1025.h: Likewise.
15200         * iconvdata/ibm1046.h: Likewise.
15201         * iconvdata/ibm1097.h: Likewise.
15202         * iconvdata/ibm1112.h: Likewise.
15203         * iconvdata/ibm1122.h: Likewise.
15204         * iconvdata/ibm1123.h: Likewise.
15205         * iconvdata/ibm1124.h: Likewise.
15206         * iconvdata/ibm1129.h: Likewise.
15207         * iconvdata/ibm1130.h: Likewise.
15208         * iconvdata/ibm1132.h: Likewise.
15209         * iconvdata/ibm1133.h: Likewise.
15210         * iconvdata/ibm1137.h: Likewise.
15211         * iconvdata/ibm1140.h: Likewise.
15212         * iconvdata/ibm1141.h: Likewise.
15213         * iconvdata/ibm1142.h: Likewise.
15214         * iconvdata/ibm1143.h: Likewise.
15215         * iconvdata/ibm1144.h: Likewise.
15216         * iconvdata/ibm1145.h: Likewise.
15217         * iconvdata/ibm1146.h: Likewise.
15218         * iconvdata/ibm1147.h: Likewise.
15219         * iconvdata/ibm1148.h: Likewise.
15220         * iconvdata/ibm1149.h: Likewise.
15221         * iconvdata/ibm1153.h: Likewise.
15222         * iconvdata/ibm1154.h: Likewise.
15223         * iconvdata/ibm1155.h: Likewise.
15224         * iconvdata/ibm1156.h: Likewise.
15225         * iconvdata/ibm1157.h: Likewise.
15226         * iconvdata/ibm1158.h: Likewise.
15227         * iconvdata/ibm1160.h: Likewise.
15228         * iconvdata/ibm1161.h: Likewise.
15229         * iconvdata/ibm1162.h: Likewise.
15230         * iconvdata/ibm1163.h: Likewise.
15231         * iconvdata/ibm1164.h: Likewise.
15232         * iconvdata/ibm1166.h: Likewise.
15233         * iconvdata/ibm1167.h: Likewise.
15234         * iconvdata/ibm12712.h: Likewise.
15235         * iconvdata/ibm1390.h: Likewise.
15236         * iconvdata/ibm1399.h: Likewise.
15237         * iconvdata/ibm16804.h: Likewise.
15238         * iconvdata/ibm4517.h: Likewise.
15239         * iconvdata/ibm4899.h: Likewise.
15240         * iconvdata/ibm4909.h: Likewise.
15241         * iconvdata/ibm4971.h: Likewise.
15242         * iconvdata/ibm5347.h: Likewise.
15243         * iconvdata/ibm803.h: Likewise.
15244         * iconvdata/ibm856.h: Likewise.
15245         * iconvdata/ibm901.h: Likewise.
15246         * iconvdata/ibm902.h: Likewise.
15247         * iconvdata/ibm9030.h: Likewise.
15248         * iconvdata/ibm9066.h: Likewise.
15249         * iconvdata/ibm921.h: Likewise.
15250         * iconvdata/ibm922.h: Likewise.
15251         * iconvdata/ibm9448.h: Likewise.
15252         * iconvdata/isiri-3342.h: Likewise.
15253         * iconvdata/jis0201.h: Likewise.
15254         * include/link.h: Likewise.
15255         * include/netdb.h: Likewise.
15256         * inet/check_native.c: Likewise.
15257         * inet/check_pf.c: Likewise.
15258         * inet/getipv4sourcefilter.c: Likewise.
15259         * inet/getnameinfo.c: Likewise.
15260         * inet/getsourcefilter.c: Likewise.
15261         * inet/htonl.c: Likewise.
15262         * inet/setipv4sourcefilter.c: Likewise.
15263         * inet/setsourcefilter.c: Likewise.
15264         * inet/test-inet6_opt.c: Likewise.
15265         * inet/tst-network.c: Likewise.
15266         * locale/C-collate.c: Likewise.
15267         * locale/C-ctype.c: Likewise.
15268         * locale/C-time.c: Likewise.
15269         * locale/C-translit.h: Likewise.
15270         * locale/loadarchive.c: Likewise.
15271         * locale/programs/3level.h: Likewise.
15272         * locale/programs/charmap.c: Likewise.
15273         * locale/programs/charmap.h: Likewise.
15274         * locale/programs/ld-address.c: Likewise.
15275         * locale/programs/ld-collate.c: Likewise.
15276         * locale/programs/ld-ctype.c: Likewise.
15277         * locale/programs/ld-identification.c: Likewise.
15278         * locale/programs/ld-measurement.c: Likewise.
15279         * locale/programs/ld-messages.c: Likewise.
15280         * locale/programs/ld-monetary.c: Likewise.
15281         * locale/programs/ld-name.c: Likewise.
15282         * locale/programs/ld-numeric.c: Likewise.
15283         * locale/programs/ld-paper.c: Likewise.
15284         * locale/programs/ld-telephone.c: Likewise.
15285         * locale/programs/ld-time.c: Likewise.
15286         * locale/programs/linereader.c: Likewise.
15287         * locale/programs/locale.c: Likewise.
15288         * locale/programs/locarchive.c: Likewise.
15289         * locale/programs/locfile.h: Likewise.
15290         * locale/programs/repertoire.c: Likewise.
15291         * locale/programs/simple-hash.c: Likewise.
15292         * locale/programs/simple-hash.h: Likewise.
15293         * malloc/memusage.c: Likewise.
15294         * malloc/memusagestat.c: Likewise.
15295         * nis/nis_defaults.c: Likewise.
15296         * nis/nis_hash.c: Likewise.
15297         * nis/nis_print.c: Likewise.
15298         * nis/nis_xdr.c: Likewise.
15299         * nscd/connections.c: Likewise.
15300         * nscd/hstcache.c: Likewise.
15301         * nscd/nscd_gethst_r.c: Likewise.
15302         * nscd/nscd_getserv_r.c: Likewise.
15303         * nscd/nscd_helper.c: Likewise.
15304         * nscd/servicescache.c: Likewise.
15305         * nss/makedb.c: Likewise.
15306         * nss/nss_db/db-XXX.c: Likewise.
15307         * nss/nss_db/db-initgroups.c: Likewise.
15308         * nss/nss_db/db-netgrp.c: Likewise.
15309         * nss/nss_files/files-network.c: Likewise.
15310         * nss/nss_files/files-parse.c: Likewise.
15311         * posix/bug-regex5.c: Likewise.
15312         * posix/fnmatch_loop.c: Likewise.
15313         * posix/regcomp.c: Likewise.
15314         * posix/regexec.c: Likewise.
15315         * posix/tst-rfc3484-2.c: Likewise.
15316         * posix/tst-rfc3484-3.c: Likewise.
15317         * posix/tst-rfc3484.c: Likewise.
15318         * resolv/nss_dns/dns-canon.c: Likewise.
15319         * resolv/nss_dns/dns-network.c: Likewise.
15320         * resolv/res_init.c: Likewise.
15321         * resolv/res_mkquery.c: Likewise.
15322         * resolv/tst-aton.c: Likewise.
15323         * stdlib/cxa_atexit.c: Likewise.
15324         * stdlib/cxa_finalize.c: Likewise.
15325         * stdlib/gen-fpioconst.c: Likewise.
15326         * stdlib/strtol_l.c: Likewise.
15327         * string/tst-endian.c: Likewise.
15328         * sunrpc/auth_des.c: Likewise.
15329         * sunrpc/clnt_udp.c: Likewise.
15330         * sunrpc/rtime.c: Likewise.
15331         * sunrpc/svcauth_des.c: Likewise.
15332         * sunrpc/xdr.c: Likewise.
15333         * sunrpc/xdr_intXX_t.c: Likewise.
15334         * sunrpc/xdr_rec.c: Likewise.
15335         * sysdeps/generic/ldconfig.h: Likewise.
15336         * sysdeps/generic/ldsodefs.h: Likewise.
15337         * sysdeps/generic/memusage.h: Likewise.
15338         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15339         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15340         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15341         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15342         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15343         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15344         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15345         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15347         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15348         * sysdeps/posix/getaddrinfo.c: Likewise.
15349         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15350         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15351         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15352         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15353         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15354         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15355         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15356         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15357         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15358         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15359         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15360         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15361         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15362         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15363         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15364         * sysdeps/x86_64/dl-tls.h: Likewise.
15365         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15366         * time/alt_digit.c: Likewise.
15367         * time/era.c: Likewise.
15368         * wcsmbs/tst-c16c32-1.c: Likewise.
15370 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15372         * math/libm-test.inc (struct test_sincos_data): New type.
15373         (RUN_TEST_LOOP_sincos): New macro.
15374         (sincos_test_data): New variable.
15375         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15377 2013-05-16  Richard Henderson  <rth@redhat.com>
15379         * math/atest-exp2.c (LIMB64): New macro.
15380         (CONSTSZ): New macro.
15381         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15382         (hexdig): Move ...
15383         (print_mpn_fp): ... to function scope.
15384         (read_mpn_hex): Remove.
15385         (get_log2): Remove.
15386         (exp2_mpn): Use mp_log2.
15387         (main): Use mp_exp1.
15389 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15391         * math/libm-test.inc: Remove comment about not testing "inexact"
15392         exceptions.
15393         (INEXACT_EXCEPTION): New macro.
15394         (NO_INEXACT_EXCEPTION): Likewise.
15395         (INVALID_EXCEPTION_OK): Update value.
15396         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15397         (OVERFLOW_EXCEPTION_OK): Likewise.
15398         (UNDERFLOW_EXCEPTION_OK): Likewise.
15399         (IGNORE_ZERO_INF_SIGN): Likewise.
15400         (ERRNO_UNCHANGED): Likewise.
15401         (ERRNO_EDOM): Likewise.
15402         (ERRNO_ERANGE): Likewise.
15403         (test_exceptions): Handle testing "inexact" exceptions.
15404         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15405         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15406         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15407         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15408         INEXACT_EXCEPTION.
15409         (rint_towardzero_test_data): Likewise.
15410         (rint_downward_test_data): Likewise.
15411         (rint_upward_test_data): Likewise.
15413         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15414         with OVERFLOW_EXCEPTION.
15415         (exp10_test_data): Likewise.
15416         (exp2_test_data): Likewise.
15417         (expm1_test_data): Likewise.
15418         (lgamma_test_data): Likewise.
15419         (pow_test_data): Likewise.
15420         (tgamma_test_data): Likewise.
15421         (yn_test_data): Remove duplicate test of overflow.
15423         * math/libm-test.inc (struct test_cc_c_data): New type.
15424         (RUN_TEST_LOOP_cc_c): New macro.
15425         (cpow_test_data): New variable.
15426         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15428         * math/libm-test.inc (struct test_f_L_data): New type.
15429         (RUN_TEST_LOOP_f_L): New macro.
15430         (llrint_test_data): New variable.
15431         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15432         (llrint_tonearest_test_data): New variable.
15433         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15434         (llrint_towardzero_test_data): New variable.
15435         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15436         (llrint_downward_test_data): New variable.
15437         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15438         (llrint_upward_test_data): New variable.
15439         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15440         (llround_test_data): New variable.
15441         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15443 2013-05-13  Peter Collingbourne  <pcc@google.com>
15445         * math/atest-exp2.c (get_log2): Remove const attribute.
15447 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15449         * math/libm-test.inc (struct test_f_l_data): New type.
15450         (RUN_TEST_LOOP_f_l): New macro.
15451         (lrint_test_data): New variable.
15452         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15453         (lrint_tonearest_test_data): New variable.
15454         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15455         (lrint_towardzero_test_data): New variable.
15456         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15457         (lrint_downward_test_data): New variable.
15458         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15459         (lrint_upward_test_data): New variable.
15460         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15461         (lround_test_data): New variable.
15462         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15464 2013-05-15  Peter Collingbourne  <pcc@google.com>
15466         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15467         (EXTRACT_WORDS64) Use where appropriate.
15468         (INSERT_WORDS64) Likewise.
15470         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15471         constraints with x constraints.
15472         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15474         * malloc/obstack.c (_obstack_compat): Add initializer.
15476 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15478         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15479         si_trapno and add si_addr_lsb to _sifields.sigfault.
15480         (si_trapno): Remove macro.
15481         (si_addr_lsb): Define new macro.
15482         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15484 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15486         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15487         instead of TEST_f_l.
15488         (llrint_test_tonearest): Likewise.
15489         (llrint_test_towardzero): Likewise.
15490         (llrint_test_downward): Likewise.
15491         (llrint_test_upward): Likewise.
15492         (llround_test): Likewise.
15494         * math/libm-test.inc (struct test_f_i_data): Add comment.
15495         (RUN_TEST_LOOP_f_b): New macro.
15496         (RUN_TEST_LOOP_f_b_tg): Likewise.
15497         (finite_test_data): New variable.
15498         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15499         (isfinite_test_data): New variable.
15500         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15501         (isinf_test_data): New variable.
15502         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15503         (isnan_test_data): New variable.
15504         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15505         (isnormal_test_data): New variable.
15506         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15507         (issignaling_test_data): New variable.
15508         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15509         (signbit_test_data): New variable.
15510         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15512         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15513         with INVALID_EXCEPTION.
15514         (acosh_test_data): Likewise.
15515         (asin_test_data): Likewise.
15516         (atanh_test_data): Likewise.
15517         (fmod_test_data): Likewise.
15518         (log_test_data): Likewise.
15519         (log10_test_data): Likewise.
15520         (log2_test_data): Likewise.
15521         (pow_test_data): Likewise.
15522         (sqrt_test_data): Likewise.
15523         (y0_test_data): Likewise.
15524         (y1_test_data): Likewise.
15525         (yn_test_data): Likewise.
15527         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15528         function contents.
15530         * math/libm-test.inc (struct test_ff_i_data): New type.
15531         (RUN_TEST_LOOP_ff_i_tg): New macro.
15532         (isgreater_test_data): New variable.
15533         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15534         (isgreaterequal_test_data): New variable.
15535         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15536         (isless_test_data): New variable.
15537         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15538         (islessequal_test_data): New variable.
15539         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15540         (islessgreater_test_data): New variable.
15541         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15542         (isunordered_test_data): New variable.
15543         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15545 2013-05-14  David S. Miller  <davem@davemloft.net>
15547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15549 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15551         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15553         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15554         extra_test to int.
15555         (struct test_f_i_data): Change type of max_ulp to int.
15557         * math/libm-test.inc (test_ffI_f1_data): New type.
15558         (RUN_TEST_LOOP_ffI_f1): New macro.
15559         (remquo_test_data): New variable.
15560         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15562         * setjmp/tst-setjmp-fp.c: New file.
15563         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15564         (link-libm): New variable.
15565         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15567         * math/libm-test.inc (struct test_f_i_data): New type.
15568         (RUN_TEST_LOOP_f_i): New macro.
15569         (RUN_TEST_LOOP_f_i_tg): Likewise.
15570         (fpclassify_test_data): New variable.
15571         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15572         (ilogb_test_data): New variable.
15573         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15575         * math/libm-test.inc (scalbln_test): Correct function name in END
15576         call.
15578         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15579         (RUN_TEST_LOOP_fI_f1): New macro.
15580         (frexp_test_data): New variable.
15581         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15583         * math/libm-test.inc (struct test_fF_f1_data): New type.
15584         (RUN_TEST_LOOP_fF_f1): New macro.
15585         (modf_test_data): New variable.
15586         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15588         * math/libm-test.inc (struct test_f_f1_data): New type.
15589         (RUN_TEST_LOOP_f_f1): New macro.
15590         (gamma_test_data): New variable.
15591         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15592         (lgamma_test_data): New variable.
15593         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15595 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15597         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15598         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15599         (main): Comment "tls" pseudo-hwcap.
15601 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15603         * math/libm-test.inc (struct test_fl_f_data): New type.
15604         (RUN_TEST_LOOP_fl_f): New variable.
15605         (scalbln_test_data): New variable.
15606         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15608         * math/libm-test.inc (struct test_fi_f_data): New type.
15609         (RUN_TEST_LOOP_fi_f): New macro.
15610         (ldexp_test_data): New variable.
15611         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15612         (scalbn_test_data): New variable.
15613         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15615         * math/libm-test.inc (struct test_c_f_data): New type.
15616         (RUN_TEST_LOOP_c_f): New macro.
15617         (cabs_test_data): New variable.
15618         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15619         (carg_test_data): New variable.
15620         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15621         (cimag_test_data): New variable.
15622         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15623         (creal_test_data): New variable.
15624         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15626         * math/libm-test.inc (struct test_if_f_data): New type.
15627         (RUN_TEST_LOOP_if_f): New macro.
15628         (jn_test_data): New variable.
15629         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15630         (yn_test_data): New variable.
15631         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15633         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15635 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15637         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15638         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15640 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15642         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15643         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15644         (bench-deps): Add bench-timing.h.
15645         * benchtests-bench-skeleton.c: Include bench-timing.h.
15646         (main): Use TIMING_* macros instead of clock_gettime.
15647         * benchtests/bench-timing.h: New file.
15649         [BZ #14582]
15650         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15651         Renamed from _LIB_VERSION.
15652         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15654 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15656         * math/libm-test.inc (struct test_fff_f_data): New type.
15657         (RUN_TEST_LOOP_fff_f): New macro.
15658         (fma_test_data): New variable.
15659         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15660         (fma_towardzero_test_data): New variable.
15661         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15662         (fma_downward_test_data): New variable.
15663         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15664         (fma_upward_test_data): New variable.
15665         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15667         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15668         (struct test_c_c_data): New type.
15669         (RUN_TEST_LOOP_c_c): New macro.
15670         (cacos_test_data): New variable.
15671         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15672         (cacosh_test_data): New variable.
15673         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15674         (casin_test_data): New variable.
15675         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15676         (casinh_test_data): New variable.
15677         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15678         (catan_test_data): New variable.
15679         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15680         (catanh_test_data): New variable.
15681         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15682         (ccos_test_data): New variable.
15683         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15684         (ccosh_test_data): New variable.
15685         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15686         (cexp_test_data): New variable.
15687         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15688         (clog_test_data): New variable.
15689         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15690         (clog10_test_data): New variable.
15691         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15692         (conj_test_data): New variable.
15693         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15694         (cproj_test_data): New variable.
15695         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15696         (csin_test_data): New variable.
15697         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15698         (csinh_test_data): New variable.
15699         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15700         (csqrt_test_data): New variable.
15701         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15702         (ctan_test_data): New variable.
15703         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15704         (ctan_tonearest_test_data): New variable.
15705         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15706         (ctan_towardzero_test_data): New variable.
15707         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15708         (ctan_downward_test_data): New variable.
15709         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15710         (ctan_upward_test_data): New variable.
15711         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15712         (ctanh_test_data): New variable.
15713         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15714         (ctanh_tonearest_test_data): New variable.
15715         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15716         (ctanh_towardzero_test_data): New variable.
15717         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15718         (ctanh_downward_test_data): New variable.
15719         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15720         (ctanh_upward_test_data): New variable.
15721         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15722         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15723         of BUILD_COMPLEX.
15725         * math/libm-test.inc (struct test_ff_f_data): New type.
15726         (struct test_ff_f_data_nexttoward): Likewise.
15727         (RUN_TEST_LOOP_2_f): New macro.
15728         (RUN_TEST_LOOP_ff_f): Likewise.
15729         (atan2_test_data): New variable.
15730         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15731         (copysign_test_data): New variable.
15732         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15733         (fdim_test_data): New variable.
15734         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15735         (fmax_test_data): New variable.
15736         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15737         (fmin_test_data): New variable.
15738         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15739         (fmod_test_data): New variable.
15740         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15741         (hypot_test_data): New variable.
15742         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15743         (nextafter_test_data): New variable.
15744         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15745         (nexttoward_test_data): New variable.
15746         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15747         (pow_test_data): New variable.
15748         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15749         (pow_tonearest_test_data): New variable.
15750         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15751         (pow_towardzero_test_data): New variable.
15752         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15753         (pow_downward_test_data): New variable.
15754         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15755         (pow_upward_test_data): New variable.
15756         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15757         (remainder_test_data): New variable.
15758         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15759         (scalb_test_data): New variable.
15760         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15761         * sysdeps/i386/fpu/libm-test-ulps: Update.
15763 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15765         * math/libm-test.inc (fma_test): Use max_value instead of local
15766         variable fltmax.
15767         (nextafter_test): Likewise.
15769         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15770         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15771         (acos_downward_test_data): New variable.
15772         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15773         (acos_upward_test_data): New variable.
15774         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15775         (acosh_test_data): New variable.
15776         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15777         (asin_test_data): New variable.
15778         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15779         (asin_tonearest_test_data): New variable.
15780         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15781         (asin_towardzero_test_data): New variable.
15782         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15783         (asin_downward_test_data): New variable.
15784         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15785         (asin_upward_test_data): New variable.
15786         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15787         (asinh_test_data): New variable.
15788         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15789         (atan_test_data): New variable.
15790         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15791         (atanh_test_data): New variable.
15792         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15793         (cbrt_test_data): New variable.
15794         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15795         (ceil_test_data): New variable.
15796         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15797         (cos_test_data): New variable.
15798         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15799         (cos_tonearest_test_data): New variable.
15800         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15801         (cos_towardzero_test_data): New variable.
15802         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15803         (cos_downward_test_data): New variable.
15804         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15805         (cos_upward_test_data): New variable.
15806         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15807         (cosh_test_data): New variable.
15808         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15809         (cosh_tonearest_test_data): New variable.
15810         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15811         (cosh_towardzero_test_data): New variable.
15812         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15813         (cosh_downward_test_data): New variable.
15814         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15815         (cosh_upward_test_data): New variable.
15816         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15817         (erf_test_data): New variable.
15818         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15819         (erfc_test_data): New variable.
15820         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15821         (exp_test_data): New variable.
15822         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15823         (exp_tonearest_test_data): New variable.
15824         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15825         (exp_towardzero_test_data): New variable.
15826         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15827         (exp_downward_test_data): New variable.
15828         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15829         (exp_upward_test_data): New variable.
15830         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15831         (exp10_test_data): New variable.
15832         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15833         (exp2_test_data): New variable.
15834         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15835         (expm1_test_data): New variable.
15836         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15837         (fabs_test_data): New variable.
15838         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15839         (floor_test_data): New variable.
15840         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15841         (j0_test_data): New variable.
15842         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15843         (j1_test_data): New variable.
15844         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15845         (log_test_data): New variable.
15846         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15847         (log10_test_data): New variable.
15848         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15849         (log1p_test_data): New variable.
15850         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15851         (log2_test_data): New variable.
15852         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15853         (logb_test_data): New variable.
15854         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15855         (logb_downward_test_data): New variable.
15856         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15857         (nearbyint_test_data): New variable.
15858         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15859         (rint_test_data): New variable.
15860         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15861         (rint_tonearest_test_data): New variable.
15862         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15863         (rint_towardzero_test_data): New variable.
15864         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15865         (rint_downward_test_data): New variable.
15866         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15867         (rint_upward_test_data): New variable.
15868         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15869         (round_test_data): New variable.
15870         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15871         (sin_test_data): New variable.
15872         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15873         (sin_tonearest_test_data): New variable.
15874         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15875         (sin_towardzero_test_data): New variable.
15876         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15877         (sin_downward_test_data): New variable.
15878         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15879         (sin_upward_test_data): New variable.
15880         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15881         (sinh_test_data): New variable.
15882         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15883         (sinh_tonearest_test_data): New variable.
15884         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15885         (sinh_towardzero_test_data): New variable.
15886         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15887         (sinh_downward_test_data): New variable.
15888         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15889         (sinh_upward_test_data): New variable.
15890         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15891         (sqrt_test_data): New variable.
15892         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15893         (tan_test_data): New variable.
15894         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15895         (tan_tonearest_test_data): New variable.
15896         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15897         (tan_towardzero_test_data): New variable.
15898         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15899         (tan_downward_test_data): New variable.
15900         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15901         (tan_upward_test_data): New variable.
15902         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15903         (tanh_test_data): New variable.
15904         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15905         (tgamma_test_data): New variable.
15906         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15907         (trunc_test_data): New variable.
15908         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15909         (y0_test_data): New variable.
15910         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15911         (y1_test_data): New variable.
15912         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15913         (significand_test_data): New variable.
15914         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15916 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15918         [BZ #12387]
15919         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15921 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15923         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15925 2013-05-10  Andreas Jaeger  <aj@suse.de>
15927         [BZ #15448]
15928         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15929         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15931 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15933         * math/gen-libm-test.pl (adjust_arg): New function.
15934         (special_functions): Handle generating output in both functions
15935         and arrays.
15936         (parse_args): Likewise.
15937         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15938         $in_func argument to parse_args.
15939         * math/libm-test.inc (struct test_f_f_data): New type.
15940         (IF_ROUND_INIT_): New macro.
15941         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15942         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15943         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15944         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15945         (ROUND_RESTORE_): Likewise.
15946         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15947         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15948         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15949         (ROUND_RESTORE_FE_UPWARD): Likewise.
15950         (RUN_TEST_LOOP_f_f): New macro.
15951         (acos_test_data): New variable.
15952         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15953         (acos_tonearest_test_data): New variable.
15954         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15956 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15958         * benchtests/bench-skeleton.c (startup): Fix coding style.
15960 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15962         [BZ #6809]
15963         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15964         negative infinity argument.
15965         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15966         negative infinity argument.
15967         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15968         negative infinity argument.
15969         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15970         domain errors.
15972 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15974         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15975         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15976         * iconv/iconv_prog.c (main): Likewise.
15977         * locale/programs/charmap-dir.c (charmap_readdir)
15978         (fopen_uncompressed): Likewise.
15979         * locale/programs/locfile.c (siblings_uncached)
15980         (write_locale_data): Use lstat64 instead of lstat.
15981         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15982         stat.
15984 2013-05-10  Andreas Jaeger  <aj@suse.de>
15986         [BZ #15395]
15987         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15988         localization.
15989         Include <locale.h>.
15991 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15993         * elf/dl-close.c (_dl_close_worker): Add comments.
15995 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15997         [BZ #15359]
15998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15999         high part of pi/2.
16000         (__ieee754_rem_pio2l): Update comments.
16002         [BZ #15429]
16003         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16004         high part of pi/2.
16005         (__ieee754_rem_pio2l): Update comments.
16007         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16008         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16010         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16011         M_PI_4l.
16013         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16014         (M_PI_34_LOG10El): Likewise.
16015         (M_PI2_LOG10El): Likewise.
16016         (M_PI4_LOG10El): Likewise.
16017         (M_PI_LOG10El): Likewise.
16019 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16023 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16025         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16026         (MINUS_ZERO_INIT): Likewise.
16027         (PLUS_INFTY_INIT): Likewise.
16028         (MINUS_INFTY_INIT): Likewise.
16029         (QNAN_VALUE_INIT): Likewise.
16030         (MAX_VALUE_INIT): Likewise.
16031         (MIN_VALUE_INIT): Likewise.
16032         (MIN_SUBNORM_VALUE_INIT): Likewise.
16033         (plus_zero): Initialize with PLUS_ZERO_INIT.
16034         (minus_zero): Initialize with MINUS_ZERO_INIT.
16035         (plus_infty): Initialize with PLUS_INFTY_INIT.
16036         (minus_infty): Initialize with MINUS_INFTY_INIT.
16037         (qnan_value): Initialize with QNAN_VALUE_INIT.
16038         (max_value): Initialize with MAX_VALUE_INIT.
16039         (min_value): Initialize with MIN_VALUE_INIT.
16040         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16042         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16043         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16044         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16045         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16047         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16048         (RUN_TEST_2_f): Likewise.
16049         (RUN_TEST_ff_f): Likewise.
16050         (RUN_TEST_fi_f): Likewise.
16051         (RUN_TEST_fl_f): Likewise.
16052         (RUN_TEST_fff_f): Likewise.
16053         (RUN_TEST_c_f): Likewise.
16054         (RUN_TEST_f_f1): Likewise.
16055         (RUN_TEST_fF_f1): Likewise.
16056         (RUN_TEST_fI_f1): Likewise.
16057         (RUN_TEST_ffI_f1): Likewise.
16058         (RUN_TEST_c_c): Likewise.
16059         (RUN_TEST_cc_c): Likewise.
16060         (RUN_TEST_f_i): Likewise.
16061         (RUN_TEST_f_i_tg): Likewise.
16062         (RUN_TEST_ff_i_tg): Likewise.
16063         (RUN_TEST_f_b): Likewise.
16064         (RUN_TEST_f_b_tg): Likewise.
16065         (RUN_TEST_f_l): Likewise.
16066         (RUN_TEST_f_L): Likewise.
16067         (RUN_TEST_sincos): Likewise.
16068         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16069         whether to show exceptions.  Do not include ");\n" in return
16070         value.
16071         (special_functions): Output call to RUN_TEST_sincos instead of
16072         check_float calls.  Update calls to new_test.
16073         (parse_args): Output call to single RUN_TEST_* macro instead of
16074         check_* calls and other assignments.  Update calls to new_test.
16076         [BZ #2546]
16077         [BZ #2560]
16078         [BZ #5159]
16079         [BZ #15426]
16080         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16081         input to result for tgamma overflow.
16082         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16083         (gamma_coeff): New variable.
16084         (NCOEFF): New macro.
16085         (gamma_positive): New function.
16086         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16087         underflow here.  Use gamma_positive instead of exp (lgamma) for
16088         other arguments.
16089         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16090         (gamma_coeff): New variable.
16091         (NCOEFF): New macro.
16092         (gammaf_positive): New function.
16093         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16094         underflow here.  Use gamma_positive instead of exp (lgamma) for
16095         other arguments.
16096         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16097         (gamma_coeff): New variable.
16098         (NCOEFF): New macro.
16099         (gammal_positive): New function.
16100         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16101         underflow here.  Use gamma_positive instead of exp (lgamma) for
16102         other arguments.
16103         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16104         (gamma_coeff): New variable.
16105         (NCOEFF): New macro.
16106         (gammal_positive): New function.
16107         (__ieee754_gammal_r): Handle positive infinity, overflow and
16108         underflow here.  Handle NaN the same as positive infinity.  Remove
16109         check x < 0xffffffff for negative integers.  Use gamma_positive
16110         instead of exp (lgamma) for other arguments.
16111         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16112         (gamma_coeff): New variable.
16113         (NCOEFF): New macro.
16114         (gammal_positive): New function.
16115         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16116         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16117         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16118         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16119         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16120         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16121         * sysdeps/generic/math_private.h (__gamma_productf): New
16122         prototype.
16123         (__gamma_product): Likewise.
16124         (__gamma_productl): Likewise.
16125         * math/Makefile (libm-calls): Add gamma_product.
16126         * math/libm-test.inc (tgamma_test): Add more tests.
16127         * sysdeps/i386/fpu/libm-test-ulps: Update.
16128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16130 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16132         * benchtests/bench-skeleton.c (main): Preheat CPU.
16134 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16136         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16138 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16140         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16141         and _dl_skip_args_internal.
16143 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16145         * manual/message.texi (Message Translation): Talk about users.
16146         Message to key mapping impacts design.
16148 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16150         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16152         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16154         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16155         * sysdeps/wordsize-64/glob64.c: ... here.
16157         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16158         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16159         New macros.
16161         * debug/getlogin_r_chk.c: Moved to ...
16162         * login/getlogin_r_chk.c: ... here.
16163         * debug/Makefile (routines): Move getlogin_r_chk to ...
16164         * login/Makefile (routines): ... here.
16165         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16166         * login/Versions (libc: GLIBC_2.4): ... here.
16168         * io/poll.c (__poll): Renamed from poll.
16169         Add libc_hidden_def.
16170         (poll): Define as weak alias.
16172         * debug/ptsname_r_chk.c: Moved to ...
16173         * login/ptsname_r_chk.c: ... here.
16174         * debug/Makefile (routines): Move ptsname_r_chk to ...
16175         * login/Makefile (routines): ... here.
16176         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16177         * login/Versions (libc: GLIBC_2.4): ... here.
16179         * posix/getlogin.c: Moved to ...
16180         * login/getlogin.c: ... here.
16181         * posix/getlogin_r.c: Moved to ...
16182         * login/getlogin_r.c: ... here.
16183         * posix/getlogin_r.c: Moved to ...
16184         * login/getlogin_r.c: ... here.
16185         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16186         * login/Makefile (routines): ... here.
16187         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16188         * login/Versions (libc: GLIBC_2.0): ... here.
16190         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16191         (setrlimit): Define as weak alias.
16193         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16194         Call __ names for open, ftruncate, and close.
16195         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16196         (truncate): Define as weak alias.
16198 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16200         * math/gen-libm-test.pl (parse_args): Initialize x before each
16201         test of frexp, modf and remquo.
16203         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16204         test signgam value.
16206 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16208         [BZ #15418]
16209         [BZ #15419]
16210         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16211         internal tests.
16212         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16214 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16216         * elf/dl-writev.h: New file.
16217         * elf/dl-misc.c: Include it.
16218         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16219         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16221 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16223         * math/libm-test.inc (noXFails): Remove variable.
16224         (noXPasses): Likewise.
16225         (BUILD_COMPLEX_INT): Remove macro.
16226         (print_screen): Remove xfail argument.
16227         (print_screen_max_error): Likewise.
16228         (update_stats): Likewise.
16229         (print_max_error): Likewise.  Update calls to other affected
16230         functions.
16231         (print_complex_max_error): Likewise.
16232         (test_single_exception): Update calls to print_screen.
16233         (test_single_errno): Likewise.
16234         (check_float_internal): Remove xfail argument.  Update calls to
16235         other affected functions.
16236         (check_float): Likewise.
16237         (check_complex): Likewise.
16238         (check_int): Likewise.
16239         (check_long): Likewise.
16240         (check_bool): Likewise.
16241         (check_longlong): Likewise.
16242         (main): Don't print noXFails and noXPasses.
16243         * math/gen-libm-test.pl (top level): Don't mention expected
16244         failure handling in comment.
16245         (new_test): Don't handle expected failures.
16246         (parse_args): Don't mention expected failure handling in comment.
16247         (generate_testfile): Don't handle expected failures.
16248         (parse_ulps): Likewise.
16249         (print_ulps_file): Likewise.
16250         (get_failure): Remove function.
16251         (output_test): Don't handle expected failures.
16252         * make/README.libm-test: Don't mention expected failure handling.
16254         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16255         (minus_zero): Likewise.
16256         (plus_infty): Likewise.
16257         (minus_infty): Likewise.
16258         (qnan_value): Likewise.
16259         (max_value): Likewise.
16260         (min_value): Likewise.
16261         (min_subnorm_value): Likewise.
16262         (initialize): Do not initialize those variables dynamically.
16264 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16266         * io/open.c (__open_2): Moved to ...
16267         * io/open_2.c: ... this new file.
16268         * io/open64.c (__open64_2): Moved to ...
16269         * io/open64_2.c: ... this new file.
16270         * io/openat.c (__openat_2): Moved to ...
16271         * io/openat_2.c: ... this new file.
16272         * io/openat64.c (__openat64_2): Moved to ...
16273         * io/openat64_2.c: ... this new file.
16274         * io/Makefile (routines): Add them.
16275         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16276         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16277         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16278         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16279         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16280         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16281         (__openat64): Add hidden_ver.
16282         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16283         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16285         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16286         Separately conditionalize setting of GLRO(dl_sysinfo) so
16287         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16288         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16290 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16292         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16294         definition.
16295         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16296         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16297         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16298         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16299         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16301 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16303         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16304         test signgam value.
16306         * math/libm-test.inc (hypot_test): Do not use
16307         IGNORE_ZERO_INF_SIGN.
16309 2013-05-03  Andreas Jaeger  <aj@suse.de>
16311         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16312         Linux 3.9.
16313         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16314         (PF_MAX): Adjust for VSOCK change.
16316 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16320 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16322         [BZ #15264]
16323         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16324         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16325         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16327 2013-05-02  David S. Miller  <davem@davemloft.net>
16329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16331 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16333         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16335 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16337         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16339 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16341         [BZ #14952]
16342         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16343         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16344         Use __attribute__ ((__gnu_inline__)).
16345         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16346         Don't use __attribute__ ((__gnu_inline__)).
16348 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16350         [BZ #15423]
16351         * math/s_catan.c (__catan): Handle small real or imaginary part of
16352         input specially to avoid spurious underflow.
16353         * math/s_catanf.c (__catanf): Likewise.
16354         * math/s_catanh.c (__catanh): Likewise.
16355         * math/s_catanhf.c (__catanhf): Likewise.
16356         * math/s_catanhl.c (__catanhl): Likewise.
16357         * math/s_catanl.c (__catanl): Likewise.
16358         * math/libm-test.inc (catan_test): Add more tests.
16359         (catanh_test): Likewise.
16360         * sysdeps/i386/fpu/libm-test-ulps: Update.
16361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16363 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16367 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16369         [BZ #15416]
16370         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16371         accurately for denominator in atan2.
16372         * math/s_catanf.c (__catanf): Likewise.
16373         * math/s_catanh.c (__catanh): Likewise.
16374         * math/s_catanhf.c (__catanhf): Likewise.
16375         * math/s_catanhl.c (__catanhl): Likewise.
16376         * math/s_catanl.c (__catanl): Likewise.
16377         * math/libm-test.inc (catan_test): Add more tests.
16378         (catanh_test): Likewise.
16379         * sysdeps/i386/fpu/libm-test-ulps: Update.
16380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16382 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16384         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16386         * benchtests/Makefile (bench): Remove slow benchmarks.
16387         * benchtests/atan-inputs: Add slow benchmark inputs.
16388         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16389         (BENCH_FUNC): Accept variant offset.
16390         (VARIANT): Define.
16391         * benchtests/bench-skeleton.c (main): Run benchmark for each
16392         variant.
16393         * benchtests/cos-inputs: Add slow benchmark inputs.
16394         * benchtests/exp-inputs: Likewise.
16395         * benchtests/pow-inputs: Likewise.
16396         * benchtests/sin-inputs: Likewise.
16397         * benchtests/slowatan-inputs: Remove.
16398         * benchtests/slowatan.c: Remove.
16399         * benchtests/slowcos-inputs: Remove.
16400         * benchtests/slowcos.c: Remove.
16401         * benchtests/slowexp-inputs: Remove.
16402         * benchtests/slowexp.c: Remove.
16403         * benchtests/slowpow-inputs: Remove.
16404         * benchtests/slowpow.c: Remove.
16405         * benchtests/slowsin-inputs: Remove.
16406         * benchtests/slowsin.c: Remove.
16407         * benchtests/slowtan-inputs: Remove.
16408         * benchtests/slowtan.c: Remove.
16409         * benchtests/tan-inputs: Add slow benchmark inputs.
16410         * scripts/bench.pl: Parse comments and directives.
16412         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16413         in CPPFLAGS.
16414         ($(objpfx)bench-%.c): Remove *-ITER.
16415         * benchtests/bench-modf.c: Remove definition of ITER.
16416         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16417         (main): Loop for DURATION seconds instead of fixed number of
16418         iterations.
16419         * scripts/bench.pl: Don't expect iterations in parameters.
16421 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16423         * io/fchdir.c (__fchdir): Renamed from fchdir.
16424         (fchdir): Define as weak alias.
16426 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16428         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16429         (ERRNO_EDOM): Likewise.
16430         (ERRNO_ERANGE): Likewise.
16431         (noErrnoTests): New variable.
16432         (init_max_error): Set errno to 0.
16433         (test_single_errno): New function.
16434         (test_errno): Likewise.
16435         (check_float_internal): Call test_errno.  Set errno to 0.
16436         (check_complex): Refer to errno tests in comment.
16437         (check_int): Call test_errno.  Set errno to 0.
16438         (check_long): Likewise.
16439         (check_bool): Likewise.
16440         (check_longlong): Likewise.
16441         (cos_test): Use ERRNO_* flags for errno tests instead of
16442         check_int.
16443         (expm1_test): Likewise.
16444         (fmod_test): Likewise.
16445         (ilogb_test): Likewise.
16446         (lgamma_test): Likewise.
16447         (pow_test): Likewise.
16448         (remainder_test): Likewise.
16449         (sin_test): Likewise.
16450         (tan_test): Likewise.
16451         (yn_test): Likewise.
16452         (initialize): Set errno to 0.
16453         (main): Print number of errno tests.
16454         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16456 2013-04-29  Andreas Jaeger  <aj@suse.de>
16458         [BZ #15084]
16459         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16460         and RES_USEVC.
16462         [BZ #15085]
16463         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16464         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16465         unimplemented.
16467         [BZ #15380]
16468         * stdlib/random.c (__initstate): Return NULL if
16469         __initstate fails.
16471         [BZ #15086]
16472         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16473         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16474         RES_SNGLKUPREOP.
16476 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16478         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16480 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16482         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16483         of individual tests.
16484         (casin_test): Likewise.
16485         (casinh_test): Likewise.
16487 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16489         [BZ #15409]
16490         * math/s_catan.c (__catan): Handle arguments with large real or
16491         imaginary part separately without squaring.
16492         * math/s_catanf.c (__catanf): Likewise.
16493         * math/s_catanh.c (__catanh): Likewise.
16494         * math/s_catanhf.c (__catanhf): Likewise.
16495         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16496         and redefine.
16497         (__catanhl): Handle arguments with large real or imaginary part
16498         separately without squaring.
16499         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16500         and redefine.
16501         (__catanl): Handle arguments with large real or imaginary part
16502         separately without squaring.
16503         * math/libm-test.inc (catan_test): Add more tests.
16504         (catanh_test): Likewise.
16505         * sysdeps/i386/fpu/libm-test-ulps: Update.
16506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16508 2013-04-27  Andreas Jaeger  <aj@suse.de>
16510         [BZ #15007]
16511         * stdlib/stdlib.h: Update guards for qecvt.
16512         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16513         <stdlib.h>.
16515 2013-04-27  Allan McRae  <allan@archlinux.org>
16517         * sysdeps/i386/fpu/libm-test-ulps: Update.
16519 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16521         [BZ #15406]
16522         * math/s_catan.c: Include <float.h>.
16523         (__catan): Ensure underflow exception occurs for underflowed
16524         result.
16525         * math/s_catanf.c: Include <float.h>.
16526         (__catanf): Ensure underflow exception occurs for underflowed
16527         result.
16528         * math/s_catanh.c: Include <float.h>.
16529         (__catanh): Ensure underflow exception occurs for underflowed
16530         result.
16531         * math/s_catanhf.c: Include <float.h>.
16532         (__catanhf): Ensure underflow exception occurs for underflowed
16533         result.
16534         * math/s_catanhl.c: Include <float.h>.
16535         (__catanhl): Ensure underflow exception occurs for underflowed
16536         result.
16537         * math/s_catanl.c: Include <float.h>.
16538         (__catanl): Ensure underflow exception occurs for underflowed
16539         result.
16540         * math/libm-test.inc (catan_test): Add more tests.
16541         (catanh_test): Likewise.
16543         [BZ #15405]
16544         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16545         underflowed result.
16546         * math/s_ccoshf.c (__ccoshf): Likewise.
16547         * math/s_ccoshl.c (__ccoshl): Likewise.
16548         * math/s_csin.c (__csin): Likewise.
16549         * math/s_csinf.c (__csinf): Likewise.
16550         * math/s_csinh.c (__csinh): Likewise.
16551         * math/s_csinhf.c (__csinhf): Likewise.
16552         * math/s_csinhl.c (__csinhl): Likewise.
16553         * math/s_csinl.c (__csinl): Likewise.
16554         * math/libm-test.inc (ccos_test): Add more tests.
16555         (ccosh_test): Likewise.
16556         (csin_test): Likewise.
16557         (csinh_test): Likewise.
16559 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16561         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16562         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16563         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16564         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16565         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16566         powerpc/power5+/fpu folders.
16567         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16570 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16574 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16576         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16577         additions to variable.
16578         [$(config-machine) = x86_64] (modules-names): Likewise.
16579         ($(objpfx)tst-audit3): Remove dependency.
16580         ($(objpfx)tst-audit3.out): Likewise.
16581         ($(objpfx)tst-audit4): Likewise.
16582         ($(objpfx)tst-audit4.out): Likewise.
16583         ($(objpfx)tst-audit5): Likewise.
16584         ($(objpfx)tst-audit5.out): Likewise.
16585         ($(objpfx)tst-audit6): Likewise.
16586         ($(objpfx)tst-audit6.out): Likewise.
16587         ($(objpfx)tst-audit7): Likewise.
16588         ($(objpfx)tst-audit7.out): Likewise.
16589         (tst-audit3-ENV): Remove variable.
16590         (tst-audit4-ENV): Likewise.
16591         (tst-audit5-ENV): Likewise.
16592         (tst-audit6-ENV): Likewise.
16593         (tst-audit7-ENV): Likewise.
16594         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16595         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16596         addition to variable.
16597         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16598         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16599         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16600         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16601         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16602         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16603         tst-audit3, tst-audit4 and tst-audit5.
16604         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16605         tst-audit6 and tst-audit7.
16606         [$(subdir) = elf] (modules-names): Add audit modules for those
16607         tests.
16608         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16609         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16610         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16611         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16612         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16613         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16614         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16615         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16616         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16617         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16618         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16619         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16620         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16621         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16622         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16623         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16624         Likewise.
16625         [$(subdir) = elf && $(config-cflags-avx) = yes]
16626         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16627         [$(subdir) = elf && $(config-cflags-avx) = yes]
16628         (CFLAGS-tst-auditmod4a.c): Likewise.
16629         [$(subdir) = elf && $(config-cflags-avx) = yes]
16630         (CFLAGS-tst-auditmod4b.c): Likewise.
16631         [$(subdir) = elf && $(config-cflags-avx) = yes]
16632         (CFLAGS-tst-auditmod6b.c): Likewise.
16633         [$(subdir) = elf && $(config-cflags-avx) = yes]
16634         (CFLAGS-tst-auditmod6c.c): Likewise.
16635         [$(subdir) = elf && $(config-cflags-avx) = yes]
16636         (CFLAGS-tst-auditmod7b.c): Likewise.
16637         * elf/tst-audit3.c: Move to ...
16638         * sysdeps/x86_64/tst-audit3.c: ... here.
16639         * elf/tst-audit4.c: Move to ...
16640         * sysdeps/x86_64/tst-audit4.c: ... here.
16641         * elf/tst-audit5.c: Move to ...
16642         * sysdeps/x86_64/tst-audit5.c: ... here.
16643         * elf/tst-audit6.c: Move to ...
16644         * sysdeps/x86_64/tst-audit6.c: ... here.
16645         * elf/tst-audit7.c: Move to ...
16646         * sysdeps/x86_64/tst-audit7.c: ... here.
16647         * elf/tst-auditmod3a.c: Move to ...
16648         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16649         * elf/tst-auditmod3b.c: Move to ...
16650         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16651         * elf/tst-auditmod4a.c: Move to ...
16652         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16653         * elf/tst-auditmod4b.c: Move to ...
16654         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16655         * elf/tst-auditmod5a.c: Move to ...
16656         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16657         * elf/tst-auditmod5b.c: Move to ...
16658         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16659         * elf/tst-auditmod6a.c: Move to ...
16660         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16661         * elf/tst-auditmod6b.c: Move to ...
16662         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16663         * elf/tst-auditmod6c.c: Move to ...
16664         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16665         * elf/tst-auditmod7a.c: Move to ...
16666         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16667         * elf/tst-auditmod7b.c: Move to ...
16668         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16670 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16672         [BZ #15366]
16673         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16674         define unconditionally.
16675         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16676         define unconditionally.
16677         (INT8_C, INT16_C, etc.): Likewise.
16679 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16681         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16682         __ehdr_start with hidden visibility.
16684         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16686 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16688         * math/libm-test.inc (cos_test): Use accurate hex constants.
16689         (sincost_test): Likewise.
16691 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16693         * math/libm-test.inc (catan_test): Add more tests.
16694         (catanh_test): Likewise.
16696         * math/s_catanf.c (__catanf): Use suffixed floating-point
16697         constants.
16698         * math/s_catanhf.c (__catanhf): Likewise.
16699         * math/s_catanhl.c (__catanhl): Likewise.
16700         * math/s_catanl.c (__catanl): Likewise.
16702         [BZ #15394]
16703         * math/s_catan.c (__catan): Calculate imaginary part of result
16704         with log1p not log unless computing log of number close to 0.
16705         * math/s_catanf.c (__catanf): Likewise.
16706         * math/s_catanl.c (__catanl): Likewise.
16707         * math/s_catanh.c (__catanh): Calculate real part of result with
16708         log1p not log unless computing log of number close to 0.
16709         * math/s_catanhf.c (__catanhf): Likewise.
16710         * math/s_catanhl.c (__catanhl): Likewise.
16711         * math/libm-test.inc (catan_test): Add more tests.
16712         (catanh_test): Likewise.
16713         * sysdeps/i386/fpu/libm-test-ulps: Update.
16714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16716 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16718         * benchtests/Makefile: Mention files in which fast and slow
16719         paths of math functions are implemented.
16721 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16723         * sysdeps/posix/timespec_get.c: New file.
16725 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16727         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16728         POWER.
16729         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16730         for POWER.
16731         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16732         powerpc/power5/fpu folders.
16733         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16734         * benchtests/Makefile: Add modf testcase.
16735         * benchtests/bench-modf.c: New file: Benchmark test for mo
16737 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16739         [BZ #14888]
16740         * time/Makefile (tests): Add tst-strptime-whitespace.
16741         * time/strptime_l.c (get_number): Use ISSPACE.
16742         (__strptime_internal): Likewise.
16743         * time/tst-strptime-whitespace.c: New test case.
16745 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16747         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16748         member.
16749         (_nss_files_init): Set it here.
16751 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16753         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16754         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16755         unsigned.
16757 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16759         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16761 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16763         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16764         size just once.
16766 2013-04-21  David S. Miller  <davem@davemloft.net>
16768         * po/ru.po: Update Russion translation from translation project.
16770 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16772         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16773         and setfsgid.
16775 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16777         * configure.in: Remove i386 configure warning. Remove i386 case.
16778         * configure: Regenerate.
16779         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16780         Add example to error message.
16781         * sysdeps/i386/configure: Regenerate.
16783 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16785         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16786         slowtan.
16787         * benchtests/cos-inputs: New file.
16788         * benchtests/slowcos-inputs: New file.
16789         * benchtests/slowcos.c: New file.
16790         * benchtests/slowtan-inputs: New file.
16791         * benchtests/slowtan.c: New file.
16792         * benchtests/tan-inputs: New file.
16794 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16796         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16797         considered kosher.
16799 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16801         * benchtests/Makefile: Include cppflags-iterator.mk to add
16802         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16804         * Makefile.in (bench-clean): New target.
16805         * benchtests/Makefile (bench-clean): Likewise.
16807 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16809         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16811 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16813         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16815 2013-04-15  Andreas Schwab  <schwab@suse.de>
16817         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16818         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16819         * nscd/pwdcache.c (cache_addpw): Likewise.
16820         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16821         more than recsize.
16823 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16825         * benchtests/Makefile (bench): Write all output to
16826         bench-out.tmp together.
16828 2013-04-15  Andreas Schwab  <schwab@suse.de>
16830         * nscd/nscd.c (main): Don't fork again after closing files.
16832 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16834         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16836         * benchtests/Rules (bench-deps): Collect dependencies into a
16837         single variable.  Add Makefile to dependencies.
16838         ($(objpfx)bench-%.c): Depend on bench-deps.
16840 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16841             Xavier Roche  <roche+kml2@exalead.com>
16843         [BZ #15361]
16844         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16845         just that it's a file descriptor.
16846         * manual/llio.texi (Synchronizing AIO Operations): Update description
16847         for EBADF error from aio_fsync.
16849 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16851         * Rules (bench): Move target definition...
16852         * benchtests/Makefile: ... here.
16854 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16856         * math/libm-test.inc (cos_test): Fix PI/2 test.
16857         (sincos_test): Likewise.
16858         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16859         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16861 2013-04-11  Andreas Schwab  <schwab@suse.de>
16863         [BZ #13988]
16864         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16865         accept exponent character only when digits were seen.
16866         * stdio-common/Makefile (tests): Add bug26.
16867         * stdio-common/bug26.c: New file.
16869         [BZ #14293]
16870         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16871         non-freeable.
16873 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16875         * Makeconfig (rtld-prefix): Define built linker prefix.
16876         * Rules (run-bench): Use it.
16877         * math/Makefile (run-regen-ulps): Likewise.
16879         * Rules (bench): Remove eval.
16881 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16882             Roland McGrath  <roland@hack.frob.com>
16883             Ondrej Bilka  <neleai@seznam.cz>
16885         [BZ #15346]
16886         * time/getdate.c: Include ctype.h and alloca.h.
16887         (__getdate_r): Trim leading and trailing spaces of input.
16888         * time/tst-getdate.c (tests): Add tests with leading and
16889         trailing spaces.
16891 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16893         [BZ #14280]
16894         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16895         when computing value.
16897 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16899         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16900         Use testrun.sh to run libm tests.
16902         [BZ #15309]
16903         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16905 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16907         [BZ #15264]
16908         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16910 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16912         * Makefile.in (regen-ulps): New target.
16913         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16914         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16915         [ifneq (no,$(PERL)] (regen-ulps): New target.
16916         [ifeq (no,$(PERL)] (regen-ulps): New target.
16917         * math/libm-test.inc (ulps_file_name): Define.
16918         (output_dir): New variable.
16919         (options): Add "output-dir" option.
16920         (parse_opt): Handle 'o' case.
16921         (main): If output_dir is non-NULL use it as a prefix
16922         otherwise use "".
16923         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16925 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16927         [BZ #10060, #10062]
16928         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16929         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16930         fail configure if __sync_val_compare_and_swap is not inlined.
16931         * sysdeps/i386/configure: Regenerate.
16932         * configure.in: Build for i686 when configured for i386.
16933         * configure: Regenerate.
16934         * README: Remove i386 reference.
16936 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16938         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16939         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16941 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16943         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16944         (lmsnanval): New variables.
16945         (F): Add conversion tests.
16946         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16947         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16949         * stdio-common/tstdiomisc.c (F): Properly collect individual
16950         tests' results.
16952         [BZ #14686, #15336]
16953         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16954         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16955         Instead, use input NaN values or generate a qNaN by arithmetic
16956         operation.  Also fix bugs to comply with the standard.
16957         * math/libm-test.inc (remainder_test): Add more tests.
16959         [BZ #15335, #15342]
16960         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16961         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16962         input NaN values or generate a qNaN by arithmetic operation.
16964         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16965         unreachable code.
16967         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16968         definitions.
16970 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16972         [BZ #14478]
16973         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16974         underflowed result.
16975         * math/s_cexpf.c (__cexpf): Likewise.
16976         * math/s_cexpl.c (__cexpl): Likewise.
16977         * math/libm-test.inc (cexp_test): Add more tests.
16979 2013-04-03  Andreas Schwab  <schwab@suse.de>
16981         [BZ #15330]
16982         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16983         order arrays from heap if bigger than alloca cutoff.
16985 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16987         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16988         (SNAN_TESTS_double): Refer to GCC PR56831.
16989         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16990         GCC PR56828.
16992 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16994         * Rules (bench): Move bench.out after the run is complete.
16996         * Rules (bench): Echo currently running benchmark.
16998         * benchtests/Makefile (bench): Add atan and slowatan.
16999         * benchtests/atan-inputs: New file.
17000         * benchtests/slowatan-inputs: New file.
17001         * benchtests/slowatan.c: New file.
17003         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17005         its value.
17007         [BZ #15305]
17008         * sysdeps/unix/sysv/linux/kernel-features.h
17009         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17010         __ASSUME_XFS_RESTRICTED_CHOWN.
17011         * sysdeps/unix/sysv/linux/pathconf.c
17012         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17013         Save and restore errno.
17015 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17017         [BZ #15327]
17018         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17019         arguments using __kernel_casinh.
17020         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17021         arguments using __kernel_casinhf.
17022         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17023         arguments using __kernel_casinhl.
17024         * math/libm-test.inc (cacosh_test): Add more tests.
17025         * sysdeps/i386/fpu/libm-test-ulps: Update.
17026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17030         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17033         * bench/Makefile (bench): Add sin and slowsin.
17034         * benchtests/sin-inputs: New file.
17035         * benchtests/slowsin-inputs: New file.
17036         * benchtests/slowsin.c: New file.
17038         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17039         (bench): Add slowexp and slowpow.
17040         (exp-ITER): Increase iterations.
17041         (pow-ITER): Likewise.
17042         * benchtests/exp-inputs: Change input.
17043         * benchtests/pow-inputs: Likewise.
17044         * benchtests/slowexp-inputs: New file.
17045         * benchtests/slowexp.c: New file.
17046         * benchtests/slowpow-inputs: New file.
17047         * benchtests/slowpow.c: New file.
17049 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17051         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17052         instructions.
17053         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17054         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17055         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17056         * benchtests/Makefile: Add rint benchtest.
17057         * benchtests/rint-inputs: Input for rint benchtest.
17059 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17061         * Versions.def (libm): Add GLIBC_2.18.
17062         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17063         hidden libm prototypes.
17064         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17065         * math/Makefile (libm-calls): Add s_issignaling.
17066         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17067         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17068         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17069         declaration.
17070         * math/math.h [__USE_GNU] (issignaling): New macro.
17071         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17072         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17073         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17074         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17075         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17076         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17077         * manual/arith.texi (issignaling): New section.
17078         * manual/libm-err-tab.pl (@all_functions): Update comment.
17079         * math/gen-libm-test.pl (parse_args): Apply special handling for
17080         issignaling.
17081         * math/libm-test.inc (print_float, issignaling_test): New
17082         functions.
17083         (check_float_internal): Add issignaling checks.
17084         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17085         default definition.
17086         * sysdeps/powerpc/math-tests.h: New file.
17087         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17088         tests.
17089         * math/test-snan.c (TEST_FUNC): Likewise.
17091 2013-03-30  David S. Miller  <davem@davemloft.net>
17093         * po/de.po: Update from translation team.
17095 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17097         [BZ #10357]
17098         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17099         imaginary part less than 1.0 and real part less than 0.5
17100         specially.
17101         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17102         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17103         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17104         (cacos_test): Add more tests.
17105         (casin_test): Likewise.
17106         (casinh_test): Likewise.
17107         * sysdeps/i386/fpu/libm-test-ulps: Update.
17108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17110 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17112         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17113         ONE with its value.
17115         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17116         (__pow_mp): Replace ONE and MONE with their values.
17117         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17119         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17120         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17121         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17122         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17124         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17126         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17127         (__pow_mp): Replace ZERO and MZERO with their values.
17128         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17129         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17131         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17132         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17133         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17134         (__sqr): Likewise.
17136         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17138         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17140 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17142         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17143         Declare with __attribute__ ((weak)).
17144         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17145         Call __call_tls_dtors only if it's not NULL.
17147 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17149         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17150         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17151         magic __ehdr_start linker symbol if it's defined.
17152         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17153         them up here if it was already done.
17155         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17156         (_dl_aux_init): Use const in cast when setting it.
17157         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17158         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17159         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17161         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17162         Declare them here.
17163         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17164         * csu/libc-tls.c: Nor here.
17165         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17167         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17168         (__libc_message): Never call vsyslog.
17170 2013-03-28  Alan Modra  <amodra@gmail.com>
17172         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17173         Define as empty.
17174         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17175         Likewise.
17177 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17179         [BZ #15214]
17180         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17181         underflow.
17182         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17184 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17186         [BZ #15304]
17187         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17188         Don't add gid passed as argument.
17190         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17192 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17194         [BZ #15307]
17195         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17196         imaginary part between 1.0 and 1.5 and real part less than 0.5
17197         specially.
17198         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17199         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17200         * math/libm-test.inc (cacos_test): Add more tests.
17201         (casin_test): Likewise.
17202         (casinh_test): Likewise.
17203         * sysdeps/i386/fpu/libm-test-ulps: Update.
17204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17206 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17208         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17209         constants.
17210         (norm): Likewise.
17211         (denorm): Likewise.
17212         (__dbl_mp): Likewise.
17213         (add_magnitudes): Likewise.
17214         (sub_magnitudes): Likewise.
17215         (__add): Likewise.
17216         (__sub): Likewise.
17217         (__mul): Likewise.
17218         (__sqr): Likewise.
17219         (__inv): Likewise.
17220         (__dvd): Likewise.
17222         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17223         commented code.
17224         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17225         (__dubcos): Likewise.
17226         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17227         (__ieee754_acos): Likewise.
17228         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17229         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17230         (__exp1): Likewise.
17231         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17232         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17233         (log1): Likewise.
17234         (my_log2): Likewise.
17235         (checkint): Likewise.
17236         * sysdeps/ieee754/dbl-64/e_remainder.c
17237         (__ieee754_remainder): Likewise.
17238         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17239         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17240         (bsloww): Likewise.
17241         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17243         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17244         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17245         MANTISSA_STORE_T to store computations on mantissa.  Use
17246         macros for rounding and division.
17247         (denorm): Likewise.
17248         (__dbl_mp): Likewise.
17249         (add_magnitudes): Likewise.
17250         (sub_magnitudes): Likewise.
17251         (__mul): Likewise.
17252         (__sqr): Likewise.
17253         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17254         powers of two in terms of TWOPOW macro.
17255         (mp_no): Make type of mantissa as MANTISSA_T.
17256         [!RADIXI]: Define RADIXI.
17257         [!TWO52]: Define TWO52.
17258         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17260 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17262         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17263         llroundl symbol when building for PPC32.
17265 2013-03-24  Mark H Weaver  <mhw@netris.org>
17267         * manual/arith.texi (Normalization Functions): Fix prototypes for
17268         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17270 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17272         [BZ #13889]
17273         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17274         high value to check if expl overflow.
17275         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17276         to check for underflow and overflow.
17277         * math/libm-test.inc: Add exp test.
17279 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17281         [BZ #11120]
17282         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17283         with NOT_IN_libc.
17285 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17287         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17288         symbol.
17290 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17292         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17293         wrap blocks consisting of several statements.
17295         * sysdeps/generic/math-tests.h: New file.
17296         * sysdeps/i386/fpu/math-tests.h: Likewise.
17297         * math/test-snan.c: Include it.
17298         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17300 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17302         [BZ #15285]
17303         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17304         (__ieee754_j0l): Do not improve calculations using cos of twice
17305         input for inputs above LDBL_MAX / 2.0L.
17306         (__ieee754_y0l): Likewise.
17307         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17308         (__ieee754_j1l): Do not improve calculations using cos of twice
17309         input for inputs above LDBL_MAX / 2.0L.
17310         (__ieee754_y1l): Likewise.
17311         * math/libm-test.inc (j0_test): Add another test.
17312         (j1_test): Likewise.
17313         (y0_test): Likewise.
17314         (y1_test): Likewise.
17315         * sysdeps/i386/fpu/libm-test-ulps: Update.
17317 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17319         * Rules ($(objpfx)bench-%.c): Include code from a C source
17320         file.
17322 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17324         [BZ #15287]
17325         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17326         imaginary part 1.0 and real part less than 0.5 specially.
17327         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17328         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17329         * math/libm-test.inc (cacos_test): Add more tests.
17330         (casin_test): Likewise.
17331         (casinh_test): Likewise.
17332         * sysdeps/i386/fpu/libm-test-ulps: Update.
17333         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17335 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17337         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17338         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17340 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17342         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17343         * config.make.in (config-cflags-sse4): Remove variable.
17344         (config-cflags-avx): Likewise.
17345         (config-cflags-sse2avx): Likewise.
17346         (config-cflags-novzeroupper): Likewise.
17347         (config-asflags-i686): Likewise.
17348         (have-mfma4): Likewise.
17349         (have-as-vis3): Likewise.
17350         (MIG): Likewise.
17351         * configure.in (MIG): Do not AC_SUBST.
17352         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17353         (libc_cv_cc_sse4): Do not AC_SUBST.
17354         (libc_cv_cc_avx): Likewise.
17355         (libc_cv_cc_sse2avx): Likewise.
17356         (libc_cv_cc_novzeroupper): Likewise.
17357         (libc_cv_cc_fma4): Likewise.
17358         (libc_cv_as_i686): Likewise.
17359         (libc_cv_sparc_as_vis3): Likewise.
17360         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17361         LIBC_CONFIG_VAR.
17362         (config-asflags-i686): Likewise.
17363         (config-cflags-avx): Likewise.
17364         (config-cflags-sse2avx): Likewise.
17365         (have-mfma4): Likewise.
17366         (config-cflags-novzeroupper): Likewise.
17367         * sysdeps/mach/configure.in (MIG): Likewise.
17368         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17369         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17370         LIBC_CONFIG_VAR.
17371         (config-cflags-avx): Likewise.
17372         (config-cflags-sse2avx): Likewise.
17373         (have-mfma4): Likewise.
17374         (config-cflags-novzeroupper): Likewise.
17375         * configure: Regenerated.
17376         * sysdeps/i386/configure: Likewise.
17377         * sysdeps/mach/configure: Likewise.
17378         * sysdeps/sparc/configure: Likewise.
17379         * sysdeps/x86_64/configure: Likewise.
17381 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17383         [BZ #14812]
17384         * locale/programs/localedef.c (options): Put N_ translation marker
17385         on argument names, not just descriptions.
17387 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17389         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17391 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17393         [BZ #14176]
17394         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17396 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17398         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17399         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17400         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17401         [!BEFORE_ABORT] (before_abort): New function.
17402         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17403         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17404         (writev_for_fatal): New function.
17405         (WRITEV_FOR_FATAL): New macro; call that.
17406         (backtrace_and_maps): New function.
17407         (BEFORE_ABORT): New macro; call that.
17408         (struct str_list): Type removed.
17409         (__libc_message, __libc_fatal): Functions removed.
17410         Include <sysdeps/posix/libc_fatal.c> instead.
17412 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17414         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17415         constants.
17416         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17417         double constants.
17419 2013-03-19  Andreas Schwab  <schwab@suse.de>
17421         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17422         * sysdeps/gnu/configure: Regenerate.
17424         * configure.in: Substitute libc_cv_rtlddir.
17425         * configure: Regenerate.
17426         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17427         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17428         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17429         * elf/Makefile (install-others, CFLAGS-interp.c)
17430         (ldso_install, common-ldd-rewrite): Likewise.
17431         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17432         $(inst_slibdir)/$(rtld-installed-name).
17433         * scripts/rellns-sh: Add -p option.
17434         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17435         for source.
17437 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17439         * manual/nptl.texi: Renamed to ...
17440         * manual/threads.texi: ... this.
17441         * manual/Makefile (chapters): Update.
17443 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17445         [BZ #14812]
17446         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17447         on argument names, not just descriptions.
17448         * malloc/memusagestat.c (options): Likewise.
17449         * nss/getent.c (options): Likewise.
17451 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17453         [BZ #14812]
17454         * iconv/iconv_prog.c (options): Put N_ translation marker
17455         on argument names, not just descriptions.
17456         * iconv/iconvconfig.c (options): Likewise.
17458 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17460         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17461         implementation which is faster on all x86_64 architectures.
17462         Tested on AMD, Intel Nehalem, SNB, IVB.
17463         * sysdeps/x86_64/strnlen.S: Likewise.
17465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17466         Remove all multiarch strlen and strnlen versions.
17467         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17468         Remove strlen and strnlen related parts.
17470         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17471         Inline strlen part.
17472         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17474         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17475         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17476         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17477         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17478         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17479         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17481 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17483         * manual/memory.texi (Malloc Tunable Parameters):
17484         Sort parameters alphabetically. Add comments for missing entries.
17486 2013-03-17  David S. Miller  <davem@davemloft.net>
17488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17490 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17492         [BZ #15283]
17493         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17494         for arguments at most half maximum finite value.
17495         * math/libm-test.inc (j0_test): Add more tests.
17496         (j1_test): Likewise.
17497         (y0_test): Likewise.
17498         (y1_test): Likewise.
17499         * sysdeps/i386/fpu/libm-test-ulps: Update.
17500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17502         [BZ #14155]
17503         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17504         1 / x and functions P and Q for arguments above 0x1p256L.
17505         (__ieee754_y0l): Likewise.
17506         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17507         (__ieee754_y1l): Likewise.
17508         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17509         (j1_test): Likewise.
17510         (y0_test): Likewise.
17511         (y1_test): Likewise.
17513 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17515         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17516         variable.
17518 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17520         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17521         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17522         zero since it's initialized to EXEC_PAGESIZE.
17524         * sysdeps/unix/sysv/linux/ldsodefs.h
17525         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17526         * sysdeps/generic/ldsodefs.h: ... here.
17528 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17530         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17532         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17533         math/test-snan.c.
17534         * math/test-snan.c: Renamed from
17535         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17536         * math/Makefile (tests): Add test-snan.
17537         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17538         test-powerpc-snan.
17540         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17541         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17542         functions.
17543         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17544         __builtin_nan family of functions.
17545         * math/libm-test.inc (initialize): Initialize qnan_value with
17546         __builtin_nan family of functions.
17547         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17548         Remove variables.
17549         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17550         Remove functions.
17551         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17552         storage class.  Initialize qNaN_var and sNaN_var with
17553         __builtin_nan and __builtin_nans families of functions,
17554         respectively.
17556         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17557         (sqrt_test): Remove duplicate test with qNaN input.
17558         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17559         (round_test, signbit_test, significand_test): Note missing +/-Inf
17560         as well as qNaN tests.
17562         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17563         qNaN_var.  Fix a few strings, too.
17564         * math/libm-test.inc (nan_value): Rename to qnan_value.
17565         * math/gen-libm-test.pl (%beautify): Adjust to that.
17566         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17567         * math/test-misc.c (main): Likewise.
17568         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17569         to __qnan_bytes, and __qnan_union, respectively.
17570         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17571         Likewise.
17572         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17573         and lqnanval, respectively.
17574         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17575         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17576         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17577         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17579         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17580         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17581         doubles.
17583         * math/test-misc.c (main): Fix copy'n'pastos.
17584         * misc/tst-efgcvt.c (special): Likewise.
17586         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17587         Remove declarations.
17589 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17591         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17592         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17593         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17594         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17596 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17598         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17599         macro to return vdso values correctly in IFUNC implementations.
17600         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17601         Optimization by using IFUNC.
17603 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17604             Richard Henderson  <rth@redhat.com>
17605             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17607         * Makefile.in (bench): New target.
17608         * NEWS: Mention the benchmark framework.
17609         * Rules (bench): Likewise.
17610         (binaries-bench): Generate binaries for functions to
17611         benchmark.
17612         * benchtests/Makefile: New makefile for benchmark tests.
17613         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17614         programs.
17615         * benchtests/exp-inputs: New input file for EXP function.
17616         * benchtests/pow-inputs: New input file for POW function.
17617         * scripts/bench.pl: New script to generate source files for
17618         benchmark programs.
17620 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17622         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17623         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17624         computations on mantissa.  Use macros for rounding and
17625         division.
17626         (denorm): Likewise.
17627         (__dbl_mp): Likewise.
17628         (add_magnitudes): Likewise.
17629         (sub_magnitudes): Likewise.
17630         (__mul): Likewise.
17631         (__sqr): Likewise.
17632         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17633         powers of two in terms of TWOPOW macro.
17634         (mp_no): Make type of mantissa as MANTISSA_T.
17635         [!RADIXI]: Define RADIXI.
17636         [!TWO52]: Define TWO52.
17637         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17639         * manual/nptl.texi (cindex): Modify threads to pthreads.
17641 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17643         * sysdeps/x86_64/preconfigure: Regenerated.
17645 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17647         [BZ #14155]
17648         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17649         0x1p28 and above.
17650         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17651         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17652         0x1p28 and above.
17653         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17654         * math/libm-test.inc (j0_test): Do not allow one spurious
17655         underflow exception.
17656         (y1_test): Likewise.
17658 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17660         * manual/Makefile (chapters): Add nptl.
17661         * manual/debug.texi (Debugging Support): Add link to Threads
17662         chapter.
17663         * manual/nptl.texi: New file.
17665         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17667 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17669         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17670         for non-NULL pointer before the memory validity test. Pointed
17671         out by Holger Brunck <holger.brunck@keymile.com>.
17673 2013-03-13  Andreas Schwab  <schwab@suse.de>
17675         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17676         instead of .os.
17678 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17680         * timezone/zic.c: Update from tzcode 2013b.
17682 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17684         * manual/install.texi (Configuring and compiling):
17685         Mention i686 and i586.
17686         * INSTALL: Regenerate.
17688 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17690         * sysdeps/init_array/elf-init.c: New file.
17691         * csu/elf-init.c
17692         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17693         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17695         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17696         __gmon_start__ as global, but as static with a .preinit_array pointer.
17697         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17698         * sysdeps/init_array/crti.S: New file, empty except for comments.
17699         * sysdeps/init_array/crtn.S: Likewise.
17701 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17703         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17704         definining bcopy.
17705         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17706         Remove Prefer_SSE_for_memop.
17707         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17708         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17709         HAS_PREFER_SSE_FOR_MEMOP.
17710         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17711         memset-x86-64.
17712         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17713         Remove bzero, memset ifunc support.
17714         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17715         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17716         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17717         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17719 2013-03-11  Andreas Schwab  <schwab@suse.de>
17721         [BZ #15234]
17722         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17723         by SHLIB_COMPAT.
17724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17725         (GLIBC_2.16): Remove pthread_atfork.
17727 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17729         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17730         (ptestcases.h): Likewise.
17732 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17734         * Makeconfig ($(common-objpfx)config.status): Depend on
17735         sysdeps/*/preconfigure{,.in} too.
17737 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17739         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17740         (__free_hook): Use void * instead of __malloc_ptr_t.
17741         (__malloc_hook): Likewise.
17742         (__realloc_hook): Likewise.
17743         (__memalign_hook): Likewise.
17744         (__after_morecore_hook): Likewise.
17745         * malloc/arena.c (save_malloc_hook): Likewise.
17746         (save_free_hook): Likewise.
17747         * malloc/hooks.c (malloc_hook_ini): Likewise.
17748         (realloc_hook_ini): Likewise.
17749         (memalign_hook_ini): Likewise.
17750         * malloc/malloc.c (malloc_hook_ini): Likewise.
17751         (realloc_hook_ini): Likewise.
17752         (memalign_hook_ini): Likewise.
17753         (__free_hook): Likewise.
17754         (__malloc_hook): Likewise.
17755         (__realloc_hook): Likewise.
17756         (__memalign_hook): Likewise.
17757         (__libc_malloc): Likewise.
17758         (__libc_free): Likewise.
17759         (__libc_realloc): Likewise.
17760         (__libc_memalign): Likewise.
17761         (__libc_valloc): Likewise.
17762         (__libc_pvalloc): Likewise.
17763         (__libc_calloc): Likewise.
17764         (__posix_memalign): Likewise.
17765         * malloc/morecore.c (__sbrk): Likewise.
17766         (__default_morecore): Likewise.
17768         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17770         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17771         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17772         __malloc_ptrdiff_t.
17774         * malloc/malloc.h (__malloc_size_t): Remove macro.
17775         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17776         __malloc_size_t.
17777         (old_memalign_hook): Likewise.
17778         (old_realloc_hook): Likewise.
17779         (struct hdr): Likewise.
17780         (flood): Likewise.
17781         (mallochook): Likewise.
17782         (memalignhook): Likewise.
17783         (reallochook): Likewise.
17784         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17785         (tr_old_realloc_hook): Likewise.
17786         (tr_old_memalign_hook): Likewise.
17787         (tr_mallochook): Likewise.
17788         (tr_reallochook): Likewise.
17789         (tr_memalignhook): Likewise.
17791 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17793         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17794         default_ldbl_pack and using as default implementation.
17795         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17796         implementation.
17797         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17798         redundant definition.
17799         (ldbl_insert_mantissa): Likewise.
17800         (ldbl_canonicalize): Likewise.
17801         (ldbl_nearbyint): Likewise.
17802         (ldbl_pack): Rename to ldbl_pack_ppc.
17803         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17804         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17805         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17807 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17809         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17810         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17811         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17812         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17813         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17814         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17815         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17816         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17818 2013-03-07  Andreas Jaeger  <aj@suse.de>
17820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17821         bits/mman-linux.h.
17823 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17826         Include mpa.h and declare __MPEXP.
17827         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17828         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17829         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17830         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17831         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17832         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17833         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17835         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17836         (__slowpow): Use long double EXPL and LOGL functions to
17837         compute POW.
17838         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17839         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17840         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17841         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17842         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17843         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17845         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17846         intermediate variable to calculate exponent.
17847         (__sqr): Likewise.
17848         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17849         Likewise.
17850         (__sqr): Likewise.
17852         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17853         [!NO__SQR]: Define __sqr.
17854         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17855         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17856         sysdeps/ieee754/dbl-64/mpa.c.
17857         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17859         [BZ #12723]
17860         * posix/Makefile (tests): Add tst-pathconf.
17861         * posix/tst-pathconf.c: New test case.
17862         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17863         _PC_PIPE_BUF.
17864         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17866 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17868         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17870 2013-03-06  Andreas Jaeger  <aj@suse.de>
17872         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17873         definition via __MAP_ANONYMOUS.
17875         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17876         it's not part of Linux headers.
17878         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17879         (MAP_HUGE_MASK): Define.
17881         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17882         Define.
17883         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17884         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17885         Define.
17886         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17887         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17888         Define.
17889         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17890         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17891         Define.
17892         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17894         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17895         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17896         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17897         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17898         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17899         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17901         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17902         Handle f2fs.
17904         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17905         Handle f2fs and efivarfs.
17907         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17908         f2fs.
17910         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17911         (EFIVARFS_MAGIC): Add.
17912         (F2FS_LINK_MAX): Add.
17914 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17916         * stdio-common/vfprintf.c: Replace __builtin_expect with
17917         __glibc_unlikely.
17919 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17921         [BZ #13550]
17922         * sysdeps/generic/bp-sym.h: Remove file.
17923         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17924         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17925         <bp-sym.h> and <bp-asm.h>.
17926         (__longjmp): Don't use BP_SYM.
17927         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17928         and <bp-asm.h>.
17929         (memcpy): Don't use BP_SYM.
17930         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17931         <bp-sym.h> and <bp-asm.h>.
17932         (memcpy): Don't use BP_SYM.
17933         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17934         <bp-asm.h>.
17935         (memcpy): Don't use BP_SYM.
17936         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17937         <bp-asm.h>.
17938         (memset): Don't use BP_SYM.
17939         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17940         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17941         (__bzero): Don't use BP_SYM.
17942         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17943         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17944         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17945         <bp-sym.h> and <bp-asm.h>.
17946         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17947         pointers.
17948         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17949         <bp-sym.h> and <bp-asm.h>.
17950         (memcpy): Don't use BP_SYM.
17951         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17952         <bp-sym.h> and <bp-asm.h>.
17953         (memset): Don't use BP_SYM.
17954         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17955         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17956         (__bzero): Don't use BP_SYM.
17957         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17958         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17959         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17960         <bp-sym.h> and <bp-asm.h>.
17961         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17962         pointers.
17963         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17964         <bp-sym.h> and <bp-asm.h>.
17965         (memcpy): Don't use BP_SYM.
17966         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17967         <bp-sym.h> and <bp-asm.h>.
17968         (memset): Don't use BP_SYM.
17969         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17970         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17971         (__bzero): Don't use BP_SYM.
17972         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17973         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17974         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
17975         <bp-sym.h> and <bp-asm.h>.
17976         (__memchr): Don't use BP_SYM.
17977         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17978         <bp-sym.h> and <bp-asm.h>.
17979         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17980         pointers.
17981         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17982         <bp-sym.h> and <bp-asm.h>.
17983         (memcpy): Don't use BP_SYM.
17984         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17985         <bp-sym.h> and <bp-asm.h>.
17986         (__mempcpy): Don't use BP_SYM.
17987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17988         <bp-sym.h> and <bp-asm.h>.
17989         (__memrchr): Don't use BP_SYM.
17990         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17991         <bp-sym.h> and <bp-asm.h>.
17992         (memset): Don't use BP_SYM.
17993         (__bzero): Likewise.
17994         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17995         <bp-sym.h> and <bp-asm.h>.
17996         (__rawmemchr): Don't use BP_SYM.
17997         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17998         <bp-sym.h> and <bp-asm.h>.
17999         (__STRCMP): Don't use BP_SYM.
18000         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18001         <bp-sym.h> and <bp-asm.h>.
18002         (strchr): Don't use BP_SYM.
18003         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18004         <bp-sym.h> and <bp-asm.h>.
18005         (__strchrnul): Don't use BP_SYM.
18006         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18007         <bp-sym.h> and <bp-asm.h>.
18008         (strlen): Don't use BP_SYM.
18009         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18010         <bp-sym.h> and <bp-asm.h>.
18011         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18012         pointers.
18013         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18014         <bp-sym.h> and <bp-asm.h>.
18015         (__strnlen): Don't use BP_SYM.
18016         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18017         <bp-sym.h> and <bp-asm.h>.
18018         (__GI__setjmp): Don't use BP_SYM.
18019         (_setjmp): Likewise.
18020         (__sigsetjmp): Likewise.
18021         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18022         (L(start_addresses)): Don't use BP_SYM.
18023         (_start): Likewise.
18024         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18025         <bp-asm.h>.
18026         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18027         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18028         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18029         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18030         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18031         <bp-asm.h>.
18032         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18033         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18034         about bounded pointers.
18035         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18036         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18037         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18038         <bp-asm.h>.
18039         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18040         about bounded pointers.  Remove GKM FIXME comments.
18041         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18042         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18043         <bp-asm.h>.
18044         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18045         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18046         Remove GKM FIXME comments.
18047         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18048         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18049         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18050         <bp-asm.h>.
18051         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18052         about bounded pointers.  Remove GKM FIXME comment.
18053         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18054         and <bp-asm.h>.
18055         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18056         pointers.
18057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18058         <bp-sym.h> and <bp-asm.h>.
18059         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18061         <bp-sym.h> and <bp-asm.h>.
18062         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18063         comment.
18065 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18067         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18068         call free(NULL).
18070 2013-03-05  David S. Miller  <davem@davemloft.net>
18072         * po/es.po: Update from translation team.
18074 2013-03-05  Andreas Jaeger  <aj@suse.de>
18076         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18077         <bits/mman-linux.h>.
18078         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18079         is fine.
18080         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18081         <bits/mman-linux.h> to end of file.
18082         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18083         is fine.
18084         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18085         <bits/mman-linux.h> to end of file.
18086         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18087         is fine.
18088         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18089         <bits/mman-linux.h> to end of file.
18091         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18092         (MCL_CURRENT, MCL_FUTURE): Define here.
18094 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18096         [BZ #15232]
18097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18098         attribute_hidden.
18099         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18101 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18104         fourth parameter needed for rt_sigprocmask syscall.
18105         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18106         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18107         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18108         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18109         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18110         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18112 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18114         [BZ #13550]
18115         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18116         comment about bounded pointers.
18117         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18118         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18120 2013-03-04  Andreas Jaeger  <aj@suse.de>
18122         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18123         common definitions.
18125         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18126         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18127         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18128         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18129         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18130         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18132 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18134         [BZ #15055]
18135         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18136         __ieee754_sqrl instead of __sqrl.
18138 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18140         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18141         * sysdeps/powerpc/fpu_control.h: ... here.
18142         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18143         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18144         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18145         * sysdeps/powerpc/bits/mathinline.h: ... here.
18147 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18149         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18150         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18151         to just [NEED_DL_SYSINFO_DSO].
18152         * elf/dl-support.c: Likewise.
18153         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18154         * elf/rtld.c (dl_main): Likewise.
18155         * elf/setup-vdso.h (setup_vdso): Likewise.
18156         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18157         * sysdeps/unix/sysv/linux/dl-sysdep.c
18158         (_dl_discover_osversion): Likewise.
18160 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18162         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18163         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18165 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18167         * NEWS: Mention libm performance improvements and non-x86 PI
18168         futex support.
18170         * csu/libc-start.c (__pthread_initialize_minimal): Change
18171         function arguments.
18172         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18174 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18176         [BZ #13550]
18177         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18178         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18179         <bp-sym.h> and <bp-asm.h>.
18180         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18181         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18182         and <bp-asm.h>.
18183         (memcpy): Don't use BP_SYM.
18184         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18185         <bp-asm.h>.
18186         (__mpn_add_n): Don't use BP_SYM.
18187         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18188         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18189         and <bp-asm.h>.
18190         (__mpn_addmul_1): Don't use BP_SYM.
18191         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18192         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18193         <bp-sym.h>.
18194         (_setjmp): Don't use BP_SYM.
18195         (__novmx_setjmp): Likewise.
18196         (__GI__setjmp): Likewise.
18197         (__vmx_setjmp): Likewise.
18198         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18199         <bp-sym.h>.
18200         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18201         (__bzero): Don't use BP_SYM.
18202         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18203         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18204         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18205         <bp-sym.h> and <bp-asm.h>.
18206         (memcpy): Don't use BP_SYM.
18207         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18208         <bp-sym.h> and <bp-asm.h>.
18209         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18211         <bp-sym.h> and <bp-asm.h>.
18212         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18213         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18214         <bp-asm.h>.
18215         (__mpn_lshift): Don't use BP_SYM.
18216         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18217         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18218         <bp-asm.h>.
18219         (memset): Don't use BP_SYM.
18220         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18221         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18222         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18223         <bp-asm.h>.
18224         (__mpn_mul_1): Don't use BP_SYM.
18225         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18226         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18227         <bp-sym.h> and <bp-asm.h>.
18228         (memcmp): Don't use BP_SYM.
18229         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18230         <bp-sym.h> and <bp-asm.h>.
18231         (memcpy): Don't use BP_SYM.
18232         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18233         <bp-sym.h> and <bp-asm.h>.
18234         (memset): Don't use BP_SYM.
18235         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18236         <bp-sym.h> and <bp-asm.h>.
18237         (strncmp): Don't use BP_SYM.
18238         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18239         <bp-sym.h> and <bp-asm.h>.
18240         (memcpy): Don't use BP_SYM.
18241         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18242         <bp-sym.h> and <bp-asm.h>.
18243         (memset): Don't use BP_SYM.
18244         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18245         <bp-sym.h> and <bp-asm.h>.
18246         (__memchr): Don't use BP_SYM.
18247         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18248         <bp-sym.h> and <bp-asm.h>.
18249         (memcmp): Don't use BP_SYM.
18250         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18251         <bp-sym.h> and <bp-asm.h>.
18252         (memcpy): Don't use BP_SYM.
18253         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18254         <bp-sym.h> and <bp-asm.h>.
18255         (__mempcpy): Don't use BP_SYM.
18256         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18257         <bp-sym.h> and <bp-asm.h>.
18258         (__memrchr): Don't use BP_SYM.
18259         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18260         <bp-sym.h> and <bp-asm.h>.
18261         (memset): Don't use BP_SYM.
18262         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18263         <bp-sym.h> and <bp-asm.h>.
18264         (__rawmemchr): Don't use BP_SYM.
18265         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18266         <bp-sym.h> and <bp-asm.h>.
18267         (__STRCMP): Don't use BP_SYM.
18268         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18269         <bp-sym.h> and <bp-asm.h>.
18270         (strchr): Don't use BP_SYM.
18271         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18272         <bp-sym.h> and <bp-asm.h>.
18273         (__strchrnul): Don't use BP_SYM.
18274         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18275         <bp-sym.h> and <bp-asm.h>.
18276         (strlen): Don't use BP_SYM.
18277         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18278         <bp-sym.h> and <bp-asm.h>.
18279         (strncmp): Don't use BP_SYM.
18280         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18281         <bp-sym.h> and <bp-asm.h>.
18282         (__strnlen): Don't use BP_SYM.
18283         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18284         <bp-asm.h>.
18285         (__mpn_rshift): Don't use BP_SYM.
18286         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18287         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18288         <bp-sym.h> and <bp-asm.h>.
18289         (__sigsetjmp): Don't use BP_SYM.
18290         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18291         (L(start_addresses)): Don't use BP_SYM.
18292         (_start): Likewise.
18293         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18294         <bp-asm.h>.
18295         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18296         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18297         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18298         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18299         <bp-asm.h>.
18300         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18301         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18302         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18303         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18304         <bp-asm.h>.
18305         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18306         comments.
18307         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18308         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18309         <bp-asm.h>.
18310         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18311         FIXME comments.
18312         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18313         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18314         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18315         <bp-asm.h>.
18316         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18317         comment.
18318         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18319         and <bp-asm.h>.
18320         (strncmp): Don't use BP_SYM,
18321         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18322         <bp-asm.h>.
18323         (__mpn_sub_n): Don't use BP_SYM.
18324         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18325         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18326         and <bp-asm.h>.
18327         (__mpn_submul_1): Don't use BP_SYM.
18328         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18330         <bp-sym.h> and <bp-asm.h>.
18331         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18333         <bp-sym.h> and <bp-asm.h>.
18334         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18335         comment.
18337 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18339         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18340         Use ZK to minimize writes to Z.
18341         (sub_magnitudes): Simplify code a bit.
18342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18343         Use ZK to minimize writes to Z.
18344         (sub_magnitudes): Simplify code a bit.
18346 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18348         * csu/gmon-start.c: Add special exception to license text.
18350 2013-02-27  Richard Henderson  <rth@redhat.com>
18352         * scripts/config.guess: Update from config.git.
18353         * scripts/config.sub: Likewise.
18355 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18357         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18359         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18361         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18363         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18365         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18367 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18369         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18370         [$(build-shared = yes].
18372 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18374         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18375         (__mul): Reduce iterations for calculating mantissa.
18377         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18378         MPTWO.
18379         (__mpranred): Likewise.
18381         [BZ #15160]
18382         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18383         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18385 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18387         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18388         Define __attribute__.
18390 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18392         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18393         unused.
18394         * posix/regex_internal.h (__attribute): Remove.
18395         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18396         (re_string_context_at): Likewise.
18397         (bitset_not): Use __attribute__ and mark function as possibly
18398         unused.
18399         (bitset_merge): Likewise.
18400         (bitset_mask): Likewise.
18401         (re_string_char_size_at): Likewise.
18402         (re_string_wchar_at): Likewise.
18403         (re_string_elem_size_at): Likewise.
18405 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18407         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18408         code.
18409         (cc32): Likewise.
18411         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18412         (__acr): Likewise.
18413         (__cpy): Likewise.
18414         (norm): Likewise.
18415         (denorm): Likewise.
18416         (__dbl_mp): Likewise.
18417         (add_magnitudes): Likewise.
18418         (sub_magnitudes): Likewise.
18419         (__mul): Likewise.
18420         (__inv): Likewise.
18422         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18423         style.
18425         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18426         style.
18428         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18429         code.
18431         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18432         up changes with default code.
18433         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18434         Likewise.
18436 2013-02-24  Allan McRae  <allan@archlinux.org>
18438         * manual/socket.texi (The Internet Namespace): Order menu items
18439         to match that in the file.
18441         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18442         node listing of the info page menu.
18444 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #13550]
18447         * sysdeps/i386/bp-asm.h: Remove file.
18448         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18449         (PARMS): Do not use macros from bp-asm.h.
18450         (S1): Likewise.
18451         (S2): Likewise.
18452         (SIZE): Likewise.
18453         (__mpn_add_n): Do not use BP_SYM
18454         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18455         "bp-asm.h".
18456         (PARMS): Do not use macros from bp-asm.h.
18457         (S1): Likewise.
18458         (SIZE): Likewise.
18459         (__mpn_addmul_1): Do not use BP_SYM
18460         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18461         "bp-asm.h".
18462         (PARMS): Do not use macros from bp-asm.h.
18463         (SIGMSK): Likewise.
18464         (_setjmp): Likewise.  Do not use BP_SYM.
18465         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18466         "bp-asm.h".
18467         (PARMS): Do not use macros from bp-asm.h.
18468         (SIGMSK): Likewise.
18469         (setjmp): Likewise.  Do not use BP_SYM.
18470         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18471         "bp-asm.h".
18472         (PARMS): Do not use macros from bp-asm.h.
18473         (__frexp): Do not use BP_SYM.
18474         (frexp): Likewise.
18475         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18476         "bp-asm.h".
18477         (PARMS): Do not use macros from bp-asm.h.
18478         (__frexpf): Do not use BP_SYM.
18479         (frexpf): Likewise.
18480         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18481         "bp-asm.h".
18482         (PARMS): Do not use macros from bp-asm.h.
18483         (__frexpl): Do not use BP_SYM.
18484         (frexpl): Likewise.
18485         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18486         "bp-asm.h".
18487         (PARMS): Do not use macros from bp-asm.h.
18488         (__remquo): Do not use BP_SYM.
18489         (remquo): Likewise.
18490         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18491         "bp-asm.h".
18492         (PARMS): Do not use macros from bp-asm.h.
18493         (__remquof): Do not use BP_SYM.
18494         (remquof): Likewise.
18495         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18496         "bp-asm.h".
18497         (PARMS): Do not use macros from bp-asm.h.
18498         (__remquol): Do not use BP_SYM.
18499         (remquol): Likewise.
18500         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18501         "bp-asm.h".
18502         (PARMS): Do not use macros from bp-asm.h.
18503         (DEST): Likewise.
18504         (SRC): Likewise.
18505         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18506         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18507         "bp-asm.h".
18508         (PARMS): Do not use macros from bp-asm.h.
18509         (strlen): Do not use BP_SYM.
18510         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18511         "bp-asm.h".
18512         (PARMS): Do not use macros from bp-asm.h.
18513         (S1): Likewise.
18514         (S2): Likewise.
18515         (SIZE): Likewise.
18516         (__mpn_add_n): Do not use BP_SYM.
18517         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18518         "bp-asm.h".
18519         (PARMS): Do not use macros from bp-asm.h.
18520         (S1): Likewise.
18521         (SIZE): Likewise.
18522         (__mpn_addmul_1): Do not use BP_SYM.
18523         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18524         weak_alias.
18525         (bzero): Likewise.
18526         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18527         "bp-asm.h".
18528         (PARMS): Do not use macros from bp-asm.h.
18529         (S): Likewise.
18530         (SIZE): Likewise.
18531         (__mpn_lshift): Do not use BP_SYM.
18532         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18533         "bp-asm.h".
18534         (PARMS): Do not use macros from bp-asm.h.
18535         (DEST): Likewise.
18536         (SRC): Likewise.
18537         (LEN): Likewise.
18538         (memcpy): Likewise.  Do not use BP_SYM.
18539         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18540         libc_hidden_def and weak_alias.
18541         (mempcpy): Do not use BP_SYM in weak_alias.
18542         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18543         "bp-asm.h".
18544         (PARMS): Do not use macros from bp-asm.h.
18545         (DEST): Likewise.
18546         (LEN): Likewise.
18547         [!BZERO_P] (CHR): Likewise.
18548         (memset): Likewise.  Do not use BP_SYM.
18549         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18550         "bp-asm.h".
18551         (PARMS): Do not use macros from bp-asm.h.
18552         (S1): Likewise.
18553         (SIZE): Likewise.
18554         (__mpn_mul_1): Do not use BP_SYM.
18555         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18556         "bp-asm.h".
18557         (PARMS): Do not use macros from bp-asm.h.
18558         (S): Likewise.
18559         (SIZE): Likewise.
18560         (__mpn_rshift): Do not use BP_SYM.
18561         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18562         "bp-asm.h".
18563         (PARMS): Do not use macros from bp-asm.h.
18564         (STR): Likewise.
18565         (CHR): Likewise.
18566         (strchr): Likewise.  Do not use BP_SYM.
18567         (index): Do not use BP_SYM in weak_alias.
18568         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18569         "bp-asm.h".
18570         (PARMS): Do not use macros from bp-asm.h.
18571         (DEST): Likewise.
18572         (SRC): Likewise.
18573         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18574         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18575         "bp-asm.h".
18576         (PARMS): Do not use macros from bp-asm.h.
18577         (strlen): Do not use BP_SYM.
18578         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18579         "bp-asm.h".
18580         (PARMS): Do not use macros from bp-asm.h.
18581         (S1): Likewise.
18582         (S2): Likewise.
18583         (SIZE): Likewise.
18584         (__mpn_sub_n): Do not use BP_SYM.
18585         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18586         "bp-asm.h".
18587         (PARMS): Do not use macros from bp-asm.h.
18588         (S1): Likewise.
18589         (SIZE): Likewise.
18590         (__mpn_submul_1): Do not use BP_SYM.
18591         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18592         "bp-asm.h".
18593         (PARMS): Do not use macros from bp-asm.h.
18594         (S1): Likewise.
18595         (S2): Likewise.
18596         (SIZE): Likewise.
18597         (__mpn_add_n): Do not use BP_SYM.
18598         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18599         weak_alias.
18600         (bzero): Likewise.
18601         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18602         "bp-asm.h".
18603         (PARMS): Do not use macros from bp-asm.h.
18604         (BLK2): Likewise.
18605         (LEN): Likewise.
18606         (memcmp): Do not use BP_SYM.
18607         (bcmp): Do not use BP_SYM in weak_alias.
18608         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18609         "bp-asm.h".
18610         (PARMS): Do not use macros from bp-asm.h.
18611         (DEST): Likewise.
18612         (SRC): Likewise.
18613         (LEN): Likewise.
18614         (memcpy): Likewise.  Do not use BP_SYM.
18615         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18616         "bp-asm.h".
18617         (PARMS): Do not use macros from bp-asm.h.
18618         (DEST): Likewise.
18619         (SRC): Likewise.
18620         (LEN): Likewise.
18621         (memmove): Likewise.  Do not use BP_SYM.
18622         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18623         "bp-asm.h".
18624         (PARMS): Do not use macros from bp-asm.h.
18625         (DEST): Likewise.
18626         (SRC): Likewise.
18627         (LEN): Likewise.
18628         (__mempcpy): Likewise.  Do not use BP_SYM.
18629         (mempcpy): Do not use BP_SYM in weak_alias.
18630         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18631         "bp-asm.h".
18632         (PARMS): Do not use macros from bp-asm.h.
18633         (DEST): Likewise.
18634         (LEN): Likewise.
18635         [!BZERO_P] (CHR): Likewise.
18636         (memset): Likewise.  Do not use BP_SYM.
18637         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18638         "bp-asm.h".
18639         (PARMS): Do not use macros from bp-asm.h.
18640         (STR2): Likewise.
18641         (strcmp): Do not use BP_SYM.
18642         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18643         "bp-asm.h".
18644         (PARMS): Do not use macros from bp-asm.h.
18645         (STR): Likewise.
18646         (DELIM): Likewise.
18647         [USE_AS_STRTOK_R] (SAVE): Likewise.
18648         (FUNCTION): Likewise.  Do not use BP_SYM.
18649         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18650         aliases.
18651         (strtok_r): Likewise.
18652         (__GI___strtok_r): Likewise.
18653         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18654         (PARMS): Do not use macros from bp-asm.h.
18655         (S): Likewise.
18656         (SIZE): Likewise.
18657         (__mpn_lshift): Do not use BP_SYM.
18658         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18659         (PARMS): Do not use macros from bp-asm.h.
18660         (STR): Likewise.
18661         (CHR): Likewise.
18662         (__memchr): Do not use BP_SYM.
18663         (memchr): Do not use BP_SYM in weak_alias.
18664         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18665         (PARMS): Do not use macros from bp-asm.h.
18666         (BLK2): Likewise.
18667         (LEN): Likewise.
18668         (memcmp): Do not use BP_SYM.
18669         (bcmp): Do not use BP_SYM in weak_alias.
18670         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18671         (PARMS): Do not use macros from bp-asm.h.
18672         (S1): Likewise.
18673         (SIZE): Likewise.
18674         (__mpn_mul_1): Do not use BP_SYM.
18675         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18676         "bp-asm.h".
18677         (PARMS): Do not use macros from bp-asm.h.
18678         (STR): Likewise.
18679         (CHR): Likewise.
18680         (__rawmemchr): Do not use BP_SYM.
18681         (rawmemchr): Do not use BP_SYM in weak_alias.
18682         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18683         (PARMS): Do not use macros from bp-asm.h.
18684         (S): Likewise.
18685         (SIZE): Likewise.
18686         (__mpn_rshift): Do not use BP_SYM.
18687         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18688         (PARMS): Do not use macros from bp-asm.h.
18689         (SIGMSK): Likewise.
18690         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18691         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18692         (_start): Do not use BP_SYM.
18693         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18694         (PARMS): Do not use macros from bp-asm.h.
18695         (DEST): Likewise.
18696         (SRC): Likewise.
18697         (__stpcpy): Likewise.  Do not use BP_SYM.
18698         (stpcpy): Do not use BP_SYM in weak_alias.
18699         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18700         "bp-asm.h".
18701         (PARMS): Do not use macros from bp-asm.h.
18702         (DEST): Likewise.
18703         (SRC): Likewise.
18704         (LEN): Likewise.
18705         (__stpncpy): Likewise.  Do not use BP_SYM.
18706         (stpncpy): Do not use BP_SYM in weak_alias.
18707         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18708         (PARMS): Do not use macros from bp-asm.h.
18709         (STR): Likewise.
18710         (CHR): Likewise.
18711         (strchr): Likewise.  Do not use BP_SYM.
18712         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18713         "bp-asm.h".
18714         (PARMS): Do not use macros from bp-asm.h.
18715         (STR): Likewise.
18716         (CHR): Likewise.
18717         (__strchrnul): Likewise.  Do not use BP_SYM.
18718         (strchrnul): Do not use BP_SYM in weak_alias.
18719         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18720         "bp-asm.h".
18721         (PARMS): Do not use macros from bp-asm.h.
18722         (STOP): Likewise.
18723         (strcspn): Do not use BP_SYM.
18724         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18725         "bp-asm.h".
18726         (PARMS): Do not use macros from bp-asm.h.
18727         (STR): Likewise.
18728         (STOP): Likewise.
18729         (strpbrk): Likewise.  Do not use BP_SYM.
18730         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18731         "bp-asm.h".
18732         (PARMS): Do not use macros from bp-asm.h.
18733         (STR): Likewise.
18734         (CHR): Likewise.
18735         (strrchr): Likewise.  Do not use BP_SYM.
18736         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18737         (PARMS): Do not use macros from bp-asm.h.
18738         (SKIP): Likewise.
18739         (strspn): Do not use BP_SYM.
18740         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18741         (PARMS): Do not use macros from bp-asm.h.
18742         (STR): Likewise.
18743         (DELIM): Likewise.
18744         (SAVE): Likewise.
18745         (FUNCTION): Likewise.  Do not use BP_SYM.
18746         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18747         aliases.
18748         (strtok_r): Likewise.
18749         (__GI___strtok_r): Likewise.
18750         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18751         (PARMS): Do not use macros from bp-asm.h.
18752         (S1): Likewise.
18753         (S2): Likewise.
18754         (SIZE): Likewise.
18755         (__mpn_sub_n): Do not use BP_SYM.
18756         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18757         "bp-asm.h".
18758         (PARMS): Do not use macros from bp-asm.h.
18759         (S1): Likewise.
18760         (SIZE): Likewise.
18761         (__mpn_submul_1): Do not use BP_SYM.
18762         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18763         <bp-sym.h>.
18764         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18765         and <bp-asm.h>.
18766         (PARMS): Do not use macros from bp-asm.h.
18767         (FLAGS): Likewise.
18768         (PTID): Likewise.
18769         (TLS): Likewise.
18770         (CTID): Likewise.
18771         (__clone): Do not use BP_SYM.
18772         (clone): Do not use BP_SYM in weak_alias.
18773         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18774         and <bp-asm.h>.
18775         (PARMS): Do not use macros from bp-asm.h.
18776         (LEN): Likewise.
18777         (__mmap64): Do not use BP_SYM.
18778         (mmap64): Do not use BP_SYM in weak_alias.
18779         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18780         <bp-sym.h> and <bp-asm.h>.
18781         (PARMS): Do not use macros from bp-asm.h.
18782         (__posix_fadvise64_l64): Do not use BP_SYM.
18783         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18784         (PARMS): Do not use macros from bp-asm.h.
18785         (NSOPS): Likewise.
18786         (semtimedop): Do not use BP_SYM.
18787         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18788         and <bp-asm.h>.
18790 2013-02-21  Allan McRae  <allan@archlinux.org>
18792         * manual/message.texi (Charset conversion in gettext):
18793         Move @end statement to beginning of line.
18795 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18798         static.
18799         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18800         Likewise.
18802         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18803         (denorm): Likewise.
18804         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18807 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18809         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18810         tail-call to the resolved function if pltexit isn't needed.
18812 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18814         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18815         or Y being zero as being unlikely.
18816         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18817         Likewise.
18819 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18821         * manual/nss.texi (System Databases and Name Service Switch):
18822         Remove frobnicate @pxref.
18824 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18826         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18827         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18829 2013-02-20  Petr Machata  <pmachata@redhat.com>
18831         * elf/elf.h (R_ARM_TARGET1): New macro.
18832         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18833         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18834         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18835         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18836         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18837         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18838         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18839         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18840         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18841         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18842         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18843         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18844         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18845         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18846         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18847         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18848         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18849         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18850         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18851         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18852         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18853         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18854         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18855         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18856         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18857         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18858         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18859         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18860         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18861         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18862         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18863         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18864         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18865         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18866         (R_ARM_THM_GOT_BREL12): Likewise.
18867         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18868         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18869         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18870         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18871         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18872         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18873         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18874         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18875         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18877 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18879         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18880         __attribute_used__ to __attribute__ ((unused)).
18882 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18884         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18885         powerpc mpa.c.
18886         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18887         comment formatting.
18888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18890 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18892         [BZ #13550]
18893         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18894         Remove macro.
18895         (ENTER): Remove both macro definitions.
18896         (LEAVE): Likewise.
18897         (CHECK_BOUNDS_LOW): Likewise.
18898         (CHECK_BOUNDS_HIGH): Likewise.
18899         (CHECK_BOUNDS_BOTH): Likewise.
18900         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18901         (RETURN_BOUNDED_POINTER): Likewise.
18902         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18903         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18904         (POP_ERRNO_LOCATION_RETURN): Likewise.
18905         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18906         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18907         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18908         macros.
18909         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18910         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18911         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18912         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18913         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18914         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18915         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18916         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18917         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18918         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18919         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18920         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18921         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18922         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18923         removed macros.
18924         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18925         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18926         macros.
18927         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18928         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18929         * sysdeps/i386/i586/memset.S (memset): Likewise.
18930         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18931         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18932         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18933         macros.
18934         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18935         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18936         Change uses of L(2) to L(out).
18937         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18938         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18939         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18940         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18941         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18942         removed macros.
18943         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18944         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18945         macros.
18946         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18947         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18948         (RETURN): Do not use macro LEAVE.
18949         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18950         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18951         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18952         * sysdeps/i386/i686/memset.S (memset): Likewise.
18953         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18954         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18955         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18956         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18957         Likewise.
18958         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18959         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18960         L(1_2) and L(1_3) into L(1).
18961         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18962         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18963         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18964         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18965         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18966         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18967         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18968         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18969         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18970         macros.
18971         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18972         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18973         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18974         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18975         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18976         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18977         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18978         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18979         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18980         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18981         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18982         * sysdeps/i386/strspn.S (strspn): Likewise.
18983         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18984         conditional code.
18985         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18986         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18987         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18988         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18989         L(1_3) into L(1_1).
18990         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18991         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18992         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18993         macros.
18994         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18996 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18998         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18999         macro.
19001 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19003         * math/atest-exp.c (exp_mpn): Remove ROUND.
19004         * math/atest-exp2.c (exp_mpn): Likewise.
19005         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19007         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19008         * stdlib/tst-tls-atexit-lib.c: Likewise.
19009         * stdlib/tst-tls-atexit.c: Likewise.
19011 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19013         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19014         and __attribute_alloc_size__.
19016 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19018         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19019         __attribute_alloc_size__.
19020         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19021         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19023 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19025         * include/programs/xmalloc.h: New file.
19026         * catgets/gencat.c: Include it.
19027         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19028         * elf/pldd.c: Likewise.
19029         * iconv/iconv_charmap.c: Likewise.
19030         * iconv/iconvconfig.c: Likewise.
19031         * iconv/strtab.c: Likewise.
19032         * locale/programs/locale.c: Likewise.
19033         * locale/programs/localedef.h: Likewise.
19034         * locale/programs/simple-hash.c: Likewise.
19035         * nscd/nscd.h: Likewise.
19036         * nss/makedb.c: Likewise.
19037         * sysdeps/generic/ldconfig.h: Likewise.
19039 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19041         * Versions.def: Add GLIBC_2.18.
19042         * include/link.h (struct link_map): New member l_tls_dtor_count.
19043         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19044         (__call_tls_dtors): Likewise.
19045         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19046         __cxa_thread_atexit_impl.
19047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19048         Likewise.
19049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19050         Likewise.
19051         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19052         Likewise.
19053         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19054         Likewise.
19055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19056         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19057         Likewise.
19058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19059         Likewise.
19060         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19062         Likewise.
19063         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19064         (tests): Add test case tst-tls-atexit.
19065         (modules-names): Add shared library for tst-tls-atexit.
19066         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19067         (GLIBC_PRIVATE): Add __call_tls_dtors.
19068         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19069         for libstdc++.
19070         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19071         * stdlib/tst-tls-atexit.c: New test case.
19072         * stdlib/tst-tls-atexit-lib.c: New test case.
19074         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19076         * elf/Versions (ld): Add _dl_find_dso_for_object.
19077         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19078         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19079         (dl_open_worker): Use _dl_find_dso_for_object.
19080         * elf/dl-sym.c (do_sym): Likewise.
19081         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19083 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19085         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19086         Syntactic changes only.
19087         (_dl_runtime_profile): Do a tail-call to the resolved function.
19089 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19091         [BZ #13550]
19092         * sysdeps/x86_64/bp-asm.h: Remove file.
19093         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19094         <bp-sym.h> and <bp-asm.h>.
19095         (__clone): Do not use BP_SYM.
19096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19097         <bp-sym.h> and <bp-asm.h>.
19098         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19099         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19100         "bp-asm.h".
19101         (_setjmp): Do not use BP_SYM.
19102         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19103         "bp-asm.h".
19104         (setjmp): Do not use BP_SYM.
19105         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19106         libc_hidden_def.
19107         (mempcpy): Do not use BP_SYM in weak_alias.
19108         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19109         "bp-asm.h".
19110         (strchr): Do not use BP_SYM.
19111         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19112         "bp-asm.h".
19113         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19114         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19115         (_start): Do not use BP_SYM.
19116         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19117         "bp-asm.h".
19118         (strcat): Do not use BP_SYM.
19119         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19120         "bp-asm.h".
19121         (STRCMP): Do not use BP_SYM.
19122         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19123         "bp-asm.h".
19124         (STRCPY): Do not use BP_SYM.
19125         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19126         "bp-asm.h".
19127         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19128         "bp-asm.h".
19129         (FUNCTION): Do not use BP_SYM.
19130         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19131         weak_alias.
19132         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19134 2013-02-17  Andreas Jaeger  <aj@suse.de>
19136         * time/Versions: Sort entries.
19137         * string/Versions: Likewise.
19138         * resolv/Versions: Likewise.
19139         * posix/Versions: Likewise.
19140         * iconv/Versions: Likewise.
19141         * elf/Versions: Likewise.
19142         * wcsmbs/Versions: Likewise.
19144 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19146         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19147         loop termination condition.
19149         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19150         variable to calculate EZ.
19151         (__sqr): Likewise.
19153         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19154         the lower precision input.
19156 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19158         [BZ #13550]
19159         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19160         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19161         (run-via-rtld-prefix): Do not handle %-bp tests.
19162         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19163         (all-object-suffixes): Remove .ob.
19164         (bppfx): Remove variable.
19165         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19166         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19167         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19168         [$(build-bounded) = yes] (libtype.ob): Likewise.
19169         * Makerules (elide-routines.ob): Remove variable.
19170         (do-tests-clean): Do not handle *-bp.out.
19171         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19172         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19173         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19174         (tests): Do not include $(tests-bp.out).
19175         (xtests): Do not include $(xtests-bp.out).
19176         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19177         [$(build-bounded) = yes] ($(addprefix
19178         $(objpfx),$(binaries-bounded))): Remove rule.
19179         ($(objpfx)%-bp.out): Remove rule.
19180         * config.make.in (build-bounded): Remove variable.
19181         * crypt/Makefile [$(build-bounded) = yes]
19182         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19183         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19184         append to variable.
19185         [$(build-bounded) = yes] (install-lib): Likewise.
19186         [$(build-bounded) = yes] (generated): Likewise.
19187         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19188         Remove rule.
19189         * intl/Makefile [$(build-bounded) = yes]
19190         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19191         * math/Makefile [$(build-bounded) = yes]
19192         ($(tests:%=$(objpfx)%-bp): Likewise.
19193         * misc/Makefile [$(build-bounded) = yes]
19194         ($(objpfx)tst-tsearch-bp): Likewise.
19195         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19196         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19197         Remove dependency.
19198         * string/Makefile (o-objects.ob): Remove variable.
19199         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19200         (CFLAGS-.ob): Remove variable.
19201         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19202         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19203         both definitions of variable.
19204         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19205         (ASFLAGS-.ob): Remove variable.
19207 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19209         [BZ #13550]
19210         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19211         Remove __BOUNDED_POINTERS__ from condition.
19212         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19213         * string/bits/string2.h [!__NO_STRING_INLINES &&
19214         !__BOUNDED_POINTERS__]: Likewise.
19215         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19216         Likewise.
19217         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19218         Remove conditional code.
19219         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19220         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19221         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19222         condition.
19224         [BZ #13550]
19225         * csu/libc-start.c: Do not include <bp-sym.h>.
19226         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19227         * elf/dl-open.c: Do not include <bp-sym.h>.
19228         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19229         * math/fegetenv.c: Do not include <bp-sym.h>.
19230         (fegetenv): Do not use BP_SYM in versioned symbols.
19231         * nptl/sysdeps/pthread/bits/libc-lockP.h
19232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19233         <bp-sym.h>.
19234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19235         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19237         (__pthread_mutex_destroy): Likewise.
19238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19239         (__pthread_mutex_lock): Likewise.
19240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19241         (__pthread_mutex_trylock): Likewise.
19242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19243         (__pthread_mutex_unlock): Likewise.
19244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19245         (__pthread_mutexattr_init): Likewise.
19246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19247         (__pthread_mutexattr_destroy): Likewise.
19248         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19249         (__pthread_mutexattr_settype): Likewise.
19250         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19251         (__pthread_rwlock_init): Likewise.
19252         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19253         (__pthread_rwlock_destroy): Likewise.
19254         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19255         (__pthread_rwlock_rdlock): Likewise.
19256         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19257         (__pthread_rwlock_tryrdlock): Likewise.
19258         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19259         (__pthread_rwlock_wrlock): Likewise.
19260         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19261         (__pthread_rwlock_trywrlock): Likewise.
19262         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19263         (__pthread_rwlock_unlock): Likewise.
19264         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19265         (__pthread_key_create): Likewise.
19266         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19267         (__pthread_setspecific): Likewise.
19268         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19269         (__pthread_getspecific): Likewise.
19270         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19271         Likewise.
19272         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19273         (_pthread_cleanup_push_defer): Likewise.
19274         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19275         (_pthread_cleanup_pop_restore): Likewise.
19276         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19277         (pthread_setcancelstate): Likewise.
19278         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19279         <bp-sym.h>.
19280         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19281         (memchr): Do not use BP_SYM in weak_alias.
19282         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19283         (fegetenv): Do not use BP_SYM in versioned symbols.
19284         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19285         (fesetenv): Do not use BP_SYM in versioned symbols.
19286         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19287         (feupdateenv): Do not use BP_SYM in versioned symbols.
19288         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19289         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19290         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19291         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19292         (open64): Do not use BP_SYM in weak_alias.
19293         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19294         (fegetenv): Do not use BP_SYM in versioned symbols.
19295         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19296         (fesetenv): Do not use BP_SYM in versioned symbols.
19297         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19298         (feupdateenv): Do not use BP_SYM in versioned symbols.
19299         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19300         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19301         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19302         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19303         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19304         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19305         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19306         <bp-sym.h>.
19307         (__libc_start_main): Do not use BP_SYM.
19309 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19311         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19312         redundant return line.
19313         (norm): Likewise.
19314         (denorm): Likewise.
19315         (dbl_mp): Likewise.
19316         (sub_magnitudes): Likewise.
19317         (__add): Likewise.
19318         (__sub): Likewise.
19319         (__mul): Likewise.
19320         (__inv): Likewise.
19321         (__dvd): Likewise.
19322         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19323         (norm): Likewise.
19324         (denorm): Likewise.
19325         (dbl_mp): Likewise.
19326         (sub_magnitudes): Likewise.
19327         (__add): Likewise.
19328         (__sub): Likewise.
19329         (__mul): Likewise.
19330         (__inv): Likewise.
19331         (__dvd): Likewise.
19333         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19334         instead of __mul.
19335         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19336         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19337         (cc32): Likewise.
19339         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19340         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19341         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19342         of __mul for squares.
19343         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19344         function
19345         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19346         Likewise.
19347         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19348         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19350 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19352         [BZ #13550]
19353         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19354         code.
19355         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19356         prototype or function definition.  Rename ubp_* variables and
19357         parameters.  Remove argv definitions conditional on
19358         [__BOUNDED_POINTERS__].
19359         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19360         * elf/dl-runtime.c (_dl_fixup): Likewise.
19361         * include/set-hooks.h (RUN_HOOK): Likewise.
19362         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19363         definition.
19364         * string/strcpy.c (strcpy): Do not use __unbounded.
19365         * sysdeps/generic/frame.h (struct layout): Likewise.
19366         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19367         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19368         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19369         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19370         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19371         (__backtrace): Likewise.
19372         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19373         use __ptrvalue.
19374         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19375         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19376         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19377         Likewise.
19378         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19379         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19380         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19381         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19382         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19383         Do not use __unbounded.
19384         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19385         Rename __unboundedrlimits parameter to rlimits in prototype.
19386         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19387         Do not use __unbounded.
19388         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19389         not use __ptrvalue.
19390         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19391         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19392         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19393         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19394         __ptrvalue or __unbounded.
19395         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19396         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19397         use __unbounded.
19398         (__new_msgctl): Do not use __ptrvalue.
19399         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19400         __unbounded.
19401         (__libc_msgrcv): Do not use __ptrvalue.
19402         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19403         startup_info): Do not use __unbounded.
19404         (__libc_start_main): Likewise.  Rename ubp_* variables and
19405         parameters.  Remove argv definitions conditional on
19406         [__BOUNDED_POINTERS__].
19407         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19408         __ptrvalue.
19409         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19410         use __unbounded.
19411         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19412         or __ptrvalue.
19413         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19414         use __unbounded.
19415         (__new_shmctl): Do not use __ptrvalue.
19416         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19417         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19418         Likewise.
19419         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19420         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19421         (__libc_sigaction): Likewise.
19422         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19423         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19424         Likewise.
19425         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19427 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19429         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19431         * string/mempcpy.c: Implement by calling memcpy.
19433 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19435         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19437         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19438         evaluation.
19440         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19441         values in the mantissa.
19443         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19444         minimize writes to Z.
19445         (sub_magnitudes): Simplify code a bit.
19447 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19449         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19450         from the message.  The linker prefixes all warnings with that already.
19452 2013-02-12  Andreas Schwab  <schwab@suse.de>
19454         [BZ #15078]
19455         * posix/regexec.c (extend_buffers): Add parameter min_len.
19456         (check_matching): Pass minimum needed length.
19457         (clean_state_log_if_needed): Likewise.
19458         (get_subexp): Likewise.
19459         * posix/Makefile (tests): Add bug-regex34.
19460         (bug-regex34-ENV): Define.
19461         * posix/bug-regex34.c: New file.
19463         [BZ #11561]
19464         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19465         elements compare against the byte sequence of it, not its name.
19466         * posix/Makefile (tests): Add bug-regex35.
19467         (bug-regex35-ENV): Define.
19468         * posix/bug-regex35.c: New file.
19470 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19472         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19473         comment.
19474         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19475         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19476         (CHECK_EOL): Add undef.
19478 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19480         * bits/stdlib-bsearch.h: New file.
19481         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19482         * stdlib/stdlib.h: Likewise.
19484 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19486         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19487         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19488         declaration.
19489         * manual/search.texi (Array Search Function): Add missing const in
19490         lfind prototype.
19491         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19492         declaration to use rlim_t.
19493         (Basic Scheduling Functions): Remove erroneous const from
19494         sched_getparam prototype.  Remove erroneous * from
19495         sched_get_priority_max and sched_get_priority_min prototypes.
19496         (Resource Usage): Fix summary @comment on vtimes to refer to
19497         sys/vtimes.h rather than vtimes.h.
19498         Add missing *s in vtimes prototype.
19499         (Limits on Resources): Fix ulimit prototype to return long int.
19500         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19501         prototypes to use long int rather than double.
19502         (BSD Random): Fix initstate and setstate to use char *, not void *.
19503         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19504         prototype to make second argument 'struct aiocb64 *const[]'.
19505         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19506         (Status of AIO Operations): Remove erroneous const in aio_return and
19507         aio_return64 prototypes.
19508         (Synchronizing I/O): Fix sync prototype to return void.
19509         * manual/startup.texi (Suboptions): Remove an erroneous const in
19510         getsubopt prototype.
19511         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19512         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19513         use size_t rather than int.
19514         (Scanning All Users): Likewise for getpwent_r.
19515         (Setting Groups): Add missing const to setgroups prototype.
19516         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19517         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19518         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19519         'const void *' rather than 'const char *'.
19520         (Host Address Functions): Likewise for inet_ntop.
19521         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19522         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19523         ssize_t for return value.
19524         (Sending Data): Likewise for send, sendto, sendmsg.
19525         (Socket Option Functions): Add a missing const in setsockopt prototype.
19526         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19527         use wchar_t for the argument.
19528         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19529         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19530         take no arguments.
19531         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19532         double/float/long double for second argument.
19533         Fix return types of significand, significandf, significandl.
19534         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19535         argument in fchmod prototype.
19536         (File Owner): Use uid_t and gid_t in fchown prototype.
19537         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19538         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19539         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19540         use 'const struct dirent **' as argument types to CMP function pointer
19541         argument.
19542         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19543         (File Times): Fix summary magic @comment for struct utimbuf and utime
19544         to refer to utime.h, not time.h.
19545         * manual/string.texi (Argz Functions): Add missing const in
19546         argz_extract and argz_next prototypes.
19547         (Finding Tokens in a String): Likewise for basename.
19548         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19549         (Copying and Concatenation): Fix typo in wmemmove prototype.
19550         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19551         (Signal Stack): Remove erroneous const in sigstack prototype.
19552         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19553         prototype.
19554         (Simple Calendar Time): Likewise for stime.
19555         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19556         prototype.
19557         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19558         say sys/sysctl.h instead.
19559         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19560         and vsyslog prototypes.
19562 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19564         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19565         Remove.
19567 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19569         * misc/sys/mman.h: Fix typo in mremap comment.
19571 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19573         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19574         the '\0' terminator.
19576 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19578         [BZ #13550]
19579         * debug/segfault.c: Don't include <bp-checks.h>.
19580         * sysdeps/generic/bp-checks.h: Remove file.
19581         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19582         (__GETDENTS): Don't use CHECK_N.
19583         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19584         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19585         (__getgroups): Don't use CHECK_N.
19586         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19587         (setgroups): Don't use CHECK_N.
19588         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19589         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19590         (__libc_msgrcv): Don't use CHECK_N.
19591         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19592         (__libc_msgsnd): Don't use CHECK_N.
19593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19594         <bp-checks.h>.
19595         (__libc_pread): Don't use CHECK_N.
19596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19597         include <bp-checks.h>.
19598         (__libc_pread64): Don't use CHECK_N.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19600         include <bp-checks.h>.
19601         (__libc_pwrite): Don't use CHECK_N.
19602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19603         include <bp-checks.h>.
19604         (__libc_pwrite64): Don't use CHECK_N.
19605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19606         <bp-checks.h>.
19607         (__libc_pread): Don't use CHECK_N.
19608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19609         include <bp-checks.h>.
19610         (__libc_pread64): Don't use CHECK_N.
19611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19612         include <bp-checks.h>.
19613         (__libc_pwrite): Don't use CHECK_N.
19614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19615         include <bp-checks.h>.
19616         (__libc_pwrite64): Don't use CHECK_N.
19617         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19618         (do_pread): Don't use CHECK_N.
19619         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19620         (do_pread64): Don't use CHECK_N.
19621         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19622         (do_pwrite): Don't use CHECK_N.
19623         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19624         (do_pwrite64): Don't use CHECK_N.
19625         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19626         (__libc_readv): Don't use CHECK_N.
19627         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19628         (semop): Don't use CHECK_N.
19629         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19630         <bp-checks.h>.
19631         (semtimedop): Don't use CHECK_N.
19632         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19633         (__libc_pread): Don't use CHECK_N.
19634         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19635         <bp-checks.h>.
19636         (__libc_pread64): Don't use CHECK_N.
19637         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19638         <bp-checks.h>.
19639         (__libc_pwrite): Don't use CHECK_N.
19640         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19641         <bp-checks.h>.
19642         (__libc_pwrite64): Don't use CHECK_N.
19643         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19644         <bp-checks.h>.
19645         (__libc_msgrcv): Don't use CHECK_N.
19646         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19647         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19648         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19649         (__libc_writev): Don't use CHECK_N.
19651 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19653         * string/strcpy.c: Removed unused variable.
19655         * Makeconfig (+sysdep-includes): Define with := rather than =.
19656         Use an existing include/ subdir of each sysdeps dir before it.
19658 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19660         * nscd/connection.c (register_traced_file): Comment function.
19661         [HAVE_INOTIFY] (union __inev): Define.
19662         [HAVE_INOTIFY] (inotify_check_files): New function.
19663         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19664         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19665         clear_db_cache.
19666         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19668 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19670         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19671         loaded if not already and that a failure is permanent.
19673 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19675         [BZ #15006]
19676         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19677         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19679 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19681         [BZ #13550]
19682         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19683         (CHECK_1_NULL_OK): Likewise.
19684         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19685         (__fxstat): Do not use CHECK_1.
19686         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19687         <bp-checks.h>.
19688         (___fxstat64): Do not use CHECK_1.
19689         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19690         <bp-checks.h>.
19691         (__fxstatat): Do not use CHECK_1.
19692         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19693         <bp-checks.h>.
19694         (__fxstatat64): Do not use CHECK_1.
19695         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19696         <bp-checks.h>.
19697         (__fxstat): Do not use CHECK_1.
19698         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19699         <bp-checks.h>.
19700         (__fxstatat): Do not use CHECK_1.
19701         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19702         <bp-checks.h>.
19703         (__getresgid): Do not use CHECK_1.
19704         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19705         <bp-checks.h>.
19706         (__getresuid): Do not use CHECK_1.
19707         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19708         <bp-checks.h>.
19709         (__lxstat): Do not use CHECK_1.
19710         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19711         <bp-checks.h>.
19712         (__old_msgctl): Do not use CHECK_1.
19713         (__new_msgctl): Likewise.
19714         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19715         <bp-checks.h>.
19716         (__new_setrlimit): Do not use CHECK_1.
19717         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19718         <bp-checks.h>.
19719         (__old_shmctl): Do not use CHECK_1.
19720         (__new_shmctl): Likewise.
19721         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19722         <bp-checks.h>.
19723         (__xstat): Do not use CHECK_1.
19724         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19725         (__lxstat): Do not use CHECK_1.
19726         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19727         <bp-checks.h>.
19728         (___lxstat64): Do not use CHECK_1.
19729         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19730         (__old_msgctl): Do not use CHECK_1.
19731         (__new_msgctl): Likewise.
19732         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19733         <bp-checks.h>.
19734         (__gettimeofday): Do not use CHECK_1.
19735         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19736         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19737         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19738         <bp-checks.h>.
19739         (__gettimeofday): Do not use CHECK_1.
19740         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19741         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19742         (__new_shmctl): Do not use CHECK_1.
19743         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19744         <bp-checks.h>.
19745         (do_sigtimedwait): Do not use CHECK_1.
19746         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19747         <bp-checks.h>.
19748         (do_sigwaitinfo): Do not use CHECK_1.
19749         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19750         <bp-checks.h>.
19751         (msgctl): Do not use CHECK_1.
19752         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19753         <bp-checks.h>.
19754         (shmctl): Do not use CHECK_1.
19755         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19756         (ustat): Do not use CHECK_1.
19757         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19758         <bp-checks.h>.
19759         (__fxstat): Do not use CHECK_1.
19760         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19761         <bp-checks.h>.
19762         (__fxstatat): Do not use CHECK_1.
19763         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19764         <bp-checks.h>.
19765         (__lxstat): Do not use CHECK_1.
19766         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19767         <bp-checks.h>.
19768         (__xstat): Do not use CHECK_1.
19769         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19770         (__xstat): Do not use CHECK_1.
19771         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19772         (___xstat64): Do not use CHECK_1.
19774         [BZ #13550]
19775         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19776         definitions.
19777         (CHECK_BOUNDS_HIGH): Likewise.
19778         * string/strcpy.c: Do not include <bp-checks.h>.
19779         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19781 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19783         * nscd/nscd-client.h (__nscd_drop_map_ref):
19784         Add __attribute__ ((unused)).
19785         * nis/nss-nisplus.h (niserr2nss): Likewise.
19787         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19788         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19790         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19791         Remove inline keyword.
19792         * include/rounding-mode.h (round_away): Likewise.
19793         * libio/wfileops.c (adjust_wide_data): Likewise.
19794         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19795         (__m128i_strloadu_tolower): Likewise.
19796         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19797         (__m128i_strloadu_tolower): Likewise.
19798         * time/mktime.c (ydhms_diff): Likewise.
19799         * locale/elem-hash.h (elem_hash): Likewise.
19800         * locale/setlocale.c (setdata): Likewise.
19801         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19802         (re_string_wchar_at): Likewise.
19803         (bitset_not, bitset_merge, bitset_mask): Likewise.
19804         [!(__GNUC__ > 3)] (inline): Remove macro.
19805         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19806         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19807         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19808         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19809         * string/memcmp.c (memcmp_bytes): Likewise.
19810         * locale/programs/locarchive.c (compute_hashval): Likewise.
19811         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19812         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19813         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19814         * nss/getent.c (print_rpc, print_protocols): Likewise.
19815         (print_passwd, print_group, print_aliases): Likewise.
19816         * nis/nss-nisplus.h (niserr2nss): Likewise.
19817         * nscd/connections.c (restart_p): Likewise.
19818         Change return type to bool.
19820 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19822         * Makeconfig (all-Depend-files): Add existing
19823         $(sorted-subdirs:=/Depend) files.
19824         (all-subdirs): Remove nss.
19825         * sysdeps/unix/inet/Subdirs: Add it here instead.
19826         * hesiod/Depend: New file.
19828         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19829         instead of calling alloca.
19831         * io/lseek.c (__lseek): Rename to __libc_lseek.
19832         Define __lseek as an alias.
19834         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19836 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19838         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19839         else clause and remove check for non-standard endianness.
19841 2013-02-04  David S. Miller  <davem@davemloft.net>
19843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19845 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19847         [BZ #13550]
19848         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19849         (__ubp_memchr): Remove prototype.
19850         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19851         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19852         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19853         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19854         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19855         Remove alias.
19856         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19857         (__ubp_memchr): Likewise.
19858         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19859         (__ubp_memchr): Likewise.
19860         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19861         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19862         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19863         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19864         CHECK_STRING.
19865         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19866         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19867         (__getcwd): Do not use CHECK_STRING.
19868         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19869         <bp-checks.h>.
19870         (__real_chown): Do not use CHECK_STRING.
19871         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19872         <bp-checks.h>.
19873         (fchownat): Do not use CHECK_STRING.
19874         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19875         CHECK_STRING.
19876         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19877         <bp-checks.h>.
19878         (__lchown): Do not use CHECK_STRING.
19879         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19880         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19881         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19882         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19884         include <bp-checks.h>.
19885         (truncate64): Do not use CHECK_STRING.
19886         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19887         <bp-checks.h>.
19888         (__real_chown): Do not use CHECK_STRING.
19889         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19890         <bp-checks.h>.
19891         (__lchown): Do not use CHECK_STRING.
19892         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19893         <bp-checks.h>.
19894         (__chown): Do not use CHECK_STRING.
19895         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19896         <bp-checks.h>.
19897         (truncate64): Do not use CHECK_STRING.
19898         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19899         Likewise.
19900         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19901         (__xmknod): Do not use CHECK_STRING.
19902         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19903         <bp-checks.h>.
19904         (__xmknodat): Do not use CHECK_STRING.
19905         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19906         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19908 2013-02-04  Andreas Schwab  <schwab@suse.de>
19910         [BZ #14142]
19911         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19912         * include/netdb.h: Likewise for h_errno.
19913         * elf/tst-stackguard1.c: Include <tls.h>.
19915 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19917         * elf/link.h (struct link_map): Extend the l_addr comment.
19918         * include/link.h (struct link_map): Likewise.
19920 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19922         [BZ #13550]
19923         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19924         (BOUNDED_1): Remove macro.
19925         * debug/backtrace.c: Don't include <bp-checks.h>.
19926         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19927         (__backtrace): Likewise.
19928         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19929         <bp-checks.h>.
19930         (__backtrace): Don't use BOUNDED_1.
19931         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19932         <bp-checks.h>.
19933         (__backtrace): Don't use BOUNDED_1.
19934         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19935         (__backtrace): Don't use BOUNDED_1.
19936         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19937         (shmat): Don't use BOUNDED_N.
19939 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19941         [BZ #13550]
19942         * sysdeps/generic/bp-start.h: Remove file.
19943         * csu/libc-start.c: Don't include <bp-start.h>.
19944         (LIBC_START_MAIN): Set up __environ directly instead of using
19945         INIT_ARGV_and_ENVIRON.
19946         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19947         <bp-start.h>.
19949         [BZ #13550]
19950         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19951         definitions.
19952         (CHECK_FCNTL): Likewise.
19953         (CHECK_N_PAGES): Likewise.
19955         [BZ #13550]
19956         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19957         definitions.
19958         (CHECK_SIGSET_NULL_OK): Likewise.
19959         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19960         <bp-checks.h>.
19961         (sigpending): Don't use CHECK_SIGSET.
19962         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19963         <bp-checks.h>.
19964         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19965         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19966         <bp-checks.h>.
19967         (do_sigsuspend): Don't use CHECK_SIGSET.
19968         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19969         use CHECK_SIGSET.
19970         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19971         (do_sigwait): Don't use CHECK_SIGSET.
19972         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19973         use CHECK_SIGSET.
19974         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19975         include <bp-checks.h>.
19976         (sigpending): Don't use CHECK_SIGSET.
19977         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19978         include <bp-checks.h>.
19979         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19980         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19981         <bp-checks.h>.
19982         (sigpending): Don't use CHECK_SIGSET.
19983         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19984         <bp-checks.h>.
19985         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19987         [BZ #13550]
19988         * sysdeps/generic/bp-semctl.h: Remove file.
19989         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19990         <bp-checks.h> and <bp-semctl.h>.
19991         (__old_semctl): Don't use CHECK_SEMCTL.
19992         (__new_semctl): Likewise.
19993         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19994         and <bp-semctl.h>.
19995         (__old_semctl): Don't use CHECK_SEMCTL.
19996         (__new_semctl): Likewise.
19997         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19998         <bp-checks.h> and <bp-semctl.h>.
19999         (__old_semctl): Don't use CHECK_SEMCTL.
20000         (__new_semctl): Likewise.
20001         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20002         <bp-checks.h> and <bp-semctl.h>.
20003         (semctl): Don't use CHECK_SEMCTL.
20005         [BZ #13550]
20006         * Makerules (elide-bp-thunks): Remove variable.
20007         (elide-routines.oS): Don't use $(elide-bp-thunks).
20008         (elide-routines.os): Likewise.
20009         (elide-routines.o): Likewise.
20010         (elide-routines.op): Likewise.
20011         (elide-routines.og): Likewise.
20012         (objects): Don't use $(bp-thunks).
20013         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20014         include.
20015         (common-generated): Do not add s-proto-bp.d.
20016         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20017         (int): Likewise.
20018         (typ): Likewise.
20019         Do not generate makefile rules for bounded-pointer thunks.
20020         * sysdeps/generic/bp-thunks.h: Remove file.
20021         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20022         * sysdeps/unix/s-proto-bp.S: Likewise.
20024         [BZ #15062]
20025         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20026         parts of result separately when argument is not close to line from
20027         -i to i and one part of argument is small.
20028         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20029         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20030         * math/libm-test.inc (cacos_test): Add more tests.
20031         (casin_test): Likewise.
20032         (casinh_test): Likewise.
20033         * sysdeps/i386/fpu/libm-test-ulps: Update.
20034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20036 2013-01-31  David S. Miller  <davem@davemloft.net>
20038         * po/de.po: Update from translation team.
20040 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20042         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20044 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20046         * configure.in (_AC_PROG_CC_C89): New definition.
20047         * configure: Regenerate.
20049         * configure.in (AC_PROG_CPP): New definition.
20050         * configure: Regenerate.
20052 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20054         * debug/tst-backtrace.h: New file.
20055         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20056         (ret): Remove variable.
20057         (x): Likewise.
20058         (FAIL): Remove macro.
20059         (NO_INLINE): Likewise.
20060         (fn1): Use match function instead of strstr.
20061         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20062         (ret): Remove variable.
20063         (x): Likewise.
20064         (FAIL): Remove macro.
20065         (NO_INLINE): Likewise.
20066         (fn): Use match function instead of strstr.
20067         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20068         (ret): Remove variable.
20069         (x): Likewise.
20070         (FAIL): Remove macro.
20071         (NO_INLINE): Likewise.
20072         (handle_signal): Use match function instead of strstr.
20073         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20074         (ret): Remove variable.
20075         (x): Likewise.
20076         (FAIL): Remove macro.
20077         (NO_INLINE): Likewise.
20078         (handle_signal): Use match function instead of strstr.
20080 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20082         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20084 2013-01-23  David S. Miller  <davem@davemloft.net>
20086         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20087         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20088         argument of CAS if possible.
20089         * sysdeps/sparc/sparc64/bits/atomic.h
20090         (__arch_compare_and_exchange_val_32_acq): Likewise.
20091         (__arch_compare_and_exchange_val_64_acq): Likewise.
20093 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20095         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20096         * sysdeps/posix/ulimit.c: ... this.
20097         Include <limits.h>.
20098         * sysdeps/unix/bsd/ulimit.c: Remove file.
20100 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20102         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20103         (LDFLAGS-tst-array5): Likewise.
20105 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20107         [BZ #15036]
20108         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20109         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20110         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20111         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20113 2013-01-21  David S. Miller  <davem@davemloft.net>
20115         * sysdeps/sparc/backtrace.c: New file.
20116         * sysdeps/sparc/sparc32/backtrace.h: New file.
20117         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20118         * sysdeps/sparc/sparc64/backtrace.h: New file.
20119         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20120         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20121         -funwind-tables.
20123 2013-01-21  Andreas Schwab  <schwab@suse.de>
20125         [BZ #15020]
20126         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20127         closed its stdout.
20129 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20132         "mpa2.h".
20133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20135 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20136             Mark Mitchell  <mark@codesourcery.com>
20137             Tom de Vries  <tom@codesourcery.com>
20138             Paul Pluzhnikov  <ppluzhnikov@google.com>
20140         * debug/tst-backtrace2.c: New file.
20141         * debug/tst-backtrace3.c: Likewise.
20142         * debug/tst-backtrace4.c: Likewise.
20143         * debug/tst-backtrace5.c: Likewise.
20144         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20145         (CFLAGS-tst-backtrace3.c): Likewise.
20146         (CFLAGS-tst-backtrace4.c): Likewise.
20147         (CFLAGS-tst-backtrace5.c): Likewise.
20148         (LDFLAGS-tst-backtrace2): Likewise.
20149         (LDFLAGS-tst-backtrace3): Likewise.
20150         (LDFLAGS-tst-backtrace4): Likewise.
20151         (LDFLAGS-tst-backtrace5): Likewise.
20152         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20153         tst-backtrace4 and tst-backtrace5.
20155 2013-01-18  Anton Blanchard  <anton@samba.org>
20156             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20158         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20159         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20160         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20161         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20163         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20164         "+r" and remove output regs list as redundant.  Add explicit inline
20165         asm to specify register of return val to work around compiler codegen
20166         bug.  Remove (int) cast on return value.  Add return type parameter to
20167         use in macro so that this macro does not truncate return value for
20168         64-bit values.
20169         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20170         pass to INTERNAL_VSYSCALL_NCS.
20171         (INLINE_VSYSCALL): Add 'long int' as return type to
20172         INTERNAL_VSYSCALL_NCS macro invocation.
20173         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20174         INTERNAL_VSYSCALL_NCS macro invocation.
20175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20177 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20179         [BZ #14496]
20180         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20181         Fix application of SIMD FP exception mask.
20183         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20184         mp_no from a power of two.
20185         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20186         __mpexp_twomm1.  Use __pow_mp.
20188         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20189         multiplication.
20191 2013-01-17  David S. Miller  <davem@davemloft.net>
20193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20195 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20197         [BZ #15023]
20198         * include/complex.h: Condition contents on [!_COMPLEX_H].
20199         (__kernel_casinhf): New prototype.
20200         (__kernel_casinh): Likewise.
20201         (__kernel_casinhl): Likewise.
20202         * math/Makefile (libm_calls): Add k_casinh.
20203         * math/k_casinh.c: New file.
20204         * math/k_casinhf.c: Likewise.
20205         * math/k_casinhl.c: Likewise.
20206         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20207         finite nonzero arguments.
20208         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20209         finite nonzero arguments.
20210         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20211         finite nonzero arguments.
20212         * math/s_casinh.c: Do not include <float.h>.
20213         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20214         * math/s_casinhf.c: Do not include <float.h>.
20215         (__casinhf): Move code for finite nonzero arguments to
20216         k_casinhf.c.
20217         * math/s_casinhl.c: Do not include <float.h>.
20218         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20219         redefine.
20220         (__casinhl): Move code for finite nonzero arguments to
20221         k_casinhl.c.
20222         * math/libm-test.inc (cacos_test): Add more tests.
20223         * sysdeps/i386/fpu/libm-test-ulps: Update.
20224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20226 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20228         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20229         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20230         [!HAVE_MREMAP]: Remove [defined linux] case.
20231         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20233 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20235         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20237 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20239         * elf/elf.h (R_386_SIZE32): New relocation.
20240         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20241         R_386_SIZE32.
20242         (elf_machine_rela): Likewise.
20243         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20244         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20246 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20248         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20249         (FP_FAST_FMA): Do not define.
20250         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20251         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20252         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20253         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20254         !_SOFT_FLOAT]: Likewise.
20255         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20256         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20257         value.
20258         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20259         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20260         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20261         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20262         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20263         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20264         file.
20266 2013-01-16  Andreas Schwab  <schwab@suse.de>
20268         [BZ #14327]
20269         * include/stdlib.h (__mktemp): Add declaration.
20270         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20271         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20273 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20275         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20276         definitions.
20277         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20278         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20279         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20280         definitions here.
20281         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20282         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20283         definitions.
20284         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20285         and ONE.
20286         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20287         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20288         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20289         definitions.
20290         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20291         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20292         definitions.
20293         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20295         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20297 2013-01-15  David S. Miller  <davem@davemloft.net>
20299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20300         trunc{,f} to libm-sysdep_routes.
20301         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20303         file.
20304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20306         file.
20307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20308         file.
20309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20311         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20312         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20313         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20314         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20315         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20316         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20318         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20319         nearbyint{,f} to libm-sysdep_routes.
20320         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20322         New file.
20323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20324         file.
20325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20326         New file.
20327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20328         file.
20329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20331         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20332         file.
20333         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20334         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20335         file.
20336         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20337         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20338         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20340         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20341         libc_feholdexcept and libc_fesetenv.
20343 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20345         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20347 2013-01-14  David S. Miller  <davem@davemloft.net>
20349         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20350         (SPARC_ASM_VIS2_IFUNC): Likewise.
20351         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20353         use of 'siam' instruction.
20354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20355         Likewise.
20356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20357         Likewise.
20358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20359         Likewise.
20360         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20361         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20362         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20363         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20365         file.
20366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20367         file.
20368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20369         file.
20370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20371         file.
20372         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20373         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20374         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20375         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20377         new VIS2 routines.
20378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20381         Likewise.
20382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20383         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20384         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20385         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20387         routines to libm-sysdep_routines.
20388         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20391         fdim/fdimf to libm-sysdep_routines.
20392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20393         file.
20394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20396         file.
20397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20400         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20401         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20402         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20403         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20405 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20407         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20408         to optimize copies.
20410         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20411         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20412         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20415         local variable MPTWO.
20416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20417         Likewise.
20419 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20421         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20422         GLOB_NOESCAPE.
20424 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20426         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20428 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20430         * manual/pattern.texi (glob_t): Document gl_flags.
20431         (glob64_t): Likewise.
20433 2013-01-11  David S. Miller  <davem@davemloft.net>
20435         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20436         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20437         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20438         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20439         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20440         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20441         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20442         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20443         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20444         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20445         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20446         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20447         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20449         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20450         sparc V9 rather than using V8 code.
20451         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20452         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20454         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20455         Move to...
20456         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20457         Here.
20459 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20461         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20462         not in the main loop.
20463         * configure: Regenerated.
20465 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20467         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20468         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20469         to just #else.
20470         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20471         [!__GLIBC_HAVE_LONG_LONG] case.
20472         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20473         condition to just #else.
20474         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20475         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20476         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20477         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20478         unconditional.
20479         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20480         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20481         #elif condition to just #else.
20482         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20483         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20484         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20485         #elif condition to just #else.
20487 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20489         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20490         (EF_MIPS_ARCH_64): Fix value.
20491         (EF_MIPS_ARCH_32R2): New.
20492         (EF_MIPS_ARCH_64R2): New.
20494 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20496         * Makeconfig (+link-pie-before-libc): New.
20497         (+link-pie-after-libc): Likewise.
20498         (+link-pie-tests): Likewise.
20499         (+link-pie): Rewritten.
20500         (link-before-libc): Remove $(config-LDFLAGS).
20501         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20502         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20503         (config-LDFLAGS): Renamed to ...
20504         (rtld-LDFLAGS): This.
20505         (rtld-tests-LDFLAGS): New macro.
20506         (link-libc-rpath-link): Likewise.
20507         (link-libc-tests-rpath-link): Likewise.
20508         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20509         (link-libc): Prepand $(link-libc-rpath-link).
20510         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20511         (test-program-prefix): New macro.
20512         (test-via-rtld-prefix): Likewise.
20513         (test-program-cmd): Likewise.
20514         (host-test-program-cmd): Likewise.
20515         * Makefile ($(common-objpfx)testrun.sh): Replace
20516         $(run-program-prefix) with $(test-program-prefix).
20517         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20518         $(rtld-LDFLAGS).
20519         ($(common-objpfx)shlib.lds): Likewise.
20520         (build-module-helper): Likewise.
20521         ($(common-objpfx)format.lds): Likewise.
20522         * Rules (binaries-pie-tests): New.
20523         (binaries-pie-notests): Likewise.
20524         (binaries-pie): Rewritten.
20525         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20526         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20527         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20528         (make-test-out): Replace $(host-built-program-cmd) with
20529         $(host-test-program-cmd).
20530         * config.make.in (build-hardcoded-path-in-tests): New variable.
20531         * configure.in (--enable-hardcoded-path-in-tests): New configure
20532         option.
20533         (hardcoded_path_in_tests): New AC_SUBST.
20534         * configure: Regenerated.
20535         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20536         $(built-program-cmd) with $(test-program-cmd).
20537         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20538         (test_program_cmd): This.
20539         * elf/Makefile ($(objpfx)order.out): Run test with
20540         $(test-program-prefix).
20541         ($(objpfx)order2.out): Likewise.
20542         ($(objpfx)tst-initorder.out): Likewise.
20543         ($(objpfx)tst-initorder2.out): Likewise.
20544         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20545         $(test-program-cmd).
20546         ($(objpfx)tst-array1-static.out): Likewise.
20547         ($(objpfx)tst-array2.out): Likewise.
20548         ($(objpfx)tst-array3.out): Likewise.
20549         ($(objpfx)tst-array4.out): Likewise.
20550         ($(objpfx)tst-array5.out): Likewise.
20551         ($(objpfx)tst-array5-static.out): Likewise.
20552         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20553         $(test-program-cmd).
20554         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20555         $(run-program-prefix) with $(test-program-prefix).
20556         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20557         (test_program_prefix): This.
20558         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20559         $(run-program-prefix) with $(test-program-prefix).
20560         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20561         (test_program_prefix): This.
20562         * iconvdata/tst-tables.sh: Likewise.
20563         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20564         $(run-program-prefix) with $(test-program-prefix).
20565         ($(objpfx)tst-translit.out): Likewise.
20566         ($(objpfx)tst-gettext2.out): Likewise.
20567         ($(objpfx)tst-gettext4.out): Likewise.
20568         ($(objpfx)tst-gettext6.out): Likewise.
20569         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20570         (test_program_prefix): This.
20571         * intl/tst-gettext2.sh: Likewise.
20572         * intl/tst-gettext4.sh  Likewise.
20573         * intl/tst-gettext6.sh: Likewise.
20574         * intl/tst-translit.sh: Likewise.
20575         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20576         with $(test-program-cmd).
20577         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20578         $(run-program-prefix) with $(test-program-prefix).
20579         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20580         (test_program_prefix): This.
20581         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20582         $(run-program-prefix) with $(test-program-prefix).
20583         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20584         (test_program_prefix): This.
20585         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20586         * posix/Makefile ($(objpfx)globtest.out): Replace
20587         $(run-via-rtld-prefix) and $(test-wrapper) with
20588         $(test-program-prefix) and $(test-via-rtld-prefix).
20589         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20590         $(test-program-prefix).
20591         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20592         $(host-test-program-cmd).
20593         (tst-spawn-ARGS): Likewise.
20594         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20595         $(test-program-prefix).
20596         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20597         (test_via_rtld_prefix): This.
20598         (test_wrapper): Renamed to ...
20599         (test_program_prefix): This.
20600         (run_program_prefix): Replaced by test_program_prefix.
20601         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20602         (test_program_prefix): This.
20603         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20604         with $(host-test-program-cmd).
20605         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20606         $(run-program-prefix) with $(test-program-prefix).
20607         ($(objpfx)tst-printf.out): Likewise.
20608         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20609         $(test-program-cmd).
20610         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20611         (test_program_prefix): This.
20612         * stdio-common/tst-unbputc.sh: Likewise.
20613         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20614         $(run-program-prefix) with $(test-program-prefix).
20615         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20616         (test_program_prefix): This.
20617         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20618         $(built-program-cmd) with $(test-program-cmd).
20620 2013-01-11  Andreas Jaeger  <aj@suse.de>
20622         [BZ #15003]
20623         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20624         value. Sync with Linux 3.7.
20626 2013-01-10  David S. Miller  <davem@davemloft.net>
20628         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20629         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20630         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20632 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20634         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20635         never set.
20636         * configure: Regenerated.
20638 2013-01-10  David S. Miller  <davem@davemloft.net>
20640         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20641         sparc V9 rather than using V8 code.
20642         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20643         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20645 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20647         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20648         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20649         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20650         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20651         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20652         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20653         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20654         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20655         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20656         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20657         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20658         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20659         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20660         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20661         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20662         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20663         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20664         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20665         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20666         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20667         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20668         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20669         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20670         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20671         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20672         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20673         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20675 2013-01-10  David S. Miller  <davem@davemloft.net>
20677         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20679 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20681         * posix/Makefile (tests-static): New variable.
20682         (tests): Add $(tests-static).
20683         (tst-exec-static-ARGS): New variable.
20684         (tst-spawn-static-ARGS): Likewise.
20685         * posix/tst-exec-static.c: New file.
20686         * posix/tst-spawn-static.c: Likewise.
20687         * posix/tst-exec.c: Support run directly.
20688         * posix/tst-spawn.c: Likewise.
20690 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20692         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20693         long.
20694         * math/bits/mathcalls.h (llrint): Likewise.
20695         (llround): Likewise.
20696         * stdlib/stdlib.h (struct drand48_data): Likewise.
20697         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20698         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20699         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20700         Likewise.
20701         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20702         Likewise.
20703         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20704         (elf_greg_t): Likewise.
20705         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20706         (__jmp_buf): Likewise.
20707         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20708         definitions.
20709         (llrint): Likewise, for all definitions.
20710         (llrintl): Likewise.
20712         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20713         Remove [__GNUC__] condition.
20714         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20715         condition to just [__USE_ISOC99].
20716         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20718 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20720         [BZ #14200]
20721         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20722         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20723         defined.
20724         (_POSIX_V6_ILP32_OFF32): Likewise.
20725         (_XBS5_ILP32_OFF32): Likewise.
20726         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20727         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20729 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20731         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20734         doubles __mpexp_twomm1.  Adjust usage.
20735         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20736         Remove.
20738 2013-01-10  Andreas Schwab  <schwab@suse.de>
20740         [BZ #14964]
20741         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20742         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20744 2013-01-09  David S. Miller  <davem@davemloft.net>
20746         [BZ #15003]
20747         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20748         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20749         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20750         (TCP_FASTOPEN): Define.
20751         (tcp_repair_opt): New structure.
20752         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20753         enum values.
20754         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20755         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20756         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20757         (tcp_cookie_transactions): New structure.
20759 2013-01-09  Anton Blanchard  <anton@samba.org>
20761         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20762         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20763         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20764         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20766 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20768         * include/features.h (__USE_ANSI): Remove.
20770 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20772         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20774         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20776 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20778         * sysdeps/s390/fpu/libm-test-ulps: Update.
20780         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20782         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20783         (__acr): Likewise.
20784         (__cpy): Likewise.
20785         (norm): Likewise.
20786         (denorm): Likewise.
20787         (__mp_dbl): Likewise.
20788         (__dbl_mp): Likewise.
20789         (add_magnitudes): Likewise.
20790         (sub_magnitudes): Likewise.
20791         (__add): Likewise.
20792         (__sub): Likewise.
20793         (__mul): Likewise.
20794         (__inv): Likewise.
20795         (__dvd): Likewise.
20796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20797         (__acr): Likewise.
20798         (__cpy): Likewise.
20799         (norm): Likewise.
20800         (denorm): Likewise.
20801         (__mp_dbl): Likewise.
20802         (__dbl_mp): Likewise.
20803         (add_magnitudes): Likewise.
20804         (sub_magnitudes): Likewise.
20805         (__add): Likewise.
20806         (__sub): Likewise.
20807         (__mul): Likewise.
20808         (__inv): Likewise.
20809         (__dvd): Likewise.
20810         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20811         (__acr): Likewise.
20812         (__cpy): Likewise.
20813         (norm): Likewise.
20814         (denorm): Likewise.
20815         (__mp_dbl): Likewise.
20816         (__dbl_mp): Likewise.
20817         (add_magnitudes): Likewise.
20818         (sub_magnitudes): Likewise.
20819         (__add): Likewise.
20820         (__sub): Likewise.
20821         (__mul): Likewise.
20822         (__inv): Likewise.
20823         (__dvd): Likewise.
20825 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20827         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20828         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20829         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20830         2 && __USE_EXTERN_INLINES]: Likewise.
20832 2013-01-08  Andreas Jaeger  <aj@suse.de>
20834         [BZ# 14985]
20835         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20836         Remove.
20837         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20838         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20840 2013-01-07  Anton Blanchard  <anton@samba.org>
20842         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20843         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20844         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20845         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20846         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20847         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20848         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20849         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20850         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20851         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20852         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20853         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20854         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20855         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20856         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20857         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20858         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20859         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20860         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20861         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20862         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20863         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20864         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20865         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20866         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20867         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20868         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20869         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20870         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20871         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20872         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20873         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20874         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20875         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20876         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20877         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20878         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20879         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20880         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20881         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20882         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20883         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20884         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20886 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20888         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20889         (__MALLOC_PMT): Likewise.
20890         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20891         [__GNUC__], only on [_LIBC].
20892         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20893         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20894         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20895         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20896         forward declaration.
20897         (realloc_hook_ini): Likewise.
20898         (memalign_hook_ini): Likewise.
20899         (__libc_memalign): Do not use __MALLOC_PMT in variable
20900         declaration.
20901         (__libc_valloc): Likewise.
20902         (__libc_pvalloc): Likewise.
20903         (__libc_calloc): Likewise.
20904         (__posix_memalign): Likewise.
20906         [BZ #14996]
20907         * math/s_casinh.c: Include <float.h>.
20908         (__casinh): Do not do computation with squaring and square root
20909         for large arguments.
20910         * math/s_casinhf.c: Include <float.h>.
20911         (__casinhf): Do not do computation with squaring and square root
20912         for large arguments.
20913         * math/s_casinhl.c: Include <float.h>.
20914         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20915         (__casinhl): Do not do computation with squaring and square root
20916         for large arguments.
20917         * math/libm-test.inc (casin_test): Add more tests.
20918         (casinh_test): Likewise.
20919         * sysdeps/i386/fpu/libm-test-ulps: Update.
20920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20922 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20924         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20925         (__x86_64_raw_data_cache_size): Likewise.
20926         (__x86_64_data_cache_size_half): Likewise.
20927         (__x86_64_raw_data_cache_size_half): Likewise.
20928         (__x86_64_shared_cache_size): Likewise.
20929         (__x86_64_raw_shared_cache_size): Likewise.
20930         (__x86_64_shared_cache_size_half): Likewise.
20931         (__x86_64_raw_shared_cache_size_half): Likewise.
20932         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20933         to ...
20934         (__x86_data_cache_size): This.
20935         (__x86_64_raw_data_cache_size): Renamed to ...
20936         (__x86_raw_data_cache_size): This.
20937         (__x86_64_data_cache_size_half): Renamed to ...
20938         (__x86_data_cache_size_half): This.
20939         (__x86_64_raw_data_cache_size_half): Renamed to ...
20940         (__x86_raw_data_cache_size_half): This.
20941         (__x86_64_shared_cache_size): Renamed to ...
20942         (__x86_shared_cache_size): This.
20943         (__x86_64_raw_shared_cache_size): Renamed to ...
20944         (__x86_raw_shared_cache_size): This.
20945         (__x86_64_shared_cache_size_half): Renamed to ...
20946         (__x86_shared_cache_size_half): This.
20947         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20948         (__x86_raw_shared_cache_size_half): This.
20949         * sysdeps/x86_64/memcpy.S: Updated.
20950         * sysdeps/x86_64/memset.S: Likewise.
20951         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20952         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20953         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20955 2013-01-04  David S. Miller  <davem@davemloft.net>
20957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20959 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20961         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20962         1 to avoid redefinition warning.
20963         (__USE_GNU): Don't define.
20964         (init_signaling_nan): Protoize.
20966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20968 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20970         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20971         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20972         (__cpymn): Likewise.
20973         (norm): Remove commented code.
20974         (denorm): Likewise.
20975         (__mp_dbl): Likewise.
20976         (__inv): Likewise.
20977         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20978         (__cpymn): Likewise.
20979         (norm): Remove commented code.
20980         (denorm): Likewise.
20981         (__mp_dbl): Likewise.
20982         (__inv): Likewise.
20984         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20985         mp_no value for 1.0 and 2.0.
20986         (norm): Use RADIXI instead of radixi.d.
20987         (denorm): Likewise.
20988         (__mul): Use 0.0 instead of zero.d.
20989         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20990         mp_no value for 1.0 and 2.0.
20991         (norm): Use RADIXI instead of radixi.d.
20992         (denorm): Likewise.
20993         (__mul): Use 0.0 instead of zero.d.
20995 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20997         [BZ #14994]
20998         * math/s_casinh.c (__casinh): Reduce finite argument to first
20999         quadrant then set signs of results at the end.
21000         * math/s_casinhf.c (__casinhf): Likewise.
21001         * math/s_casinhl.c (__casinhl): Likewise.
21002         * math/libm-test.inc (casin_test): Add more tests.
21003         (casinh_test): Likewise.
21004         * sysdeps/i386/fpu/libm-test-ulps: Update.
21005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21007 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21009         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21011         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21013         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21014         declarations.
21015         (denorm): Likewise.
21016         (__mp_dbl): Likewise.
21017         (__inv): Likewise.
21019         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21020         and adjust the header comment.
21022         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21023         variable name from declaration.
21025 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21028         Initialize COMMON_CPUID_INDEX_7 element.
21029         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21030         (CPUID_RTM): Likewise.
21031         (HAS_RTM): Likewise.
21032         (COMMON_CPUID_INDEX_7): New enum.
21034 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21036         [BZ #14981]
21037         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21038         size is zero, record memory as freed.
21040 2013-01-03  Andreas Jaeger  <aj@suse.de>
21042         * po/ia.po: Add new Interlingua translation.
21044 2012-01-03  Allan McRae  <allan@archlinux.org>
21046         * locale/programs/localedef.c: Fix description of '--posix' flag.
21048 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21050         * NEWS: Update dates in second copyright notice.
21051         * README: Update copyright dates in example.
21052         * manual/libc.texinfo: Update copyright dates.
21053         * scripts/test-installation.pl: Update copyright date in --version
21054         output.
21056         * hurd/ctty-input.c: Fix copyright notice formatting.
21057         * hurd/ctty-output.c: Likewise.
21058         * hurd/dtable.c: Likewise.
21059         * hurd/hurd-raise.c: Likewise.
21060         * hurd/hurdprio.c: Likewise.
21061         * hurd/msgportdemux.c: Likewise.
21062         * misc/sys/file.h: Likewise.
21063         * misc/sys/ioctl.h: Likewise.
21064         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21065         * sysdeps/mach/hurd/chdir.c: Likewise.
21066         * sysdeps/mach/hurd/fchdir.c: Likewise.
21067         * sysdeps/mach/hurd/rename.c: Likewise.
21068         * sysdeps/mach/hurd/rmdir.c: Likewise.
21069         * sysdeps/mach/hurd/seekdir.c: Likewise.
21070         * sysdeps/mach/hurd/setsid.c: Likewise.
21071         * sysdeps/posix/wait3.c: Likewise.
21073         * All files with FSF copyright notices: Update copyright dates
21074         using scripts/update-copyrights.
21075         * intl/plural.c: Regenerated.
21076         * locale/programs/charmap-kw.h: Likewise.
21077         * locale/programs/locfile-kw.h: Likewise.
21079 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21081         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21082         four values.
21084         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21085         calculation loop and add branch prediction.
21087         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21088         check access beyond bounds of m1np.
21090         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21091         MPTWO.
21092         (__inv): Remove local variable MPTWO to use the global
21093         constant.
21094         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21095         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21096         variable MPTWO.
21097         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21098         MP3HALFS static const.
21100 2013-01-01  David S. Miller  <davem@davemloft.net>
21102         * po/ca.po: Update from translation team.
21104 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21106         * scripts/update-copyrights: New file.
21107         * Makeconfig: Reformat copyright notice.
21108         * ctype/ctype.h: Likewise.
21109         * debug/swprintf_chk.c: Likewise.
21110         * elf/dl-cache.c: Likewise.
21111         * elf/dl-debug.c: Likewise.
21112         * elf/dl-object.c: Likewise.
21113         * grp/initgroups.c: Likewise.
21114         * hurd/Makefile: Likewise.
21115         * hurd/hurd/signal.h: Likewise.
21116         * hurd/hurdfault.c: Likewise.
21117         * hurd/hurdioctl.c: Likewise.
21118         * hurd/hurdlookup.c: Likewise.
21119         * hurd/intr-msg.c: Likewise.
21120         * iconv/gconv_open.c: Likewise.
21121         * libio/swprintf.c: Likewise.
21122         * locale/lc-ctype.c: Likewise.
21123         * locale/nl_langinfo.c: Likewise.
21124         * mach/Machrules: Likewise.
21125         * mach/Makefile: Likewise.
21126         * malloc/obstack.h: Likewise.
21127         * manual/Makefile: Likewise.
21128         * manual/tsort.awk: Likewise.
21129         * misc/bits/stab.def: Likewise.
21130         * nis/nis_print_group_entry.c: Likewise.
21131         * nis/nis_table.c: Likewise.
21132         * nis/nss_compat/compat-pwd.c: Likewise.
21133         * nis/nss_compat/compat-spwd.c: Likewise.
21134         * po/Makefile: Likewise.
21135         * posix/fnmatch.c: Likewise.
21136         * posix/regex.h: Likewise.
21137         * resolv/Makefile: Likewise.
21138         * resolv/nss_dns/dns-network.c: Likewise.
21139         * resolv/res_hconf.c: Likewise.
21140         * scripts/gen-sorted.awk: Likewise.
21141         * soft-fp/soft-fp.h: Likewise.
21142         * stdio-common/printf.h: Likewise.
21143         * stdlib/monetary.h: Likewise.
21144         * stdlib/random.c: Likewise.
21145         * stdlib/random_r.c: Likewise.
21146         * sysdeps/generic/Makefile: Likewise.
21147         * sysdeps/gnu/Makefile: Likewise.
21148         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21150         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21155         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21156         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21157         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21158         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21159         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21160         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21161         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21162         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21164         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21165         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21167         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21171         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21172         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21173         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21174         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21175         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21176         * sysdeps/mach/hurd/errnos.awk: Likewise.
21177         * sysdeps/mach/hurd/fork.c: Likewise.
21178         * sysdeps/mach/hurd/getcwd.c: Likewise.
21179         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21180         * sysdeps/mach/hurd/mmap.c: Likewise.
21181         * sysdeps/mach/hurd/utimes.c: Likewise.
21182         * sysdeps/mach/hurd/xmknod.c: Likewise.
21183         * sysdeps/posix/profil.c: Likewise.
21184         * sysdeps/posix/readdir_r.c: Likewise.
21185         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21186         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21187         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21188         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21190         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21191         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21192         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21193         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21194         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21195         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21196         * sysdeps/pthread/lio_listio.c: Likewise.
21197         * sysdeps/sparc/dl-procinfo.h: Likewise.
21198         * sysdeps/unix/i386/sysdep.S: Likewise.
21199         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21200         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21201         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21202         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21204         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21205         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21206         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21207         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21208         * sysdeps/wordsize-32/divdi3.c: Likewise.
21209         * time/sys/time.h: Likewise.
21210         * wcsmbs/Makefile: Likewise.
21212 2013-01-01  David S. Miller  <davem@davemloft.net>
21214         * po/fr.po: Update from translation team.
21216         * catgets/gencat.c: Update copyright year.
21217         * csu/version.c: Likewise.
21218         * debug/catchsegv.sh: Likewise.
21219         * debug/pcprofiledump.c: Likewise.
21220         * debug/xtrace.sh: Likewise.
21221         * elf/ldconfig.c: Likewise.
21222         * elf/ldd.bash.in: Likewise.
21223         * elf/pldd.c: Likewise.
21224         * elf/sotruss.ksh: Likewise.
21225         * elf/sprof.c: Likewise.
21226         * iconv/iconv_prog.c: Likewise.
21227         * iconv/iconvconfig.c: Likewise.
21228         * locale/programs/locale.c: Likewise.
21229         * locale/programs/localedef.c: Likewise.
21230         * login/programs/pt_chown.c: Likewise.
21231         * malloc/memusage.sh: Likewise.
21232         * malloc/memusagestat.c: Likewise.
21233         * malloc/mtrace.pl: Likewise.
21234         * nscd/nscd.c: Likewise.
21235         * nss/getent.c: Likewise.
21236         * nss/makedb.c: Likewise.
21237         * posix/getconf.c: Likewise.
21239 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21241         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21242         numbers.
21244 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21246         * math/bits/mathcalls.h (modf): Use __nonnull.
21248 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21250         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21251         (split): Use macro CN instead of the bare value.
21252         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21253         could be used.
21254         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21255         instead of the bare value.
21256         (power1): Likewise.
21258 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21260         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21261         __ATAN_TWOM.
21262         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21264         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21265         their values.
21266         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21267         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21268         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21269         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21271 2012-12-28  Andreas Jaeger  <aj@suse.de>
21273         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21274         values are from Linux 3.7.
21276         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21277         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21279 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21281         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21282         TRUE case.
21284         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21285         (norm): Likewise.
21286         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21287         variables with preprocessor constants.
21288         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21289         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21290         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21292 2012-12-27  Bruno Haible  <bruno@clisp.org>
21294         [BZ #14317]
21295         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21296         only if needed.
21298 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21300         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21301         and use variable directly.
21302         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21304         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21305         MPONE.
21306         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21307         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21308         variable MPONE.
21309         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21310         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21311         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21312         include directive.  Remove local variable MPONE.
21313         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21314         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21315         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21317 2012-12-25  David S. Miller  <davem@davemloft.net>
21319         * version.h (RELEASE): Set to "development".
21320         (VERSION): Set to "2.17.90".
21321         * NEWS: Add 2.18 section.
21323 2012-12-21  David S. Miller  <davem@davemloft.net>
21325         * po/hr.po: Update from translation team.
21327 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21329         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21331 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21333         * NEWS:  Mention new memcpy for MIPS.
21335 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21337         * manual/contrib.texi (Contributors): Spelling correction.
21339 2012-12-15  David S. Miller  <davem@davemloft.net>
21341         * po/ru.po: Update from translation team.
21343 2012-12-13  David S. Miller  <davem@davemloft.net>
21345         * NEWS: Mention IFUNC testsuite enhancements.
21347         * po/pl.po: Update from translation team.
21348         * po/bg.po: Likewise.
21350         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21351         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21353 2012-12-11  David S. Miller  <davem@davemloft.net>
21355         * po/sv.po: Update from translation team.
21357         * po/vi.po: Update from translation team.
21359         * po/cs.po: Update from translation team.
21361         * po/de.po: Update from translation team.
21362         * po/eo.po: Likewise.
21363         * po/nl.po: Likewise.
21365 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21367         [BZ #14246]
21368         * manual/argp.texi (Argp Helper Functions): Move node to follow
21369         Argp Parsing State.
21371         [BZ #14872]
21372         * manual/conf.texi (Limits on File System Capacity): Mention if
21373         terminating null is included in the max size.
21375 2012-12-10  Andreas Jaeger  <aj@suse.de>
21377         * po/cs.po: Update from translation team.
21379 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21381         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21382         void pointer and cast to uintptr_t.
21383         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21384         path.
21385         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21386         * sysdeps/s390/s390-64/memset.S: Likewise.
21388 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21390         [BZ #14833]
21391         * menual/message.texi (Message Translation): Fix typos.
21392         (Helper programs for gettext): Likewise.
21394 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21396         [BZ #14898]
21397         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21398         Change to -1.
21400 2012-12-07  David S. Miller  <davem@davemloft.net>
21402         * po/libc.pot: Update.
21404 2012-12-07  Richard Henderson  <rth@redhat.com>
21406         [BZ #10114]
21407         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21408         normal/normal case to before the switch.
21409         (_FP_DIV): Likewise.
21411 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21412             Mike Frysinger  <vapier@gentoo.org>
21414         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21415         check for __NR_fadvise64_64.
21417 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21419         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21420         0, not just to plain "0" as a statement.
21421         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21422         with cw.
21424 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21426         * NEWS: Use sourceware.org in Bugzilla URL.
21428 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21431         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21433         * stdio-common/tst-put-error.c (do_test): Add newline to the
21434         padded test to ensure flush.
21436 2012-12-05  Jeff Law  <law@redhat.com>
21438         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21440 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21442         * README: Don't refer to ports add-on as distributed separately.
21443         Mention AArch64 in list of systems supported in the ports add-on.
21445         * LICENSES: Add more non-FSF copyright and license notices.
21447         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21448         ((unused)).
21450         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21452         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21453         10000 as width of padded output.
21455 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21457         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21459         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21460         variable LX with __attribute__ ((unused)).
21461         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21462         Likewise.
21463         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21464         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21465         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21466         with __attribute__ ((unused)).
21468 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21470         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21472 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21474         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21475         (CFLAGS-nldbl-acos.c): New variable.
21476         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21477         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21478         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21479         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21480         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21481         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21482         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21483         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21484         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21485         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21486         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21487         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21488         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21489         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21490         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21491         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21492         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21493         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21494         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21495         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21496         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21497         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21498         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21499         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21500         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21501         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21502         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21503         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21504         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21505         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21506         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21507         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21508         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21509         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21510         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21511         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21512         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21513         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21514         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21515         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21516         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21517         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21518         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21519         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21520         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21521         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21522         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21523         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21524         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21525         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21526         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21527         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21528         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21529         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21530         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21531         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21532         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21533         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21534         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21535         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21536         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21537         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21538         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21539         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21540         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21541         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21542         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21543         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21544         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21545         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21546         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21547         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21548         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21549         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21550         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21551         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21552         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21553         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21554         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21555         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21556         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21557         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21558         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21559         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21560         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21561         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21562         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21563         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21564         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21565         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21566         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21567         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21568         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21569         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21570         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21571         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21572         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21575         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21577         [BZ #14914]
21578         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21579         whole low double instead of just low 47 bits when splitting values
21580         into two parts.
21582 2012-12-03  Allan McRae  <allan@archlinux.org>
21584         * manual/stdio.texi (Predefined Printf Handlers): Remove
21585         @hsep and @vsep usage.
21587 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21589         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21590         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21592 2012-12-03  Jeff Law  <law@redhat.com>
21594         * time/sys/time.h (settimeofday): Do not mark TV argument
21595         as __nonnull.
21597 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21599         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21600         when currently writing and seek to current position when not.
21601         * libio/Makefile (tests): Remove bug-fclose1.
21602         * libio/bug-fclose1.c: Delete.
21604 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21606         * manual/arith.texi (feenableexcept): Fix typo.
21607         (fedisableexcept): Likewise.
21609 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21611         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21612         second, differently-typed declaration, rather than a cast.
21614 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21616         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21617         * include/rpc/svc.h: ... here.
21619 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21621         [BZ #13013]
21622         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21623         depending n and resplen2 to catch cases where answer
21624         equals answerp2.
21626 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21628         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21629         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21631 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21633         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21635 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21637         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21639 2012-11-28  Jeff Law  <law@redhat.com>
21641         [BZ #13761]
21642         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21643         dataset_temporary.  Track alloca usage into alloca_used.
21644         If dataset is large allocate and release it via malloc/free.
21646 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21648         [BZ #14197]
21649         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21651 2012-11-28  David S. Miller  <davem@davemloft.net>
21653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21655 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21657         [BZ #14803]
21658         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21659         of pi/2 rounded to nearest to 64 bits.
21660         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21661         nearest to 64 bits.
21662         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21663         bits.
21665 2012-11-28  Jeff Law <law@redhat.com>
21666             Martin Osvald <mosvald@redhat.com>
21668         [BZ #14889]
21669         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21670         * sunrpc/svc.c: Include time.h.
21671         (__svc_accept_failed): New function.
21672         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21673         any reason other than EINTR, call __svc_accept_failed.
21674         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21675         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21677 2012-11-28  Andreas Schwab  <schwab@suse.de>
21679         * scripts/abilist.awk: Also handle indirect functions in .opd
21680         section.
21682 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21684         [BZ #13881]
21685         * sysdeps/x86/fpu/powl_helper.c: New file.
21686         * sysdeps/x86/fpu/Makefile: Likewise.
21687         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21688         (p3): New object.
21689         (__ieee754_powl): Use __powl_helper for finite arguments except
21690         integer exponents below 8.
21691         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21692         (p3): New object.
21693         (__ieee754_powl): Use __powl_helper for finite arguments except
21694         integer exponents below 8.
21695         * math/libm-test.inc (pow_test): Add more tests and enable some
21696         previously disabled tests.
21697         * sysdeps/i386/fpu/libm-test-ulps: Update.
21698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21700 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21701             Carlos O'Donell  <carlos_odonell@mentor.com>
21703         * nss/makedb.c (is_prime): Assert that input is odd and greater
21704         than 4.  Note that fact in a comment too.
21705         (next_prime): Add 4 to input.
21707 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21709         [BZ #11741]
21710         * libio/Makefile (tests): Add test case tst-fwrite-error.
21711         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21712         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21713         * libio/tst-fwrite-error.c: New test case.
21715 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21717         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21718         before casting to void *.
21719         * include/libc-internal.h (__pointer_type): New macro.
21720         (__integer_if_pointer_type_sub): Likewise.
21721         (__integer_if_pointer_type): Likewise.
21722         (cast_to_integer): Likewise.
21723         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21724         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21725         before casting to atomic64_t.
21726         (atomic_exchange_acq): Likewise.
21727         (__arch_exchange_and_add_body): Likewise.
21728         (__arch_add_body): Likewise.
21729         (atomic_add_negative): Likewise.
21730         (atomic_add_zero): Likewise.
21732 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21734         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21735         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21736         (add_fdes): Likewise.
21737         (linear_search_fdes): Likewise.
21738         (binary_search_unencoded_fdes): Likewise.
21740 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21742         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21744 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21746         * configure.in: Autodetect C++ header directories.
21747         * configure: Regenerated.
21749 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21751         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21753 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21755         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21757 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21759         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21760         LDBL_MANT_DIG == 106]: Disable some tests.
21761         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21762         Likewise.
21763         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21764         Likewise.
21766         [BZ #14871]
21767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21768         input for small inputs.  Return +/- pi/2 for large inputs.
21769         * math/libm-test.inc (atan_test): Add more tests.
21771         * sysdeps/generic/unwind-dw2-fde-glibc.c
21772         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21773         __attribute__ ((unused)).
21775         [BZ #14645]
21776         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21777         x * y if x and y are nonzero and z is zero.
21779         [BZ #14811]
21780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21781         nonzero exponents with absolute value below 0x1p-117 to +/-
21782         0x1p-117.
21784         [BZ #14869]
21785         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21786         up arguments below 2**-450, not just those below 2**-500.
21787         * math/libm-test.inc (hypot_test): Add another test.
21789         [BZ #14868]
21790         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21791         Return a+b for ratio over 2**120, not 2**60.
21792         * math/libm-test.inc (hypot_test): Add another test.
21794         * math/libm-test.inc (clog_test): Use
21795         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21796         (clog10_test): Likewise.
21798         [BZ #6778]
21799         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21801 2012-11-22  Andreas Schwab  <schwab@suse.de>
21803         * sysdeps/i386/fpu/libm-test-ulps: Update.
21805 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21807         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21808         printf output with newline.
21810 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21812         [BZ #14865]
21813         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21814         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21815         -z nodlopen, -z initfirst and -z execstack support.
21816         * configure: Regenerated.
21818         * elf/elf.h (DF_1_NODIRECT): New macro.
21819         (DF_1_IGNMULDEF): Likewise.
21820         (DF_1_NOKSYMS): Likewise.
21821         (DF_1_NOHDR): Likewise.
21822         (DF_1_EDITED): Likewise.
21823         (DF_1_NORELOC): Likewise.
21824         (DF_1_SYMINTPOSE): Likewise.
21825         (DF_1_GLOBAUDIT): Likewise.
21826         (DF_1_SINGLETON): Likewise.
21827         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21828         DT_1_SUPPORTED_MASK bits.
21829         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21831 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21833         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21835 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21837         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21838         macro.
21840         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21841         (sendmmsg): Move declarations...
21842         * socket/sys/socket.h: ... here.
21843         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21844         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21845         include it from...
21846         * socket/recvmmsg.c: ... this new file.
21847         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21848         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21849         definition of __sendmmsg hidden.
21850         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21851         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21852         Move ENOSYS stub into and include it from...
21853         * socket/sendmmsg.c: ... this new file.
21854         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21855         (sysdep_routines): Move recvmmsg and sendmmsg...
21856         * socket/Makefile (routines): ... here.
21857         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21858         (GLIBC_PRIVATE): Add __sendmmsg.
21859         * include/sys/socket.h (__sendmmsg): Add declarations.
21860         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21861         sendmmsg.
21863 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21865         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21866         variable I1 with __attribute__ ((unused)).
21867         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21869 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21871         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21872         DUMMY variables with __attribute__ ((unused)).
21874         * bits/byteswap.h: Include <bits/types.h>.
21875         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21877 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21879         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21880         string_t.  Do not manually set errno.
21881         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21882         length with __strnlen.  Make sure to both set errno and return it on
21883         failure.
21885 2012-11-19  David S. Miller  <davem@davemloft.net>
21887         With help from Joseph Myers.
21888         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21889         very large arguments properly.
21890         * math/libm-test.inc (atan_test): New tests.
21891         (atan2_test): New tests.
21892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21893         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21895 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21897         [BZ #14856]
21898         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21899         Define to 3.
21901         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21902         [POSIX] (EADDRNOTAVAIL): Likewise.
21903         [POSIX] (EAFNOSUPPORT): Likewise.
21904         [POSIX] (EALREADY): Likewise.
21905         [POSIX] (ECONNABORTED): Likewise.
21906         [POSIX] (ECONNREFUSED): Likewise.
21907         [POSIX] (ECONNRESET): Likewise.
21908         [POSIX] (EDESTADDRREQ): Likewise.
21909         [POSIX] (EDQUOT): Likewise.
21910         [POSIX] (EHOSTUNREACH): Likewise.
21911         [POSIX] (EIDRM): Likewise.
21912         [POSIX] (EISCONN): Likewise.
21913         [POSIX] (ELOOP): Likewise.
21914         [POSIX] (EMULTIHOP): Likewise.
21915         [POSIX] (ENETDOWN): Likewise.
21916         [POSIX] (ENETUNREACH): Likewise.
21917         [POSIX] (ENOBUFS): Likewise.
21918         [POSIX] (ENODATA): Likewise.
21919         [POSIX] (ENOLINK): Likewise.
21920         [POSIX] (ENOMSG): Likewise.
21921         [POSIX] (ENOPROTOOPT): Likewise.
21922         [POSIX] (ENOSR): Likewise.
21923         [POSIX] (ENOSTR): Likewise.
21924         [POSIX] (ENOTCONN): Likewise.
21925         [POSIX] (ENOTSOCK): Likewise.
21926         [POSIX] (EOPNOTSUPP): Likewise.
21927         [POSIX] (EOVERFLOW): Likewise.
21928         [POSIX] (EPROTO): Likewise.
21929         [POSIX] (EPROTONOSUPPORT): Likewise.
21930         [POSIX] (EPROTOTYPE): Likewise.
21931         [POSIX] (ESTALE): Likewise.
21932         [POSIX] (ETIME): Likewise.
21933         [POSIX] (ETXTBSY): Likewise.
21934         [POSIX] (EWOULDBLOCK): Likewise.
21935         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21936         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21937         [POSIX] (SEEK_CUR): Likewise.
21938         [POSIX] (SEEK_END): Likewise.
21939         [POSIX || UNIX98] (mode_t): Do not require.
21940         [POSIX] (off_t): Likewise.
21941         [POSIX] (pid_t): Likewise.
21942         [POSIX] (sys/stat.h): Do not allow header.
21943         [POSIX] (unistd.h): Likewise.
21944         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21945         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21946         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21947         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21948         require.
21949         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21950         sigevent): Specify elements.
21951         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21952         entry.
21953         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21954         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21956         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21957         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21958         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21959         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21960         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21961         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21962         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21963         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21964         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21965         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21966         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21967         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21968         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21969         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21970         Likewise.
21971         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21972         Likewise.
21973         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21974         Likewise.
21975         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21976         Likewise.
21977         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21978         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21979         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21980         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21981         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21982         Specify lower bound on value.
21983         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21984         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21985         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21986         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21987         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21988         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21989         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21990         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21991         value.
21992         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21993         as optional.
21994         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21995         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21996         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21997         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21998         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21999         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22000         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22001         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22002         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22003         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22004         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22005         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22006         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22007         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22008         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22009         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22010         entry.
22011         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22012         optional.
22013         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22014         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22015         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22016         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22017         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22018         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22019         Likewise.
22020         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22021         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22022         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22023         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22024         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22025         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22026         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22027         as optional.
22028         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22029         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22030         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22031         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22032         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22033         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22034         specify as optional.
22035         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22036         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22037         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22038         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22039         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22040         [XPG3] (NL_LANGMAX): Likewise.
22041         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22042         [POSIX || XPG3] (NL_NMAX): Likewise.
22043         [POSIX || XPG3] (NL_SETMAX): Likewise.
22044         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22045         [XPG3] (NZERO): Likewise.
22046         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22047         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22048         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22049         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22050         (REG_ERANGE): Expect.
22051         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22052         optional-constant.
22053         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22054         Use (void) in prototype.
22055         [POSIX] (*_t): Allow.
22056         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22057         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22058         (WRDE_BADVAL): Expect.
22060         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22061         expect.
22062         [XPG3 || XPG4] (O_RSYNC): Likewise.
22063         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22064         Likewise.
22065         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22066         [XPG3 || XPG4] (sigqueue): Likewise.
22067         [XPG3 || XPG4] (sigtimedwait): Likewise.
22068         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22069         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22070         [XPG3 || XPG4] (vsnprintf): Likewise.
22071         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22072         Likewise.
22073         [XPG3 || XPG4] (blksize_t): Likewise.
22074         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22075         Likewise.
22076         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22077         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22078         [XPG3 || XPG4] (struct itimerspec): Likewise.
22079         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22080         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22081         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22082         [XPG3 || XPG4] (clockid_t): Likewise.
22083         [XPG3 || XPG4] (timer_t): Likewise.
22084         [XPG3 || XPG4] (clock_getres): Likewise.
22085         [XPG3 || XPG4] (clock_gettime): Likewise.
22086         [XPG3 || XPG4] (clock_settime): Likewise.
22087         [XPG3 || XPG4] (nanosleep): Likewise.
22088         [XPG3 || XPG4] (timer_create): Likewise.
22089         [XPG3 || XPG4] (timer_delete): Likewise.
22090         [XPG3 || XPG4] (timer_gettime): Likewise.
22091         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22092         [XPG3 || XPG4] (timer_settime): Likewise.
22093         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22094         [XPG3 || XPG4] (getlogin_r): Likewise.
22095         [XPG3 || XPG4] (pread): Likewise.
22096         [XPG3 || XPG4] (pthread_atfork): Likewise.
22097         [XPG3 || XPG4] (pwrite): Likewise.
22099         [BZ #14835]
22100         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22101         <bits/siginfo.h>.
22103 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22105         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22106         finalizing MALLSTREAM.
22108         * sysdeps/mach/hurd/syncfs.c: New file.
22110 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22112         [BZ #14719]
22113         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22114         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22115         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22116         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22117         (_nss_dns_gethostbyname4_r): Likewise.
22118         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22119         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22121 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22123         [BZ #13763]
22124         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22126 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22128         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22129         * elf/cache.c (print_entry): Print ",AArch64" for
22130         FLAG_AARCH64_LIB64
22132         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22133         * elf/cache.c (print_entry): Print ",hard-float" for
22134         FLAG_ARM_LIBHF.
22136 2012-11-18  David S. Miller  <davem@davemloft.net>
22138         With help from Joseph Myers.
22139         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22140         cutoff to 2**-13.
22141         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22142         cutoff to 2**-25.
22143         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22144         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22145         small.
22146         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22147         * math/libm-test.inc (y0_test): New tests.
22148         (y1_test): New tests.
22149         * sysdeps/i386/fpu/libm-test-ulps: Update.
22150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22151         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22153 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22155         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22156         64-bit targets.
22157         * configure: Regenerated.
22159 2012-11-17  David S. Miller  <davem@davemloft.net>
22161         [BZ #14811]
22162         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22163         nonzero exponents with absolute value below 0x1p-128 to +/-
22164         0x1p-128.
22166 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22168         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22170         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22172         * posix/getconf-speclist.c: New file.
22173         * posix/posix-envs.def: Likewise.
22174         * posix/confstr.c (START_ENV_GROUP): New macro.
22175         (END_ENV_GROUP): Likewise.
22176         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22177         (KNOWN_PRESENT_ENV_STRING): Likewise.
22178         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22179         (UNKNOWN_ENVIRONMENT): Likewise.
22180         (confstr): Include posix-envs.def instead of handling
22181         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22182         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22183         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22184         (END_ENV_GROUP): Likewise.
22185         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22186         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22187         (UNKNOWN_ENVIRONMENT): Likewise.
22188         (__sysconf): Include posix-envs.def instead of handling associated
22189         cases directly here.
22190         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22191         preprocessing getconf-speclist.c rather than running getconf or
22192         generating empty file.
22194 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22196         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22198 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22200         [BZ #14672]
22201         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22203 2012-11-16  David S. Miller  <davem@davemloft.net>
22205         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22206         smaller than LDBL_EPSILON/2.0L, just return xm1.
22208 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22210         * elf/tst-array1.c (init): Set constructor priority to 1000.
22211         (fini): Set destructor priority to 1000.
22212         * elf/tst-array2dep.c: Likewise.
22214 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22216         [BZ #11741]
22217         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22218         (_IO_new_file_xsputn): Also return EOF if none of the input
22219         data was written when overflow failed.
22220         * libio/iopadn.c (_IO_padn): Likewise.
22221         * libio/iowpadn.c (_IO_wpadn): Likewise.
22222         * stdio-common/tst-put-error.c: Add copyright notice.
22223         (do_test): Add case for printing padded string.
22224         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22225         _IO_padn returned error.
22226         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22227         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22228         return EOF.
22230 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22232         * libio/libioP.h: Add comment note that the references to C++
22233         bits are now obsolete.
22235 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22237         * math/libm-test.inc (check_complex): Use asprintf.
22239 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22241         * debug/pcprofiledump.c (print_version): Update copyright year.
22242         * malloc/memusagestat.c (print_version): Likewise.
22244 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22246         [BZ #14831]
22247         * elf/Makefile (tests): Add tst-audit8.
22248         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22249         ($(objpfx)tst-audit8.out): New target.
22250         (tst-audit8-ENV): New variable.
22251         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22252         audit if l_reloc_result is NULL.
22253         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22254         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22255         * elf/tst-audit8.c: New file.
22257 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22259         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22260         * misc/Makefile (CFLAGS-select.c): Define.
22261         * posix/Makefile (CFLAGS-pause.c): Define.
22263 2012-11-13  David S. Miller  <davem@davemloft.net>
22265         * crypt/Makefile: Move test targets after toplevel Rules
22266         inclusion.  Grab any necessary sysdep routines when linking.
22267         * crypt/md5.c (md5_process_block): Remove define, we will always
22268         name it __md5_process_block.
22269         (md5_finish_ctx): Update md5_process_block call.
22270         (md5_stream): Likewise.
22271         (md5_process_bytes): Likewise.
22272         (md5_process_block): Rename to __md5_process_block and move to ...
22273         * crypt/md5-block.c: ... here.
22274         * crypt/sha256.c (sha256_process_block): Move to ...
22275         * crypt/sha256-block.c: ... here.
22276         * crypt/sha512.c (sha512_process_block): Move to ...
22277         * crypt/sha512-block.c: ... here.
22278         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22279         path.
22280         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22281         * sysdeps/sparc/sparc64/multiarch/Makefile
22282         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22283         crypt subdir.
22284         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22285         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22286         multiarch changes.
22287         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22288         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22289         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22290         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22291         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22292         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22293         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22294         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22295         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22296         file.
22297         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22298         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22299         file.
22300         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22302 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22304         * timezone/tzselect.ksh: Update from tzcode git revision
22305         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22306         * timezone/zdump.c: Likewise.
22307         * timezone/zic.c: Likewise.
22308         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22309         in TZVERSION setting, not $(PKGVERSION).
22310         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22311         REPORT_BUGS_TO settings.
22313         [BZ #14838]
22314         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22315         macro.
22317 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22319         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22320         detection to immediately after _FP_ROUND().
22321         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22322         bits are 0.
22324 2012-11-11  David S. Miller  <davem@davemloft.net>
22326         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22327         inttypes.h
22328         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22329         __close rather than their public counterparts.
22331 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22333         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22334         file.
22335         [UNIX98] (sem_timedwait): Do not expect.
22336         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22337         [XPG4 || UNIX98] (sockatmark): Do not expect.
22338         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22339         (clock_getcpuclockid): Do not expect.
22340         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22341         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22342         Do not expect.
22343         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22344         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22345         [UNIX98] (vwscanf): Likewise.
22346         [UNIX98] (vswscanf): Likewise.
22348 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22350         * timezone/version.h: Remove file.
22351         * timezone/README: Do not refer to version.h.
22352         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22353         $(objpfx)version.h.
22354         ($(objpfx)zdump.o): Likewise.
22355         ($(objpfx)version.h): New target.
22357         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22358         2012i.
22359         * timezone/README: Don't mention modification to tzselect.ksh.
22360         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22361         work on unmodified tzselect.ksh.  Substitute version numbers in
22362         tzselect.ksh.
22364         * Makefile (format-me): Remove.
22365         (INSTALL): Adjust indentation.  Use commands directly instead of
22366         using $(format-me).
22368         * aclocal.m4 (ACX_PKGVERSION): New macro.
22369         (ACX_BUGURL): Likewise.
22370         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22371         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22372         (REPORT_BUGS_TO): Likewise.
22373         * configure: Regenerated.
22374         * config.h.in (PKGVERSION): New macro.
22375         (REPORT_BUGS_TO): Likewise.
22376         * config.make.in (PKGVERSION): New variable.
22377         (PKGVERSION_TEXI): Likewise.
22378         (REPORT_BUGS_TO): Likewise.
22379         (REPORT_BUGS_TEXI): Likewise.
22380         * Makefile (format-me): Use -I$(common-objpfx)manual.
22381         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22382         ($(common-objpfx)manual/%): New target.
22383         (manual/%): Remove target.
22384         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22385         (print_version): Use PKGVERSION.
22386         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22387         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22388         and REPORT_BUGS_TO.
22389         ($(objpfx)xtrace): Likewise.
22390         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22391         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22392         (print_version): Use PKGVERSION.
22393         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22394         (do_version): Use PKGVERSION.
22395         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22396         REPORT_BUGS_TO.
22397         (common-ldd-rewrite): Likewise.
22398         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22399         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22400         (print_version): Use PKGVERSION.
22401         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22402         * elf/pldd.c (argp_program_bug_address): Remove variable.
22403         (more_help): New function.
22404         (argp): Use more_help.
22405         (print_version): Use PKGVERSION.
22406         * elf/sln.c (main): Use PKGVERSION.
22407         (usage): Use REPORT_BUGS_TO.
22408         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22409         (top level): Use PKGVERSION.
22410         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22411         (print_version): Use PKGVERSION.
22412         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22413         (print_version): Use PKGVERSION.
22414         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22415         (print_version): Use PKGVERSION.
22416         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22417         (print_version): Use PKGVERSION.
22418         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22419         (print_version): Use PKGVERSION.
22420         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22421         (print_version): Use PKGVERSION.
22422         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22423         and BUGURL.
22424         ($(objpfx)memusage): Likewise.
22425         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22426         (do_version): Use PKGVERSION.
22427         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22428         (print_version): Use PKGVERSION.
22429         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22430         ($PKGVERSION): New variable.
22431         ($REPORT_BUGS_TO): Likewise.
22432         (usage): Use $REPORT_BUGS_TO.
22433         (top level): Use $PKGVERSION.
22434         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22435         ($(objpfx)pkgvers.texi): New rule.
22436         ($(objpfx)stamp-pkgvers): Likewise.
22437         * manual/install.texi: Include pkgvers.texi.
22438         (--with-pkgversion): Document new configure option.
22439         (--with-bugurl): Likewise.
22440         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22441         than necessarily for this particular distribution.  Use
22442         REPORT_BUGS_TO for where to report bugs.
22443         * INSTALL: Regenerated.
22444         * manual/libc.texinfo: Include pkgvers.texi.
22445         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22446         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22447         (print_version): Use PKGVERSION.
22448         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22449         (print_version): Use PKGVERSION.
22450         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22451         (print_version): Use PKGVERSION.
22452         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22453         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22454         macro.
22455         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22456         (print_version): Use PKGVERSION.
22457         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22458         (print_version): Use PKGVERSION.
22459         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22460         and PKGVERSION.
22462         * timezone/checktab.awk: Update from tzcode 2012i.
22463         * timezone/ialloc.c: Likewise.
22464         * timezone/private.h: Likewise.
22465         * timezone/scheck.c: Likewise.
22466         * timezone/tzfile.h: Likewise.
22467         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22468         (TZVERSION): Hardcode tzcode version number.
22469         * timezone/zdump.c: Update from tzcode 2012i.
22470         * timezone/zic.c: Likewise.
22471         * timezone/version.h: New file.
22472         * timezone/README: Describe version.h.  Update upstream location.
22474         [BZ #14824]
22475         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22476         (mktemp): Enable declaration.
22477         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22478         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22479         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22480         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22481         Likewise.
22482         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22483         Likewise.
22484         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22485         Likewise.
22486         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22487         Likewise.
22488         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22489         Likewise.
22490         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22491         Likewise.
22493         [BZ #14821]
22494         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22495         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22496         for copies of such integer values.
22497         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22498         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22500 2012-11-09  Andreas Jaeger  <aj@suse.de>
22502         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22503         definitions and declarations that are provided by
22504         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22506 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22508         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22509         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22510         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22511         definition.
22513 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22515         * elf/elf.h: Update comment before AArch64 relocations.
22517 2012-11-07  David S. Miller  <davem@davemloft.net>
22519         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22520         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22521         (__start_context): Declare.
22522         (__makecontext_ret): Delete.
22523         (__makecontext): Hook up __start_context instead of
22524         __makecontext_ret.
22525         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22526         (sysdep_routines): Add __start_context when in stdlib.
22528 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22530         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22531         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22532         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22533         hardcoded "nm".
22534         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22535         (READELF): New variable.  Use it instead of hardcoded "readelf".
22537 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22539         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22540         * sysdeps/x86/Makefile: Here.
22541         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22542         * sysdeps/x86/tst-xmmymm.sh: This.
22544 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22546         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22547         expectations.
22548         [UNIX98] (pthread_barrier_t): Do not expect.
22549         [UNIX98] (pthread_barrierattr_t): Likewise.
22550         [UNIX98] (pthread_spinlock_t): Likewise.
22551         [UNIX98] (pthread_barrier_destroy): Likewise.
22552         [UNIX98] (pthread_barrier_init): Likewise.
22553         [UNIX98] (pthread_barrier_wait): Likewise.
22554         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22555         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22556         [UNIX98] (pthread_barrierattr_init): Likewise.
22557         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22558         [UNIX98] (pthread_getcpuclockid): Likewise.
22559         [UNIX98] (pthread_mutex_timedlock): Likewise.
22560         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22561         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22562         [UNIX98] (pthread_sigmask): Likewise.
22563         [UNIX98] (pthread_spin_destroy): Likewise.
22564         [UNIX98] (pthread_spin_init): Likewise.
22565         [UNIX98] (pthread_spin_lock): Likewise.
22566         [UNIX98] (pthread_spin_trylock): Likewise.
22567         [UNIX98] (pthread_spin_unlock): Likewise.
22568         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22569         Do not expect.
22570         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22571         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22572         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22573         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22574         [XPG3 || XPG4] (pthread_key_t): Likewise.
22575         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22576         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22577         [XPG3 || XPG4] (pthread_once_t): Likewise.
22578         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22579         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22580         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22581         [XPG3 || XPG4] (pthread_t): Likewise.
22583         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22584         not expect.
22585         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22587         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22588         Change function return type to int.
22590         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22591         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22592         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22593         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22594         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22595         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22596         [!POSIX] (posix_madvise): Likewise.
22597         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22598         && !UNIX98].
22599         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22600         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22601         (mode_t): Likewise.
22602         (posix_mem_offset): Likewise.
22603         (posix_typed_mem_get_info): Likewise.
22604         (posix_typed_mem_open): Likewise.
22606         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22607         Change condition to [XOPEN2K8].
22609         * conform/conformtest.pl: Preprocess allow-header data with -x c
22610         instead of from stdin.
22611         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22612         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22613         [C99-based standards] (cerfc): Likewise.
22614         [C99-based standards] (cexp2): Likewise.
22615         [C99-based standards] (cexpm1): Likewise.
22616         [C99-based standards] (clog10): Likewise.
22617         [C99-based standards] (clog1p): Likewise.
22618         [C99-based standards] (clog2): Likewise.
22619         [C99-based standards] (clgamma): Likewise.
22620         [C99-based standards] (ctgamma): Likewise.
22621         [C99-based standards] (cerff): Likewise.
22622         [C99-based standards] (cerfcf): Likewise.
22623         [C99-based standards] (cexp2f): Likewise.
22624         [C99-based standards] (cexpm1f): Likewise.
22625         [C99-based standards] (clog10f): Likewise.
22626         [C99-based standards] (clog1pf): Likewise.
22627         [C99-based standards] (clog2f): Likewise.
22628         [C99-based standards] (clgammaf): Likewise.
22629         [C99-based standards] (ctgammaf): Likewise.
22630         [C99-based standards] (cerfl): Likewise.
22631         [C99-based standards] (cerfcl): Likewise.
22632         [C99-based standards] (cexp2l): Likewise.
22633         [C99-based standards] (cexpm1l): Likewise.
22634         [C99-based standards] (clog10l): Likewise.
22635         [C99-based standards] (clog1pl): Likewise.
22636         [C99-based standards] (clog2l): Likewise.
22637         [C99-based standards] (clgammal): Likewise.
22638         [C99-based standards] (ctgammal): Likewise.
22639         * conform/data/inttypes.h-data [C99-based standards]: Include
22640         stdint.h-data.  Remove all expectations for stdint.h contents.
22641         [C99-based standards] (PRI*): Do not allow.
22642         [C99-based standards] (SCN*): Likewise.
22643         [C99-based standards] (*_t): Likewise.
22644         [C99-based-standards] (PRId8): Expect macro.
22645         [C99-based-standards] (PRIi8): Likewise.
22646         [C99-based-standards] (PRIo8): Likewise.
22647         [C99-based-standards] (PRIu8): Likewise.
22648         [C99-based-standards] (PRIx8): Likewise.
22649         [C99-based-standards] (PRIX8): Likewise.
22650         [C99-based-standards] (SCNd8): Likewise.
22651         [C99-based-standards] (SCNi8): Likewise.
22652         [C99-based-standards] (SCNo8): Likewise.
22653         [C99-based-standards] (SCNu8): Likewise.
22654         [C99-based-standards] (SCNx8): Likewise.
22655         [C99-based-standards] (PRIdLEAST8): Likewise.
22656         [C99-based-standards] (PRIiLEAST8): Likewise.
22657         [C99-based-standards] (PRIoLEAST8): Likewise.
22658         [C99-based-standards] (PRIuLEAST8): Likewise.
22659         [C99-based-standards] (PRIxLEAST8): Likewise.
22660         [C99-based-standards] (PRIXLEAST8): Likewise.
22661         [C99-based-standards] (SCNdLEAST8): Likewise.
22662         [C99-based-standards] (SCNiLEAST8): Likewise.
22663         [C99-based-standards] (SCNoLEAST8): Likewise.
22664         [C99-based-standards] (SCNuLEAST8): Likewise.
22665         [C99-based-standards] (SCNxLEAST8): Likewise.
22666         [C99-based-standards] (PRIdFAST8): Likewise.
22667         [C99-based-standards] (PRIiFAST8): Likewise.
22668         [C99-based-standards] (PRIoFAST8): Likewise.
22669         [C99-based-standards] (PRIuFAST8): Likewise.
22670         [C99-based-standards] (PRIxFAST8): Likewise.
22671         [C99-based-standards] (PRIXFAST8): Likewise.
22672         [C99-based-standards] (SCNdFAST8): Likewise.
22673         [C99-based-standards] (SCNiFAST8): Likewise.
22674         [C99-based-standards] (SCNoFAST8): Likewise.
22675         [C99-based-standards] (SCNuFAST8): Likewise.
22676         [C99-based-standards] (SCNxFAST8): Likewise.
22677         [C99-based-standards] (PRId16): Likewise.
22678         [C99-based-standards] (PRIi16): Likewise.
22679         [C99-based-standards] (PRIo16): Likewise.
22680         [C99-based-standards] (PRIu16): Likewise.
22681         [C99-based-standards] (PRIx16): Likewise.
22682         [C99-based-standards] (PRIX16): Likewise.
22683         [C99-based-standards] (SCNd16): Likewise.
22684         [C99-based-standards] (SCNi16): Likewise.
22685         [C99-based-standards] (SCNo16): Likewise.
22686         [C99-based-standards] (SCNu16): Likewise.
22687         [C99-based-standards] (SCNx16): Likewise.
22688         [C99-based-standards] (PRIdLEAST16): Likewise.
22689         [C99-based-standards] (PRIiLEAST16): Likewise.
22690         [C99-based-standards] (PRIoLEAST16): Likewise.
22691         [C99-based-standards] (PRIuLEAST16): Likewise.
22692         [C99-based-standards] (PRIxLEAST16): Likewise.
22693         [C99-based-standards] (PRIXLEAST16): Likewise.
22694         [C99-based-standards] (SCNdLEAST16): Likewise.
22695         [C99-based-standards] (SCNiLEAST16): Likewise.
22696         [C99-based-standards] (SCNoLEAST16): Likewise.
22697         [C99-based-standards] (SCNuLEAST16): Likewise.
22698         [C99-based-standards] (SCNxLEAST16): Likewise.
22699         [C99-based-standards] (PRIdFAST16): Likewise.
22700         [C99-based-standards] (PRIiFAST16): Likewise.
22701         [C99-based-standards] (PRIoFAST16): Likewise.
22702         [C99-based-standards] (PRIuFAST16): Likewise.
22703         [C99-based-standards] (PRIxFAST16): Likewise.
22704         [C99-based-standards] (PRIXFAST16): Likewise.
22705         [C99-based-standards] (SCNdFAST16): Likewise.
22706         [C99-based-standards] (SCNiFAST16): Likewise.
22707         [C99-based-standards] (SCNoFAST16): Likewise.
22708         [C99-based-standards] (SCNuFAST16): Likewise.
22709         [C99-based-standards] (SCNxFAST16): Likewise.
22710         [C99-based-standards] (PRId32): Likewise.
22711         [C99-based-standards] (PRIi32): Likewise.
22712         [C99-based-standards] (PRIo32): Likewise.
22713         [C99-based-standards] (PRIu32): Likewise.
22714         [C99-based-standards] (PRIx32): Likewise.
22715         [C99-based-standards] (PRIX32): Likewise.
22716         [C99-based-standards] (SCNd32): Likewise.
22717         [C99-based-standards] (SCNi32): Likewise.
22718         [C99-based-standards] (SCNo32): Likewise.
22719         [C99-based-standards] (SCNu32): Likewise.
22720         [C99-based-standards] (SCNx32): Likewise.
22721         [C99-based-standards] (PRIdLEAST32): Likewise.
22722         [C99-based-standards] (PRIiLEAST32): Likewise.
22723         [C99-based-standards] (PRIoLEAST32): Likewise.
22724         [C99-based-standards] (PRIuLEAST32): Likewise.
22725         [C99-based-standards] (PRIxLEAST32): Likewise.
22726         [C99-based-standards] (PRIXLEAST32): Likewise.
22727         [C99-based-standards] (SCNdLEAST32): Likewise.
22728         [C99-based-standards] (SCNiLEAST32): Likewise.
22729         [C99-based-standards] (SCNoLEAST32): Likewise.
22730         [C99-based-standards] (SCNuLEAST32): Likewise.
22731         [C99-based-standards] (SCNxLEAST32): Likewise.
22732         [C99-based-standards] (PRIdFAST32): Likewise.
22733         [C99-based-standards] (PRIiFAST32): Likewise.
22734         [C99-based-standards] (PRIoFAST32): Likewise.
22735         [C99-based-standards] (PRIuFAST32): Likewise.
22736         [C99-based-standards] (PRIxFAST32): Likewise.
22737         [C99-based-standards] (PRIXFAST32): Likewise.
22738         [C99-based-standards] (SCNdFAST32): Likewise.
22739         [C99-based-standards] (SCNiFAST32): Likewise.
22740         [C99-based-standards] (SCNoFAST32): Likewise.
22741         [C99-based-standards] (SCNuFAST32): Likewise.
22742         [C99-based-standards] (SCNxFAST32): Likewise.
22743         [C99-based-standards] (PRId64): Likewise.
22744         [C99-based-standards] (PRIi64): Likewise.
22745         [C99-based-standards] (PRIo64): Likewise.
22746         [C99-based-standards] (PRIu64): Likewise.
22747         [C99-based-standards] (PRIx64): Likewise.
22748         [C99-based-standards] (PRIX64): Likewise.
22749         [C99-based-standards] (SCNd64): Likewise.
22750         [C99-based-standards] (SCNi64): Likewise.
22751         [C99-based-standards] (SCNo64): Likewise.
22752         [C99-based-standards] (SCNu64): Likewise.
22753         [C99-based-standards] (SCNx64): Likewise.
22754         [C99-based-standards] (PRIdLEAST64): Likewise.
22755         [C99-based-standards] (PRIiLEAST64): Likewise.
22756         [C99-based-standards] (PRIoLEAST64): Likewise.
22757         [C99-based-standards] (PRIuLEAST64): Likewise.
22758         [C99-based-standards] (PRIxLEAST64): Likewise.
22759         [C99-based-standards] (PRIXLEAST64): Likewise.
22760         [C99-based-standards] (SCNdLEAST64): Likewise.
22761         [C99-based-standards] (SCNiLEAST64): Likewise.
22762         [C99-based-standards] (SCNoLEAST64): Likewise.
22763         [C99-based-standards] (SCNuLEAST64): Likewise.
22764         [C99-based-standards] (SCNxLEAST64): Likewise.
22765         [C99-based-standards] (PRIdFAST64): Likewise.
22766         [C99-based-standards] (PRIiFAST64): Likewise.
22767         [C99-based-standards] (PRIoFAST64): Likewise.
22768         [C99-based-standards] (PRIuFAST64): Likewise.
22769         [C99-based-standards] (PRIxFAST64): Likewise.
22770         [C99-based-standards] (PRIXFAST64): Likewise.
22771         [C99-based-standards] (SCNdFAST64): Likewise.
22772         [C99-based-standards] (SCNiFAST64): Likewise.
22773         [C99-based-standards] (SCNoFAST64): Likewise.
22774         [C99-based-standards] (SCNuFAST64): Likewise.
22775         [C99-based-standards] (SCNxFAST64): Likewise.
22776         [C99-based-standards] (PRIdMAX): Likewise.
22777         [C99-based-standards] (PRIiMAX): Likewise.
22778         [C99-based-standards] (PRIoMAX): Likewise.
22779         [C99-based-standards] (PRIuMAX): Likewise.
22780         [C99-based-standards] (PRIxMAX): Likewise.
22781         [C99-based-standards] (PRIXMAX): Likewise.
22782         [C99-based-standards] (SCNdMAX): Likewise.
22783         [C99-based-standards] (SCNiMAX): Likewise.
22784         [C99-based-standards] (SCNoMAX): Likewise.
22785         [C99-based-standards] (SCNuMAX): Likewise.
22786         [C99-based-standards] (SCNxMAX): Likewise.
22787         [C99-based-standards] (PRIdPTR): Likewise.
22788         [C99-based-standards] (PRIiPTR): Likewise.
22789         [C99-based-standards] (PRIoPTR): Likewise.
22790         [C99-based-standards] (PRIuPTR): Likewise.
22791         [C99-based-standards] (PRIxPTR): Likewise.
22792         [C99-based-standards] (PRIXPTR): Likewise.
22793         [C99-based-standards] (SCNdPTR): Likewise.
22794         [C99-based-standards] (SCNiPTR): Likewise.
22795         [C99-based-standards] (SCNoPTR): Likewise.
22796         [C99-based-standards] (SCNuPTR): Likewise.
22797         [C99-based-standards] (SCNxPTR): Likewise.
22798         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22799         allow.
22800         * conform/data/stdint.h-data: Update comments to clarify
22801         requirements.
22802         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22803         type.
22804         [C99-based standards] (INT8_MAX): Likewise.
22805         [C99-based standards] (INT16_MIN): Likewise.
22806         [C99-based standards] (INT16_MAX): Likewise.
22807         [C99-based standards] (INT32_MIN): Likewise.
22808         [C99-based standards] (INT32_MAX): Likewise.
22809         [C99-based standards] (INT64_MIN): Likewise.
22810         [C99-based standards] (INT64_MAX): Likewise.
22811         [C99-based standards] (UINT8_MAX): Likewise.
22812         [C99-based standards] (UINT16_MAX): Likewise.
22813         [C99-based standards] (UINT32_MAX): Likewise.
22814         [C99-based standards] (UINT64_MAX): Likewise.
22815         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22816         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22817         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22818         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22819         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22820         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22821         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22822         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22823         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22824         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22825         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22826         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22827         [C99-based standards] (INT_FAST8_MIN): Likewise.
22828         [C99-based standards] (INT_FAST8_MAX): Likewise.
22829         [C99-based standards] (INT_FAST16_MIN): Likewise.
22830         [C99-based standards] (INT_FAST16_MAX): Likewise.
22831         [C99-based standards] (INT_FAST32_MIN): Likewise.
22832         [C99-based standards] (INT_FAST32_MAX): Likewise.
22833         [C99-based standards] (INT_FAST64_MIN): Likewise.
22834         [C99-based standards] (INT_FAST64_MAX): Likewise.
22835         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22836         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22837         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22838         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22839         [C99-based standards] (INTPTR_MIN): Likewise.
22840         [C99-based standards] (INTPTR_MAX): Likewise.
22841         [C99-based standards] (UINTPTR_MAX): Likewise.
22842         [C99-based standards] (INTMAX_MIN): Likewise.
22843         [C99-based standards] (INTMAX_MAX): Likewise.
22844         [C99-based standards] (UINTMAX_MAX): Likewise.
22845         [C99-based standards] (PTRDIFF_MIN): Likewise.
22846         [C99-based standards] (PTRDIFF_MAX): Likewise.
22847         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22848         [C99-based standards] (SIZE_MAX): Likewise.
22849         [C99-based standards] (WCHAR_MAX): Likewise.
22850         [C99-based standards] (WINT_MAX): Likewise.
22851         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22852         constraint on value.
22853         [C99-based standards] (WCHAR_MIN): Likewise.
22854         [C99-based standards] (WINT_MIN): Likewise.
22855         [C99-based standards] (*_t): Allow.
22856         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22857         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22858         Include math.h-data and complex.h-data.  Remove all expectations
22859         of math.h and complex.h contents.
22860         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22861         at end of line.
22862         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22863         (struct tm): Expect tag.
22864         [C99-based-standards] (wcstof): Expect function.
22865         [C99-based-standards] (wcstold): Likewise.
22866         [C99-based-standards] (wcstoll): Likewise.
22867         [C99-based-standards] (wcstoull): Likewise.
22868         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22869         macro-int-constant.  Specify type.
22870         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22871         constraint on value.
22872         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22873         Specify type.
22874         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22875         Specify value.
22876         [ISO C standards]: Do not allow headers.
22877         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22878         wcs[abcdefghijklmnopqrstuvwxyz]*.
22879         [ISO C standards] (*_t): Do not allow.
22880         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22881         Expect function.
22882         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22883         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22884         Specify type.
22885         [ISO C standards]: Do not allow headers.
22886         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22887         is[abcdefghijklmnopqrstuvwxyz]*.
22888         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22889         to[abcdefghijklmnopqrstuvwxyz]*.
22890         [ISO C standards] (*_t): Do not allow.
22891         * conform/data/stdalign.h-data: New file.
22892         * conform/data/stdbool.h-data: Likewise.
22893         * conform/data/stdnoreturn.h-data: Likewise.
22895 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22897         [BZ #14815]
22898         * manual/filesys.texi (Directory Entries): Typo fix.
22899         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22901 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22903         * elf/elf.h (EM_AARCH64): New macro.
22904         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22905         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22906         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22907         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22908         (R_AARCH64_TLSDESC): Likewise.
22909         (NT_ARM_TLS): Likewise.
22910         (NT_ARM_HW_BREAK): Likewise.
22911         (NT_ARM_HW_WATCH): Likewise.
22913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22915         [BZ #14811]
22916         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22917         (__ieee754_powl): Saturate nonzero exponents with absolute value
22918         below 0x1p-79 to +/- 0x1p-79.
22919         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22920         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22921         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22922         nonzero exponents with absolute value below 0x1p-32 to +/-
22923         0x1p-32.
22924         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22925         (__ieee754_powl): Saturate nonzero exponents with absolute value
22926         below 0x1p-79 to +/- 0x1p-79.
22927         * math/libm-test.inc (pow_test): Add more tests.
22929 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22931         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22932         _dl_s390_cap_flags with kernel. Increase string length.
22933         (_dl_s390_platforms): Add z196 and zEC12.
22935 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22937         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22938         Change XOPEN21K to XOPEN2K.
22940 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22942         * string/memmove.c: Use memcpy when possible.
22944 2012-11-06  Andreas Jaeger  <aj@suse.de>
22946         * po/eo.po: Update from translation team.
22948 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #14793]
22951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22952         exponent and small x and y exponents, scale x or y up.  Increase
22953         by 2 the exponent used in scaling up.
22954         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22955         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22956         * math/libm-test.inc (fma_test): Add more tests.
22957         (fma_test_towardzero): Likewise.
22958         (fma_test_downward): Likewise.
22959         (fma_test_upward): Likewise.
22961 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22963         [BZ #14805]
22964         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22965         fenv_t *.
22967         [BZ #14801]
22968         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22969         namespace for names of struct fields.
22970         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22971         fenv_t fields.
22972         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22973         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22975 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22977         [BZ #3665]
22978         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22980 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22982         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22983         PTR_DEMANGLE.
22985         [BZ #5246]
22986         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22987         PTR_DEMANGLE.
22989 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22991         [BZ #14797]
22992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22993         definitely overflow as x * y not x * y + z.
22994         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22995         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22996         * math/libm-test.inc (fma_test): Add more tests.
22997         (fma_test_towardzero): Likewise.
22998         (fma_test_downward): Likewise.
22999         (fma_test_upward): Likewise.
23001 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23003         [BZ #157]
23005         * include/stub-tag.h: Remove file.
23006         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23007         '#include' of it.
23008         * manual/maint.texi (Porting): Don't reference it.
23009         * Makerules ($(objpfx)stubs): Likewise.
23010         * dirent/closedir.c: Don't include <stub-tag.h>.
23011         * dirent/dirfd.c: Likewise.
23012         * dirent/fdopendir.c: Likewise.
23013         * dirent/getdents.c: Likewise.
23014         * dirent/getdents64.c: Likewise.
23015         * dirent/opendir.c: Likewise.
23016         * dirent/readdir.c: Likewise.
23017         * dirent/readdir64.c: Likewise.
23018         * dirent/readdir64_r.c: Likewise.
23019         * dirent/readdir_r.c: Likewise.
23020         * dirent/rewinddir.c: Likewise.
23021         * dirent/seekdir.c: Likewise.
23022         * dirent/telldir.c: Likewise.
23023         * gmon/profil.c: Likewise.
23024         * grp/setgroups.c: Likewise.
23025         * inet/if_index.c: Likewise.
23026         * io/access.c: Likewise.
23027         * io/chdir.c: Likewise.
23028         * io/chmod.c: Likewise.
23029         * io/chown.c: Likewise.
23030         * io/close.c: Likewise.
23031         * io/dup.c: Likewise.
23032         * io/dup2.c: Likewise.
23033         * io/dup3.c: Likewise.
23034         * io/euidaccess.c: Likewise.
23035         * io/faccessat.c: Likewise.
23036         * io/fchdir.c: Likewise.
23037         * io/fchmod.c: Likewise.
23038         * io/fchmodat.c: Likewise.
23039         * io/fchown.c: Likewise.
23040         * io/fchownat.c: Likewise.
23041         * io/fcntl.c: Likewise.
23042         * io/flock.c: Likewise.
23043         * io/fstatfs.c: Likewise.
23044         * io/fstatfs64.c: Likewise.
23045         * io/fstatvfs.c: Likewise.
23046         * io/fstatvfs64.c: Likewise.
23047         * io/futimens.c: Likewise.
23048         * io/fxstat.c: Likewise.
23049         * io/fxstat64.c: Likewise.
23050         * io/fxstatat.c: Likewise.
23051         * io/fxstatat64.c: Likewise.
23052         * io/getcwd.c: Likewise.
23053         * io/isatty.c: Likewise.
23054         * io/lchmod.c: Likewise.
23055         * io/lchown.c: Likewise.
23056         * io/link.c: Likewise.
23057         * io/linkat.c: Likewise.
23058         * io/lseek.c: Likewise.
23059         * io/lseek64.c: Likewise.
23060         * io/lxstat64.c: Likewise.
23061         * io/mkdir.c: Likewise.
23062         * io/mkdirat.c: Likewise.
23063         * io/mkfifo.c: Likewise.
23064         * io/mkfifoat.c: Likewise.
23065         * io/open.c: Likewise.
23066         * io/open64.c: Likewise.
23067         * io/openat.c: Likewise.
23068         * io/openat64.c: Likewise.
23069         * io/pipe.c: Likewise.
23070         * io/pipe2.c: Likewise.
23071         * io/poll.c: Likewise.
23072         * io/posix_fadvise.c: Likewise.
23073         * io/posix_fadvise64.c: Likewise.
23074         * io/posix_fallocate.c: Likewise.
23075         * io/posix_fallocate64.c: Likewise.
23076         * io/read.c: Likewise.
23077         * io/readlink.c: Likewise.
23078         * io/readlinkat.c: Likewise.
23079         * io/rmdir.c: Likewise.
23080         * io/sendfile.c: Likewise.
23081         * io/sendfile64.c: Likewise.
23082         * io/statfs.c: Likewise.
23083         * io/statfs64.c: Likewise.
23084         * io/statvfs.c: Likewise.
23085         * io/statvfs64.c: Likewise.
23086         * io/symlink.c: Likewise.
23087         * io/symlinkat.c: Likewise.
23088         * io/ttyname.c: Likewise.
23089         * io/ttyname_r.c: Likewise.
23090         * io/umask.c: Likewise.
23091         * io/unlink.c: Likewise.
23092         * io/unlinkat.c: Likewise.
23093         * io/utime.c: Likewise.
23094         * io/utimensat.c: Likewise.
23095         * io/write.c: Likewise.
23096         * io/xmknod.c: Likewise.
23097         * io/xmknodat.c: Likewise.
23098         * io/xstat.c: Likewise.
23099         * io/xstat64.c: Likewise.
23100         * login/getpt.c: Likewise.
23101         * login/grantpt.c: Likewise.
23102         * login/unlockpt.c: Likewise.
23103         * math/e_acoshl.c: Likewise.
23104         * math/e_acosl.c: Likewise.
23105         * math/e_asinl.c: Likewise.
23106         * math/e_atan2l.c: Likewise.
23107         * math/e_atanhl.c: Likewise.
23108         * math/e_coshl.c: Likewise.
23109         * math/e_expl.c: Likewise.
23110         * math/e_fmodl.c: Likewise.
23111         * math/e_gammal_r.c: Likewise.
23112         * math/e_hypotl.c: Likewise.
23113         * math/e_j0l.c: Likewise.
23114         * math/e_j1l.c: Likewise.
23115         * math/e_jnl.c: Likewise.
23116         * math/e_lgammal_r.c: Likewise.
23117         * math/e_log10l.c: Likewise.
23118         * math/e_log2l.c: Likewise.
23119         * math/e_logl.c: Likewise.
23120         * math/e_powl.c: Likewise.
23121         * math/e_rem_pio2l.c: Likewise.
23122         * math/e_sinhl.c: Likewise.
23123         * math/e_sqrtl.c: Likewise.
23124         * math/fclrexcpt.c: Likewise.
23125         * math/fedisblxcpt.c: Likewise.
23126         * math/feenablxcpt.c: Likewise.
23127         * math/fegetenv.c: Likewise.
23128         * math/fegetexcept.c: Likewise.
23129         * math/fegetround.c: Likewise.
23130         * math/feholdexcpt.c: Likewise.
23131         * math/fesetenv.c: Likewise.
23132         * math/fesetround.c: Likewise.
23133         * math/feupdateenv.c: Likewise.
23134         * math/fgetexcptflg.c: Likewise.
23135         * math/fraiseexcpt.c: Likewise.
23136         * math/fsetexcptflg.c: Likewise.
23137         * math/ftestexcept.c: Likewise.
23138         * math/k_cosl.c: Likewise.
23139         * math/k_rem_pio2l.c: Likewise.
23140         * math/k_sinl.c: Likewise.
23141         * math/k_tanl.c: Likewise.
23142         * math/s_asinhl.c: Likewise.
23143         * math/s_atanl.c: Likewise.
23144         * math/s_cbrtl.c: Likewise.
23145         * math/s_erfl.c: Likewise.
23146         * math/s_expm1l.c: Likewise.
23147         * math/s_log1pl.c: Likewise.
23148         * math/s_tanhl.c: Likewise.
23149         * misc/acct.c: Likewise.
23150         * misc/brk.c: Likewise.
23151         * misc/chflags.c: Likewise.
23152         * misc/chroot.c: Likewise.
23153         * misc/fchflags.c: Likewise.
23154         * misc/fgetxattr.c: Likewise.
23155         * misc/flistxattr.c: Likewise.
23156         * misc/fremovexattr.c: Likewise.
23157         * misc/fsetxattr.c: Likewise.
23158         * misc/fsync.c: Likewise.
23159         * misc/ftruncate.c: Likewise.
23160         * misc/futimes.c: Likewise.
23161         * misc/futimesat.c: Likewise.
23162         * misc/getdomain.c: Likewise.
23163         * misc/getdtsz.c: Likewise.
23164         * misc/gethostid.c: Likewise.
23165         * misc/gethostname.c: Likewise.
23166         * misc/getloadavg.c: Likewise.
23167         * misc/getpagesize.c: Likewise.
23168         * misc/getsysstats.c: Likewise.
23169         * misc/getxattr.c: Likewise.
23170         * misc/gtty.c: Likewise.
23171         * misc/ioctl.c: Likewise.
23172         * misc/lgetxattr.c: Likewise.
23173         * misc/listxattr.c: Likewise.
23174         * misc/llistxattr.c: Likewise.
23175         * misc/lremovexattr.c: Likewise.
23176         * misc/lsetxattr.c: Likewise.
23177         * misc/lutimes.c: Likewise.
23178         * misc/madvise.c: Likewise.
23179         * misc/mincore.c: Likewise.
23180         * misc/mlock.c: Likewise.
23181         * misc/mlockall.c: Likewise.
23182         * misc/mmap.c: Likewise.
23183         * misc/mprotect.c: Likewise.
23184         * misc/msync.c: Likewise.
23185         * misc/munlock.c: Likewise.
23186         * misc/munlockall.c: Likewise.
23187         * misc/munmap.c: Likewise.
23188         * misc/preadv.c: Likewise.
23189         * misc/preadv64.c: Likewise.
23190         * misc/ptrace.c: Likewise.
23191         * misc/pwritev.c: Likewise.
23192         * misc/pwritev64.c: Likewise.
23193         * misc/readv.c: Likewise.
23194         * misc/reboot.c: Likewise.
23195         * misc/remap_file_pages.c: Likewise.
23196         * misc/removexattr.c: Likewise.
23197         * misc/revoke.c: Likewise.
23198         * misc/select.c: Likewise.
23199         * misc/setdomain.c: Likewise.
23200         * misc/setegid.c: Likewise.
23201         * misc/seteuid.c: Likewise.
23202         * misc/sethostid.c: Likewise.
23203         * misc/sethostname.c: Likewise.
23204         * misc/setregid.c: Likewise.
23205         * misc/setreuid.c: Likewise.
23206         * misc/setxattr.c: Likewise.
23207         * misc/sstk.c: Likewise.
23208         * misc/stty.c: Likewise.
23209         * misc/swapoff.c: Likewise.
23210         * misc/swapon.c: Likewise.
23211         * misc/sync.c: Likewise.
23212         * misc/syncfs.c: Likewise.
23213         * misc/syscall.c: Likewise.
23214         * misc/truncate.c: Likewise.
23215         * misc/ualarm.c: Likewise.
23216         * misc/usleep.c: Likewise.
23217         * misc/ustat.c: Likewise.
23218         * misc/utimes.c: Likewise.
23219         * misc/vhangup.c: Likewise.
23220         * misc/writev.c: Likewise.
23221         * posix/_exit.c: Likewise.
23222         * posix/alarm.c: Likewise.
23223         * posix/execve.c: Likewise.
23224         * posix/fexecve.c: Likewise.
23225         * posix/fork.c: Likewise.
23226         * posix/fpathconf.c: Likewise.
23227         * posix/getaddrinfo.c: Likewise.
23228         * posix/getegid.c: Likewise.
23229         * posix/geteuid.c: Likewise.
23230         * posix/getgid.c: Likewise.
23231         * posix/getgroups.c: Likewise.
23232         * posix/getlogin.c: Likewise.
23233         * posix/getlogin_r.c: Likewise.
23234         * posix/getpgid.c: Likewise.
23235         * posix/getpid.c: Likewise.
23236         * posix/getppid.c: Likewise.
23237         * posix/getresgid.c: Likewise.
23238         * posix/getresuid.c: Likewise.
23239         * posix/getsid.c: Likewise.
23240         * posix/getuid.c: Likewise.
23241         * posix/glob64.c: Likewise.
23242         * posix/nanosleep.c: Likewise.
23243         * posix/pathconf.c: Likewise.
23244         * posix/pause.c: Likewise.
23245         * posix/posix_madvise.c: Likewise.
23246         * posix/pread.c: Likewise.
23247         * posix/pread64.c: Likewise.
23248         * posix/pwrite.c: Likewise.
23249         * posix/pwrite64.c: Likewise.
23250         * posix/sched_getaffinity.c: Likewise.
23251         * posix/sched_getp.c: Likewise.
23252         * posix/sched_gets.c: Likewise.
23253         * posix/sched_primax.c: Likewise.
23254         * posix/sched_primin.c: Likewise.
23255         * posix/sched_rr_gi.c: Likewise.
23256         * posix/sched_setaffinity.c: Likewise.
23257         * posix/sched_setp.c: Likewise.
23258         * posix/sched_sets.c: Likewise.
23259         * posix/sched_yield.c: Likewise.
23260         * posix/setgid.c: Likewise.
23261         * posix/setlogin.c: Likewise.
23262         * posix/setpgid.c: Likewise.
23263         * posix/setresgid.c: Likewise.
23264         * posix/setresuid.c: Likewise.
23265         * posix/setsid.c: Likewise.
23266         * posix/setuid.c: Likewise.
23267         * posix/sleep.c: Likewise.
23268         * posix/spawni.c: Likewise.
23269         * posix/sysconf.c: Likewise.
23270         * posix/times.c: Likewise.
23271         * posix/wait.c: Likewise.
23272         * posix/wait3.c: Likewise.
23273         * posix/wait4.c: Likewise.
23274         * posix/waitpid.c: Likewise.
23275         * resolv/gai_sigqueue.c: Likewise.
23276         * resource/getpriority.c: Likewise.
23277         * resource/getrlimit.c: Likewise.
23278         * resource/getrusage.c: Likewise.
23279         * resource/nice.c: Likewise.
23280         * resource/setpriority.c: Likewise.
23281         * resource/setrlimit.c: Likewise.
23282         * resource/ulimit.c: Likewise.
23283         * rt/aio_cancel.c: Likewise.
23284         * rt/aio_fsync.c: Likewise.
23285         * rt/aio_read.c: Likewise.
23286         * rt/aio_sigqueue.c: Likewise.
23287         * rt/aio_suspend.c: Likewise.
23288         * rt/aio_write.c: Likewise.
23289         * rt/clock_getres.c: Likewise.
23290         * rt/clock_gettime.c: Likewise.
23291         * rt/clock_nanosleep.c: Likewise.
23292         * rt/clock_settime.c: Likewise.
23293         * rt/lio_listio.c: Likewise.
23294         * rt/mq_close.c: Likewise.
23295         * rt/mq_getattr.c: Likewise.
23296         * rt/mq_notify.c: Likewise.
23297         * rt/mq_open.c: Likewise.
23298         * rt/mq_receive.c: Likewise.
23299         * rt/mq_send.c: Likewise.
23300         * rt/mq_setattr.c: Likewise.
23301         * rt/mq_timedreceive.c: Likewise.
23302         * rt/mq_timedsend.c: Likewise.
23303         * rt/mq_unlink.c: Likewise.
23304         * rt/shm_open.c: Likewise.
23305         * rt/shm_unlink.c: Likewise.
23306         * rt/timer_create.c: Likewise.
23307         * rt/timer_delete.c: Likewise.
23308         * rt/timer_getoverr.c: Likewise.
23309         * rt/timer_gettime.c: Likewise.
23310         * rt/timer_settime.c: Likewise.
23311         * setjmp/__longjmp.c: Likewise.
23312         * setjmp/setjmp.c: Likewise.
23313         * signal/kill.c: Likewise.
23314         * signal/killpg.c: Likewise.
23315         * signal/raise.c: Likewise.
23316         * signal/sigaction.c: Likewise.
23317         * signal/sigaltstack.c: Likewise.
23318         * signal/sigblock.c: Likewise.
23319         * signal/sigignore.c: Likewise.
23320         * signal/sigintr.c: Likewise.
23321         * signal/signal.c: Likewise.
23322         * signal/sigpause.c: Likewise.
23323         * signal/sigpending.c: Likewise.
23324         * signal/sigqueue.c: Likewise.
23325         * signal/sigreturn.c: Likewise.
23326         * signal/sigset.c: Likewise.
23327         * signal/sigsetmask.c: Likewise.
23328         * signal/sigstack.c: Likewise.
23329         * signal/sigsuspend.c: Likewise.
23330         * signal/sigtimedwait.c: Likewise.
23331         * signal/sigvec.c: Likewise.
23332         * signal/sigwait.c: Likewise.
23333         * signal/sigwaitinfo.c: Likewise.
23334         * signal/sysv_signal.c: Likewise.
23335         * socket/accept.c: Likewise.
23336         * socket/accept4.c: Likewise.
23337         * socket/bind.c: Likewise.
23338         * socket/connect.c: Likewise.
23339         * socket/getpeername.c: Likewise.
23340         * socket/getsockname.c: Likewise.
23341         * socket/getsockopt.c: Likewise.
23342         * socket/isfdtype.c: Likewise.
23343         * socket/listen.c: Likewise.
23344         * socket/recv.c: Likewise.
23345         * socket/recvfrom.c: Likewise.
23346         * socket/recvmsg.c: Likewise.
23347         * socket/send.c: Likewise.
23348         * socket/sendmsg.c: Likewise.
23349         * socket/sendto.c: Likewise.
23350         * socket/setsockopt.c: Likewise.
23351         * socket/shutdown.c: Likewise.
23352         * socket/sockatmark.c: Likewise.
23353         * socket/socket.c: Likewise.
23354         * socket/socketpair.c: Likewise.
23355         * stdio-common/ctermid.c: Likewise.
23356         * stdio-common/cuserid.c: Likewise.
23357         * stdio-common/remove.c: Likewise.
23358         * stdio-common/rename.c: Likewise.
23359         * stdio-common/renameat.c: Likewise.
23360         * stdio-common/tempname.c: Likewise.
23361         * stdlib/getcontext.c: Likewise.
23362         * stdlib/makecontext.c: Likewise.
23363         * stdlib/setcontext.c: Likewise.
23364         * stdlib/swapcontext.c: Likewise.
23365         * stdlib/system.c: Likewise.
23366         * streams/fattach.c: Likewise.
23367         * streams/fdetach.c: Likewise.
23368         * streams/getmsg.c: Likewise.
23369         * streams/getpmsg.c: Likewise.
23370         * streams/putmsg.c: Likewise.
23371         * streams/putpmsg.c: Likewise.
23372         * sysdeps/unix/bsd/getpt.c: Likewise.
23373         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23374         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23375         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23377         Likewise.
23378         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23379         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23380         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23381         * sysvipc/msgctl.c: Likewise.
23382         * sysvipc/msgget.c: Likewise.
23383         * sysvipc/msgrcv.c: Likewise.
23384         * sysvipc/msgsnd.c: Likewise.
23385         * sysvipc/semctl.c: Likewise.
23386         * sysvipc/semget.c: Likewise.
23387         * sysvipc/semop.c: Likewise.
23388         * sysvipc/semtimedop.c: Likewise.
23389         * sysvipc/shmat.c: Likewise.
23390         * sysvipc/shmctl.c: Likewise.
23391         * sysvipc/shmdt.c: Likewise.
23392         * sysvipc/shmget.c: Likewise.
23393         * termios/tcdrain.c: Likewise.
23394         * termios/tcflow.c: Likewise.
23395         * termios/tcflush.c: Likewise.
23396         * termios/tcgetattr.c: Likewise.
23397         * termios/tcgetpgrp.c: Likewise.
23398         * termios/tcsendbrk.c: Likewise.
23399         * termios/tcsetattr.c: Likewise.
23400         * termios/tcsetpgrp.c: Likewise.
23401         * time/adjtime.c: Likewise.
23402         * time/clock.c: Likewise.
23403         * time/getitimer.c: Likewise.
23404         * time/gettimeofday.c: Likewise.
23405         * time/setitimer.c: Likewise.
23406         * time/settimeofday.c: Likewise.
23407         * time/stime.c: Likewise.
23408         * time/time.c: Likewise.
23410 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23412         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23413         /usr/old/bin.
23415         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23416         instead of spaces.
23417         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23419 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23421         [BZ #14796]
23422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23423         FE_TONEAREST before applying Dekker multiplication and Knuth
23424         addition.  Clear inexact exceptions and check for exact zero
23425         results afterwards.
23426         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23427         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23428         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23429         * math/libm-test.inc (fma_test): Add more tests.
23430         (fma_test_towardzero): Likewise.
23431         (fma_test_downward): Likewise.
23432         (fma_test_upward): Likewise.
23433         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23434         function.
23435         (libc_fesetround): New macro.
23436         (libc_fesetroundf): Likewise.
23437         (libc_fesetroundl): Likewise.
23438         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23439         function.
23440         (libc_fesetround_387): Likewise.
23441         (libc_fesetroundf): New macro.
23442         (libc_fesetround): Likewise.
23443         (libc_fesetroundl): Likewise.
23444         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23445         function.
23446         (libc_fesetroundf): New macro.
23447         (libc_fesetround): Likewise.
23448         (libc_fesetroundl): Likewise.
23449         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23450         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23451         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23452         libm_hidden_ver.
23453         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23454         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23455         libm_hidden_def.
23456         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23457         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23458         libm_hidden_ver.
23459         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23460         libm_hidden_def.
23462         [BZ #3439]
23463         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23464         integer constant usable in #if and use that to give value to enum
23465         constant.
23466         (FE_DIVBYZERO): Likewise.
23467         (FE_UNDERFLOW): Likewise.
23468         (FE_OVERFLOW): Likewise.
23469         (FE_INVALID): Likewise.
23470         (FE_INVALID_SNAN): Likewise.
23471         (FE_INVALID_ISI): Likewise.
23472         (FE_INVALID_IDI): Likewise.
23473         (FE_INVALID_ZDZ): Likewise.
23474         (FE_INVALID_IMZ): Likewise.
23475         (FE_INVALID_COMPARE): Likewise.
23476         (FE_INVALID_SOFTWARE): Likewise.
23477         (FE_INVALID_SQRT): Likewise.
23478         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23479         (FE_TONEAREST): Likewise.
23480         (FE_TOWARDZERO): Likewise.
23481         (FE_UPWARD): Likewise.
23482         (FE_DOWNWARD): Likewise.
23483         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23484         (FE_DIVBYZERO): Likewise.
23485         (FE_OVERFLOW): Likewise.
23486         (FE_UNDERFLOW): Likewise.
23487         (FE_INEXACT): Likewise.
23488         (FE_TONEAREST): Likewise.
23489         (FE_DOWNWARD): Likewise.
23490         (FE_UPWARD): Likewise.
23491         (FE_TOWARDZERO): Likewise.
23492         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23493         (FE_UNDERFLOW): Likewise.
23494         (FE_OVERFLOW): Likewise.
23495         (FE_DIVBYZERO): Likewise.
23496         (FE_INVALID): Likewise.
23497         (FE_TONEAREST): Likewise.
23498         (FE_TOWARDZERO): Likewise.
23499         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23500         (FE_OVERFLOW): Likewise.
23501         (FE_UNDERFLOW): Likewise.
23502         (FE_DIVBYZERO): Likewise.
23503         (FE_INEXACT): Likewise.
23504         (FE_TONEAREST): Likewise.
23505         (FE_TOWARDZERO): Likewise.
23506         (FE_UPWARD): Likewise.
23507         (FE_DOWNWARD): Likewise.
23508         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23509         (FE_DIVBYZERO): Likewise.
23510         (FE_OVERFLOW): Likewise.
23511         (FE_UNDERFLOW): Likewise.
23512         (FE_INEXACT): Likewise.
23513         (FE_TONEAREST): Likewise.
23514         (FE_DOWNWARD): Likewise.
23515         (FE_UPWARD): Likewise.
23516         (FE_TOWARDZERO): Likewise.
23518 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23520         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23522 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23524         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23525         commands.  Quote $PWD.
23526         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23527         -x" by "export".
23528         (remove_newlines): Remove.
23530 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23532         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23533         * stdlib/stdlib.h (atof): Moved to ...
23534         * include/bits/stdlib-float.h: Here.  New file.
23535         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23536         * stdlib/bits/stdlib-float.h: New file.
23537         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23538         -mno-sse -mno-mmx.
23539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23540         <xmmintrin.h>.
23542 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23544         * conform/conformtest.pl (@headers): Add fenv.h.
23545         * conform/data/fenv.h-data: New file.
23546         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23547         include of <math/fenv.h>.
23549         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23550         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23551         && !UNIX98].  Enables tests for XOPEN2K8.
23552         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23553         POSIX2008]: Likewise.
23555         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23556         (struct rusage): Do not expect type or its members.
23558         [BZ #3439]
23559         * math/math.h (FP_NAN): Define macro to integer constant usable in
23560         #if and use that to give value to enum constant.
23561         (FP_INFINITE): Likewise.
23562         (FP_ZERO): Likewise.
23563         (FP_SUBNORMAL): Likewise.
23564         (FP_NORMAL): Likewise.
23566 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23568         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23569         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23570         arguments.
23572 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23574         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23575         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23576         autoconf-time if not.
23577         * configure.in: Remove AC_PREREQ.
23579 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23581         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23582         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23583         of the internal implementation.
23585 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23587         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23588         except include of <misc/sys/syslog.h>.
23590 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23593         function returns with a NULL context exit with zero.
23595 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23597         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23599 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23601         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23602         (run_program_cmd): This.
23603         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23604         (tst_langinfo): New variable.  Use it.
23606 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23608         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23609         floating point opcodes.
23611 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23613         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23614         variable.
23616         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23618         * sysdeps/mach/hurd/powerpc: Remove directory.
23619         * sysdeps/mach/powerpc: Likewise.
23621 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23623         * scripts/check-local-headers.sh: Ignore c++ headers.
23625 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23627         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23628         __libc_cleanup_region_start argument.
23630 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23632         [BZ #14784]
23633         [BZ #14785]
23634         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23635         x * y using scaling, not as x * y + z.
23636         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23637         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23638         * math/libm-test.inc (fma_test): Add more tests.
23639         (fma_test_towardzero): Likewise.
23640         (fma_test_downward): Likewise.
23641         (fma_test_upward): Likewise.
23643 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23645         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23647 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23649         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23650         New variable.
23652 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23654         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23656 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23659         Fix sort order.
23660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23661         Likewise.
23663 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23666         Fix the order of the list for glibc 2.17.
23667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23668         Likewise.
23670 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23674 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23676         [BZ #14610]
23677         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23678         for low part of x being zero before using __atanl (y).
23679         * math/libm-test.inc (atan2_test): Add another test.
23681         * manual/install.texi (Configuring and compiling): Document
23682         general use of test-wrapper and test-wrapper-env.
23683         * INSTALL: Regenerated.
23685         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23686         (__fma): Do not extract and scale down low bits on after-rounding
23687         systems when result rounded to normal precision would have normal
23688         exponent.
23689         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23690         (__fmal): Do not extract and scale down low bits on after-rounding
23691         systems when result rounded to normal precision would have normal
23692         exponent.
23693         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23694         (__fmal): Do not extract and scale down low bits on after-rounding
23695         systems when result rounded to normal precision would have normal
23696         exponent.
23697         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23698         macro.
23699         (fma_test): Add more tests.
23700         (fma_test_towardzero): Likewise.
23701         (fma_test_downward): Likewise.
23702         (fma_test_upward): Likewise.
23704 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23706         * sysdeps/i386/tininess.h: Renamed to ...
23707         * sysdeps/x86/tininess.h: This.
23708         * sysdeps/x86_64/tininess.h: Removed.
23710 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23712         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23713         input.  Use $(build-program-cmd).
23714         ($(objpfx)tst-array1-static.out): Likewise.
23715         ($(objpfx)tst-array2.out): Likewise.
23716         ($(objpfx)tst-array3.out): Likewise.
23717         ($(objpfx)tst-array4.out): Likewise.
23718         ($(objpfx)tst-array5.out): Likewise.
23719         ($(objpfx)tst-array5-static.out): Likewise.
23721 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23723         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23724         if defined.
23726         * nss/nsswitch.h (nss_interface_function): Provide new
23727         macro for use with NSS functions.
23728         * grp/initgroups.c: Use new macro.
23729         * nss/getXXbyYY.c: Likewise.
23730         * nss/getXXbyYY_r.c: Likewise.
23731         * nss/getXXent.c: Likewise.
23732         * nss/getXXent_r.c: Likewise.
23733         * sysdeps/posix/getaddrinfo.c: Likewise.
23735 2012-10-30  Andreas Jaeger  <aj@suse.de>
23737         * po/ru.po: Update Russion translation from translation project.
23739 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23741         [BZ #14152]
23742         [BZ #14783]
23743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23744         result and shift together with sticky bit instead of replicating
23745         round-to-nearest rounding.
23746         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23747         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23748         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23749         missing underflow exceptions.
23750         (fma_test_towardzero): Add more tests.
23751         (fma_test_downward): Likewise.
23752         (fma_test_upward): Likewise.
23754         [BZ #14047]
23755         * sysdeps/generic/tininess.h: New file.
23756         * sysdeps/i386/tininess.h: Likewise.
23757         * sysdeps/sh/tininess.h: Likewise.
23758         * sysdeps/x86_64/tininess.h: Likewise.
23759         * stdlib/tst-strtod-underflow.c: Likewise.
23760         * stdlib/tst-tininess.c: Likewise.
23761         * stdlib/strtod_l.c: Include <tininess.h>.
23762         (round_and_return): Do not set errno for exact underflow cases.
23763         Force an underflow exception when setting errno for underflow.
23764         Determine underflow based on rounding to normal precision if
23765         TININESS_AFTER_ROUNDING.
23766         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23767         ERANGE for exact underflow cases.
23768         * stdlib/Makefile (tests): Add tst-tininess and
23769         tst-strtod-underflow.
23770         ($(objpfx)tst-tininess): Use $(link-libm).
23771         ($(objpfx)tst-strtod-underflow): Likewise.
23773 2012-10-30  Andreas Jaeger  <aj@suse.de>
23775         [BZ#14767]
23776         * elf/Makefile (tests): Remove conditional for have-initfini-array
23777         since this is now always required and the variable does not exist
23778         anymore.
23779         (tests-static): Likewise.
23780         (modules-names): Likewise.
23782         * po/eo.po: Add Esperanto translation from translation project.
23784         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23785         merged with constructor/destructor.
23786         (init_array): Likewise.
23787         * elf/tst-array2dep.c (fini_array): Likewise.
23788         (init_array): Likewise.
23790 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23792         * manual/message.texi: Delete @cartouche tags.
23794 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23796         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23797         EOPNOTSUPP.
23798         * sysdeps/mach/hurd/fsync.c: Likewise.
23800         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23801         [_POSIX_REALTIME_SIGNALS]: Change condition to
23802         [_POSIX_REALTIME_SIGNALS > 0].
23804 2012-10-27  Andreas Jaeger  <aj@suse.de>
23806         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23807         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23808         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23809         [__WORDSIZE != 64]: Likewise.
23811 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23813         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23814         *  iconvdata/tst-tables.sh: Likewise.
23816 2012-10-25  David S. Miller  <davem@davemloft.net>
23818         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23819         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23820         of strtoull.
23822         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23823         ifunc-impl-list.c
23824         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23825         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23826         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23827         file.
23829 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23832         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23833         __getdirentries.
23835 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23836             Jim Blandy  <jimb@codesourcery.com>
23838         * scripts/cross-test-ssh.sh: New file.
23839         * manual/install.texi (Configuring and compiling): Document use of
23840         cross-test-ssh.sh.
23841         * INSTALL: Regenerated.
23843 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23845         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23846         EOPNOTSUPP.
23848 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23850         * Makeconfig (run-program-prefix): Fix comment.
23852 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23853             Jim Blandy  <jimb@codesourcery.com>
23855         * Makeconfig (test-wrapper): New variable,
23856         (test-wrapper-env): Likewise.
23857         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23858         (run-built-tests): Define to yes.
23859         (run-program-prefix): Use $(test-wrapper).
23860         (built-program-cmd): Likewise.
23861         * Rules (make-test-out): Use $(test-wrapper-env) and
23862         $(host-built-program-cmd).
23863         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23864         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23865         tst-pathopt.sh.
23866         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23867         $(test-wrapper-env) to tst-rtld-load-self.sh.
23868         ($(objpfx)order2.out): Use $(test-wrapper).
23869         ($(objpfx)tst-initorder.out): Likewise.
23870         ($(objpfx)tst-initorder2.out): Likewise.
23871         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23872         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23873         (test_wrapper_env): New variable.  Use it to run ld.so.
23874         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23875         Use it to run ld.so.
23876         (test_wrapper_env): Likewise.
23877         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23878         $(test-wrapper) to run-iconv-test.sh.
23879         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23880         (ICONV): Use $test_wrapper.
23881         * posix/Makefile ($(objpfx)globtest.out): Pass
23882         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23883         globtest.sh, not $(run-program-prefix).
23884         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23885         (test_wrapper): Likewise.
23886         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23887         set together with run_via_rtld_prefix.
23888         (run_program_prefix): Define in terms of test_wrapper and
23889         run_via_rtld_prefix.
23891 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23893         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23894         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23895         Targets removed.
23897         [BZ #14743]
23898         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23899         Declare __clock_getres, __clock_gettime, __clock_settime,
23900         __clock_nanosleep, and __clock_getcpuclockid.
23901         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23902         Remove librt_hidden_def (clock_gettime).
23903         * sysdeps/unix/clock_gettime.c: Likewise.
23904         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23906         * rt/clock_getres.c: Define __clock_getres as an alias.
23907         * sysdeps/posix/clock_getres.c: Likewise.
23908         * rt/clock_settime.c: Define __clock_settime as an alias.
23909         * sysdeps/unix/clock_settime.c: Likewise.
23910         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23911         * sysdeps/unix/clock_nanosleep.c: Likewise.
23912         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23913         * rt/clock-compat.c: New file.
23914         * rt/Makefile (librt-routines): Add clock-compat and move
23915         $(clock-routines) to ...
23916         (routines): ... here, new variable.
23917         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23918         Don't add get_clockfreq here.
23919         * rt/Versions (libc: GLIBC_2.17): New version set.
23920         Add clock_* symbols here.
23921         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23922         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23923         (GLIBC_2.17): Add clock_* symbols.
23924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23926         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23928         Likewise.
23929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23930         Likewise.
23931         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23932         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23934         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23935         * NEWS: Mention the move.
23937         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23938         Use __open, __read, __close rather than their public counterparts.
23939         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23940         (__get_clockfreq_via_cpuinfo): Likewise.
23941         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23942         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23944         * config.h.in (HAVE_IFUNC): New #undef.
23945         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23946         was successful.
23947         * configure: Regenerated.
23949 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23951         * configure.in: Move READELF check to start of file.
23952         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23953         libc_cv_asm_gnu_indirect_function in the process.
23954         * configure: Regenerated.
23956 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23958         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23959         send the output to /dev/null.
23960         (libc_cv_cc_with_libunwind): Likewise.
23961         (libc_cv_as_noexecstack): Likewise.
23962         * configure: Regenerate.
23964 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23966         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23968         * posix/globtest.sh (TMPDIR): Do not set.
23969         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23970         (testout): Likewise.
23972 2012-10-24  Andreas Jaeger  <aj@suse.de>
23974         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23975         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23976         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23977         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23978         posix_fadvise64, posix_fallocate64.
23980         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23981         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23982         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23983         Likewise.
23984         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23985         Likewise.
23986         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23988         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23989         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23990         <bits/fcntl-linux.h>.
23991         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23993         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23994         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23995         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23996         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23997         [__WORDSIZE != 64]: Likewise.
23999 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24001         * Makeconfig (run-built-tests): New variable.
24002         * Rules [$(cross-compiling) = yes]: Change condition to
24003         [$(run-built-tests) = no].
24004         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24005         to [$(run-built-tests) = yes].
24006         * elf/Makefile [$(cross-compiling) = no]: Likewise
24007         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24008         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24009         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24010         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24011         * io/Makefile [$(cross-compiling) = no]: Likewise.
24012         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24013         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24014         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24015         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24016         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24017         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24018         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24019         * string/Makefile [$(cross-compiling) = no]: Likewise.
24021         * posix/Makefile ($(objpfx)globtest.out): Pass
24022         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24023         $(rtld-installed-name).
24024         * posix/globtest.sh (elf_objpfx): Remove variable.
24025         (rtld_installed_name): Likewise.
24026         (library_path): Likewise.
24027         (run_program_prefix): New variable.  Use for running globtest
24028         binary.
24030 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24031             Joseph Myers  <joseph@codesourcery.com>
24033         * Makeconfig (host-built-program-cmd): New variable.
24034         * elf/Makefile (tst-stackguard1-ARGS): Use
24035         $(host-built-program-cmd).
24036         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24037         (tst-spawn-ARGS): Likewise.
24038         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24040 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24041             Jim Blandy  <jimb@codesourcery.com>
24043         * Makeconfig (run-via-rtld-prefix): New variable.
24044         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24045         (built-program-cmd): Likewise.
24047 2012-10-22  Andreas Jaeger  <aj@suse.de>
24049         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24050         __O_RSYNC if it exists, otherwise to O_SYNC.
24052 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24053             Joseph Myers  <joseph@codesourcery.com>
24055         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24056         /dev/null.
24057         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24058         from /dev/null
24059         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24060         /dev/null.
24062 2012-10-22  Andreas Jaeger  <aj@suse.de>
24064         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24065         Define always.
24066         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24069         bits/fcntl-linux.h.
24071         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24072         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24074         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24075         to __O_LARGEFILE.
24076         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24077         to __O_LARGEFILE.
24079 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24080             Joseph Myers  <joseph@codesourcery.com>
24082         * config.make.in (NM): New variable.
24084 2012-10-21  Andreas Jaeger  <aj@suse.de>
24086         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24087         definitions and declarations that are provided by
24088         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24090 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24092         [BZ #14683]
24093         * elf/Makefile (tests-static): Add tst-leaks1-static.
24094         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24095         ($(objpfx)tst-leaks1-static): New rule.
24096         ($(objpfx)tst-leaks1-static-mem): Likewise.
24097         (tst-leaks1-static-ENV): New macro.
24098         * elf/dl-open.c (dl_open_worker): Check the main application
24099         only if SHARED is defined.
24100         * elf/tst-leaks1-static.c: New file.
24102 2012-10-20  Andreas Jaeger  <aj@suse.de>
24104         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24105         generic values for Linux.
24106         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24107         and declarations that are provided by <bits/fcntl-linux.h> and
24108         include <bits/fcntl-linux.h>.
24109         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24110         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24112 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24114         * io/fcntl.h: Move include of <bits/types.h> to the top and
24115         include it unconditionally.
24117 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24119         * wcsmbs/Makefile (tests-ifunc): New variable.
24120         (tests): Add $(tests-ifunc).
24121         * wcsmbs/test-wcschr-ifunc.c: New file.
24122         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24123         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24124         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24125         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24126         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24128         * string/Makefile (tests-ifunc): New variable.
24129         (tests): Add $(tests-ifunc).
24130         * string/test-memccpy.c (TEST_NAME): New macro.
24131         * string/test-memchr.c (TEST_NAME): Likewise.
24132         * string/test-memcmp.c (TEST_NAME): Likewise.
24133         * string/test-memcpy.c (TEST_NAME): Likewise.
24134         * string/test-memmem.c (TEST_NAME): Likewise.
24135         * string/test-memmove.c (TEST_NAME): Likewise.
24136         * string/test-memset.c (TEST_NAME): Likewise.
24137         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24138         * string/test-stpcpy.c (TEST_NAME): Likewise.
24139         * string/test-stpncpy.c (TEST_NAME): Likewise.
24140         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24141         * string/test-strcasestr.c (TEST_NAME): Likewise.
24142         * string/test-strcat.c (TEST_NAME): Likewise.
24143         * string/test-strchr.c (TEST_NAME): Likewise.
24144         * string/test-strcmp.c(TEST_NAME): Likewise.
24145         * string/test-strcpy.c (TEST_NAME): Likewise.
24146         * string/test-strcspn.c (TEST_NAME): Likewise.
24147         * string/test-strlen.c (TEST_NAME): Likewise.
24148         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24149         * string/test-strncmp.c (TEST_NAME): Likewise.
24150         * string/test-strncpy.c (TEST_NAME): Likewise.
24151         * string/test-strnlen.c (TEST_NAME): Likewise.
24152         * string/test-strpbrk.c (TEST_NAME): Likewise.
24153         * string/test-strrchr.c (TEST_NAME): Likewise.
24154         * string/test-strspn.c (TEST_NAME): Likewise.
24155         * string/test-strstr.c (TEST_NAME): Likewise.
24156         * string/test-bcopy-ifunc.c: New file.
24157         * string/test-bzero-ifunc.c: Likewise.
24158         * string/test-memccpy-ifunc.c: Likewise.
24159         * string/test-memchr-ifunc.c: Likewise.
24160         * string/test-memcmp-ifunc.c: Likewise.
24161         * string/test-memcpy-ifunc.c: Likewise.
24162         * string/test-memmem-ifunc.c: Likewise.
24163         * string/test-memmove-ifunc.c: Likewise.
24164         * string/test-mempcpy-ifunc.c: Likewise.
24165         * string/test-memset-ifunc.c: Likewise.
24166         * string/test-rawmemchr-ifunc.c: Likewise.
24167         * string/test-stpcpy-ifunc.c: Likewise.
24168         * string/test-stpncpy-ifunc.c: Likewise.
24169         * string/test-strcasecmp-ifunc.c: Likewise.
24170         * string/test-strcasestr-ifunc.c: Likewise.
24171         * string/test-strcat-ifunc.c: Likewise.
24172         * string/test-strchr-ifunc.c: Likewise.
24173         * string/test-strchrnul-ifunc.c: Likewise.
24174         * string/test-strcmp-ifunc.c: Likewise.
24175         * string/test-strcpy-ifunc.c: Likewise.
24176         * string/test-strcspn-ifunc.c: Likewise.
24177         * string/test-strlen-ifunc.c: Likewise.
24178         * string/test-strncasecmp-ifunc.c: Likewise.
24179         * string/test-strncat-ifunc.c: Likewise.
24180         * string/test-strncmp-ifunc.c: Likewise.
24181         * string/test-strncpy-ifunc.c: Likewise.
24182         * string/test-strnlen-ifunc.c: Likewise.
24183         * string/test-strpbrk-ifunc.c: Likewise.
24184         * string/test-strrchr-ifunc.c: Likewise.
24185         * string/test-strspn-ifunc.c: Likewise.
24186         * string/test-strstr-ifunc.c: Likewise.
24188         * debug/Makefile (tests-ifunc): New variable.
24189         (tests): Add $(tests-ifunc).
24190         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24191         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24192         * debug/test-stpcpy_chk-ifunc.c: New file.
24193         * debug/test-strcpy_chk-ifunc.c: Likewise.
24195 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24197         [BZ #13601]
24198         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24199         header is not read in.
24201 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24203         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24204         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24205         directly.  Pass built executable to script as
24206         $(built-program-cmd).
24207         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24208         $testprogram without using LD_LIBRARY_PATH and $ldso.
24210         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24211         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24212         $(rtld-installed-name).
24213         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24214         (rtld_installed_name): Likewise.
24215         (library_path): Likewise.
24216         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24217         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24218         $(run-program-prefix) to tst-tables.sh.
24219         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24220         it to run tst-table-from and tst-table-to.
24221         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24222         Pass it to tst-table.sh.
24223         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24224         $(run-program-prefix) to tst-gettext.sh.
24225         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24226         tst-translit.sh.
24227         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24228         tst-gettext2.sh.
24229         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24230         to run tst-gettext.
24231         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24232         to run tst-gettext2.
24233         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24234         to run tst-translit.
24235         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24236         $(run-program-prefix) to tst-mtrace.sh.
24237         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24238         to run tst-mtrace.
24239         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24240         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24241         $(rtld-installed-name).
24242         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24243         (rtld_installed_name): Likewise.
24244         (run_program_prefix): New variable.  Use it to run wordexp-test.
24246         * Makeconfig (ARCH): Remove all definitions.
24247         (machine): Likewise.
24248         [ARCH]: Remove conditional code.
24249         [!objdir]: Give error.
24250         [!objdir] (objpfx): Remove.
24251         [!objdir] (common-objpfx): Likewise.
24252         [!objdir] (common-objdir): Likewise.
24253         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24254         AC_CONFIG_FILES call.
24255         * configure: Regenerated.
24257         [BZ #13888]
24258         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24259         or TMPDIR.
24260         (testout): Likewise.
24262         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24263         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24264         $(rtld-installed-name).
24265         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24266         (rtld_installed_name): Likwise.
24267         (runit): Remove function.
24268         (run_getconf): New variable,  Use it for running getconf binary.
24270 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24272         [BZ #14716]
24273         * string/test-memmem.c (check_result): New function.
24274         (do_one_test): Use it.
24275         (check1): New function.
24276         (test_main): Use it.
24278 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24280         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24282 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24284         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24285         (_G_LSEEK64): Likewise.
24286         (_G_MMAP64): Likewise.
24287         (_G_FSTAT64): Likewise.
24288         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24289         (_G_LSEEK64): Likewise.
24290         (_G_MMAP64): Likewise.
24291         (_G_FSTAT64): Likewise.
24292         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24293         unconditional.  Call __mmap64 directly.
24294         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24295         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24296         __lseek64 directly.
24297         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24298         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24299         __mmap64 directly.
24300         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24301         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24302         __lseek64 directly.
24303         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24304         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24305         __lseek64 directly.
24306         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24307         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24308         __lseek64 directly.
24309         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24310         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24311         __fxstat64 directly.
24312         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24313         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24314         unconditional.
24315         (freopen64) [!_G_OPEN64]: Remove conditional code.
24316         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24317         unconditional.
24318         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24319         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24320         unconditional.
24321         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24322         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24323         unconditional.
24324         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24325         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24326         unconditional.
24327         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24328         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24329         unconditional.
24330         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24331         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24332         unconditional.
24333         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24334         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24335         unconditional.
24336         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24338 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24340         [BZ #12140]
24341         * manual/memory.texi (Malloc Tunable Parameters): Add note
24342         about free list pointers overwriting some perturb bytes.
24343         Wording suggested by Roland McGrath.
24345 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24347         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24348         (lgamma_test): Likewise.
24349         (tgamma_test): Likewise.
24351 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24353         [BZ #14700]
24354         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24355         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24357 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24359         * NEWS: Mention BZ #14716.
24360         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24361         when removing AVAILABLE1_USES_J macro.
24363 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24365         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24366         (__bswap_64): __uint64_t for unsigned 64-bit int.
24368 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24370         * include/string.h (memmem): Declare libc hidden alias.
24371         * string/memmem.c (memmem): Define libc hidden alias.
24372         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24373         __read, __close instead of open, read, close.
24375 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24377         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24378         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24379         global and hidden.
24380         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24381         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24382         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24383         Likewise.
24384         (__rawmemchr_sse2): Likewise.
24385         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24386         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24387         (__strchr_sse2): Likewise.
24388         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24389         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24390         (__strcasecmp_sse2): Likewise.
24391         (__strncasecmp_sse2): Likewise.
24392         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24393         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24394         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24395         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24396         (__strrchr_sse2): Likewise.
24397         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24398         ifunc-impl-list.c.
24399         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24400         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24401         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24402         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24403         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24404         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24405         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24406         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24407         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24408         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24409         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24410         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24411         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24412         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24413         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24414         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24415         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24416         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24417         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24418         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24419         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24420         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24421         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24422         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24423         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24424         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24425         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24426         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24427         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24428         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24430         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24431         global and hidden.
24432         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24433         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24434         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24435         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24436         Likewise.
24437         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24438         Likewise.
24439         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24440         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24441         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24442         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24443         ifunc-impl-list.c.
24444         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24448         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24450         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24451         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24452         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24453         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24454         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24455         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24456         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24457         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24458         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24460         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24461         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24462         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24463         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24464         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24465         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24466         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24467         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24468         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24469         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24470         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24471         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24472         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24473         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24474         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24475         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24476         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24477         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24478         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24479         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24480         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24481         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24482         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24483         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24484         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24486         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24487         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24488         * include/ifunc-impl-list.h: New file.
24489         * misc/ifunc-impl-list.c: Likewise.
24490         * misc/Makefile (routines): Add ifunc-impl-list.
24491         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24492         * string/test-string.h: Include <ifunc-impl-list.h>.
24493         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24494         TEST_NAME]: New variables.
24495         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24496         are defined.
24497         (test_init): Call __libc_ifunc_impl_list to initialize
24498         func_list if TEST_IFUNC and TEST_NAME are defined.
24500         * string/Makefile (strop-tests): Add bcopy and bzero.
24501         * string/test-bcopy.c: New file.
24502         * string/test-bzero.c: Likewise.
24503         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24504         defined.
24505         * string/test-memset.c: Support bzero test if TEST_BZERO is
24506         defined.
24507         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24508         __libc_memmove.
24509         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24510         __libc_memset.
24511         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24512         of memset.
24514 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24516         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24517         * configure: Regenerated.
24519         * Makeconfig (+link-static-before-libc): Don't include
24520         $(link-static-libc).
24522         * libio/libio.h (_IO_pos_t): Remove.
24524 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24526         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24527         McGrath.
24529 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24531         * crypt/crypt-entry.c: Include fips-private.h.
24532         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24533         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24534         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24535         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24537 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24539         * crypt/crypt-private.h: Include stdbool.h.
24540         (_ufc_setup_salt_r): Return bool.
24541         * crypt/crypt-entry.c: Include errno.h.
24542         (__crypt_r): Return NULL with EINVAL for bad salt.
24543         * crypt/crypt_util.c (bad_for_salt): New.
24544         (_ufc_setup_salt_r): Check that salt is long enough and within
24545         the specified alphabet.
24546         * crypt/badsalttest.c: New file.
24547         * crypt/Makefile (tests): Add it.
24548         ($(objpfx)badsalttest): New.
24550 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24552         * NEWS: Add entry for BZ #14602.
24554 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24556         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24557         type-generic.
24558         * math/libm-test.inc: Update comment listing what functions and
24559         macros are tested.
24560         (isgreater_test): New function.
24561         (isgreaterequal_test): Likewise.
24562         (isless_test): Likewise.
24563         (islessequal_test): Likewise.
24564         (islessgreater_test): Likewise.
24565         (isunordered_test): Likewise.
24566         (main): Call the new functions.
24568 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24570         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24571         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24572         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24573         * sysdeps/i386/configure: Regenerated.
24574         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24575         * sysdeps/mach/configure: Regenerated.
24576         * sysdeps/mach/hurd/configure: Regenerated.
24577         * sysdeps/powerpc/configure: Regenerated.
24578         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24579         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24580         * sysdeps/s390/s390-32/configure: Regenerated.
24581         * sysdeps/s390/s390-64/configure: Regenerated.
24582         * sysdeps/sh/configure: Regenerated.
24583         * sysdeps/sparc/configure: Regenerated.
24584         * sysdeps/unix/sysv/linux/configure: Regenerated.
24585         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24586         * sysdeps/x86_64/configure: Regenerated.
24588         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24589         defined.  Don't check if MAP is NULL.
24591 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24593         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24594         (_G_stat64): Likewise.
24595         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24596         (_G_stat64): Likewise.
24597         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24598         instead of struct _G_stat64.
24599         * libio/fileops.c (mmap_remap_check): Likewise.
24600         (decide_maybe_mmap): Likewise.
24601         (_IO_new_file_seekoff): Likewise.
24602         (_IO_file_stat): Likewise.
24603         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24604         _G_off64_t.
24605         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24606         instead of struct _G_stat64.
24607         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24609 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24611         [BZ #14602]
24612         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24613         Replace with ...
24614         (CHECK_EOL): New macro.
24615         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24616         CHECK_EOL.
24617         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24618         Replace with CHECK_EOL.
24619         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24620         Replace with CHECK_EOL.
24622 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24624         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24625         type-generic.
24626         * math/libm-test.inc: Update comment listing what functions and
24627         macros are tested.
24628         (finite_test): New function.
24629         (isinf_test): Likewise.
24630         (isnan_test): Likewise.
24631         (fpclassify_test): Test subnormal input.
24632         (isfinite_test): Likewise.
24633         (isnormal_test): Likewise.
24634         (main): Call the new functions.
24636 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24638         [BZ #14660]
24639         * Makerules (%.dynsym): Force C locale when running
24640         $(OBJDUMP) --dynamic-syms.
24642 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24644         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24645         <stdint.h>.
24647 2012-10-06  David S. Miller  <davem@davemloft.net>
24649         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24650         upper 32-bits of the length value in %o2 since we use branch-on-register
24651         tests which consider the entire 64-bit register.
24653 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24655         * string/test-strstr.c (check2): Add a test for page boundary.
24657 2012-10-05  David S. Miller  <davem@davemloft.net>
24659         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24660         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24661         file.
24662         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24663         sysdep_routines.
24664         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24665         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24666         and bzero when HWCAP_SPARC_CRYPTO is present.
24668 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24670         [BZ #14602]
24671         * string/test-strstr.c (check2): New function.
24672         (test_main): Call check2.
24674         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24675         and bug-strchr1.
24676         * string/bug-strcasestr1.c (do_test): Moved to ...
24677         * string/test-strcasestr.c (check1): Here.  New function.
24678         (do_one_test): Break out result checking code into ...
24679         (check_result): This.  New function.
24680         (do_one_test): Call check_result.
24681         (test_main): Call check1.
24682         * string/bug-strchr1.c (do_test): Moved to ...
24683         * string/test-strchr.c (check1): Here.  New function.
24684         (do_one_test): Break out result checking code into ...
24685         (check_result): This.  New function.
24686         (do_one_test): Call check_result.
24687         (test_main): Call check1.
24688         * string/bug-strstr1.c (main): Moved to ...
24689         * string/test-strstr.c (check1): Here.  New function.
24690         (do_one_test): Break out result checking code into ...
24691         (check_result): This.  New function.
24692         (do_one_test): Call check_result.
24693         (test_main): Call check1.
24694         * string/bug-strcasestr1.c: Removed.
24695         * string/bug-strchr1.c: Likewise.
24696         * string/bug-strstr1.c: Likewise.
24698         * elf/Makefile (dl-routines): Add hwcaps.
24699         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24700         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24701         (_dl_important_hwcaps): Moved to ...
24702         * elf/dl-hwcaps.c: Here.  New file.
24703         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24705         [BZ #14557]
24706         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24707         if IS_IN_rtld isn't defined.
24709         * elf/dl-support.c (_dl_sysinfo_map): New.
24710         Include "get-dynamic-info.h" and "setup-vdso.h".
24711         (_dl_non_dynamic_init): Call setup_vdso.
24712         * elf/dynamic-link.h: Don't include <assert.h>.
24713         (elf_get_dynamic_info): Moved to ...
24714         * elf/get-dynamic-info.h: Here.  New file.
24715         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24716         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24717         * elf/setup-vdso.h: Here.  New file.
24718         * elf/rtld.c: Include "setup-vdso.h".
24719         (dl_main): Call setup_vdso.
24721 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24723         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24724         creal in comment listing functions tested.  List finite, isinf,
24725         isnan, isless, islessequal, isgreater, isgreaterequal,
24726         islessgreater, isunordered, lgamma_r and pow10 as functions and
24727         macros not tested.  Mention which functions not tested are aliases
24728         for other functions.  Fix typo.  Note that signs of NaNs are not
24729         tested.
24731         * scripts/config.guess: Update from config.git.
24732         * scripts/config.sub: Likewise.
24734 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24736         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24737         * misc/madvise.c (madvise): Renamed to __madvise.
24738         Make madvise a weak alias.
24739         * include/sys/mman.h: Declare __madvise.
24740         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24741         * sysdeps/unix/syscalls.list
24742         (madvise): Make __madvise the strong name, and madvise a weak alias.
24743         * sysdeps/unix/sysv/linux/syscalls.list
24744         (madvise, mmap): Remove redundant entries.
24745         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24746         * malloc/malloc.c (mtrim): Likewise.
24747         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24749 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24751         * sysdeps/mach/hurd/dl-cache.c: File removed.
24752         * config.h.in (USE_LDCONFIG): New #undef.
24753         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24754         * configure: Regenerated.
24755         * elf/Makefile (dl-routines): Add dl-cache only under
24756         [$(use-ldconfig) = yes].
24757         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24758         cache on [USE_LDCONFIG].
24759         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24760         [USE_LDCONFIG].
24761         * elf/rtld.c (dl_main): Likewise.
24763 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24765         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24766         _SC_LEVEL4_CACHE_LINESIZE.
24768 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24770         * sysdeps/unix/bsd/confstr.h: File removed.
24772 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24774         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24775         sys/sdt-config.h.
24777 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24779         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24780         Make 'mapoff' field ElfW(Off) rather than off_t.
24782 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24784         * nscd/Makefile: Remove nscd-cflags and all its users.
24785         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24786         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24788         [BZ #10631]
24789         * malloc.c (malloc_printerr): Clarify error message.
24791 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24793         [BZ #14648]
24794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24795         Set bit_FMA_Usable if FMA is supported.
24796         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24797         macro.
24798         (bit_FMA4_Usable): Updated.
24799         (index_FMA_Usable): New macro.
24800         (CPUID_FMA): Likewise
24801         (HAS_FMA): Defined with bit_FMA_Usable.
24803 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24805         * bits/types.h (__swblk_t): Type removed.
24806         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24807         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24808         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24809         (__SWBLK_T_TYPE): Likewise.
24810         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24811         (__SWBLK_T_TYPE): Likewise.
24812         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24813         (__SWBLK_T_TYPE): Likewise.
24814         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24815         (__SWBLK_T_TYPE): Likewise.
24817 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24818             Honza Horak <hhorak@redhat.com>
24820         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24821         (xdr_mapname): Use YPMAXMAP as maxsize.
24822         (xdr_peername): Use YPMAXPEER as maxsize.
24823         (xdr_keydat): Use YPAXRECORD as maxsize.
24824         (xdr_valdat): Use YPMAXRECORD as maxsize.
24826 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24828         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24830         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24831         * csu/init-first.c: ... here.
24832         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24833         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24834         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24835         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24836         * sysdeps/i386/init-first.c: File removed.
24837         * sysdeps/sh/init-first.c: File removed.
24839 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24841         [BZ #14645]
24842         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24843         if x * y might underflow to zero and z is zero.
24844         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24845         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24846         * math/libm-test.inc (min_subnorm_value): New variable.
24847         (fma_test): Add more tests.
24848         (fma_test_towardzero): Likewise.
24849         (fma_test_downward): Likewise
24850         (fma_test_upward): Likewise.
24851         (initialize): Set min_subnorm_value.
24853 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24855         [BZ #14638]
24856         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24857         0 + 0.
24858         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24859         mode for addition resulting in exact zero.
24860         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24861         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24862         exact 0 + 0.
24863         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24865         * math/libm-test.inc (fma_test): Add more tests.
24866         (fma_test_towardzero): New function.
24867         (fma_test_downward): Likewise.
24868         (fma_test_upward): Likewise.
24869         (main): Call the new functions.
24871 2012-09-28  David S. Miller  <davem@davemloft.net>
24873         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24875 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24877         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24878         instead of SIGALRM.
24880         * sysdeps/gnu/_G_config.h: Moved to ...
24881         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24882         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24883         * sysdeps/generic/_G_config.h: ... here.
24885         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24887         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24889         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24890         Conditionalize target on [libnss_test1.so-version].
24892         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24894         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24895         (elfobjdir): Move out of conditionals.
24897         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24898         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24899         (__nss_lookup_function): Conditionalize label remove_from_tree on
24900         [!DO_STATIC_NSS || SHARED], matching its only use.
24902 2012-09-28  David S. Miller  <davem@davemloft.net>
24904         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24905         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24906         file.
24907         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24908         sysdep_routines.
24909         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24910         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24911         when HWCAP_SPARC_CRYPTO is present.
24913 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24915         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24917 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24919         [BZ #6530]
24920         * stdio-common/vfprintf.c (process_string_arg): Revert
24921         2000-07-22 change.
24923 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24925         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24926         for testcase.
24927         * stdio-common/tst-sprintf.c: Include <locale.h>
24928         (main): Test sprintf's handling of incomplete multibyte
24929         characters.
24931 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24933         * elf/dl-runtime.c (VERSYMIDX): Removed.
24934         * elf/dl-version.c (VERSYMIDX): Likewise.
24935         * elf/do-rel.h (VERSYMIDX): Likewise.
24936         (VALIDX): Likewise.
24937         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24938         * elf/rtld.c (VALIDX): Likewise.
24939         (ADDRIDX): Likewise.
24940         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24941         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24942         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24943         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24944         (VALIDX): Likewise.
24945         (ADDRIDX): Likewise.
24947 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24949         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24951 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24953         [BZ #11438]
24954         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24955         to global scope.
24956         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24957         addresses are in the same scope as 192.0.2/24.
24958         * posix/gai.conf: Document new scope table defaults.
24960 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24962         [BZ #5298]
24963         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24964         for ftell.  Compute offsets from write pointers instead.
24965         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24967 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24969         [BZ #14543]
24970         * libio/Makefile (tests): New test case tst-fseek.
24971         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24972         combination works in wide mode.
24973         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24974         state when the external buffer state changes.
24976 2012-09-27  David S. Miller  <davem@davemloft.net>
24978         [BZ #14376]
24979         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24980         pass reloc->r_addend in as the 'high' argument to
24981         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24987         * rt/tst-aio2.c: Include <pthread.h>.
24988         * rt/tst-aio3.c: Likewise.
24990 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24992         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24994 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24996         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24997         contents on [SHARED].
24999 2012-09-26  Marek Polacek  <polacek@redhat.com>
25001         [BZ #14530]
25002         [BZ #13741]
25003         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25004         for C++ and GCC <4.3 as well as for non GCC compilers.
25006 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25008         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25010 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25012         * Makefile.in (all, install): Declare with .PHONY.
25013         Reported by Michael Hope <michael.hope@linaro.org>.
25015 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25017         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25018         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25019         system header.
25020         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25021         Likewise.
25022         (sydep_routines): Add the new and the internal functions.
25023         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25024         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25026         (GLIBC_2.17): Add the new function.
25027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25028         (GLIBC_2.17): Likewise.
25029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25030         (GLIBC_2.17): Likewise.
25031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25032         (GLIBC_2.17): Likewise.
25033         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25035 2012-09-25  Alan Modra  <amodra@gmail.com>
25037         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25038         Add release barrier before setting once_control to say
25039         initialisation is done.  Add hints on lwarx.  Use macro in
25040         place of isync.
25041         (clear_once_control): Add release barrier.
25043 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25045         [BZ #13629]
25046         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25047         specially.
25048         * math/s_clog10.c (__clog10): Likewise.
25049         * math/s_clog10f.c (__clog10f): Likewise.
25050         * math/s_clog10l.c (__clog10l): Likewise.
25051         * math/s_clogf.c (__clogf): Likewise.
25052         * math/s_clogl.c (__clogl): Likewise.
25053         * math/Makefile (libm-calls): Add x2y2m1.
25054         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25055         (__x2y2m1): Likewise.
25056         (__x2y2m1l): Likewise.
25057         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25058         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25059         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25060         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25061         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25062         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25063         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25064         * sysdeps/i386/fpu/libm-test-ulps: Update.
25065         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25067         [BZ #14621]
25068         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25069         int as type of variable DEPTH.
25070         (glob): Use size_t instead of int as type of variables NEWCOUNT
25071         and OLD_PATHC.
25073 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25075         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25076         Add s_sincosf-sse2.
25077         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25078         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25079         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25080         macros for using routine as __sincosf_ia32.
25081         Use macro for function declaration and weak_alias.
25082         * sysdeps/i386/fpu/libm-test-ulps: Update.
25084         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25085         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25087         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25088         subnormal argument.
25089         * math/s_cexpf.c (__cexpf): Likewise.
25090         * math/s_csinf.c (__csinf): Likewise.
25091         * math/s_csinhf.c (__csinhf): Likewise.
25092         * math/s_ctanf.c (__ctanf): Likewise.
25093         * math/s_ctanhf.c (__ctanhf): Likewise.
25094         * math/s_ccosh.c (__ccoshf): Likewise.
25095         * math/s_cexp.c (__cexpl): Likewise.
25096         * math/s_csin.c (__csin): Likewise.
25097         * math/s_csinh.c (__csinh): Likewise.
25098         * math/s_ctan.c (__ctan): Likewise.
25099         * math/s_ctanh.c (ctanh): Likewise.
25100         * math/s_ccoshl.c (__ccoshl): Likewise.
25101         * math/s_cexpl.c (__cexpl): Likewise.
25102         * math/s_csinl.c (__csinl): Likewise.
25103         * math/s_csinhl.c (__csinhl): Likewise.
25104         * math/s_ctanl.c (__ctanl): Likewise.
25105         * math/s_ctanhl.c (__ctanhl): Likewise.
25107 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25109         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25110         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25111         (_IO_off_t): Define to __off_t, not _G_off_t.
25112         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25113         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25114         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25115         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25116         type of __dummy and __dummy2 fields.
25117         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25118         (_G_ssize_t): Likewise.
25119         (_G_off_t): Likewise.
25120         (_G_pid_t): Likewise.
25121         (_G_uid_t): Likewise.
25122         (_G_wchar_t): Likewise.
25123         (_G_wint_t): Likewise.
25124         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25125         (_G_ssize_t): Likewise.
25126         (_G_off_t): Likewise.
25127         (_G_pid_t): Likewise.
25128         (_G_uid_t): Likewise.
25129         (_G_wchar_t): Likewise.
25130         (_G_wint_t): Likewise.
25131         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25132         (_G_ssize_t): Likewise.
25133         (_G_off_t): Likewise.
25134         (_G_pid_t): Likewise.
25135         (_G_uid_t): Likewise.
25136         (_G_wchar_t): Likewise.
25137         (_G_wint_t): Likewise.
25139 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25141         * malloc/arena.c: Include malloc-sysdep.h.
25142         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25143         is sufficient to shrink the heap or an unmap is needed.
25144         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25145         new function check_may_shrink_heap.
25146         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25147         new function check_may_shrink_heap.
25149 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25151         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25152         comments.
25154 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25156         * catgets/test-gencat.sh: Add "set -e".
25157         * elf/tst-pathopt.sh: Likewise.
25158         * grp/tst_fgetgrent.sh: Likewise.
25159         * iconvdata/run-iconv-test.sh: Likewise.
25160         * intl/tst-gettext.sh: Likewise.
25161         * intl/tst-gettext2.sh: Likewise.
25162         * intl/tst-gettext4.sh: Likewise.
25163         * intl/tst-gettext6.sh: Likewise.
25164         * intl/tst-translit.sh: Likewise.
25165         * io/ftwtest-sh: Likewise.
25166         * libio/test-freopen.sh: Likewise.
25167         * malloc/tst-mtrace.sh: Likewise.
25168         * posix/globtest.sh: Likewise.
25169         * posix/tst-getconf.sh: Likewise.
25170         * posix/wordexp-tst.sh: Likewise.
25171         * stdio-common/tst-printf.sh: Likewise.
25172         * stdio-common/tst-unbputc.sh: Likewise.
25173         * stdlib/tst-fmtmsg.sh: Likewise.
25174         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25175         * catgets/Makefile: Do not specify -e option when running
25176         testsuite shell scripts.
25177         * elf/Makefile: Likewise.
25178         * grp/Makefile: Likewise.
25179         * iconvdata/Makefile: Likewise.
25180         * intl/Makefile: Likewise.
25181         * io/Makefile: Likewise.
25182         * libio/Makefile: Likewise.
25183         * malloc/Makefile: Likewise.
25184         * posix/Makefile: Likewise.
25185         * stdio-common/Makefile: Likewise.
25186         * stdlib/Makefile: Likewise.
25187         * sysdeps/x86_64/Makefile: Likewise.
25189         * io/ftwtest-sh: Add copyright header.
25190         * posix/globtest.sh: Likewise.
25191         * posix/tst-getconf.sh: Likewise.
25192         * posix/wordexp-tst.sh: Likewise.
25193         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25195 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25197         [BZ #13679]
25198         * Makeconfig (+link): Defined as $(+link-static) if
25199         $(build-shared) isn't yes.
25200         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25201         isn't yes.
25202         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25204         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25206         [BZ #14562]
25207         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25208         new chunk size with MALLOC_ALIGN_MASK.
25210 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25212         [BZ #5044]
25213         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25214         <rounding-mode.h>.
25215         (__printf_fphex): Determine rounding using get_rounding_mode and
25216         round_away.
25217         * stdio-common/tst-printf-round.c (struct hex_test): New
25218         structure.
25219         (hex_tests): New variable.
25220         (test_hex_in_one_mode): New function.
25221         (do_test): Also run tests for hex float output.
25223 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25225         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25226         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25227         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25228         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25229         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25230         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25231         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25232         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25234 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25236         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25237         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25238         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25239         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25241 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25243         [BZ #14579]
25244         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25245         mode only.
25246         * elf/tst-rtld-load-self.sh: New test.
25247         * elf/Makefile: Run it.
25249 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25251         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25252         (tst-writev-ENV): Remove.
25253         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25255 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25257         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25259 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25261         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25262         unconditional.
25263         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25264         Likewise.
25265         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25266         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25267         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25268         Likewise.
25270 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25272         [BZ #14587]
25273         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25274         * config.make.in (have-cpp-asm-debuginfo): Removed.
25275         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25276         * configure: Regenerated.
25278 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25280         [BZ #5044]
25281         * stdio-common/printf_fp.c: Include <stdbool.h> and
25282         <rounding-mode.h>.
25283         (___printf_fp): Determine rounding using get_rounding_mode and
25284         round_away.
25285         * stdio-common/tst-printf-round.c: New file.
25286         * stdio-common/Makefile (tests): Add tst-printf-round.
25287         (link-libm): New variable.
25288         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25290 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25292         [BZ #14576]
25293         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25294         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25295         Likewise.
25296         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25297         Likewise.
25299 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25301         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25302         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25303         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25306 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25308         [BZ #14518]
25309         * include/rounding-mode.h: New file.
25310         * sysdeps/generic/get-rounding-mode.h: Likewise.
25311         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25312         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25313         (MAX_VALUE): New macro.
25314         (MIN_VALUE): Likewise.
25315         (overflow_value): New function.
25316         (underflow_value): Likewise.
25317         (round_and_return): Use overflow_value and underflow_value to
25318         determine return values in overflow and underflow cases.  Use
25319         round_away to determine rounding depending on rounding mode.
25320         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25321         determine return values in overflow and underflow cases.
25322         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25323         (struct test_results): New structure.
25324         (struct test): Use struct test_results to store expected results
25325         for all rounding modes.
25326         (TEST): Include expected results for all rounding modes.
25327         (test_in_one_mode): New function.
25328         (do_test): Use test_in_one_mode to compute and check results.
25329         Check results for all rounding modes.
25330         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25331         $(link-libm).
25333 2012-12-09  Allan McRae  <allan@archlinux.org>
25335         * sysdeps/i386/fpu/libm-test-ulps: Update
25337 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25339         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25340         (_G_int32_t): Likewise.
25341         (_G_uint16_t): Likewise.
25342         (_G_uint32_t): Likewise.
25343         (_G_HAVE_BOOL): Likewise.
25344         (_G_HAVE_ATEXIT): Likewise.
25345         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25346         (_G_HAVE_IO_FILE_OPEN): Likewise.
25347         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25348         (_G_int32_t): Likewise.
25349         (_G_uint16_t): Likewise.
25350         (_G_uint32_t): Likewise.
25351         (_G_HAVE_BOOL): Likewise.
25352         (_G_HAVE_ATEXIT): Likewise.
25353         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25354         (_G_HAVE_IO_FILE_OPEN): Likewise.
25355         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25356         (_G_int32_t): Likewise.
25357         (_G_uint16_t): Likewise.
25358         (_G_uint32_t): Likewise.
25359         (_G_HAVE_BOOL): Likewise.
25360         (_G_HAVE_ATEXIT): Likewise.
25361         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25362         (_G_HAVE_IO_FILE_OPEN): Likewise.
25364 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25366         * csu/libc-tls.c: Update copyright years.
25368 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25370         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25371         [!_G_USING_THUNKS]: Remove conditional code.
25372         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25373         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25375         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25376         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25377         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25378         (_G_VTABLE_LABEL_PREFIX): Likewise.
25379         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25380         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25381         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25382         (_G_VTABLE_LABEL_PREFIX): Likewise.
25383         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25384         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25385         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25386         (_G_VTABLE_LABEL_PREFIX): Likewise.
25387         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25389 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25391         * libio/Makefile: Include ../Makeconfig before tests.
25392         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25393         only if $(build-shared) is yes.
25395         * iconv/gconv_db.c: Update copyright years.
25397 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25399         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25400         unwind info if defined PIC. Fix special cases description.
25401         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25403         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25404         DP_HI_MASK entry.
25405         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25407 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25409         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25411         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25412         is NULL.
25414         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25415         (LDLIBS-tst-chk4): This.
25416         (LDFLAGS-tst-chk5): Renamed to ...
25417         (LDLIBS-tst-chk5): This.
25418         (LDFLAGS-tst-chk6): Renamed to ...
25419         (LDLIBS-tst-chk6): This.
25420         (LDFLAGS-tst-lfschk4): Renamed to ...
25421         (LDLIBS-tst-lfschk4): This.
25422         (LDFLAGS-tst-lfschk5): Renamed to ...
25423         (LDLIBS-tst-lfschk5): This.
25424         (LDFLAGS-tst-lfschk6): Renamed to ...
25425         (LDLIBS-tst-lfschk6): This.
25427         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25428         on $(common-objpfx)soversions.mk.
25430 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25432         [BZ #10014]
25433         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25434         example host name.
25436 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25438         * malloc/arena.c (arena_get_retry): New function that gets
25439         another arena for the caller to try its request on.
25440         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25441         current arena cannot fulfill the request.
25442         (__libc_memalign): Likewise.
25443         (__libc_memalign): Likewise.
25444         (__libc_pvalloc): Likewise.
25445         (__libc_calloc): Likewise.
25447 2012-09-05  John Tobey  <john.tobey@gmail.com>
25449         [BZ #13542]
25450         * manual/arith.texi (Operations on Complex): Fix description
25451         of carg branch cut.
25453 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25455         [BZ #10014]
25456         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25457         host name.
25459         [BZ #10038]
25460         * manual/memory.texi (Memory): Make order of menu items match
25461         order of sections.
25463 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25465         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25466         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25467         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25469 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25471         * csu/libc-tls.c (static_dtv): Renamed to ...
25472         (_dl_static_dtv): This.  Make it global.
25473         (_dl_initial_dtv): Removed.
25474         (__libc_setup_tls): Updated.
25475         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25476         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25477         DL_INITIAL_DTV.
25479 2012-09-06  Petr Machata  <pmachata@redhat.com>
25481         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25482         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25483         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25484         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25486 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25488         [BZ #14545]
25489         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25490         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25491         freeing dtv[-1].
25493 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25495         [BZ #14544]
25496         * Makeconfig (link-static-before-libc): Replace $(+prector)
25497         with $(+prectorT).
25498         (link-static-after-libc): Replace $(+postctor) with
25499         $(+postctorT).
25500         (link-bounded): Replace $(+prector)/$(+postctor) with
25501         $(+prectorT)/$(+postctorT).
25502         (+prectorT): New macro.
25503         (+postctorT): Likewise.
25505 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25507         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25508         (round_str): Handle values above the maximum for IBM long double
25509         as inexact.
25510         * stdlib/tst-strtod-round.c (tests): Regenerated.
25512 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25514         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25515         assembler flag.
25516         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25517         zarch_nohighgprs around the zarch optimized routines.
25518         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25519         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25520         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25521         for zarch.
25523 2012-09-05  David S. Miller  <davem@davemloft.net>
25525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25527         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25528         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25529         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25530         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25531         entries.
25533 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25535         * malloc/arena.c: Fold copyright years.
25536         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25538 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25540         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25542 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25544         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25546 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25548         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25549         change internal state upon failure.
25551 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25553         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25554         * malloc/memusage.c (mmap): Likewise.
25555         (mmap64, mremap): Likewise.  Adjust name in comment.
25557 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25559         * libio/fileops.c: Fix typos in comments.
25560         * libio/oldfileops.c: Likewise.
25561         * libio/wfileops.c: Likewise.
25563 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25565         [BZ #1349]
25566         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25567         (tst-malloc-usable-ENV): Set environment for test case.
25568         * malloc/hooks.c (malloc_check_get_size): New function to get
25569         requested size.
25570         * malloc/malloc.c (musable): Use malloc_check_get_size.
25571         * malloc/tst-malloc-usable.c: New test case.
25573 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25575         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25577 2012-09-05  Allan McRae  <allan@archlinux.org>
25579         [BZ #13966]
25580         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25581         determine header location.
25582         * configure: Regenerated.
25584 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25586         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25587         float format.
25588         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25589         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25590         format.
25591         (test): Regenerate.
25593 2012-09-04  David S. Miller  <davem@davemloft.net>
25595         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25596         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25597         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25599 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25601         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25602         failures.
25604         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25606 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25608         [BZ #9914]
25609         * libio/iogetdelim.c: Include <limits.h>.
25610         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25611         + len + 1 would overflow.
25613 2012-09-03  Andreas Jaeger  <aj@suse.de>
25615         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25616         * sysdeps/i386/fpu/libm-test-ulps: Update.
25618 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25620         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25621         Add s_sinf-sse2, s_conf-sse2.
25623         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25624         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25625         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25626         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25628         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25629         for using routine as __sinf_ia32.
25630         Use macro for function declaration and weak_alias.
25631         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25632         for using routine as __cosf_ia32.
25633         Use macro for function declaration and weak_alias.
25635         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25636         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25638         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25639         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25642         * math/libm-test.inc (cos_test): Add more test cases.
25643         (sin_test): Likewise.
25644         (sincos_test): Likewise.
25646 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25649         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25650         hidden.
25651         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25653 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25655         [BZ #14538]
25656         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25657         first element of the GOT.
25658         (elf_machine_load_address): Return the difference between
25659         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25661 2012-09-01  Allan McRae  <allan@archlinux.org>
25663         [BZ #13412]
25664         * configure.in (AWK): Require gawk version 3.0 or later.
25665         * configure: Regenerated.
25667 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25669         * sysdeps/unix/sysv/linux/kernel-features.h
25670         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25671         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25672         [__NR_clock_getres]: Make code unconditional.
25673         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25674         (clock_getcpuclockid): Remove code left unreachable by removal of
25675         conditionals.
25676         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25677         code unconditional.
25678         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25679         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25680         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25681         Make code unconditional.
25682         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25683         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25684         * sysdeps/unix/sysv/linux/clock_settime.c
25685         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25686         conditional code.
25687         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25688         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25690 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25692         [BZ #14476]
25693         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25694         scripts/test-installation.pl.
25696         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25697         and $ld_so_version if it is set.
25699 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25701         [BZ #14516]
25702         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25703         failure if reading from procfs failed.
25704         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25706 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25708         * sysdeps/unix/sysv/linux/kernel-features.h
25709         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25710         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25711         Remove conditional code.
25712         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25713         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25714         Remove conditional code.
25715         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25716         * sysdeps/unix/sysv/linux/i386/fxstat.c
25717         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25718         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25719         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25720         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25721         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25722         * sysdeps/unix/sysv/linux/i386/lxstat.c
25723         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25724         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25725         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25726         Remove conditional code.
25727         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25728         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25729         Remove conditional code.
25730         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25731         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25732         <kernel-features.h>.
25733         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25734         Remove.
25735         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25736         Remove conditional code.
25737         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25738         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25739         Remove conditional.
25741 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25743         [BZ #5400]
25744         * NEWS: Add fixed bug number.
25746 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25748         [BZ #14519]
25749         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25750         underflowing exponent in case of negative sign.
25751         * stdlib/tst-strtod-round-data: Add more tests.
25752         * stdlib/tst-strtod-round.c (tests): Regenerated.
25754         [BZ #3479]
25755         * stdlib/strtod_l.c (NDIG): Remove.
25756         (HEXNDIG): Likewise.
25757         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25758         smallest representable value.
25759         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25760         lie within an exact representation of 1/2 ulp of the result.
25761         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25762         unconditionally.
25763         (TENS_P9_IDX): Define unconditionally.
25764         (TENS_P9_SIZE): Likewise.
25765         (TENS_P10_IDX): Likewise.
25766         (TENS_P10_SIZE): Likewise.
25767         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25768         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25769         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25770         entries for 10^2^13 and 10^2^14.
25771         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25772         (TENS_P13_IDX): Define.
25773         (TENS_P13_SIZE): Likewise.
25774         (TENS_P14_IDX): Likewise.
25775         (TENS_P14_SIZE): Likewise.
25776         (_fpioconst_pow10): Change array size to
25777         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25778         unconditional.
25779         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25780         1024]: Add entries for 10^2^13 and 10^2^14.
25781         [LAST_POW10 > _LAST_POW10]: Remove #error.
25782         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25783         (_fpioconst_pow10): Change array size to
25784         FPIOCONST_POW10_ARRAY_SIZE.
25785         * stdlib/gen-fpioconst.c: New file.
25786         * stdlib/gen-tst-strtod-round.c: Likewise.
25787         * stdlib/tst-strtod-round-data: Likewise.
25788         * stdlib/tst-strtod-round.c: Likewise.
25789         * stdlib/Makefile (tests): Add tst-strtod-round.
25791         [BZ #14459]
25792         * stdlib/strtod_l.c: Include <stdint.h>.
25793         (NDEBUG): Do not define.
25794         (round_and_return): Change EXPONENT parameter to type intmax_t.
25795         Rearrange calculations to avoid internal overflow possibilities.
25796         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25797         Rearrange calculations to avoid internal overflow possibilities.
25798         Assert that number fits inside MPNSIZE limbs.
25799         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25800         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25801         calculations and add assertions to avoid internal overflow
25802         possibilities.  Add casts to avoid signed/unsigned operations.
25803         * stdlib/tst-strtod-overflow.c: New file.
25804         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25806 2012-08-25  Marek Polacek  <polacek@redhat.com>
25808         * time/time.h: Fix some typos in comments.
25810 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25812         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25813         * posix/tst-rfc3484-2.c: Likewise.
25814         * posix/tst-rfc3484-3.c: Likewise.
25816 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25818         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25819         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25821 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25823         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25824         #include of fxstatat64.c.
25826 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25828         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25829         * shadow/getspent_r.c: Likewise.
25830         * shadow/getspnam.c: Likewise.
25831         * shadow/getspnam_r.c: Likewise.
25832         * gshadow/getsgent.c: Likewise.
25833         * gshadow/getsgent_r.c: Likewise.
25834         * gshadow/getsgnam.c: Likewise.
25835         * gshadow/getsgnam_r.c: Likewise.
25836         * inet/getnetbyad.c: Likewise.
25837         * inet/getnetbyad_r.c: Likewise.
25838         * inet/getnetbynm.c: Likewise.
25839         * inet/getnetbynm_r.c: Likewise.
25840         * inet/getnetent.c: Likewise.
25841         * inet/getnetent_r.c: Likewise.
25842         * inet/getproto.c: Likewise.
25843         * inet/getproto_r.c: Likewise.
25844         * inet/getprtent.c: Likewise.
25845         * inet/getprtent_r.c: Likewise.
25846         * inet/getprtname.c: Likewise.
25847         * inet/getprtname_r.c: Likewise.
25848         * inet/getrpcbyname.c: Likewise.
25849         * inet/getrpcbyname_r.c: Likewise.
25850         * inet/getrpcbynumber.c: Likewise.
25851         * inet/getrpcbynumber_r.c: Likewise.
25852         * inet/getrpcent.c: Likewise.
25853         * inet/getrpcent_r.c: Likewise.
25854         * inet/getaliasent.c: Likewise.
25855         * inet/getaliasent_r.c: Likewise.
25856         * inet/getaliasname.c: Likewise.
25857         * inet/getaliasname_r.c: Likewise.
25858         * nscd/getgrgid_r.c: Likewise.
25859         * nscd/getgrnam_r.c: Likewise.
25860         * nscd/gethstbyad_r.c: Likewise.
25861         * nscd/gethstbynm3_r.c: Likewise.
25862         * nscd/getpwnam_r.c: Likewise.
25863         * nscd/getpwuid_r.c: Likewise.
25864         * nscd/getsrvbynm_r.c: Likewise.
25865         * nscd/getsrvbypt_r.c: Likewise.
25866         * nscd/gai.c: Likewise.
25868         * configure.in (build_nscd): New substituted variable, set
25869         by --disable-build-nscd and defaults to $use_nscd.
25870         * configure: Regenerated.
25871         * config.make.in (build-nscd): New substituted variable.
25872         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25873         Change conditional to require [$(build-nscd) = yes] as well.
25874         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25876         [BZ# 13696]
25877         * configure.in (use_nscd): New substituted variable, set by
25878         --disable-nscd.  If enabled, define USE_NSCD.
25879         * configure: Regenerated.
25880         * config.h.in: Add USE_NSCD.
25881         * config.make.in (use-nscd): New substituted variable.
25882         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25883         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25884         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25885         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25886         (CFLAGS-getgrnam_r.c): Likewise.
25887         (CFLAGS-initgroups.c): Likewise.
25888         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25889         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25890         Variables removed.
25891         * inet/getnetgrent_r.c
25892         (nscd_setnetgrent): New function, broken out of ...
25893         (setnetgrent): ... here.  Call it.
25894         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25895         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25896         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25897         * nscd/Makefile (routines, aux): Move definitions after include of
25898         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25899         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25900         Conditionalize on [USE_NSCD].
25901         (is_nscd, nscd_init_cb): Likewise.
25902         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25903         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25904         * nss/nss_db/db-init.c: Likewise.
25905         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25906         [USE_NSCD].
25907         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25908         (make_request): Use it.
25909         (cache_valid_p): New function.
25910         (__check_pf): Use it.
25911         * NEWS: Add item for --disable-nscd.
25913 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25915         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25916         to support sed >= 4.2.1-20-ga9bf076.
25917         * configure: Regenerated.
25919 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25921         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25922         Conditionalize whole body on [IREL].
25924 2012-08-22  Jeff Law <law@redhat.com>
25926         [BZ #14505]
25927         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25928         if the family is PF_UNSPEC.
25930 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25932         * Makerules (lib-version): Rename from V.
25933         (install-lib-nosubdir): Change V to lib-version.
25935 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25937         [BZ #14252]
25938         * powerpc32/power6/wcschr.c: New file.
25939         * powerpc32/power6/wcscpy.c: New file.
25940         * powerpc32/power6/wcsrchr.c: New file.
25941         * powerpc64/power6/wcschr.c: New file.
25942         * powerpc64/power6/wcscpy.c: New file.
25943         * powerpc64/power6/wcsrchr.c: New file.
25945 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25947         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25948         (two_way_short_needle): Use it.
25949         * string/strstr.c (AVAILABLE1_USES_J): Define.
25950         * string/strcasestr.c: Likewise.
25952         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25953         array references.
25954         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25956         [BZ #11607]
25957         * NEWS: Add an entry.
25958         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25959         define their defaults.
25960         (two_way_short_needle): Detect end-of-string on-the-fly.
25961         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25962         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25963         * string/bug-strcasestr1.c: New test.
25964         * string/Makefile: Run it.
25966 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25968         [BZ #11607]
25969         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25970         the first character.
25972 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25974         * csu/elf-init.c (__libc_csu_irel): Function removed.
25975         * csu/libc-start.c (apply_irel): New function.
25976         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25978 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25980         * sysdeps/unix/sysv/linux/kernel-features.h
25981         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25982         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25983         <kernel-features.h>.
25984         [__NR_fadvise64_64]: Make code unconditional.
25985         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25986         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25987         !__NR_fadvise64_64)]: Likewise.
25988         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25989         !__NR_fadvise64_64))]: Likewise.
25990         [__NR_fadvise64]: Make code unconditional.
25991         [!__NR_fadvise64]: Remove conditional code.
25992         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25993         <kernel-features.h>.
25994         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25995         unconditional.
25996         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25997         conditional code.
25998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25999         not include <kernel-features.h>.
26000         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26001         unconditional.
26002         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26003         conditional code.
26004         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26005         include <kernel-features.h>.
26006         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26007         unconditional.
26008         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26009         conditional code.
26011 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26013         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26014         slight instruction rearrangements per scrollpipe analysis.
26015         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26017 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26019         * manual/syslog.texi (syslog; vsyslog, closelog):
26020         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26021         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26023         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26024         DSOCAPS to match condition on defining it.
26026 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26028         * sysdeps/unix/sysv/linux/kernel-features.h
26029         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26031         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26032         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26034         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26035         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26037         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26038         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26040         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26041         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26043         * sysdeps/unix/sysv/linux/kernel-features.h
26044         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26045         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26046         unconditional.
26047         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26048         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26049         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26050         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26051         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26052         Make code unconditional.
26053         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26054         (__mmap64) [!__NR_mmap2]: Likewise.
26055         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26056         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26057         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26058         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26059         [__NR_mmap2]: Make code unconditional.
26060         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26061         (__mmap64) [!__NR_mmap2]: Likewise.
26063 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26065         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26067 2012-08-18  Andreas Jaeger  <aj@suse.de>
26069         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26071 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26073         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26074         * include/unistd.h (__have_sock_cloexec): Likewise.
26075         (__have_pipe2): Likewise.
26076         (__have_dup3): Likewise.
26078 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26080         [BZ #9685]
26081         * include/unistd.h (__have_pipe2): Change define into an extern int.
26082         (__have_dup3): Likewise.
26083         * socket/have_sock_cloexec.c: Include fcntl.h.
26084         (__have_pipe2): New variable.
26085         (__have_dup3): Likewise.
26087 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26089         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26091 2012-08-17  Marek Polacek  <polacek@redhat.com>
26093         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26094         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26096 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26098         * configure.in: Add AC_SUBST for sysheaders.
26099         * configure: Regenerated.
26100         * config.make.in (sysheaders): New substituted variable.
26102         * sysdeps/unix/mkfifo.c: Moved ...
26103         * sysdeps/posix/mkfifo.c: ... here.
26104         * sysdeps/unix/mkfifoat.c: Moved ...
26105         * sysdeps/posix/mkfifoat.c: ... here.
26107         * sysdeps/unix/utime.c: Moved ...
26108         * sysdeps/posix/utime.c: ... here.
26110         * sysdeps/unix/time.c: Moved ...
26111         * sysdeps/posix/time.c: ... here.
26112         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26113         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26115         * sysdeps/unix/nice.c: Moved ...
26116         * sysdeps/posix/nice.c: ... here.
26118         * sysdeps/unix/alarm.c: Moved ...
26119         * sysdeps/posix/alarm.c: ... here.
26121         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26123 2012-08-17  Jeff Law <law@redhat.com>
26125         * intl/Makefile (codeset_mo): New variable.
26126         ($(codeset_mo)): New target.
26127         (tst-codeset.out): Depend on that.  Remove explicit rule.
26128         (tst-gettext3.out, tst-gettext5.out): Likewise.
26129         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26130         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26131         * intl/tst-codeset.sh: Remove.
26132         * intl/tst-gettext3.sh: Likewise.
26133         * intl/tst-gettext5.sh: Likewise.
26135 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26137         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26138         * sysdeps/unix/syscalls.list: ... here.
26140         * sysdeps/posix/getaddrinfo.c
26141         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26142         (gaiconf_init, gaiconf_reload): Use them.
26143         [!_STATBUF_ST_NSEC]
26144         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26145         Define using time_t rather than struct timespec.
26147         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26148         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26149         Macros removed.
26150         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26151         [!NO_THREADS].
26152         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26153         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26154         Likewise.
26156         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26157         __libc_cleanup_push argument.
26159         * bits/param.h: New file.
26160         * misc/sys/param.h: New file.
26161         * include/sys/param.h: New file.
26162         * misc/Makefile (headers): Add bits/param.h.
26163         * sysdeps/generic/sys/param.h: File removed.
26164         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26165         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26166         * sysdeps/mach/hurd/bits/param.h: New file.
26167         * sysdeps/mach/hurd/sys/param.h: File removed.
26169         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26170         last change.
26172         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26173         [_IO_MTSAFE_IO].
26174         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26175         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26176         New macros.
26178         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26179         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26180         rather than -D_IO_MTSAFE_IO conditionally.
26181         * stdio-common/Makefile (CPPFLAGS): Likewise.
26182         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26183         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26184         Use $(libio-mtsafe).
26185         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26186         of -D_IO_MTSAFE_IO.
26187         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26188         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26189         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26190         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26191         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26192         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26193         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26194         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26195         (CFLAGS-fread_u_chk.c): Likewise.
26196         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26197         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26198         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26199         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26200         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26201         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26202         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26203         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26204         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26206         * libio/Makefile: Test [$(libc-reentrant) = yes]
26207         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26209         * Makeconfig
26210         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26211         * sysdeps/pthread/configure: File removed.
26212         * sysdeps/pthread/Makeconfig: New file.
26213         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26214         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26216 2012-08-16  Gary Benson  <gbenson@redhat.com>
26218         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26219         unmapping the first object in a namespace.
26221 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26223         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26224         (__internal_setnetgrent): ... this.  Add internal_function to
26225         definition.  Add libc_hidden_def.
26226         (setnetgrent): Update caller.
26227         (internal_endnetgrent): Renamed to ...
26228         (__internal_endnetgrent): ... this.  Add internal_function to
26229         definition.  Add libc_hidden_def.
26230         (endnetgrent): Update caller.
26231         (internal_getnetgrent_r): Renamed to ...
26232         (__internal_getnetgrent_r): ... this.  Add internal_function to
26233         definition.  Add libc_hidden_def.
26234         (__getnetgrent_r): Update caller.
26235         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26237 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26239         * stdlib/longlong.h: Update from GCC.
26241 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26243         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26244         on _QL, which is set by umul_ppmm but never used.
26245         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26246         variables, which are set by GMP macros but never used.
26247         * stdio-common/_itowa.c (_itowa): Likewise.
26248         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26249         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26251 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26253         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26254         struct La_sh_regs is not constant.
26255         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26256         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26257         and struct La_sparc64_regs are not constant.
26259 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26261         * sysdeps/unix/sysv/linux/kernel-features.h
26262         (__ASSUME_POSIX_TIMERS): Remove.
26263         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26264         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26265         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26266         Make code unconditional.
26267         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26268         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26269         Make code unconditional.
26270         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26271         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26272         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26273         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26274         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26275         Make code unconditional.
26276         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26277         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26278         (__libc_missing_posix_timers): Remove.
26280 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26282         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26283         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26285         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26287         * elf/dl-sym.c: Include <stdlib.h>.
26289         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26290         constants, which avoids warnings in 32-bit builds.
26292         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26293         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26295         * misc/lseek.c: File moved to ...
26296         * io/lseek.c: ... here.
26298         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26300         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26301         shifting LEN more than 31 bits at once.
26303 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26305         [BZ #14195]
26306         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26307         segmentation fault for a case of two empty input strings.
26308         * string/test-strncasecmp.c (check1): Renamed to...
26309         (bz12205): ...this.
26310         (bz14195): Add new testcase for two empty input strings and N > 0.
26311         (test_main): Call new testcase, adapt for renamed function.
26313 2012-08-15  Andreas Jaeger  <aj@suse.de>
26315         [BZ #14090]
26316         * crypt/md5test2.c: New test, based on test supplied by Serge
26317         Belyshev <belyshev@depni.sinp.msu.ru>.
26318         * crypt/Makefile (xtests): Add md5test-giant..
26319         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26321 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26323         [BZ #14090]
26324         * crypt/md5.c (md5_process_block): Don't assume the buffer
26325         length is less than 2**32.
26326         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26327         length is less than 2**64.
26329 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26331         * string/str-two-way.h: Include <sys/param.h>.
26332         (MAX): Macro removed.
26334         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26335         Move #define and #undef of memmove to just before and after
26336         including <string.h>.
26338         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26339         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26340         and after including <string.h>.  Move declarations of
26341         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26342         to before #include "string/memmove.c".
26344         * include/dirent.h: Declare __getdirentries.
26346         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26347         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26349 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26351         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26352         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26353         * sysdeps/i386/configure: Regenerated.
26354         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26355         STABS_CURRENT_FILE, and STABS_FUN.
26356         (END): Remove call to STABS_FUN_END.
26357         (STABS_CURRENT_FILE1): Delete.
26358         (STABS_CURRENT_FILE): Likewise.
26359         (STABS_FUN): Likewise.
26360         (STABS_FUN_END): Likewise.
26361         (STABS_FUN2): Likewise.
26362         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26363         * sysdeps/x86_64/configure: Regenerated.
26365 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26367         * elf/dl-open.c: Include <atomic.h>.
26368         * elf/dl-lookup.c: Likewise.
26370 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26372         * sysdeps/unix/sysv/linux/kernel-features.h
26373         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26374         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26375         unconditionally.
26376         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26377         unconditionally.
26378         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26379         condition on __ASSUME_CLONE_THREAD_FLAGS.
26381 2012-08-14  Andreas Jaeger  <aj@suse.de>
26383         * sysdeps/i386/fpu/libm-test-ulps: Update.
26385 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26387         * include/atomic.h (atomic_exchange_and_add): Split into ...
26388         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26389         New atomic macros.
26391 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26393         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26395 2012-08-13  Jeff Law <law@redhat.com>
26397         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26398         null byte in the output string.
26400 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26402         * sysdeps/unix/sysv/linux/kernel-features.h
26403         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26404         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26405         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26406         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26407         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26408         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26409         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26411 2012-08-09  Jeff Law <law@redhat.com>
26413         [BZ #13939]
26414         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26415         When avoid_arena is set, don't retry in the that arena.  Pick the
26416         next one, whatever it might be.
26417         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26418         (arena_lock): Pass in new parameter to arena_get2.
26419         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26420         arena_get2.
26421         (__libc_malloc): Unify retrying after main arena failure with
26422         __libc_memalign version.
26423         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26425 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26427         [BZ #14166]
26428         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26429         to __redirect_strstr.
26430         (__strstr_sse42): Use typeof __redirect_strstr.
26431         (__strstr_ia32): Likewise.
26432         (__libc_strstr): New prototype.
26433         (strstr): Renamed to ...
26434         (__libc_strstr): This.
26435         (strstr): New strong alias of __libc_strstr.
26436         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26437         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26438         __redirect_time.
26439         Include <time.h>.
26440         (__libc_time): New prototype.
26441         (time_ifunc): Replace time with __libc_time.
26442         (time): New strong alias and hidden definition of __libc_time.
26443         (__GI_time): Remove strong alias.
26444         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26445         Include <stddef.h>.
26446         (memmove): Redefined to __redirect_memmove.
26447         (__memmove_sse2): Use typeof __redirect_memmove.
26448         (__memmove_ssse3): Likewise.
26449         (__memmove_ssse3_back): Likewise.
26450         (__libc_memmove): New prototype.
26451         (memmove): Renamed to ...
26452         (__libc_memmove): This.
26453         (memmove): New strong alias of __libc_memmove.
26455 2012-08-08  Mark Salter  <msalter@redhat.com>
26457         * elf/elf.h
26458         (R_MN10300_TLS_GD): Define.
26459         (R_MN10300_TLS_LD): Likewise.
26460         (R_MN10300_TLS_LDO): Likewise.
26461         (R_MN10300_TLS_GOTIE): Likewise.
26462         (R_MN10300_TLS_IE): Likewise.
26463         (R_MN10300_TLS_LE): Likewise.
26464         (R_MN10300_TLS_DTPMOD): Likewise.
26465         (R_MN10300_TLS_DTPOFF): Likewise.
26466         (R_MN10300_TLS_TPOFF): Likewise.
26467         (R_MN10300_SYM_DIFF): Likewise.
26468         (R_MN10300_ALIGN): Likewise.
26469         (R_MN10300_NUM): Update.
26471 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26473         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26474         Remove.
26476 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26478         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26480         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26481         sysdeps/unix -> sysdeps/posix move.
26482         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26484 2012-08-07      Allan McRae     <allan@archlinux.org>
26486         [BZ #14303]
26487         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26488         (SUNOS_CPP): Likewise.
26489         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26490         not found.
26491         (open_input): Call CPP using execvp.
26493 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26495         * sysdeps/unix/sysv/linux/kernel-features.h
26496         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26497         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26498         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26499         (__ASSUME_WAITID_SYSCALL): Likewise.
26500         * sysdeps/unix/sysv/linux/dl-execstack.c
26501         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26502         code unconditional.
26503         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26504         conditional code.
26505         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26506         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26507         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26508         code.
26509         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26510         unconditional.
26511         [__ASSUME_WAITID_SYSCALL]: Likewise.
26512         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26514 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26516         * sysdeps/unix/closedir.c: Renamed to ...
26517         * sysdeps/posix/closedir.c: ... here.
26518         * sysdeps/unix/dirfd.c: Renamed to ...
26519         * sysdeps/posix/dirfd.c: ... here.
26520         * sysdeps/unix/dirstream.h: Renamed to ...
26521         * sysdeps/posix/dirstream.h: ... here.
26522         * sysdeps/unix/fdopendir.c: Renamed to ...
26523         * sysdeps/posix/fdopendir.c: ... here.
26524         * sysdeps/unix/opendir.c: Renamed to ...
26525         * sysdeps/posix/opendir.c: ... here.
26526         * sysdeps/unix/readdir.c: Renamed to ...
26527         * sysdeps/posix/readdir.c: ... here.
26528         * sysdeps/unix/readdir_r.c: Renamed to ...
26529         * sysdeps/posix/readdir_r.c: ... here.
26530         * sysdeps/unix/rewinddir.c: Renamed to ...
26531         * sysdeps/posix/rewinddir.c: ... here.
26532         * sysdeps/unix/seekdir.c: Renamed to ...
26533         * sysdeps/posix/seekdir.c: ... here.
26534         * sysdeps/unix/telldir.c: Renamed to ...
26535         * sysdeps/posix/telldir.c: ... here.
26536         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26537         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26538         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26539         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26541         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26542         * bits/fcntl.h: ... here.
26544         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26545         not 0.
26546         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26547         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26548         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26549         (struct flock): Move l_start, l_len to the beginning.
26550         Use __pid_t for l_pid.
26551         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26552         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26553         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26554         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26555         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26556         [__USE_LARGEFILE64] (struct flock64): New type.
26557         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26559         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26560         * bits/dirent.h: ... here.
26562         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26563         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26565 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26567         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26568         Change from 2.6.0 to 2.6.16.
26569         * sysdeps/unix/sysv/linux/configure: Regenerated.
26570         * sysdeps/unix/sysv/linux/kernel-features.h
26571         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26572         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26573         version.
26574         (__ASSUME_UTIMES): Likewise.
26575         (__ASSUME_CLONE_STOPPED): Remove.
26576         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26577         architectures, not kernel version.
26578         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26579         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26580         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26581         (__ASSUME_WAITID_SYSCALL): Likewise.
26582         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26583         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26584         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26585         refer to older versions.
26587 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26589         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26590         Define alphasort64 as an alias.
26591         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26592         Define versionsort64 as an alias.
26593         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26594         Define scandir64 as an alias.
26595         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26596         Define scandirat64 as an alias.
26597         * dirent/alphasort64.c (alphasort64):
26598         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26599         * dirent/versionsort64.c: Likewise.
26600         * dirent/scandir64.c: Likewise.
26601         * dirent/scandirat64.c: Likewise.
26602         * sysdeps/wordsize-64/alphasort.c: File removed.
26603         * sysdeps/wordsize-64/alphasort64.c: File removed.
26604         * sysdeps/wordsize-64/scandir.c: File removed.
26605         * sysdeps/wordsize-64/scandir64.c: File removed.
26606         * sysdeps/wordsize-64/scandirat.c: File removed.
26607         * sysdeps/wordsize-64/scandirat64.c: File removed.
26608         * sysdeps/wordsize-64/versionsort.c: File removed.
26609         * sysdeps/wordsize-64/versionsort64.c: File removed.
26610         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26611         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26612         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26613         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26614         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26615         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26616         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26617         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26619         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26620         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26621         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26622         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26623         [defined __arch64__ || defined __sparcv9]
26624         (__INO_T_MATCHES_INO64_T): New macro.
26625         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26626         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26627         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26628         * sysdeps/unix/sysv/linux/bits/dirent.h
26629         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26630         (_DIRENT_MATCHES_DIRENT64): New macro.
26632         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26633         Define lockf64 as an alias.
26634         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26635         Define fseeko64 as an alias.
26636         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26637         Define ftello64 as an alias.
26638         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26639         Define _IO_fgetpos64 and fgetpos64 as aliases.
26640         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26641         Define _IO_fsetpos64 and fsetpos64 as aliases.
26642         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26643         Conditionalize body on this.
26644         * libio/fseeko64.c: Likewise.
26645         * libio/ftello64.c: Likewise.
26646         * libio/iofgetpos64.c: Likewise.
26647         * libio/iofsetpos64.c: Likewise.
26648         * sysdeps/wordsize-64/lockf.c: File removed.
26649         * sysdeps/wordsize-64/lockf64.c: File removed.
26650         * sysdeps/wordsize-64/fseeko.c: File removed.
26651         * sysdeps/wordsize-64/fseeko64.c: File removed.
26652         * sysdeps/wordsize-64/ftello.c: File removed.
26653         * sysdeps/wordsize-64/ftello64.c: File removed.
26654         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26655         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26656         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26657         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26658         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26659         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26660         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26661         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26662         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26663         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26664         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26665         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26666         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26667         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26669         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26670         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26671         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26672         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26673         [defined __arch64__ || defined __sparcv9]
26674         (__OFF_T_MATCHES_OFF64_T): New macro.
26675         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26676         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26677         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26678         (__OFF_T_MATCHES_OFF64_T): New macro.
26680 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26682         * stdlib/secure-getenv.c (__secure_getenv): Replace
26683         GLIBC_2_16 with GLIBC_2_17.
26685 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26687         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26688         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26690 2012-08-03  David S. Miller  <davem@davemloft.net>
26692         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26694 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26696         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26697         Remove.
26698         (__ASSUME_CORRECT_SI_PID): Likewise.
26699         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26700         (__ASSUME_TMPFS_NAME): Likewise.
26701         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26702         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26703         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26704         (HAVE_AUX_SECURE): Make definition unconditional.
26705         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26706         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26708 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26710         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26711         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26712         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26713         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26714         __eloop_threshold instead of SYMLOOP_MAX.
26716         * sysdeps/generic/eloop-threshold.h: New file.
26717         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26718         of MAXSYMLINKS.
26719         * elf/chroot_canon.c (chroot_canon): Likewise.
26721 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26723         [BZ #13717]
26724         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26725         Change to 2.6.0 everywhere.
26726         * sysdeps/unix/sysv/linux/configure: Regenerated.
26727         * sysdeps/unix/sysv/linux/kernel-features.h
26728         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26729         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26730         kernel versions.
26731         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26732         (__ASSUME_FUTEX_REQUEUE): Remove.
26733         (__ASSUME_STATFS64): Define unconditionally.
26734         (__ASSUME_AT_SECURE): Likewise.
26735         (__ASSUME_CORRECT_SI_PID): Likewise.
26736         (__ASSUME_TGKILL): Define without depending on kernel version for
26737         i386.
26738         (__ASSUME_UTIMES): Likewise.
26739         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26740         kernel version.
26741         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26742         (__ASSUME_TMPFS_NAME): Likewise.
26743         * README: Update reference to Linux kernel versions.
26745 2012-08-02  Marek Polacek  <polacek@redhat.com>
26747         [BZ# 14150]
26748         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26749         libc_cv_asm_type_prefix with %.
26750         * configure: Regenerated.
26751         * include/libc-symbols.h: Remove comment about
26752         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26753         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26754         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26755         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26756         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26757         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26758         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26759         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26760         * elf/tst-unique2mod1.c: Likewise.
26761         * elf/tst-unique1mod2.c: Likewise.
26762         * elf/tst-unique1mod1.c: Likewise.
26763         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26764         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26765         Replace ASM_TYPE_DIRECTIVE with .type.
26766         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26767         * sysdeps/i386/sysdep.h: Likewise.
26768         * sysdeps/x86_64/sysdep.h: Likewise.
26769         * sysdeps/sh/sysdep.h: Likewise.
26770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26771         Do not define ASM_TYPE_DIRECTIVE.
26772         * sysdeps/powerpc/sysdep.h: Likewise.
26773         * sysdeps/powerpc/powerpc32/sysdep.h:
26774         Replace ASM_TYPE_DIRECTIVE with .type.
26775         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26776         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26777         * sysdeps/i386/fpu/e_powf.S: Likewise.
26778         * sysdeps/i386/fpu/e_expl.S: Likewise.
26779         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26780         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26781         * sysdeps/i386/fpu/e_pow.S: Likewise.
26782         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26783         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26784         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26785         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26786         * sysdeps/i386/fpu/e_log2.S: Likewise.
26787         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26788         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26789         * sysdeps/i386/fpu/e_powl.S: Likewise.
26790         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26791         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26792         * sysdeps/i386/fpu/e_logl.S: Likewise.
26793         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26794         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26795         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26796         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26797         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26798         * sysdeps/i386/fpu/e_log.S: Likewise.
26799         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26800         * sysdeps/i386/fpu/e_logf.S: Likewise.
26801         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26802         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26803         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26804         * sysdeps/i386/fpu/e_log10.S: Likewise.
26805         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26806         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26807         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26808         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26809         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26810         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26811         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26812         * sysdeps/i386/i686/strtok.S: Likewise.
26813         * sysdeps/i386/i386-mcount.S: Likewise.
26814         * sysdeps/i386/strtok.S: Likewise.
26815         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26816         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26817         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26818         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26819         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26820         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26821         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26822         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26823         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26824         * sysdeps/x86_64/_mcount.S: Likewise.
26825         * sysdeps/x86_64/strtok.S: Likewise.
26826         * sysdeps/sh/_mcount.S: Likewise.
26828 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26830         * libio/iofopen.c: Include <fcntl.h>.
26831         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26832         (_IO_fopen64, fopen64): Define as aliases.
26833         * libio/iofopen64.c: Include <fcntl.h>.
26834         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26835         Conditionalize body on this.
26836         * sysdeps/wordsize-64/iofopen.c: File removed.
26837         * sysdeps/wordsize-64/iofopen64.c: File removed.
26839 2012-08-01  Marek Polacek  <polacek@redhat.com>
26841         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26842         Use dlfcn directly instead of a variable.
26843         (binfmt-subdir): Do not define.
26844         (dlfcn): Likewise.
26846 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26848         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26849         Remove all definitions.
26850         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26851         <kernel-features.h>.
26852         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26853         (miss_F_GETOWN_EX): Remove all definitions.
26854         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26855         macro definition.
26856         [!__ASSUME_FCNTL64]: Remove conditional code.
26857         [__ASSUME_FCNTL64]: Make code unconditional.
26858         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26859         <kernel-features.h>.
26860         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26861         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26862         (lockf64) [__NR_fcntl64]: Make code unconditional.
26863         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26865         * sysdeps/unix/sysv/linux/kernel-features.h
26866         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26867         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26868         Make code unconditional.
26869         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26870         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26872         [__NR_vfork]: Make code unconditional.
26873         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26874         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26876         [__NR_vfork]: Make code unconditional.
26877         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26878         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26880 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26882         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26883         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26885         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26886         Define mkstemp64 as an alias.
26887         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26888         Define mkstemps64 as an alias.
26889         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26890         Define mkostemp64 as an alias.
26891         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26892         Define mkostemps64 as an alias.
26893         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26894         Conditionalize body on this.
26895         * misc/mkostemp64.c: Likewise.
26896         * misc/mkostemps64.c: Likewise.
26897         * misc/mkstemps64.c: Likewise.
26898         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26899         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26900         * sysdeps/wordsize-64/mkostemp.c: File removed.
26901         * sysdeps/wordsize-64/mkstemp.c: File removed.
26902         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26903         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26904         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26905         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26907         [BZ #14138]
26908         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26909         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26910         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26911         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26913         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26914         compat_symbol macros from <shlib-compat.h> rather than the underlying
26915         default_symbol_version and symbol_version macros, so that DEFAULT
26916         lines in shlib-versions are respected.
26917         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26919 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26921         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26922         Declare with warn_unused_result.
26923         (setgid, setregid, setegid, setresgid): Likewise.
26924         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26925         Likewise.
26926         * WUR-REPORT: Remove set*id functions.
26928 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26930         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26932 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26934         [BZ #10191]
26935         * include/sys/socket.h (__libc_accept, __libc_accept4):
26936         Add attribute_hidden.
26937         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26939         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26940         use of PTR_MANGLE.
26941         * inet/getnetgrent_r.c (setup): Likewise.
26943         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26945 2012-07-31  David S. Miller  <davem@davemloft.net>
26947         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26949 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26951         [BZ #13629]
26952         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26953         value between 1.0 and 2.0 and smaller part has absolute value less
26954         than 1.0.
26955         * math/s_clog10.c (__clog10): Likewise.
26956         * math/s_clog10f.c (__clog10f): Likewise.
26957         * math/s_clog10l.c (__clog10l): Likewise.
26958         * math/s_clogf.c (__clogf): Likewise.
26959         * math/s_clogl.c (__clogl): Likewise.
26960         * math/libm-test.inc (clog_test): Add more tests.
26961         (clog10_test): Likewise.
26962         * sysdeps/i386/fpu/libm-test-ulps: Update.
26963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26965 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26967         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26968         Exit with zero in case no suitable GID is found, and write a
26969         message to standard error.
26971 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26973         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26974         rather than to 1.
26975         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26976         (MAXPATHLEN): Removed.
26977         (NOGROUP, NODEV): New macros.
26978         (setbit, clrbit, isset, isclr): New macros.
26979         (howmany, roundup, powerof2): New macros.
26980         (DEV_BSIZE): New macro.
26982         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26983         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26985         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26986         definition on [!__NO_LONG_DOUBLE_MATH].
26988         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26989         PTR_MANGLE and PTR_DEMANGLE.
26991         * socket/accept4.c (accept4): Rename to __libc_accept4.
26992         Define accept4 as a weak alias.
26994         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26995         on [_DIRENT_HAVE_D_TYPE].
26996         * io/ftw.c (ftw_dir): Likewise.
26998         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27000         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27002         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27003         Use the BSD numbers rather than the arbitrary ones we had.
27004         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27005         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27006         (SIGXCPU, SIGXFSZ): New macros.
27007         (_NSIG): Now 32.
27009         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27010         initializer on [_LIBC_REENTRANT].
27012         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27013         definitions inside [_POSIX_MAPPED_FILES].
27015         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27017         * dirent/opendir.c: Include <fcntl.h>.
27019         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27020         (__libc_getspecific): Likewise.
27021         (__libc_key_create): Likewise.
27023         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27024         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27025         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27026         (tmpfile64): Define as alias.
27027         * sysdeps/wordsize-64/tmpfile.c: File removed.
27028         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27029         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27030         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27032         * stdio-common/vfscanf.c: Include <stdbool.h>.
27033         * nss/makedb.c: Likewise.
27034         * stdio-common/_i18n_number.h: Likewise.
27035         * argp/argp-help.c: Likewise.
27036         * posix/wordexp.c: Likewise.
27037         * sysdeps/posix/spawni.c: Likewise.
27038         * nss/nss_files/files-initgroups.c: Likewise.
27039         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27040         * nss/nss_files/files-initgroups.c: Likewise.
27041         * nss/nss_db/db-netgrp.c: Likewise.
27042         * nss/nss_db/db-initgroups.c: Likewise.
27043         * io/fchmodat.c: Include <sys/stat.h>.
27045         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27046         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27048         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27049         [HAVE_MMAP].
27051         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27052         Add multiple inclusion protection.
27054 2012-07-27  David S. Miller  <davem@davemloft.net>
27056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27058 2012-07-27  Gary Benson  <gbenson@redhat.com>
27060         [BZ #14298]
27061         * elf/rtld.c: Include <stap-probe.h>.
27062         (dl_main): Added static probes "init_start" and "init_complete".
27063         * elf/dl-load.c: Include <stap-probe.h>.
27064         (lose): Take new parameter "nsid".
27065         Added static probe "map_failed".
27066         (_dl_map_object_from_fd): Pass namespace id to lose.
27067         Added static probe "map_start".
27068         (open_verify): Pass namespace id to lose.
27069         * elf/dl-open.c: Include <stap-probe.h>.
27070         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27071         and "reloc_complete".
27072         * elf/dl-close.c: Include <stap-probe.h>.
27073         (_dl_close_worker): Added static probes "unmap_start" and
27074         "unmap_complete".
27075         * elf/rtld-debugger-interface.txt: New file documenting the above.
27077 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27079         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27080         rather than a string variable.
27081         * sunrpc/rpc_main.c (h_output): Likewise.
27082         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27084 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27086         * inet/check_native.c: New file.
27088 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #13629]
27091         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27092         if larger part has absolute value 1.0.
27093         * math/s_clog10.c (__clog10): Likewise.
27094         * math/s_clog10f.c (__clog10f): Likewise.
27095         * math/s_clog10l.c (__clog10l): Likewise.
27096         * math/s_clogf.c (__clogf): Likewise.
27097         * math/s_clogl.c (__clogl): Likewise.
27098         * math/libm-test.inc (clog_test): Add more tests.
27099         (clog10_test): Likewise.
27100         * sysdeps/i386/fpu/libm-test-ulps: Update.
27101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27103         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27104         (pltexit): Likewise.
27105         (La_regs): Likewise.
27106         (La_retval): Likewise.
27107         (int_retval): Likewise.
27108         Update #error for removed macros to refer only to definitions in
27109         tst-audit.h.
27110         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27111         macro.
27112         (pltexit): Likewise.
27113         (La_regs): Likewise.
27114         (La_retval): Likewise.
27115         (int_retval): Likewise.
27116         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27117         macro.
27118         (pltexit): Likewise.
27119         (La_regs): Likewise.
27120         (La_retval): Likewise.
27121         (int_retval): Likewise.
27122         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27123         macro.
27124         (pltexit): Likewise.
27125         (La_regs): Likewise.
27126         (La_retval): Likewise.
27127         (int_retval): Likewise.
27128         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27129         macro.
27130         (pltexit): Likewise.
27131         (La_regs): Likewise.
27132         (La_retval): Likewise.
27133         (int_retval): Likewise.
27134         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27135         macro.
27136         (pltexit): Likewise.
27137         (La_regs): Likewise.
27138         (La_retval): Likewise.
27139         (int_retval): Likewise.
27140         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27141         macro.
27142         (pltexit): Likewise.
27143         (La_regs): Likewise.
27144         (La_retval): Likewise.
27145         (int_retval): Likewise.
27146         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27147         macro definitions in tst-audit.h.
27148         * sysdeps/i386/tst-audit.h: New file.
27149         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27150         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27151         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27152         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27153         * sysdeps/sh/tst-audit.h: Likewise.
27154         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27155         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27156         * sysdeps/x86_64/tst-audit.h: Likewise.
27158 2012-07-26  Andreas Jaeger  <aj@suse.de>
27160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27161         ptrace.
27163         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27164         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27165         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27166         PTRACE_O_MASK.
27167         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27168         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27169         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27171         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27172         value.
27174         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27175         _sigsys.
27176         (si_call_addr, si_syscall, si_arch): Define new macro.
27177         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27178         _sigsys.
27179         (si_call_addr, si_syscall, si_arch): Define new marcro.
27180         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27181         _sigsys.
27182         (si_call_addr, si_syscall, si_arch): Define new macro.
27183         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27184         _sigsys.
27185         (si_call_addr, si_syscall, si_arch): Define new macro.
27187 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27189         [BZ #13717]
27190         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27191         Change to 2.4.21 where previously 2.4.1.
27192         * sysdeps/unix/sysv/linux/configure: Regenerated.
27193         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27194         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27195         Linux kernel version.
27196         (__ASSUME_STD_AUXV): Remove.
27197         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27198         kernel version.
27199         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27200         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27201         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27202         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27203         (__ASSUME_NETLINK_SUPPORT): Likewise.
27204         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27205         (__no_netlink_support): Remove conditional definition.
27206         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27207         Remove.
27208         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27209         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27210         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27211         (if_nameindex_ioctl): Remove.
27212         (if_nameindex_netlink): Do not handle __no_netlink_support.
27213         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27214         code.
27215         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27216         Remove conditional code.
27217         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27218         code.
27219         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27220         unconditional.
27221         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27222         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27223         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27224         Remove.
27225         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27226         [!__ASSUME_STD_AUXV]: Remove conditional code.
27227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27228         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27229         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27231         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27232         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27233         code.
27234         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27236         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27237         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27238         conditional code.
27239         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27241         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27242         code.
27243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27244         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27245         conditional code.
27246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27247         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27248         code unconditional.
27249         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27250         conditional code.
27251         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27252         unconditional.
27253         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27254         conditional code.
27255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27256         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27257         unconditional.
27258         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27259         conditional code.
27260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27261         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27262         code unconditional.
27263         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27264         conditional code.
27265         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27266         unconditional.
27267         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27268         conditional code.
27269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27270         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27271         code unconditional.
27272         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27273         conditional code.
27274         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27275         unconditional.
27276         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27277         conditional code.
27279 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27281         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27282         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27283         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27284         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27285         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27286         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27287         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27288         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27289         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27290         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27291         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27292         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27293         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27294         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27295         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27296         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27297         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27298         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27299         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27301         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27302         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27303         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27305 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27307         * Versions.def: Add GLIBC_2.17.
27308         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27309         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27310         Introduce __libc_secure_getenv.
27311         * stdlib/Versions (2.17): Add secure_getenv
27312         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27313         * stdlib/secure-getenv.c: Rename __secure_getenv to
27314         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27315         symbol __secure_getenv for GLIBC_2.0.
27316         * stdlib/tst-secure-getenv.c: New.
27317         * stdlib/Makefile (tests): Add testcase.
27318         * manual/startup.texi (Environment Access): Document
27319         secure_getenv.
27320         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27321         __libc_secure_getenv.
27322         * inet/ruserpass.c (ruserpass): Likewise.
27323         * malloc/mtrace.c (mtrace): Likewise.
27324         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27325         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27326         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27327         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27328         HAVE_SECURE_GETENV.
27329         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27330         __secure_getenv to __libc_secure_getenv.
27331         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27333         Likewise.
27334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27335         Likewise.
27336         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27337         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27339         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27340         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27344 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27346         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27347         (struct La_i86_retval): Likewise.
27348         (struct La_x86_64_regs): Likewise.
27349         (struct La_x86_64_retval): Likewise.
27350         (struct La_x32_regs): Likewise.
27351         (struct La_x32_retval): Likewise.
27352         (struct La_ppc32_regs): Likewise.
27353         (struct La_ppc32_retval): Likewise.
27354         (struct La_ppc64_regs): Likewise.
27355         (struct La_ppc64_retval): Likewise.
27356         (struct La_sh_regs): Likewise.
27357         (struct La_sh_retval): Likewise.
27358         (struct La_s390_32_regs): Likewise.
27359         (struct La_s390_32_retval): Likewise.
27360         (struct La_s390_64_regs): Likewise.
27361         (struct La_s390_64_retval): Likewise.
27362         (struct La_sparc32_regs): Likewise.
27363         (struct La_sparc32_retval): Likewise.
27364         (struct La_sparc64_regs): Likewise.
27365         (struct La_sparc64_retval): Likewise.
27366         (struct audit_ifaces): Remove architecture-specific pltenter and
27367         pltexit members.
27368         * sysdeps/i386/ldsodefs.h: New file.
27369         * sysdeps/powerpc/ldsodefs.h: Likewise.
27370         * sysdeps/s390/ldsodefs.h: Likewise.
27371         * sysdeps/sh/ldsodefs.h: Likewise.
27372         * sysdeps/sparc/ldsodefs.h: Likewise.
27373         * sysdeps/x86_64/ldsodefs.h: Likewise.
27375 2012-07-25  Marek Polacek  <polacek@redhat.com>
27377         [BZ #6808]
27378         * math/libm-test.inc (yn_test): Add another test.
27379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27380         to ERANGE when the result is +-Inf.
27381         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27382         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27383         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27384         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27386 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27388         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27389         equal to 0.
27390         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27391         clock_t.
27392         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27394 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27396         * configure.in <sysdeps resolving>: Correct printing
27397         Implies_before.
27398         * configure: Regenerate.
27400 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27402         * math/w_ilogb.c: Include <limits.h>.
27403         * math/w_ilogbl.c: Likewise.
27405 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27407         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27408         va_copy.  Document allowing for unavailable va_copy only as
27409         pre-C99 compatibility.
27410         * manual/string.texi (Copying and Concatenation): Use va_copy
27411         instead of __va_copy in concat example.
27413 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27415         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27416         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27417         it if not null.
27419         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27420         with O_NOLINK passed to __file_name_lookup.
27422         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27423         with O_NOLINK passed to __file_name_lookup.
27425         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27426         negative N or less than NGIDS.
27428         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27429         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27430         enough.  Use memcpy instead of strncpy.
27432 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27434         * elf/Makefile (check-data): Remove.
27435         (localplt.data): New vpath directive.
27436         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27437         instead of $(check-data).
27438         * scripts/data/localplt-generic.data: Move to ...
27439         * sysdeps/generic/localplt.data: ... here.
27440         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27441         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27442         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27444         ... here.
27445         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27447         ... here.
27448         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27450         ... here.
27451         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27453         ... here.
27454         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27455         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27456         ... here.
27457         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27458         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27459         ... here.
27461 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27463         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27464         PPC32 and PPC64 files.
27465         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27466         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27468 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27470         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27471         __makecontext_ret to ...
27472         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27473         ... here and call exit if uc_link is NULL.  New file.
27474         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27475         __makecontext_ret.S.
27476         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27477         __makecontext_ret to ...
27478         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27479         ... here and call exit if uc_link is NULL.  New file.
27480         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27481         __makecontext_ret.S.
27483 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27485         * elf/elf.h (R_390_IRELATIVE): New definition.
27486         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27487         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27488         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27489         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27490         (elf_machine_lazy_rel): Likewise.
27491         * sysdeps/s390/dl-irel.h: New file.
27492         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27493         * sysdeps/s390/s390-64/memset.S: New asm code.
27494         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27495         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27496         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27497         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27498         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27499         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27500         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27501         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27502         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27503         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27504         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27505         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27506         * sysdeps/s390/s390-32/memset.S: New asm code.
27507         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27509 2012-07-17  Marek Polacek  <polacek@redhat.com>
27511         [BZ #14349]
27512         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27513         * sysdeps/s390/s390-64/configure.in: Likewise.
27514         * sysdeps/sparc/configure.in: Likewise.
27515         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27516         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27517         * sysdeps/i386/configure.in: Likewise.
27518         * sysdeps/x86_64/configure.in: Likewise.
27519         * sysdeps/sh/configure.in: Likewise.
27520         * sysdeps/s390/s390-32/configure: Regenerated.
27521         * sysdeps/s390/s390-64/configure: Likewise.
27522         * sysdeps/x86_64/configure: Likewise.
27523         * sysdeps/sh/configure: Likewise.
27524         * sysdeps/powerpc/powerpc64/configure: Likewise.
27525         * sysdeps/powerpc/powerpc32/configure: Likewise.
27526         * sysdeps/sparc/configure: Likwise.
27527         * sysdeps/i386/configure: Likewise.
27529         * elf/dl-open.c: Comment fixes.
27531 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27533         * Makefile [CXX] (check-data): Remove.
27534         [CXX] (c++-types.data): New vpath directive.
27535         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27536         vpath.  Do not allow for C++ type data being missing.
27537         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27538         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27539         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27540         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27541         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27542         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27543         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27545         ... here.
27546         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27548         ... here.
27549         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27551         ... here.
27552         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27554         ... here.
27555         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27556         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27557         ... here.
27558         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27559         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27560         ... here.
27561         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27562         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27563         ... here.
27564         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27565         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27567         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27568         definitions to architecture-specific files.
27569         (TLS_IE): Likewise.
27570         (TLS_LD): Likewise.
27571         (TLS_GD): Likewise.
27572         * sysdeps/i386/tls-macros.h: New file.
27573         * sysdeps/powerpc/tls-macros.h: Likewise.
27574         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27575         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27576         * sysdeps/sh/tls-macros.h: Likewise.
27577         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27578         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27579         * sysdeps/x86_64/tls-macros.h: Likewise.
27581 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27583         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27584         zero value for regular exit case.
27586         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27587         (__start_context): Preserve zero value for regular exit case.
27589 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27590             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27592         * manual/setjmp.texi (setcontext): Clarify normal process
27593         termination when uc_link is the null pointer.
27594         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27595         exit call.
27597 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27599         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27600         preprocessor.  Test for each exception mask separately.
27602 2012-07-16  Andreas Jaeger  <aj@suse.de>
27604         * po/ru.po: Update from translation team.
27606 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27608         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27609         equal to 0.
27610         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27611         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27612         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27613         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27616 2012-07-13  Andreas Jaeger  <aj@suse.de>
27618         * po/fr.po: Update from translation team.
27620 2012-07-12  Marek Polacek  <polacek@redhat.com>
27622         [BZ #14173]
27623         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27624         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27625         loop condition.
27627 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27629         [BZ #13717]
27630         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27631         Change to 2.4.1 where previously 2.4.0.
27632         * sysdeps/unix/sysv/linux/configure: Regenerated.
27633         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27634         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27635         version.
27636         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27637         (__ASSUME_AT_CLKTCK): Remove.
27638         (__ASSUME_AT_PAGESIZE): Likewise.
27639         (__ASSUME_AT_XID): Likewise.
27640         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27641         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27642         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27643         unconditionally.
27644         (HAVE_AUX_PAGESIZE): Likewise.
27645         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27646         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27647         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27649 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27651         [BZ #14307]
27652         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27653         the temporary buffer used to invoke __gethostbyname2_r,
27654         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27655         host_data / struct gaih_addrtuple.
27656         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27657         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27658         header file nss/nsswitch.h.
27659         * nss/nsswitch.h (global scope): Add definition of implementation
27660         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27661         resolv/nss_dns/dns-host.c).
27663 2012-07-11  Andreas Jaeger  <aj@suse.de>
27665         * po/fr.po: Update from translation team.
27667         * po/sv.po: Update from translation team
27668         * po/fr.po: Another update from translation team.
27670 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27672         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27673         for subnormals or multiply small sinh result by itself.
27674         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27677 2012-07-11  David S. Miller  <davem@davemloft.net>
27679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27681 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27683         [BZ #14347]
27684         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27685         (INTERNAL_MARK): Shift it here.
27687 2012-07-10  Marek Polacek  <polacek@redhat.com>
27689         [BZ #14151]
27690         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27691         libc_cv_asm_global_directive with .globl.
27692         * configure: Regenerated.
27693         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27694         with .globl.
27695         * sysdeps/i386/configure: Regenerated.
27696         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27697         with .globl.
27698         * sysdeps/x86_64/configure: Regenerated.
27699         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27700         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27701         * elf/tst-unique2mod2.c: Likewise.
27702         * elf/tst-unique2mod1.c: Likewise.
27703         * elf/tst-unique1mod2.c: Likewise.
27704         * elf/tst-unique1mod1.c: Likewise.
27705         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27706         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27707         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27708         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27709         * sysdeps/mach/sysdep.h: Likewise.
27710         * sysdeps/i386/sysdep.h: Likewise.
27711         * sysdeps/i386/i386-mcount.S: Likewise.
27712         * sysdeps/x86_64/_mcount.S: Likewise.
27713         * sysdeps/x86_64/sysdep.h: Likewise.
27714         * sysdeps/sh/_mcount.S: Likewise.
27715         * sysdeps/sh/sysdep.h: Likewise.
27716         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27717         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27718         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27719         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27720         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27721         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27722         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27723         * locale/localeinfo.h: Likewise.
27724         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27725         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27727 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27729         [BZ #14336]
27730         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27731         system".
27732         * manual/message.texi (The Uniforum approach): Likewise.
27733         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27734         (glibc iconv Implementation): Likewise.
27736 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27738         [BZ #14337]
27739         * math/s_clog.c (__clog): Avoid scaling a value down where that
27740         could result in underflow.
27741         * math/s_clog10.c (__clog10): Likewise.
27742         * math/s_clog10f.c (__clog10f): Likewise.
27743         * math/s_clog10l.c (__clog10l): Likewise.
27744         * math/s_clogf.c (__clogf): Likewise.
27745         * math/s_clogl.c (__clogl): Likewise.
27746         * math/libm-test.inc (clog_test): Add more tests.
27747         (clog10_test): Likewise.
27748         * sysdeps/i386/fpu/libm-test-ulps: Update.
27749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27751 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27753         [BZ #14283]
27754         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27755         by 7 not 8 to examine high bit of fractional part.
27757         [BZ #14042]
27758         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27759         for call to __mcount_internal.
27760         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27761         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27762         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27764 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27766         [BZ #14154]
27767         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27768         approximation for values within 0x1p-13f of an odd multiple of
27769         pi/4.
27770         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27771         exception.  Add more tests.
27772         * sysdeps/i386/fpu/libm-test-ulps: Update.
27774         [BZ #6778]
27775         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27776         inputs and return -1 for them.  Do not check for +Inf in case not
27777         reachable for +Inf.
27778         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27779         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27780         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27781         and return -1 for them.  Do not check for +Inf in case not
27782         reachable for +Inf.
27783         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27784         define.
27785         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27786         and return -1 for them.  Do not check for +Inf in case not
27787         reachable for +Inf.
27788         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27789         spurious underflow.
27790         * sysdeps/i386/fpu/libm-test-ulps: Update.
27791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27793 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27795         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27797 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27799         [BZ #14157]
27800         [BZ #14331]
27801         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27802         could result in spurious underflow.  Scale down values above
27803         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27804         * math/s_csqrtf.c (__csqrtf): Likewise.
27805         * math/s_csqrtl.c (__csqrtl): Likewise.
27806         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27807         spurious underflow.
27808         * sysdeps/i386/fpu/libm-test-ulps: Update.
27809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27811 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27813         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27814         xopen-msg.sed.
27815         * catgets/xopen-msg.awk: New file.
27816         * catgets/xopen-msg.sed: Removed.
27818         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27819         po2text.sed.
27820         * intl/po2test.awk: New file.
27821         * intl/po2test.sed: Removed.
27823 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27825         [BZ #14328]
27826         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27827         or multiply small sinh result by itself.
27828         * math/s_ctanf.c (__ctanf): Likewise.
27829         * math/s_ctanh.c (__ctanh): Likewise.
27830         * math/s_ctanhf.c (__ctanhf): Likewise.
27831         * math/s_ctanhl.c (__ctanhl): Likewise.
27832         * math/s_ctanl.c (__ctanl): Likewise.
27833         * math/libm-test.inc (ctan_test_tonearest): New function.
27834         (ctan_test_towardzero): Likewise.
27835         (ctan_test_downward): Likewise.
27836         (ctan_test_upward): Likewise.
27837         (ctanh_test_tonearest): Likewise.
27838         (ctanh_test_towardzero): Likewise.
27839         (ctanh_test_downward): Likewise.
27840         (ctanh_test_upward): Likewise.
27841         (main): Call these new functions.
27842         * sysdeps/i386/fpu/libm-test-ulps: Update.
27843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27845 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27847         * .gitignore: Delete /ports entry.
27849 2012-07-03  Andreas Jaeger  <aj@suse.de>
27851         * po/bg.po: Update from translation team.
27852         * po/cs.po: Likewise.
27853         * po/de.po: Likewise.
27854         * po/hr.po: Likewise.
27855         * po/nl.pl: Likewise.
27856         * po/pl.po: Likewise.
27857         * po/vi.po: Likewise.
27859 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27861         * Makeconfig [!+link] (+link-before-libc): New variable.
27862         [!+link] (+link-after-libc): Likewise.
27863         [!+link] (+link-tests): Likewise.
27864         [!+link] (+link): Define in terms of $(+link-before-libc) and
27865         $(+link-after-libc).
27866         [!+link-static] (+link-static-before-libc): New variable.
27867         [!+link-static] (+link-static-after-libc): Likewise.
27868         [!+link-static] (+link-static-tests): Likewise.
27869         [!+link-static] (+link-static): Define in terms of
27870         $(+link-static-before-libc) and $(+link-static-after-libc).
27871         [build-shared] (link-libc-before-gnulib): New variable.
27872         [build-shared] (link-libc-tests): Likewise.
27873         [build-shared] (link-libc): Define in terms of
27874         $(link-libc-before-gnulib).
27875         [!build-shared] (link-libc-tests): New variable.
27876         (link-libc-static-tests): New variable.
27877         [!gnulib] (gnulib-arch): New variable.
27878         [!gnulib] (gnulib-tests): Likewise.
27879         [!gnulib] (static-gnulib-arch): Likewise.
27880         [!gnulib] (static-gnulib-tests): Likewise.
27881         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27882         Define with "=" instead of ":=".
27883         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27884         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27885         * Rules (binaries-all-notests): New variable.
27886         (binaries-all-tests): Likewise.
27887         (binaries-static-notests): Likewise.
27888         (binaries-static-tests): Likewise.
27889         (binaries-all): Define using $(binaries-all-notests) and
27890         $(binaries-all-tests).
27891         (binaries-static): Define using $(binaries-static-notests) and
27892         $(binaries-static-tests).
27893         (binaries-shared-tests): New variable.
27894         (binaries-shared-notests): Likewise.
27895         (binaries-shared): Remove variable.
27896         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27897         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27898         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27899         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27900         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27901         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27902         * elf/Makefile (sln-modules): New variable.
27903         (extra-objs): Add $(sln-modules:=.o).
27904         (ldconfig-modules): Add static-stubs.
27905         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27906         * elf/static-stubs.c: New file.
27908         [BZ #14283]
27909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27910         by 7 not 8 to examine high bit of fractional part.  Use volatile
27911         variables when splitting into final array of floats if
27912         __FLT_EVAL_METHOD__ != 0.
27913         * math/libm-test.inc (cos_test): Add another test.
27914         (sin_test): Likewise.
27915         * sysdeps/i386/fpu/libm-test-ulps: Update.
27917         [BZ #14273]
27918         * math/libm-test.inc (cosh_test): Add more tests.
27920         * version.h (RELEASE): Set to "development".
27921         (VERSION): Set to "2.16.90".
27923 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27925         * NEWS: Update copyright. Remove last-updated date.
27926         Mention math library bug fixes and timezone data changes.
27927         * README: Mention GNU/Hurd, x32, and HPPA support status.
27929 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27931         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27933 2012-06-27  Andreas Jaeger  <aj@suse.de>
27935         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27937 2012-06-25  Andreas Jaeger  <aj@suse.de>
27939         * sysdeps/s390/fpu/libm-test-ulps: Update.
27941 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27942             Thomas Schwinge  <thomas@codesourcery.com>
27944         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27945         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27946         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27947         fanotify_mark.
27949 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27951         * sysdeps/mach/start.c: Remove file.
27952         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27953         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27954         * sysdeps/sh/init-first.c: Likewise.
27956         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27957         registers for frame unwinding purposes, add CFI directives.
27958         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27959         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27960         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27961         Likewise.
27963         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27964         __fortify_fail returning.
27965         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27967         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27968         sysdeps/sh/____longjmp_chk.S.
27969         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27970         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27971         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27972         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27974         * sysdeps/sh/abort-instr.h: New file.
27975         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27976         process in case exit returns.
27978         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27979         initialize the GOT register before use.
27981         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27982         calculation of ARGC > 4.
27984         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27985         meaningful names to some local labels.
27987 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27988             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27990         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27991         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27992         (__arch_compare_and_exchange_val_16_acq): Likewise.
27993         (__arch_compare_and_exchange_val_32_acq): Likewise.
27994         (atomic_exchange_and_add): Fix gUSA sequence.
27995         (atomic_add): Likewise.
27996         (atomic_add_negative): Likewise.
27997         (atomic_add_zero): Likewise.
27998         (atomic_bit_test_set): Likewise.
28000 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28002         [BZ #13579]
28003         * include/link.h (struct link_map): Add l_free_initfini.
28004         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28005         l_initfini.
28006         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28007         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28008         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28009         set.
28011 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28013         * configure.in: Use AC_LANG_SOURCE.
28014         * configure: Regenerate.
28016 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28018         * configure.in (libc_cv_localstatedir): New substituted variable.
28019         * configure: Regenerated.
28020         * config.make.in (localstatedir): New variable, substituted from
28021         libc_cv_localstatedir.
28022         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28023         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28024         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28025         * sysdeps/gnu/configure: Regenerated.
28027 2012-06-21  Jeff Law  <law@redhat.com>
28029         [BZ #14277]
28030         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28031         free.  Simplify list management for _LIBC case.
28033 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28035         [BZ #14273]
28036         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28037         Clear sign bit of 64-bit integer value before comparing against
28038         overflow value.
28040         * sysdeps/mach/configure: Regenerated.
28042 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28044         [BZ #14278]
28045         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28047 2012-06-21  Jeff Law  <law@redhat.com>
28049         [BZ #13882]
28050         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28051         uint16_t for elements in the "seen" array to avoid char overflows.
28052         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28053         * elf/dl-open.c (dl_open_worker): Likewise.
28055 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28057         * scripts/list-sources.sh: Scan PORTS for translations.
28058         * po/libc.pot: Regenerated.
28060 2012-06-21  Andreas Jaeger  <aj@suse.de>
28062         [BZ #12194]
28063         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28064         warning.
28065         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28066         * bits/byteswap-16.h (__bswap_16): Likewise.
28067         * bits/byteswap.h (__bswap_constant_16): Likewise.
28069 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28071         [BZ #14117]
28072         * sysdeps/i386/fpu_control.h: Removed.
28073         * sysdeps/x86_64/fpu_control.h: Moved to ...
28074         * sysdeps/x86/fpu_control.h: Here.
28076         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28077         (_FPU_SETCW): Likewise.
28079 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28081         [BZ #14117]
28082         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28083         * sysdeps/x86/fpu/bits/mathinline.h: This.
28084         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28086         [BZ #14050]
28087         [BZ #14117]
28088         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28089         functions if __x86_64__ is defined.
28091 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28093         * string/endian.h: Add !__ASSEMBLER__ condition for including
28094         conversion interfaces.
28096 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28098         [BZ #14241]
28099         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28100         of ABS(x) in calculating zero to negative powers other than odd
28101         integers.
28102         * math/libm-test.inc (pow_test): Add more tests.
28104 2012-06-15  Andreas Jaeger  <aj@suse.de>
28106         * manual/contrib.texi (Contributors): Update entry of Liubov
28107         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28108         Machado Filho.
28110 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28112         * string/string.h: Add __wur to GNU version of strerror_r.
28114 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28116         [BZ #14229]
28117         * string/Makefile (tests): Add tst-strtok_r.
28118         * string/tst-strtok_r.c: New file.
28119         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28120         RAX_LP/RDX_LP on SAVE_PTR.
28122 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28124         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28126 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28128         * libm_test.inc (csqrt_test): Allow more spurious underflow
28129         exceptions.
28130         (j0_test): Likewise.
28131         (j1_test): Likewise.
28132         (y0_test): Likewise.
28133         (y1_test): Likewise.
28135 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28137         * po/Makefile (libc.pot): Use UTF-8 charset.
28139 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28141         [BZ #14210]
28142         Suppress sign-conversion warning from FD_SET.
28143         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28144         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28145         not unsigned long int.
28146         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28148 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28150         [BZ #14050]
28151         [BZ #14117]
28152         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28153         __extern_always_inline instead of __extern_inline.
28154         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28155         (__signbit): Likewise.
28156         (__signbitl): Support C++ namespace.
28157         (lrintf): New inline function.
28158         (lrint): Likewise.
28159         (llrintf): Likewise.
28160         (llrint): Likewise.
28161         (fmaxf): Likewise.
28162         (fmax): Likewise.
28163         (fminf): Likewise.
28164         (fmin): Likewise.
28165         (rint): Likewise.
28166         (rintf): Likewise.
28167         (ceil): Likewise.
28168         (ceilf): Likewise.
28169         (floor): Likewise.
28170         (floorf): Likewise.
28171         (nearbyint): Likewise.
28172         (nearbyintf): Likewise.
28174 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28176         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28177         non-default versions.
28179 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28181         [BZ #14218]
28182         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28184 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28186         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28187         (FE_UPWARD, FE_DOWNWARD): Don't define.
28188         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28189         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28191         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28192         reading it.
28193         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28194         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28196 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28198         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28200         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28201         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28203 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28205         [BZ #14117]
28206         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28207         * sysdeps/i386/fpu/Implies: New file.
28208         * sysdeps/x86_64/fpu/Implies: Likewise.
28209         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28210         * sysdeps/x86/fpu/bits/fenv.h: This.
28212         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28213         __SSE_MATH__.
28215 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28217         [BZ #14134]
28218         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28219         character 0xffff that matches the last element of the
28220         conversion table.
28222 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28224         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28225         fmodl commit.
28227 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28230         values higher than 25.6283.
28232 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28235         subnormal exponent extraction and add some __builtin_expect.
28236         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28237         Fix for subnormal mantissa calculation.
28239 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28241         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28242         cpu2 is -1 and errno is not ENOSYS.
28244 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28246         [BZ #14117]
28247         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28248         * sysdeps/x86/bits/string.h: This.
28249         * sysdeps/x86_64/bits/string.h: Removed.
28251         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28252         if not compiling for x86-64, but compiling for >= i486.
28254         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28255         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28257         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28258         New macro from Linux kernel 3.4.0.
28259         (FP_XSTATE_MAGIC2): Likewise.
28260         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28261         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28262         (struct _fpx_sw_bytes): New struct.
28263         (struct _xsave_hdr): Likewise.
28264         (struct _ymmh_state): Likewise.
28265         (struct _xstate): Likewise.
28267         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28268         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28269         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28270         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28271         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28272         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28274         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28275         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28276         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28277         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28278         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28279         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28281 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28283         [BZ #13743]
28284         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28285         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28286         (sysdep_headers): Include sys/platform/ppc.h.
28287         * sysdeps/powerpc/test-gettimebase.c: Test for
28288         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28289         * manual/Makefile (appendices): Include platform.texi.
28290         * manual/contrib.texi (Contributors): Update @node pointers.
28291         * manual/maint.texi (Maintenance): Likewise.
28292         (Platform): New node.
28293         * manual/platform.texi: New file.  Document the new features.
28295 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28296             Jakub Jelinek  <jakub@redhat.com>
28298         [BZ #14188]
28299         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28300         where __builtin_expect is unavailable.
28302 2012-06-03  David S. Miller  <davem@davemloft.net>
28304         * stdlib/longlong.h: Updated from GCC.
28306 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28308         [BZ #14042]
28309         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28310         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28311         __mcount_internal.
28312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28313         (GLIBC_2.16): Likewise.
28315 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28317         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28319 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28322         (default-abi): New variable.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28324         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28325         variable.
28326         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28327         Likewise.
28328         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28329         Likewise.
28330         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28331         Likewise.
28333         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28334         definition.  Document in comment.
28336 2012-06-01  David S. Miller  <davem@davemloft.net>
28338         * stdlib/longlong.h: Updated from GCC.
28340 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28342         [BZ #14117]
28343         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28344         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28345         sys/debugreg.h sys/io.h here.
28346         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28347         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28348         sys/io.h.
28349         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28350         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28351         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28352         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28353         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28354         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28356         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28357         Define only if __x86_64__ is defined.
28359 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28361         [BZ #14048]
28362         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28363         Use int64_t for variable i.
28364         * math/libm-test.inc (fmod_test): Add more tests.
28366         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28367         z computation is not scheduled after fetestexcept.
28368         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28369         Use math_force_eval instead of asm to ensure calculation scheduled
28370         before exception test.
28371         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28372         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28374 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28376         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28377         computation is not scheduled after fetestexcept.
28379 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28381         [BZ #14117]
28382         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28383         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28385 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28387         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28388         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28390 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28392         [BZ #14117]
28393         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28394         <bits/wordsize.h>.
28395         (__WCHAR_MIN): Support __WORDSIZE == 64.
28396         (__WCHAR_MAX): Likewise.
28398         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28399         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28401         [BZ #14183]
28402         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28403         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28405         [BZ #14117]
28406         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28407         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28409         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28410         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28412         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28413         Defined to 1 if __x86_64__ isn't defined.
28414         (_STAT_VER_LINUX_OLD): New.
28415         (st_atime): Remove duplicate.
28416         (st_mtime): Likewise.
28417         (st_ctime): Likewise.
28419 2012-05-31  David S. Miller  <davem@davemloft.net>
28421         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28422         entries.
28424 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28426         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28427         gen-libm-test.pl.
28429         [BZ #14132]
28430         * elf/dl-reloc.c: Include <_itoa.h>.
28431         (_dl_reloc_bad_type): Remove use of INTUSE.
28432         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28433         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28434         * stdio-common/psiginfo.c (psiginfo): Likewise.
28435         * stdio-common/psignal.c (psignal): Likewise.
28436         * string/strsignal.c (strsignal): Likewise.
28437         * include/signal.h (_sys_siglist): Declare hidden proto.
28438         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28439         INTVARDEF with libc_hidden_data_def.
28440         * stdio-common/itoa-udigits.c: Likewise.
28441         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28442         (_itoa_lower_digits_internal): Remove declaration.
28443         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28444         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28445         (_sys_sigabbrev_internal): Remove aliases.
28446         (_sys_siglist): Define hidden alias.
28448 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28450         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28451         bits/sysctl.h.
28453 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28455         [BZ #14117]
28456         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28457         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28459         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28460         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28461         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28462         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28463         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28464         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28466         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28467         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28468         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28470         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28471         with __addr.
28472         (insw): Likewise.
28473         (insl): Likewise.
28474         (outsb): Likewise.
28475         (outsw): Likewise.
28476         (outsl): Likewise.
28478         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28479         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28482         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28483         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28484         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28485         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28486         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28487         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28489         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28490         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28493         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28495         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28496         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28497         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28499         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28500         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28501         to ...
28502         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28504         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28505         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28506         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28508         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28509         for x86-64.
28510         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28512 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28514         * math/math.h (M_El): Use two more decimal places.
28515         (M_LOG2El): Likewise.
28516         (M_LOG10El): Likewise.
28517         (M_LN2l): Likewise.
28518         (M_LN10l): Likewise.
28519         (M_PIl): Likewise.
28520         (M_PI_2l): Likewise.
28521         (M_PI_4l): Likewise.
28522         (M_1_PIl): Likewise.
28523         (M_2_PIl): Likewise.
28524         (M_2_SQRTPIl): Likewise.
28525         (M_SQRT2l): Likewise.
28526         (M_SQRT1_2l): Likewise.
28528 2012-05-31  David S. Miller  <davem@davemloft.net>
28530         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28531         values between float registers.
28532         * sysdeps/sparc/sparc64/memset.S: Likewise.
28533         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28535 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28537         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28538         -D_FORTIFY_SOURCE=1.
28539         (CPPFLAGS-tst-longjmp_chk.c): Define.
28540         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28541         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28542         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28543         CFLAGS-tst-wchar-h.c.
28545 2012-05-31  Marek Polacek  <polacek@redhat.com>
28547         [BZ #14132]
28548         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28549         __endmntent_internal): Remove declaration.
28550         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28551         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28552         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28554 2012-05-30  David S. Miller  <davem@davemloft.net>
28556         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28557         (___Q_simulate_exceptions): Use real FP ops rather than writing
28558         into the %fsr.
28559         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28560         Likewise.
28562 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28564         [BZ #14117]
28565         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28566         * sysdeps/x86/bits/xtitypes.h: This.
28568         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28569         * sysdeps/x86/bits/wordsize.h: This.
28571         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28572         * sysdeps/x86/bits/huge_vall.h: This.
28574         * sysdeps/i386/bits/select.h: Removed.
28575         * sysdeps/x86_64/bits/select.h: Renamed to ...
28576         * sysdeps/x86/bits/select.h: This.
28578         * sysdeps/i386/bits/setjmp.h: Removed.
28579         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28580         * sysdeps/x86/bits/setjmp.h: This.
28582         * sysdeps/i386/bits/mathdef.h: Removed.
28583         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28584         * sysdeps/x86/bits/mathdef.h: This.
28586 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28588         [BZ #14132]
28589         * include/sys/socket.h (__connect_internal)
28590         (__libc_sa_len_internal): Remove declaration.
28591         (__connect, __libc_sa_len): Declare hidden_proto.
28592         (SA_LEN): Remove use of INTUSE.
28593         * socket/connect.c: Add libc_hidden_def.
28594         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28595         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28596         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28597         alias.
28598         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28599         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28600         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28601         of adding _internal alias.
28603 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28605         [BZ #14117]
28606         * sysdeps/i386/bits/link.h: Removed.
28607         * sysdeps/i386/bits/linkmap.h: Likewise.
28608         * sysdeps/x86_64/bits/link.h: Renamed to ...
28609         * sysdeps/x86/bits/link.h: This.
28610         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28611         * sysdeps/x86/bits/linkmap.h: This.
28613         * sysdeps/i386/bits/endian.h: Removed.
28614         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28615         * sysdeps/x86/bits/endian.h: This.
28617         * sysdeps/i386/bits/byteswap.h: Removed.
28618         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28619         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28620         * sysdeps/x86/bits/byteswap.h: This.
28621         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28622         * sysdeps/x86/bits/byteswap-16.h: This.
28623         * sysdeps/i386/Implies: Add x86.
28624         * sysdeps/x86_64/Implies: Likewise.
28626 2012-05-30  David S. Miller  <davem@davemloft.net>
28628         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28629         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28630         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28631         (FP_TRAPPING_EXCEPTIONS): Define.
28632         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28633         (FP_TRAPPING_EXCEPTIONS): Define.
28634         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28635         subnormals only when inexact has been signalled or underflow
28636         exceptions are enabled.
28637         (_FP_PACK_CANONICAL): Likewise.
28639 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28641         [BZ #14183]
28642         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28643         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28645 2012-05-30  Richard Henderson  <rth@twiddle.net>
28647         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28648         with #ifndef NOT_IN_libc.
28650         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28651         marked to avoid plt entry.
28653 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28655         [BZ #14112]
28656         * Makeconfig (default-abi): New macro.
28657         (abi-includes): Likewise.
28658         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28659         $(abi-$(default-abi)-lib-soname) for soname if defined.
28660         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28661         abi-variants.
28662         * Makefile (installed-stubs): Likewise.
28663         * include/stubs-biarch.h: Removed.
28664         * scripts/lib-names.awk: Only handle one library at a time.
28665         * scripts/soversions.awk: Remove WORDSIZE support.
28666         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28667         entries.
28668         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28669         Removed.
28670         (syscall-list-default-condition): Likewise.
28671         (syscall-list-default-condition): Likewise.
28672         (syscall-list-includes): Likewise.
28673         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28674         syscall-list-* with abi-*.  Handle undefined abi-variants.
28675         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28676         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28677         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28678         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28679         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28680         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28681         Removed.
28682         (syscall-list-32-options): Likewise.
28683         (syscall-list-32-condition): Likewise.
28684         (syscall-list-64-options): Likewise.
28685         (syscall-list-64-condition): Likewise.
28686         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28687         macro.
28688         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28689         Renamed to ...
28690         (abi-*): This.
28691         (abi-64-ld-soname): New macro.
28692         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28693         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28694         Renamed to ...
28695         (abi-*): This.
28696         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28697         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28699 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28701         * sysdeps/unix/sysv/linux/kernel-features.h
28702         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28703         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28704         include <kernel-features.h>.
28705         [!__NR_ftruncate64]: Remove conditional code.
28706         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28707         [__NR_ftruncate64]: Make code unconditional.
28708         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28709         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28710         include <kernel-features.h>.
28711         [!__NR_ftruncate64]: Remove conditional code.
28712         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28713         [__NR_ftruncate64]: Make code unconditional.
28714         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28716         include <kernel-features.h>.
28717         [!__NR_ftruncate64]: Remove conditional code.
28718         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28719         [__NR_ftruncate64]: Make code unconditional.
28720         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28722         include <kernel-features.h>.
28723         [!__NR_ftruncate64]: Remove conditional code.
28724         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28725         [__NR_ftruncate64]: Make code unconditional.
28726         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28728         * configure.in (libc_cv_fpie): Weaken to a compile test using
28729         LIBC_TRY_CC_OPTION.
28730         * configure: Regenerated.
28732 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28738         Refreshed.
28739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28745         Refreshed.
28747 2012-05-27  David S. Miller  <davem@davemloft.net>
28749         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28750         (___Q_zero): New.
28751         (__Q_simulate_exceptions): Return void.  Change to simulate
28752         exceptions by writing into the %fsr.
28753         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28754         (__Qp_handle_exceptions): Likewise.
28755         (numbers): Delete.
28756         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28757         __Qp_handle_exceptions.
28758         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28759         __Qp_handle_exceptions.
28760         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28761         as unused and give dummy FP_RND_NEAREST initializer.
28762         (FP_INHIBIT_RESULTS): Define.
28763         (___Q_simulate_exceptions): Update declaration.
28764         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28765         formatting.
28766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28767         as unused and give dummy FP_RND_NEAREST initializer.
28768         (__Qp_handle_exceptions): Update declaration.
28769         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28770         formatting.
28772 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28774         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28775         the temporary FPU control word.
28776         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28777         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28778         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28779         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28780         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28781         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28782         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28783         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28784         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28785         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28786         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28788 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28790         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28791         fields.
28793 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28795         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28796         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28797         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28798         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28799         Likewise.
28800         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28801         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28802         Likewise.
28804 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28806         * po/h.po: Update from translation team.
28808 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28810         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28812         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28813         handling of denormals.
28814         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28815         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28816         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28817         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28818         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28819         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28820         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28821         Likewise.
28823 2012-05-26  Marek Polacek  <polacek@redhat.com>
28825         [BZ #14152]
28826         * math/libm-test.inc (fma_test): Don't always expect underflow
28827         exception.
28829 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28831         [BZ #12416]
28832         * elf/tst-execstack.c: Include stackinfo.h.
28833         (do_test): Adjust test case to ensure that pthread_getattr_np
28834         behaviour remains the same after marking stack executable.
28836 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28838         * sysdeps/unix/sysv/linux/kernel-features.h
28839         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28840         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28841         kernel-features.h.
28842         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28843         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28844         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28845         kernel-features.h.
28846         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28847         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28849 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28851         * configure.in: Define the default includes to being none.
28852         * configure: Regenerated.
28854 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28856         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28857         * sysdeps/x86_64/setjmp.S: Likewise.
28858         * sysdeps/i386/bsd-setjmp.S: Likewise.
28859         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28860         * sysdeps/i386/setjmp.S: Likewise.
28861         * sysdeps/i386/__longjmp.S: Likewise.
28862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28863         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28865         * include/stap-probe.h: New file.
28866         * configure.in: Handle --enable-systemtap.
28867         * configure: Regenerated.
28868         * config.h.in (USE_STAP_PROBE): New #undef.
28869         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28870         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28871         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28873 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28875         [BZ #13717]
28876         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28877         to 2.4.0 where earlier.
28878         * sysdeps/unix/sysv/linux/configure: Regenerated.
28879         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28880         <kernel-features.h>.
28881         [__ASSUME_32BITUIDS]: Make code unconditional.
28882         [!__ASSUME_32BITUIDS]: Remove conditional code.
28883         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28884         <kernel-features.h>.
28885         [__ASSUME_32BITUIDS]: Make code unconditional.
28886         [!__ASSUME_32BITUIDS]: Remove conditional code.
28887         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28888         [__ASSUME_32BITUIDS]: Make code unconditional.
28889         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28890         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28891         <kernel-features.h>.
28892         [__ASSUME_32BITUIDS]: Make code unconditional.
28893         [!__ASSUME_32BITUIDS]: Remove conditional code.
28894         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28895         <kernel-features.h>.
28896         [__ASSUME_32BITUIDS]: Make code unconditional.
28897         [!__ASSUME_32BITUIDS]: Remove conditional code.
28898         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28899         <kernel-features.h>.
28900         [__ASSUME_32BITUIDS]: Make code unconditional.
28901         [!__ASSUME_32BITUIDS]: Remove conditional code.
28902         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28903         <kernel-features.h>.
28904         [__ASSUME_32BITUIDS]: Make code unconditional.
28905         [!__ASSUME_32BITUIDS]: Remove conditional code.
28906         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28907         <kernel-features.h>.
28908         [__ASSUME_32BITUIDS]: Make code unconditional.
28909         [!__ASSUME_32BITUIDS]: Remove conditional code.
28910         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28911         <kernel-features.h>.
28912         [__ASSUME_32BITUIDS]: Make code unconditional.
28913         [!__ASSUME_32BITUIDS]: Remove conditional code.
28914         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28915         <kernel-features.h>.
28916         [__ASSUME_32BITUIDS]: Make code unconditional.
28917         [!__ASSUME_32BITUIDS]: Remove conditional code.
28918         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28919         <kernel-features.h>.
28920         [__ASSUME_32BITUIDS]: Make code unconditional.
28921         [!__ASSUME_32BITUIDS]: Remove conditional code.
28922         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28923         <kernel-features.h>.
28924         [__ASSUME_32BITUIDS]: Make code unconditional.
28925         [!__ASSUME_32BITUIDS]: Remove conditional code.
28926         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28927         <kernel-features.h>.
28928         [__ASSUME_32BITUIDS]: Make code unconditional.
28929         [!__ASSUME_32BITUIDS]: Remove conditional code.
28930         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28931         <kernel-features.h>.
28932         [__NR_setresgid] (__setresgid): Do not declare.
28933         [__ASSUME_32BITUIDS]: Make code unconditional.
28934         [!__ASSUME_32BITUIDS]: Remove conditional code.
28935         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28936         <kernel-features.h>.
28937         [__NR_setresuid] (__setresuid): Do not declare.
28938         [__ASSUME_32BITUIDS]: Make code unconditional.
28939         [!__ASSUME_32BITUIDS]: Remove conditional code.
28940         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
28941         <kernel-features.h>.
28942         [__ASSUME_32BITUIDS]: Make code unconditional.
28943         [!__ASSUME_32BITUIDS]: Remove conditional code.
28944         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
28945         <kernel-features.h>.
28946         [__ASSUME_32BITUIDS]: Make code unconditional.
28947         [!__ASSUME_32BITUIDS]: Remove conditional code.
28948         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
28949         <kernel-features.h>.
28950         [__ASSUME_32BITUIDS]: Make code unconditional.
28951         [!__ASSUME_32BITUIDS]: Remove conditional code.
28952         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
28953         <kernel-features.h>.
28954         [__ASSUME_32BITUIDS]: Make code unconditional.
28955         [!__ASSUME_32BITUIDS]: Remove conditional code.
28956         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
28957         <kernel-features.h>.
28958         [__ASSUME_32BITUIDS]: Make code unconditional.
28959         [!__ASSUME_32BITUIDS]: Remove conditional code.
28960         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
28961         <kernel-features.h>.
28962         [__ASSUME_32BITUIDS]: Make code unconditional.
28963         [!__ASSUME_32BITUIDS]: Remove conditional code.
28964         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28965         <kernel-features.h>.
28966         [__ASSUME_32BITUIDS]: Make code unconditional.
28967         [!__ASSUME_32BITUIDS]: Remove conditional code.
28968         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28969         <kernel-features.h>.
28970         [__ASSUME_32BITUIDS]: Make code unconditional.
28971         [!__ASSUME_32BITUIDS]: Remove conditional code.
28972         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28973         <kernel-features.h>.
28974         [__ASSUME_32BITUIDS]: Make code unconditional.
28975         [!__ASSUME_32BITUIDS]: Remove conditional code.
28976         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28977         <kernel-features.h>.
28978         [__ASSUME_32BITUIDS]: Make code unconditional.
28979         [!__ASSUME_32BITUIDS]: Remove conditional code.
28980         * sysdeps/unix/sysv/linux/kernel-features.h
28981         (__ASSUME_SETRESUID_SYSCALL): Remove.
28982         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28983         (__ASSUME_32BITUIDS): Likewise.
28984         (__ASSUME_LDT_WORKS): Likewise.
28985         (__ASSUME_O_DIRECTORY): Likewise.
28986         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28987         architecture but not kernel version.
28988         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28989         (__ASSUME_MMAP2_SYSCALL): Likewise.
28990         (__ASSUME_STAT64_SYSCALL): Likewise.
28991         (__ASSUME_IPC64): Likewise.
28992         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28993         <kernel-features.h>.
28994         [__ASSUME_32BITUIDS]: Make code unconditional.
28995         [!__ASSUME_32BITUIDS]: Remove conditional code.
28996         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28997         <kernel-features.h>.
28998         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28999         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29000         132096]: Remove conditional code.
29001         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29002         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29003         <kernel-features.h>.
29004         [__ASSUME_32BITUIDS]: Make code unconditional.
29005         [!__ASSUME_32BITUIDS]: Remove conditional code.
29006         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29007         <kernel-features.h>.
29008         [__ASSUME_32BITUIDS]: Make code unconditional.
29009         [!__ASSUME_32BITUIDS]: Remove conditional code.
29010         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29011         <kernel-features.h>.
29012         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29013         unconditional.
29014         (__setresgid): Do not declare.
29015         [__ASSUME_32BITUIDS]: Make code unconditional.
29016         [!__ASSUME_32BITUIDS]: Remove conditional code.
29017         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29018         <kernel-features.h>.
29019         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29020         unconditional.
29021         (__setresuid): Do not declare.
29022         [__ASSUME_32BITUIDS]: Make code unconditional.
29023         [!__ASSUME_32BITUIDS]: Remove conditional code.
29024         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29025         <kernel-features.h>.
29026         [__ASSUME_32BITUIDS]: Make code unconditional.
29027         [!__ASSUME_32BITUIDS]: Remove conditional code.
29028         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29029         <kernel-features.h>.
29030         [__ASSUME_32BITUIDS]: Make code unconditional.
29031         [!__ASSUME_32BITUIDS]: Remove conditional code.
29033 2012-05-25  Richard Henderson  <rth@twiddle.net>
29035         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29036         dl_hwcap to ifunc resolver.
29037         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29038         elf_ifunc_invoke.
29039         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29040         dl_hwcap to ifunc resolver.
29041         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29043 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29045         [BZ #14153]
29046         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29047         for |x| <= 2**-26, not 2**-57.
29048         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29049         exception.
29051 2012-05-24  Jeff Law  <law@redhat.com>
29053         * stdio-common/Makefile (tests): Add bug25.
29054         * stdio-common/bug25.c: New test.
29056 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29058         [BZ #13576]
29059         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29060         multiple of MALLOC_ALIGNMENT in size.
29061         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29063 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29065         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29066         Require >= 256.
29067         (FILENAME_MAX): Use macro-int-constant.
29068         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29069         (_IOFBF): Use macro-int-constant.
29070         (_IOLBF): Likewise.
29071         (_IONBF): Likewise.
29072         (SEEK_CUR): Likewise.
29073         (SEEK_END): Likewise.
29074         (SEEK_SET): Likewise.
29075         (TMP_MAX): Likewise.
29076         (EOF): Use macro-int-constant.  Require < 0.
29077         (NULL): Use macro-constant.  Require == 0.
29078         (stdin): Require type to be FILE *.
29079         (stdout): Likewise.
29080         (stderr): Likewise.
29081         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29082         macro-int-constant.
29083         (EXIT_SUCCESS): Likewise.
29084         (NULL): Use macro-constant.  Require == 0.
29085         (RAND_MAX): Use macro-int-constant.
29086         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29087         [C99-based standards] (strtof): Require function.
29088         [C99-based standards] (strtold): Likewise.
29089         [C99-based standards] (strtoll): Likewise.
29090         [C99-based standards] (strtoull): Likewise.
29091         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29092         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29093         [ISO || ISO99 || ISO11] (math.h): Likewise.
29094         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29095         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29096         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29098 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29100         [BZ #14132]
29101         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29102         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29103         * intl/dgettext.c (DCGETTEXT): Likewise.
29104         * intl/gettext.c (DCGETTEXT): Likewise.
29105         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29106         * posix/regex_internal.h (gettext): Likewise.
29107         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29108         Remove declaration.
29109         * include/argz.h (__argz_count_internal)
29110         (__argz_stringify_internal): Remove declaration.
29111         (__argz_count, __argz_stringify): Declare hidden proto.
29112         * intl/dcgettext.c: Remove use of INTDEF.
29113         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29114         * string/argz-stringify.c: Likewise.
29115         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29116         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29117         Declare hidden proto.
29118         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29119         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29120         Declare hidden proto.
29121         * include/stdio.h (__asprintf_internal): Don't declare.
29122         (__asprintf): Don't define as macro.  Declare hidden proto.
29123         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29124         (__fsetlocking): Declare hidden proto.
29125         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29126         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29127         hidden proto.
29128         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29129         (_IO_setlinebuf): Remove use of INTUSE.
29130         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29131         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29132         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29133         Remove declaration.
29134         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29135         (_IO_do_flush): Remove use of INTUSE.
29136         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29137         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29138         (_IO_adjust_column, _IO_least_wmarker)
29139         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29140         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29141         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29142         (_IO_default_doallocate, _IO_wdefault_doallocate)
29143         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29144         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29145         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29146         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29147         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29148         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29149         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29150         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29151         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29152         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29153         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29154         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29155         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29156         proto.
29157         (_IO_flush_all_internal, _IO_adjust_column_internal)
29158         (_IO_default_uflow_internal, _IO_default_finish_internal)
29159         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29160         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29161         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29162         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29163         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29164         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29165         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29166         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29167         (_IO_file_close_internal, _IO_file_close_it_internal)
29168         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29169         (_IO_file_init_internal, _IO_file_attach_internal)
29170         (_IO_file_fopen_internal, _IO_file_read_internal)
29171         (_IO_file_sync_internal, _IO_file_seek_internal)
29172         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29173         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29174         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29175         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29176         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29177         (_IO_list_all_internal, _IO_link_in_internal)
29178         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29179         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29180         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29181         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29182         (_IO_do_write_internal, _IO_padn_internal)
29183         (_IO_getline_info_internal, _IO_getline_internal)
29184         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29185         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29186         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29187         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29188         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29189         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29190         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29191         with libc_hidden_ver, remove use of INTUSE.
29192         * libio/genops.c: Likewise.
29193         * libio/freopen.c: Likewise.
29194         * libio/freopen64.c: Likewise.
29195         * libio/iofclose.c: Likewise.
29196         * libio/iofdopen.c: Likewise.
29197         * libio/iofflush.c: Likewise.
29198         * libio/iofflush_u.c: Likewise.
29199         * libio/iofgets.c: Likewise.
29200         * libio/iofgets_u.c: Likewise.
29201         * libio/iofopen.c: Likewise.
29202         * libio/iofopncook.c: Likewise.
29203         * libio/iofread.c: Likewise.
29204         * libio/iofread_u.c: Likewise.
29205         * libio/ioftell.c: Likewise.
29206         * libio/iofwrite.c: Likewise.
29207         * libio/iogetline.c: Likewise.
29208         * libio/iogets.c: Likewise.
29209         * libio/iogetwline.c: Likewise.
29210         * libio/iopadn.c: Likewise.
29211         * libio/iopopen.c: Likewise.
29212         * libio/ioseekoff.c: Likewise.
29213         * libio/ioseekpos.c: Likewise.
29214         * libio/iosetbuffer.c: Likewise.
29215         * libio/iosetvbuf.c: Likewise.
29216         * libio/ioungetc.c: Likewise.
29217         * libio/ioungetwc.c: Likewise.
29218         * libio/iovdprintf.c: Likewise.
29219         * libio/iovsprintf.c: Likewise.
29220         * libio/iovsscanf.c: Likewise.
29221         * libio/memstream.c: Likewise.
29222         * libio/obprintf.c: Likewise.
29223         * libio/oldfileops.c: Likewise.
29224         * libio/oldiofclose.c: Likewise.
29225         * libio/oldiofdopen.c: Likewise.
29226         * libio/oldiofopen.c: Likewise.
29227         * libio/oldiopopen.c: Likewise.
29228         * libio/oldstdfiles.c: Likewise.
29229         * libio/putc.c: Likewise.
29230         * libio/setbuf.c: Likewise.
29231         * libio/setlinebuf.c: Likewise.
29232         * libio/stdfiles.c: Likewise.
29233         * libio/strops.c: Likewise.
29234         * libio/vasprintf.c: Likewise.
29235         * libio/vscanf.c: Likewise.
29236         * libio/vsnprintf.c: Likewise.
29237         * libio/vswprintf.c: Likewise.
29238         * libio/wfiledoalloc.c: Likewise.
29239         * libio/wfileops.c: Likewise.
29240         * libio/wgenops.c: Likewise.
29241         * libio/wmemstream.c: Likewise.
29242         * libio/wstrops.c: Likewise.
29243         * libio/__fpurge.c: Likewise.
29244         * libio/__fsetlocking.c: Likewise.
29245         * assert/assert.c: Likewise.
29246         * debug/fgets_chk.c: Likewise.
29247         * debug/fgets_u_chk.c: Likewise.
29248         * debug/fread_chk.c: Likewise.
29249         * debug/fread_u_chk.c: Likewise.
29250         * debug/gets_chk.c: Likewise.
29251         * debug/obprintf_chk.c: Likewise.
29252         * debug/vasprintf_chk.c: Likewise.
29253         * debug/vdprintf_chk.c: Likewise.
29254         * debug/vsnprintf_chk.c: Likewise.
29255         * debug/vsprintf_chk.c: Likewise.
29256         * malloc/mtrace.c: Likewise.
29257         * misc/error.c: Likewise.
29258         * misc/syslog.c: Likewise.
29259         * stdio-common/asprintf.c: Likewise.
29260         * stdio-common/fxprintf.c: Likewise.
29261         * stdio-common/getw.c: Likewise.
29262         * stdio-common/isoc99_fscanf.c: Likewise.
29263         * stdio-common/isoc99_scanf.c: Likewise.
29264         * stdio-common/isoc99_vfscanf.c: Likewise.
29265         * stdio-common/isoc99_vscanf.c: Likewise.
29266         * stdio-common/isoc99_vsscanf.c: Likewise.
29267         * stdio-common/printf-prs.c: Likewise.
29268         * stdio-common/printf_fp.c: Likewise.
29269         * stdio-common/printf_fphex.c: Likewise.
29270         * stdio-common/printf_size.c: Likewise.
29271         * stdio-common/putw.c: Likewise.
29272         * stdio-common/scanf.c: Likewise.
29273         * stdio-common/sprintf.c: Likewise.
29274         * stdio-common/tmpfile.c: Likewise.
29275         * stdio-common/vfprintf.c: Likewise.
29276         * stdio-common/vfscanf.c: Likewise.
29277         * stdlib/strfmon_l.c: Likewise.
29278         * sunrpc/openchild.c: Likewise.
29279         * sunrpc/xdr_stdio.c: Likewise.
29280         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29281         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29283 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29285         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29287         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29288         in the third column, to generate for the shared library an IFUNC
29289         that uses _dl_vdso_vsym.
29290         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29291         * Makeconfig (object-suffixes-noshared): New variable.
29293         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29294         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29295         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29296         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29298         [BZ #14132]
29299         * include/sys/time.h (__gettimeofday): Remove macro.
29300         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29301         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29302         Remove INTDEF.
29303         (__gettimeofday): Add libc_hidden_def.
29304         (gettimeofday): Add libc_hidden_weak.
29305         * sysdeps/mach/gettimeofday.c: Likewise.
29306         * sysdeps/posix/gettimeofday.c: Likewise.
29307         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29308         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29309         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29310         (__gettimeofday_internal): Remove strong_alias.
29311         (__gettimeofday): Add libc_hidden_def.
29312         (gettimeofday): Add libc_hidden_weak.
29313         * sysdeps/unix/syscalls.list (gettimeofday):
29314         Remove __gettimeofday_internal alias.
29316 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29317             H.J. Lu  <hongjiu.lu@intel.com>
29319         [BZ #12495]
29320         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29321         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29322         (largebin_index_32_big): New.
29323         (largebin_index): Use it for 16-byte alignment.
29324         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29325         correction with front_misalign.
29327 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29331         Likewise.
29332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29333         Likewise.
29334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29335         Likewise.
29336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29337         Likewise.
29338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29339         Likewise.
29340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29341         Likewise.
29342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29343         Likewise.
29344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29345         Likewise.
29346         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29347         Likewise.
29348         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29349         Likewise.
29350         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29351         Likewise.
29352         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29353         Likewise.
29355         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29356         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29358 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29360         [BZ #10846]
29361         [BZ #14036]
29362         * math/libm-test.inc (exp_test): Add test from bug 14036.
29363         (pow_test): Add test from bug 10846.
29365         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29366         and other flags.
29367         (special_function): Do not include flags in test name.
29368         (parse_args): Likewise.
29369         * sysdeps/i386/fpu/libm-test-ulps: Update.
29370         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29371         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29372         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29375         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29376         exceptions.
29377         * math/libm-test.inc ("Philosophy"): Update comment about
29378         exception testing.
29379         (UNDERFLOW_EXCEPTION): New macro.
29380         (UNDERFLOW_EXCEPTION_OK): Likewise.
29381         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29382         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29383         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29384         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29385         (INVALID_EXCEPTION_OK): Update value.
29386         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29387         (OVERFLOW_EXCEPTION_OK): Likewise.
29388         (IGNORE_ZERO_INF_SIGN): Likewise.
29389         (test_exceptions): Handle underflow exceptions.
29390         (acos_test): Update for underflow exception expectations.
29391         (cexp_test): Likewise.
29392         (clog_test): Likewise.
29393         (clog10_test): Likewise.
29394         (csqrt_test): Likewise.
29395         (ctan_test): Likewise.
29396         (ctanh_test): Likewise.
29397         (exp_test): Likewise.
29398         (exp10_test): Likewise.
29399         (exp2_test): Likewise.
29400         (expm1_test): Likewise.
29401         (fma_test): Likewise.
29402         (j0_test): Likewise.
29403         (jn_test): Likewise.
29404         (nexttoward_test): Likewise.
29405         (pow_test): Likewise.
29406         (scalbn_test): Likewise.
29407         (scalbln_test): Likewise.
29408         (tan_test): Likewise.
29409         (y1_test): Likewise.
29410         * sysdeps/i386/fpu/libm-test-ulps: Update.
29411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29413 2012-05-23  David S. Miller  <davem@davemloft.net>
29415         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29416         (__libc_sigaction): Remove unused local variables.
29418 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29420         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29422 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29424         mktime: avoid signed integer overflow
29425         * time/mktime.c (__mktime_internal): Do not mishandle the case
29426         where diff == INT_MIN.
29428         mktime: simplify computation of average
29429         * time/mktime.c (ranged_convert): Use new time_t_avg function
29430         instead of rolling our own (probably-slower) code.
29432         mktime: do not assume signed right shift propagates sign bit
29433         * time/mktime.c (isdst_differ): New static function.
29434         (__mktime_internal): No need to normalize tm_isdst now.
29435         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29436         tm_isdst values.
29438         mktime: merge another wrapv change from gnulib
29439         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29440         from some compilers.
29442         mktime: remove incorrect attempt at unusual arithmetics
29443         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29444         The code didn't really work on such machines anyway.
29445         (TYPE_MINIMUM): Assume two's complement.
29446         (twos_complement_arithmetic): Verify that long_int and time_t
29447         are two's complement (or unsigned, in the latter case).
29449         mktime: check signed shifts on long_int and time_t, too
29450         * time/mktime.c (SHR): Check that shifts work as desired
29451         on the types long_int and time_t too, as SHR is used on
29452         such types.
29454         mktime: do not assume 'long' is wide enough
29455         * time/mktime.c (verify): Move decl up.
29456         (long_int): New type.
29457         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29458         to remove assumption in the code that 'long' is wide enough to
29459         store year values.  This assumption is not true on x32 and on
29460         some non-glibc platforms.
29462         mktime: merge wrapv change from gnulib
29463         * time/mktime.c (WRAPV): New macro.
29464         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29465         (guess_time_tm, __mktime_internal): Do not assume that signed
29466         integer overflow wraps around; modern compilers generate code
29467         where this assumption is no longer valid.
29469 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29471         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29472         Replace "jmp L(pseudo_end)" with "ret".
29473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29474         Likewise.
29476 2012-05-23  Andreas Jaeger  <aj@suse.de>
29478         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29479         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29481 2012-05-23  Andreas Jaeger  <aj@suse.de>
29482             Maximilian Attems  <max@stro.at>
29484         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29485         New macros.
29487 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29489         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29490         code so that pseudo_end is just ret and the stack pointer is
29491         correct also for static library in error case.
29493 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29495         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29496         move to syscalls.list.
29497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29502         * manual/install.texi (Running make install): Do not mention Linux
29503         kernel version for which pt_chown is not needed.
29504         (Linux): Do not mention problems with nscd with 2.0 kernels.
29505         * INSTALL: Regenerated.
29507 2012-05-23  Andreas Jaeger  <aj@suse.de>
29509         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29510         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29511         macro.
29512         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29513         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29514         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29515         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29516         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29517         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29519         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29520         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29521         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29522         * sysdeps/unix/sysv/linux/bits/in.h
29523         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29525 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29527         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29528         (PREPARE_VERSION): Just use assert instead, it will be elided
29529         under [NDEBUG] anyway.
29531 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29533         * sysdeps/unix/sysv/linux/Makefile: Include
29534         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29535         (sysdep_routines): Remove sysctl.
29536         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29537         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29538         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29539         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29540         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29542 2012-05-22  Andreas Jaeger  <aj@suse.de>
29544         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29545         that pseudo_end is just ret and the stack pointer is correct also
29546         for static library in error case.
29548 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29550         [BZ #14122]
29551         * nss/nsswitch.c (defconfig_entries): New variable.
29552         (__nss_database_lookup): Don't leak defconfig entries.
29553         (nss_parse_service_list): Don't leak on error paths.
29554         (free_database_entries): New function.
29555         (free_defconfig): New function.
29556         (free_mem): Move common code to free_database_entries.
29558 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29560         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29561         Add arch_prctl.
29562         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29564         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29565         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29566         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29567         New macro.
29568         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29569         (INTERNAL_SYSCALL_TYPES): Likewise.
29570         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29571         (LOAD_REGS_TYPES_[1-6]): Likewise.
29572         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29573         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29575 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29577         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29578         copysignl for GLIBC_2_0.
29579         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29580         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29581         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29582         logbl for GLIBC_2_0.
29583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29584         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29586 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29588         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29589         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29591         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29592         Use "neg %eax".
29594         * time/mktime.c: Update copyright years.
29596 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29598         mktime: merge comment-quoting-style change from gnulib
29599         * time/mktime.c: Quote 'like this' in comments.
29600         The GNU coding standards suggest that we no longer quote `like this',
29601         as "`" and "'" are typically rendered asymmetrically nowadays.
29602         The typical gnulib style is to quote 'like this' when quoting
29603         code, and "like this" when quoting English.
29605         * time/mktime.c (compile-command): Add "-I.".
29607         mktime: merge mktime-internal.h change from gnulib
29608         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29610         mktime: merge time_r change from gnulib
29611         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29613         mktime: merge DEBUG change from gnulib
29614         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29615         case system <time.h> has a #define.
29617         mktime: merge <sys/types.h> change from gnulib
29618         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29619         since <time.t> is now guaranteed to define time_t.
29621         mktime: merge HAVE_CONFIG_H change from gnulib
29622         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29624 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29626         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29627         Use "neg %eax".
29629         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29630         __rlim_t cast.
29631         (struct rusage): Use anonymous union to pad each field to
29632         __syscall_slong_t.
29634 2012-05-21  David S. Miller  <davem@davemloft.net>
29636         * Makefules (o-iterator): Remove .s cases.
29637         (compile-command.s): Delete.
29638         (COMPILE.s): Delete.
29639         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29641 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29643         * configure.in (libc_cv_predef_stack_protector): Only consider
29644         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29645         * configure: Regenerated.
29647 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29649         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29650         New macro.  Use R*LP on int and pointer.
29651         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29652         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29653         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29654         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29656         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29657         [__WORDSIZE_TIME64_COMPAT32] instead of
29658         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29659         (struct utmp): Likewise.
29660         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29661         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29662         Renamed to ...
29663         (__WORDSIZE_TIME64_COMPAT32): This.
29664         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29665         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29666         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29667         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29668         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29669         (__WORDSIZE_TIME64_COMPAT32): New macro.
29671 2012-05-21  Andreas Jaeger  <aj@suse.de>
29673         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29674         only if [SHARED]. Add prototype for __wcschr_ia32.
29676 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29678         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29679         of %rbp unmolested in the jmp_buf while mangling the low bits.
29680         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29681         unmolested high bits of %rbp while demangling the low bits.
29682         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29684 2012-05-21  Andreas Jaeger  <aj@suse.de>
29686         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29687         * sunrpc/svc_simple.c: Use it for registerrpc.
29688         * sunrpc/xcrypt.c: Use it for passwd2des.
29690         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29692 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29694         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29695         Don't define if [__SYSCALL_WORDSIZE != 32].
29696         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29697         New macro.
29699 2012-05-21  Bruno Haible  <bruno@clisp.org>
29700             Andreas Jaeger  <aj@suse.de>
29702         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29703         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29704         inptr and inend for must_buffer_ch.
29705         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29706         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29707         * stdio-common/Makefile (tests): Remove bug15.
29708         (bug15-ENV): Remove macro.
29709         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29710         anymore.
29712 2012-05-19  Andreas Jaeger  <aj@suse.de>
29713             Roland McGrath  <roland@hack.frob.com>
29715         * manual/contrib.texi: Completely rewritten. It contains now an
29716         alphabetical list of contributors and their contributions.
29718 2012-05-21  Richard Henderson  <rth@twiddle.net>
29720         * misc/getauxval.c (__getauxval): Use unsigned long int.
29721         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29722         (getauxval): Use unsigned long int.
29724 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29726         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29728 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29730         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29731         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29732         __alignof__ (long double).
29734 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29738 2012-05-20  Richard Henderson  <rth@twiddle.net>
29740         * misc/getauxval.c: New file.
29741         * misc/sys/auxv.h: New file.
29742         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29743         (routines): Add getauxval.
29744         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29745         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29746         * elf/dl-sysdep.c (_dl_auxv): Remove.
29747         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29748         * elf/dl-support.c (_dl_auxv): New variable.
29749         (_dl_aux_init): Initialize it.
29750         * manual/startup.texi (Auxiliary Vector): New node.
29751         * sysdeps/generic/bits/hwcap.h: New file.
29752         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29753         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29754         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29755         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29756         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29757         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29759         Update.
29760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29761         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29763         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29766         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29767         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29769 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29773 2012-05-19  David S. Miller  <davem@davemloft.net>
29775         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29777 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29779         [BZ #14123]
29780         * math/s_ccosh.c: Include <float.h>
29781         (__ccosh): Avoid internal overflow calculating sinh and cosh
29782         values before multiplying by sin and cos values.
29783         * math/s_ccoshf.c: Likewise.
29784         * math/s_ccoshl.c: Likewise.
29785         * math/s_csin.c: Likewise.
29786         * math/s_csinf.c: Likewise.
29787         * math/s_csinl.c: Likewise.
29788         * math/s_csinh.c: Likewise.
29789         * math/s_csinhf.c: Likewise.
29790         * math/s_csinhl.c: Likewise.
29791         * math/libm-test.inc (ccos_test): Add more tests.
29792         (ccosh_test): Likewise.
29793         (csin_test): Likewise.
29794         (csinh_test): Likewise.
29795         * sysdeps/i386/fpu/libm-test-ulps: Update.
29796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29798 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29800         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29801         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29803         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29805 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29807         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29808         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29809         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29810         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29811         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29812         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29813         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29814         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29815         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29816         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29817         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29818         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29819         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29820         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29821         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29822         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29823         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29824         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29825         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29826         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29827         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29828         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29829         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29830         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29831         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29832         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29833         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29834         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29835         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29836         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29837         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29839 2012-05-18  Andreas Jaeger  <aj@suse.de>
29841         * csu/.gitignore: Delete.
29843 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29845         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29846         (timex): Use __syscall_slong_t.
29848 2012-05-18  Andreas Jaeger  <aj@suse.de>
29849             Carlos O'Donell  <carlos_odonell@mentor.com>
29851         * manual/install.texi (Configuring and compiling): Update
29852         description about files modified in the source directory.
29853         * INSTALL: Regenerated.
29855 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29857         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29858         value.  Use "or" to set return value to -1.
29859         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29860         negate return value.
29862 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29864         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29865         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29866         failure if the compiler has Graphite support disabled.
29867         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29868         Likewise.
29869         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29870         (CFLAGS-memmove.c): Likewise.
29871         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29872         Likewise.
29874 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29876         * sysdeps/x86_64/x32/_itoa.h: New file.
29878         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29879         getdents system call only if kernel and user dirents have the
29880         same d_ino and d_off.
29882         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29883         LLONG_MAX != LONG_MAX.
29884         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29885         (_fitoa_word): Likewise.
29887         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29888         years.
29889         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29890         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29891         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29893         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29894         include <bits/wordsize.h>.  Check __x86_64__ instead of
29895         __WORDSIZE.
29896         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29897         if __x86_64__ is defined.  Use anonymous union on fpstate.
29899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29900         anonymous union.
29902 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29904         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29905         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29906         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29907         Refer to _rtld_local_ro instead of _rtld_global_ro.
29908         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29909         Likewise.
29910         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29911         Likewise.
29912         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29913         Likewise.
29914         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29915         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29916         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29918         * sysdeps/powerpc/powerpc32/dl-machine.c
29919         (__elf_machine_runtime_setup) [PROF]: Don't reference
29920         _dl_prof_resolve.
29922 2012-05-18  Andreas Jaeger  <aj@suse.de>
29924         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29925         function only available for GCCs before 3.4 since GCC 3.4
29926         introduced a builtin.
29927         (lrint): Likewise.
29928         (llrintf): Likewise.
29929         (llrint): Likewise.
29930         (fmaxf): Likewise.
29931         (fmax): Likewise.
29932         (fminf): Likewise.
29933         (fmin): Likewise.
29934         (rint): Likewise.
29935         (rintf): Likewise.
29936         (nearbyint): Likewise.
29937         (nearbyintf): Likewise.
29938         (ceil): Likewise.
29939         (ceilf): Likewise.
29940         (floor): Likewise.
29941         (floorf): Likewise.
29943 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29945         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29946         on both fields and cast pointer to __syscall_ulong_t.
29948         * bits/types.h (__fsword_t): New type.
29949         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29950         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29951         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29952         (__FSWORD_T_TYPE): Likewise.
29953         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29954         (__FSWORD_T_TYPE): Likewise.
29955         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29956         (__FSWORD_T_TYPE): Likewise.
29957         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29958         (__FSWORD_T_TYPE): Likewise.
29959         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29960         __SWORD_TYPE with __fsword_t.
29961         (statfs64): Likewise.
29963 2012-05-17  David S. Miller  <davem@davemloft.net>
29965         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29967 2012-05-17  Andreas Jaeger  <aj@suse.de>
29969         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29970         warning.
29972 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29974         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29976 2012-05-17  Andreas Jaeger  <aj@suse.de>
29978         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29979         when it is used.
29981 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29983         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29985 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29987         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29988         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29990 2012-05-17  Andreas Jaeger  <aj@suse.de>
29991             Carlos O'Donell  <carlos_odonell@mentor.com>
29993         [BZ #14059]
29994         * sysdeps/x86_64/multiarch/init-arch.h
29995         (bit_YMM_Usable): Rename to...
29996         (bit_AVX_Usable): ... this.
29997         (bit_FMA4_Usable): New macro.
29998         (bit_XMM_state): New macro.
29999         (bit_YMM_state): New macro.
30000         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30001         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30002         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30003         (CPUID_OSXSAVE): New macro.
30004         (CPUID_AVX): New macro.
30005         (CPUID_FMA4): New macro.
30006         (index_YMM_Usable): Rename to...
30007         (index_AVX_Usable): ... this.
30008         (HAS_AVX): Use HAS_ARCH_FEATURE.
30009         (HAS_FMA4): Likewise.
30010         (HAS_YMM_USABLE): Remove.
30011         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30012         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30013         are present.
30014         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30015         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30016         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30017         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30018         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30020 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30022         * math/libm-test.c: Support platforms without multiple rounding modes.
30023         * math/bug-nextafter.c: Support platforms without FP exceptions.
30024         * math/bug-nexttoward.c: Likewise.
30025         * math/test-fenv.c: Likewise.
30026         * math/test-misc.c: Likewise.
30027         * stdlib/bug-getcontext.c: Likewise.
30029 2012-05-17  Andreas Jaeger  <aj@suse.de>
30031         * manual/examples/search.c (critter_cmp): Change signature to
30032         avoid warnings.
30033         * manual/string.texi (Collation Functions): Likewise.
30035 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30037         * bits/types.h: Fold copyright years.
30038         * bits/typesizes.h: Likewise.
30039         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30040         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30041         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30042         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30043         * time/time.h: Likewise.
30045 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30047         [BZ #208]
30048         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30049         in instead of returning them.  Return void.
30050         (__libc_mallinfo): Accumulate over all arenas.
30051         (__malloc_stats): Adjust for change in int_mallinfo interface.
30053 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30055         [BZ #10375]
30056         * configure.in (NM): Add AC_CHECK_TOOL for it.
30057         (libc_extra_cflags): New substituted variable.
30058         Check for -fstack-protector being used implicitly.
30059         * configure: Regenerated.
30060         * config.make.in (config-extra-cflags): New variable,
30061         gets @libc_extra_cflags@.
30062         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30064         [BZ #10375]
30065         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30066         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30067         * configure: Regenerated.
30068         * config.make.in (CPPUNDEFS): New substituted variable.
30069         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30070         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30071         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30073 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30075         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30076         (mq_attr): Use __syscall_slong_t.
30078 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30080         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30081         Check __x86_64__ instead of __WORDSIZE.
30082         (_STAT_VER_LINUX): Likewise.
30083         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30084         __syscall_ulong_t and __syscall_slong_t.
30085         (stat64): Likewise.
30087 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30089         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30091 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30093         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30095 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30097         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30098         __syscall_ulong_t.
30100         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30101         include <bits/wordsize.h>.  Check __x86_64__ instead of
30102         __WORDSIZE.
30103         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30104         defined.
30105         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30107         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30108         include <bits/wordsize.h>.  Check __x86_64__ instead of
30109         __WORDSIZE.
30110         (user_regs_struct): Use "__extension__ unsigned long long"
30111         instead of "unsigned long" if __x86_64__ is defined.
30112         (user): Likewise.  Pad after pointer field if __ILP32__ is
30113         defined.
30115 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30117         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30118         versions 5 to 9.
30119         * configure: Regenerated.
30120         * manual/install.texi (texinfo): Increase version requirement to
30121         4.5 or later.
30122         * INSTALL: Regenerated.
30124         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30126 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30128         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30130         * sysdeps/x86_64/x32/ffs.c: New file.
30132         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30133         __syscall_ulong_t.
30134         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30135         defined.  Use __syscall_ulong_t.
30136         (shminfo): Use __syscall_ulong_t.
30137         (shm_info): Likewise.
30139         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30140         __syscall_ulong_t.
30142         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30143         <bits/wordsize.h>.
30144         (msgqnum_t): Use __syscall_ulong_t.
30145         (msglen_t): Likewise.
30146         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30147         __syscall_ulong_t.
30149         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30150         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30152         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30154         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30155         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30157         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30158         __syscall_slong_t.
30160         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30161         include <bits/wordsize.h>.  Check __x86_64__ instead of
30162         __WORDSIZE.
30164         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30165         "unsigned long long int" if __x86_64__ is defined.
30166         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30168         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30169         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30170         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30172         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30173         <stdint.h>.
30174         (GET_PC): Cast to uintptr_t first.
30175         (GET_FRAME): Likewise.
30176         (GET_STACK): Likewise.
30178         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30179         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30180         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30181         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30182         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30183         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30184         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30185         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30186         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30187         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30188         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30189         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30190         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30191         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30192         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30193         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30194         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30195         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30196         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30197         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30198         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30199         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30200         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30201         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30202         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30203         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30204         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30205         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30206         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30208 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30210         * Makerules (+depfiles): Also collect depfiles from .oS in
30211         $(extra-objs).
30212         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30213         .oS, $(libnldbl-routines)).
30215         * Makerules (native-compile-mkdep-flags): Define.
30216         * sunrpc/Makefile (extra-objs): Add $(addprefix
30217         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30218         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30219         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30220         calling $(make-target-directory).
30222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30224         * bits/types.h (__snseconds_t): Removed.
30225         * time/time.h (struct timespec): Replace __snseconds_t with
30226         __syscall_slong_t.
30227         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30228         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30229         Likewise.
30230         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30231         (__SNSECONDS_T_TYPE): Likewise.
30232         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30233         (__SNSECONDS_T_TYPE): Likewise.
30234         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30235         (__SNSECONDS_T_TYPE): Likewise.
30237 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30239         * sysdeps/mach/hurd/bits/typesizes.h
30240         (__SYSCALL_SLONG_TYPE): New macro.
30241         (__SYSCALL_ULONG_TYPE): Likewise.
30243 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30245         * bits/types.h (__syscall_slong_t): New type.
30246         (__syscall_ulong_t): Likewise.
30248         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30249         (__SYSCALL_ULONG_TYPE): Likewise.
30250         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30251         (__SYSCALL_SLONG_TYPE): Likewise.
30252         (__SYSCALL_ULONG_TYPE): Likewise.
30253         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30254         (__SYSCALL_SLONG_TYPE): Likewise.
30255         (__SYSCALL_ULONG_TYPE): Likewise.
30256         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30257         (__SYSCALL_SLONG_TYPE): Likewise.
30258         (__SYSCALL_ULONG_TYPE): Likewise.
30260 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30262         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30263         Add sigaltstack-offsets.sym.
30264         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30265         <sigaltstack-offsets.h>.
30266         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30267         longjmp_msg pointer.
30268         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30269         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30270         signal stack.
30271         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30273 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30275         * elf/stackguard-macros.h: Remove file.
30276         * sysdeps/generic/stackguard-macros.h: New file.
30277         * sysdeps/i386/stackguard-macros.h: Likewise.
30278         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30279         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30280         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30281         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30282         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30283         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30284         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30285         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30286         <elf/stackguard-macros.h>.
30288         [BZ #14109]
30289         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30290         __aligned__ in attribute.
30291         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30292         (gregset_t): Likewise.
30294 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30296         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30297         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30298         * sysdeps/x86_64/x32/Implies-after: New file.
30300 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30302         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30303         and access return value for _dl_profile_fixup.  Use R10_LP to
30304         load frame size.
30306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30308         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30312         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30313         * sysdeps/x86_64/x32/sysdep.h: New file.
30315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30317         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30318         * sysdeps/x86_64/setjmp.S: Likewise.
30320 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30322         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30323         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30324         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30325         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30326         remove unused global constant.
30328 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30330         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30331         include of <not-cancel.h>.
30333 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30335         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30337 2012-05-15  Jeff Law  <law@redhat.com>
30338             Andreas Jaeger  <aj@suse.de>
30340         [BZ #13594]
30341         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30342         out from...
30343         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30344         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30345         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30346         code changing __hst_map_handle.map.
30348 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30350         * configure.in (sysnames): Look for Implies-before and Implies-after
30351         files.
30352         * configure: Regenerated.
30354 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30356         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30357         8-byte data alignment with LP_SIZE alignment.
30359 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30361         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30362         into R10_LP.
30364 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30366         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30370         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30371         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30372         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30373         Likewise.
30374         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30378         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30379         (stackinfo_sub_sp): Likewise.
30381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30383         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30384         RAX_LP.
30386 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30388         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30389         into R*_LP.
30391 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30393         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30394         sizes into R*_LP.
30396 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30398         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30400 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30402         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30403         into R11_LP and load __x86_64_shared_cache_size_half into
30404         R8_LP.
30406 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30408         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30409         R8_LP.
30411 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30414         logb for POWER7.
30415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30416         logbf for POWER7.
30417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30418         logbl for POWER7.
30419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30420         powerpc32/power7/fpu/s_logb.c via #include.
30421         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30422         powerpc32/power7/fpu/s_logbf.c via #include.
30423         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30424         powerpc32/power7/fpu/s_logbl.c via #include.
30426 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30428         * README.libm: Remove file.
30430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30432         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30433         count for x32.  Use R*_LP and omit operand-size suffix.
30435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30437         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30438         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30439         * sysdeps/x86_64/x32/shlib-versions: New file.
30441 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30443         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30444         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30445         Use _dl_fatal_printf instead.
30447 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30449         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30450         set if not set by the user.  Do not allow for being unset.
30451         * sysdeps/unix/sysv/linux/configure: Regenerated.
30453 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30455         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30456         the `q' suffix from lea and replace .quad with ASM_ADDR.
30458 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30461         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30462         instead of $17.
30463         (PTR_DEMANGLE): Likewise.
30465 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30467         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30468         (LP_OP): Likewise.
30469         (ASM_ADDR): Likewise.
30470         (RAX_LP): Likewise.
30471         (RBP_LP): Likewise.
30472         (RBX_LP): Likewise.
30473         (RCX_LP): Likewise.
30474         (RDI_LP): Likewise.
30475         (RSI_LP): Likewise.
30476         (RSP_LP): Likewise.
30477         (R8_LP): Likewise.
30478         (R9_LP): Likewise.
30479         (R10_LP): Likewise.
30480         (R10_LP): Likewise.
30481         (R11_LP): Likewise.
30482         (R12_LP): Likewise.
30483         (R13_LP): Likewise.
30484         (R14_LP): Likewise.
30485         (R15_LP): Likewise.
30487 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30489         * sysdeps/x86_64/x32/dl-machine.h: New file.
30491 2012-05-14  Andreas Jaeger  <aj@suse.de>
30493         * manual/Makefile (subdir): Remove export of subdir.
30494         (all): Remove target.
30495         (.PHONY): Remove all from list.
30496         (mkinstalldirs): Remove.
30497         (.PHONY): Remove installdirs from list.
30498         ($(inst_infodir)/libc.info): Use make-target-directory.
30499         (installdirs): Remove.
30500         (subdir_%): Remove.
30501         (glibc-targets): Remove.
30502         (lib): Remove.
30503         (stubs): Remove.
30504         ($(objpfx)stubs ../po/manual.pot): Remove.
30505         ($(objpfx)stamp%): Remove.
30506         (make-target-directory): Remove.
30507         (subdir_install): Remove.
30508         (routines): Remove.
30509         (aux): Remove.
30510         (sources): Remove.
30511         (objects): Remove.
30512         (headers): Remove.
30514         [BZ #13750]
30515         * manual/.gitignore: Remove, it's not needed anymore.
30516         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30517         all files in it.
30518         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30519         directory.
30520         (texis): Renamed to $(objpfx)texis.
30521         (texis-path): New, contains path to generated files.
30522         (chapters.%): Use texis-path for complete path, add extra argument
30523         libc-texinfo.sh.
30524         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30525         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30526         (summary,texi, stamp-summary): Use complete path of
30527         files. Generate files in build dir.
30528         (dir-add.texi): Build in build dir.
30529         (libm-err.texi,stamp-libm-err): Likewise.
30530         (version.texi, stamp-version): Likewise.
30531         (.%c.texi): Likewise.
30532         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30533         (mostlyclean): Remove target.
30534         (realclean): Remove target.
30535         (generated): Add new variable with contents from mostlyclean and
30536         realclean, remove entries duplicated in common-mostlyclean, add
30537         stamp-libm-err and stamp-version.
30538         (generated-dirs): Add libc directory.
30539         ($(inst_infodir)/libc.info): Install files from build dir.
30541         * manual/install.texi (Configuring and compiling): Adjust since
30542         the info files are not part of the tar ball anymore.
30544 2012-05-14  Andreas Jaeger  <aj@suse.de>
30546         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30547         variable.
30549 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30551         [BZ #13717]
30552         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30553         to 2.2.0 where earlier.
30554         * sysdeps/unix/sysv/linux/configure: Regenerated.
30555         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30556         Remove conditional code.
30557         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30558         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30559         Remove conditional code.
30560         [!__NR_lchown]: Likewise.
30561         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30562         [__NR_lchown]: Likewise.
30563         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30564         comment referencing __ASSUME_LCHOWN_SYSCALL.
30565         * sysdeps/unix/sysv/linux/i386/sigaction.c
30566         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30567         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30568         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30569         Remove conditional code.
30570         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30571         (__protocol_available): Remove #if 0 code.
30572         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30573         conditional code.
30574         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30575         * sysdeps/unix/sysv/linux/kernel-features.h
30576         (__ASSUME_GETCWD_SYSCALL): Don't define.
30577         (__ASSUME_REALTIME_SIGNALS): Likewise.
30578         (__ASSUME_PREAD_SYSCALL): Likewise.
30579         (__ASSUME_PWRITE_SYSCALL): Likewise.
30580         (__ASSUME_POLL_SYSCALL): Likewise.
30581         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30582         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30583         non-SPARC.
30584         (__ASSUME_SIOCGIFNAME): Don't define.
30585         (__ASSUME_MSG_NOSIGNAL): Likewise.
30586         (__ASSUME_SENDFILE): Define unconditionally.
30587         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30588         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30589         conditional code.
30590         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30591         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30592         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30593         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30594         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30595         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30596         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30598         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30599         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30601         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30602         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30604         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30605         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30607         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30608         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30610         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30611         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30613         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30614         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30616         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30617         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30619         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30620         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30621         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30622         Remove conditional code.
30623         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30624         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30625         Remove conditional code.
30626         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30627         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30628         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30629         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30630         Remove conditional code.
30631         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30632         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30633         Remove conditional code.
30634         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30635         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30636         Remove conditional code.
30637         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30638         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30639         Remove conditional code.
30640         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30641         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30642         Remove conditional code.
30643         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30644         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30645         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30646         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30647         * sysdeps/unix/sysv/linux/sigaction.c
30648         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30649         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30650         * sysdeps/unix/sysv/linux/sigpending.c
30651         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30652         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30653         * sysdeps/unix/sysv/linux/sigprocmask.c
30654         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30655         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30656         * sysdeps/unix/sysv/linux/sigsuspend.c
30657         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30658         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30659         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30660         (__libc_missing_rt_sigs): Remove.
30661         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30662         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30663         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30664         Remove conditional code.
30665         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30666         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30667         return 1.
30668         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30669         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30670         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30671         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30673 2012-05-14  Andreas Jaeger  <aj@suse.de>
30675         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30676         it's not used in glibc.
30677         (__coshm1): Likewise.
30678         (__acosh1p): Likewise.
30679         (__sgn): Likewise.
30681         * manual/string.texi (Copying and Concatenation): Add missing
30682         variable in concat example.
30683         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30685 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30687         [BZ #14103]
30688         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30689         __builtin_clzl with __builtin_clzll.
30691 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30693         [BZ #14104]
30694         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30695         libc_freeres_ptr.
30697 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30699         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30700         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30701         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30702         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30704 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30706         * NEWS: Update ia64 info.
30708 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30710         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30711         used as bcopy.
30713 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30715         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30716         * sysdeps/unix/syscalls.list (dup3): Likewise.
30717         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30718         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30720 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30722         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30723         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30725 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30727         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30728         thread pointer.
30729         (TLS_IE): Use mov/add instead of movq/addq to load thread
30730         pointer.
30731         (TLS_GD_PREFIX): New.
30732         (TLS_GD): Use it.
30734 2012-05-11  David S. Miller  <davem@davemloft.net>
30736         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30737         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30738         (_FPU_SETCW): Likewise.
30740 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30742         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30743         is 32-byte aligned.
30745 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30747         [BZ #11837]
30748         * iconvdata/gb18030.c: Update tables.
30749         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30750         characters specially.
30751         (BODY for TO_LOOP): Add encoding of missing ranges.
30753 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30755         [BZ #13673]
30756         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30757         * sysdeps/mach/hurd/dup3.c: Likewise.
30758         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30759         * sysdeps/powerpc/memmove.c:: Likewise.
30761 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30763         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30764         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30766 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30768         * elf/elf.h (R_X86_64_RELATIVE64): New.
30769         (R_X86_64_NUM): Updated.
30770         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30771         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30772         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30773         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30774         tst-quad1pie tst-quad2pie
30775         (modules-names): Add tst-quadmod1 tst-quadmod2.
30776         ($(objpfx)tst-quad1): New dependency.
30777         ($(objpfx)tst-quad2): Likewise.
30778         ($(objpfx)tst-quad1pie): Likewise.
30779         ($(objpfx)tst-quad2pie): Likewise.
30780         * sysdeps/x86_64/tst-quad1.c: New file.
30781         * sysdeps/x86_64/tst-quad1pie.c: New file.
30782         * sysdeps/x86_64/tst-quad2.c: Likewise.
30783         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30784         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30785         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30786         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30787         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30789 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30791         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30792         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30793         * streams/stropts.h (t_scalar_t): Define type.
30795         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30796         (_PATH_PRESERVE): Set to "/var/lib".
30797         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30799         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30800         instead of int.
30802         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30803         if __dir_mkfile succeeded.
30805         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30806         checking for _hurd_dtablesize.  Unlock it right after having
30807         finished _hurd_dtable allocation.
30809 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30811         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30812         * sysdeps/mach/hurd/configure: Regenerated.
30813         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30814         special-casing to...
30815         * sysdeps/gnu/configure.in: ... this new file.
30816         * sysdeps/unix/sysv/linux/configure: Regenerated.
30817         * sysdeps/gnu/configure: New generated file.
30819         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30820         for Linux: use nsec instead of usec, as well as:
30821         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30822         members of type struct timespec.
30823         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30824         New macros.
30825         (struct stat64): Likewise.
30826         (_STATBUF_ST_NSEC): New macro.
30827         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30829         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30830         __strtoul_internal rather than strtoul.
30832 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30834         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30835         and reject them.
30837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30839         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30840         which preserves existing values.
30841         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30843 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30845         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30846         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30847         greater than FD_SETSIZE.
30849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30851         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30852         allocated, call __vm_protect to finish enabling the existing space, and
30853         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30854         allocate the remainder.
30856 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30858         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30859         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30861 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30863         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30864         sysdeps/mach/hurd/readlink.c.
30866         * posix/tst-sysconf.c (posix_options): Only use
30867         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30868         _POSIX_SYNCHRONIZED_IO when they are defined
30869         * sysdeps/mach/hurd/bits/posix_opt.h:
30870         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30871         (_XOPEN_REALTIME): Undefine macro.
30872         (_XOPEN_REALTIME_THREADS): Undefine macro.
30873         (_XOPEN_SHM): Undefine macro.
30874         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30875         macro to -1.
30876         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30877         macro to -1.
30878         (_POSIX_ASYNC_IO): Undefine macro.
30879         (_POSIX_PRIORITIZED_IO): Undefine macro.
30880         (_POSIX_SPIN_LOCKS): Define macro to -1.
30882         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30883         SA_NODEFER, SA_RESETHAND.
30884         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30885         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30886         F_DUPFD_CLOEXEC.
30888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30890         * elf/Makefile (pldd-modules): Define unconditionally.
30892 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30894         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30898         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30899         Return ENOENT when name is empty.
30900         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30902 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30904         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30906         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30908 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30910         Fix mlock in all cases except non-readable pages.
30911         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30912         instead of VM_PROT_ALL as parameter to __vm_wire function.
30914         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30915         (__mkdir): When path is `/', just fail with EEXIST.
30916         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30918 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30920         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30921         <sys/uio.h> (for writev).
30922         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30923         and <sys/param.h> (for MIN).
30925 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30927         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30928         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30929         if interrupted.
30931 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30933         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30934         Depend on against $(link-rpcuserlibs).
30936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30938         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30939         (__libc_stack_end): Do not use attribute_relro.
30940         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30941         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30942         to libthread-provided value.
30943         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30944         attribute_relro.
30946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30948         [BZ #3748]
30949         * bits/libc-lock.h (__libc_once_get): New macro.
30950         * sysdeps/mach/bits/libc-lock.h: Likewise.
30951         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30952         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30953         instead of using implementation details.
30955         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30956         * libio/freopen.c: Likewise.
30957         * libio/freopen64.c: Likewise.
30958         * misc/syslog.c: Likewise.
30959         * nscd/connections.c: Likewise.
30960         * nscd/netgroupcache.c: Likewise.
30961         * sysdeps/posix/getcwd.c: Likewise.
30963 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30965         * math/w_ilogbf.c: Add #include <limits.h>.
30967 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30969         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30970         path instead of returning without unlocking.
30972         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30973         immediate-write ioctls.
30974         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30976 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30978         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30979         __builtin_frame_address instead of making assumptions about the
30980         location of the return address relative to DATA.  Force early load of
30981         the return address.
30982         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30983         __builtin_frame_address.
30985         dup3 for GNU Hurd.
30986         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30987         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30988         implement dup3 and do some further code clean-ups.
30989         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30990         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30992 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30994         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30996         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30997         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30998         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30999         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31000         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31001         d->port.lock.
31003         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31004         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31005         when handler == SIG_ERR, not when handler != SIG_ERR.
31007 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31009         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31010         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31011         definitions.
31013         accept4 for GNU Hurd.
31014         * include/sys/socket.h (__libc_accept4): New prototype.
31015         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31016         to implement __libc_accept4.
31017         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31018         __libc_accept4.
31019         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31021         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31022         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31023         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31024         signal-defines.sym.
31026 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31028         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31030 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31032         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31033         assertion on O_CLOEXEC flag.
31034         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31035         * hurd/intern-fd.c: Likewise.
31036         * hurd/port2fd.c: Likewise.
31038 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31040         [BZ #3906]
31041         * bits/in.h (IPV6_PKTINFO): Define new macro.
31042         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31044 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31046         [BZ #13954]
31047         [BZ #13955]
31048         [BZ #13956]
31049         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31050         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31051         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31052         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31053         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31054         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31055         * math/libm-test.inc (logb_test) : Additional logb tests.
31057 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31058             Andreas Jaeger  <aj@suse.de>
31060         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31061         * configure: Regenerated.
31062         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31063         * config.make.in (link-obsolete-rpc): New substituted variable.
31064         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31065         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31066         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31067         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31068         so that libc.a contains the symbols.
31069         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31070         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31071         * sunrpc/auth_none.c: Likewise.
31072         * sunrpc/auth_unix.c: Likewise.
31073         * sunrpc/authdes_prot.c: Likewise.
31074         * sunrpc/authuxprot.c: Likewise.
31075         * sunrpc/clnt_gen.c: Likewise.
31076         * sunrpc/clnt_perr.c: Likewise.
31077         * sunrpc/clnt_raw.c: Likewise.
31078         * sunrpc/clnt_simp.c: Likewise.
31079         * sunrpc/clnt_tcp.c: Likewise.
31080         * sunrpc/clnt_udp.c: Likewise.
31081         * sunrpc/clnt_unix.c: Likewise.
31082         * sunrpc/des_crypt.c: Likewise.
31083         * sunrpc/des_soft.c: Likewise.
31084         * sunrpc/get_myaddr.c: Likewise.
31085         * sunrpc/key_call.c: Likewise.
31086         * sunrpc/key_prot.c: Likewise.
31087         * sunrpc/netname.c: Likewise.
31088         * sunrpc/pm_getmaps.c: Likewise.
31089         * sunrpc/pm_getport.c: Likewise.
31090         * sunrpc/pmap_clnt.c: Likewise.
31091         * sunrpc/pmap_prot.c: Likewise.
31092         * sunrpc/pmap_prot2.c: Likewise.
31093         * sunrpc/pmap_rmt.c: Likewise.
31094         * sunrpc/publickey.c: Likewise.
31095         * sunrpc/rpc_cmsg.c: Likewise.
31096         * sunrpc/rpc_common.c: Likewise.
31097         * sunrpc/rpc_dtable.c: Likewise.
31098         * sunrpc/rpc_prot.c: Likewise.
31099         * sunrpc/rpc_thread.c: Likewise.
31100         * sunrpc/rtime.c: Likewise.
31101         * sunrpc/svc.c: Likewise.
31102         * sunrpc/svc_auth.c: Likewise.
31103         * sunrpc/svc_raw.c: Likewise.
31104         * sunrpc/svc_run.c: Likewise.
31105         * sunrpc/svc_tcp.c: Likewise.
31106         * sunrpc/svc_udp.c: Likewise.
31107         * sunrpc/svc_unix.c: Likewise.
31108         * sunrpc/svcauth_des.c: Likewise.
31109         * sunrpc/xcrypt.c: Likewise.
31110         * sunrpc/xdr.c: Likewise.
31111         * sunrpc/xdr_array.c: Likewise.
31112         * sunrpc/xdr_float.c: Likewise.
31113         * sunrpc/xdr_intXX_t.c: Likewise.
31114         * sunrpc/xdr_mem.c: Likewise.
31115         * sunrpc/xdr_rec.c: Likewise.
31116         * sunrpc/xdr_ref.c: Likewise.
31117         * sunrpc/xdr_sizeof.c: Likewise.
31118         * sunrpc/xdr_stdio.c: Likewise.
31120 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31122         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31123         change.  Update copyright years.
31125 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31127         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31129 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31130             Joseph Myers  <joseph@codesourcery.com>
31131             Paul Pluzhnikov  <ppluzhnikov@google.com>
31133         [BZ #14012]
31134         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31135         requiring rpcgen.
31136         [cross-compiling] (extra-libs): Likewise.
31137         [cross-compiling] (extra-libs-others): Likewise.
31138         [cross-compiling] (librpcsvc-routines): Likewise.
31139         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31140         [cross-compiling] (omit-deps): Likewise.
31141         (sunrpc-CPPFLAGS): New variable.
31142         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31143         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31144         (cross-rpcgen-objs): New variable.
31145         (extra-objs): Append $(cross-rpcgen-objs).
31146         ($(cross-rpcgen-objs)): New rule.
31147         ($(objpfx)cross-rpcgen): Likewise.
31148         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31149         comment.
31150         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31151         ($(objpfx)x%.stmp): Likewise.
31152         * sunrpc/proto.h [IS_IN_build] (_): Define.
31153         [IS_IN_build] (_libc_intl_domainname): Likewise.
31155 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31157         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31158         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31159         and R_X86_64_TPOFF64.
31161 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31163         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31164         sysdeps/unix/sysv/syscalls.list.
31165         (stime): Likewise.
31166         (utime): Likewise.
31167         * sysdeps/unix/sysv/syscalls.list: Remove file.
31169 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31171         [BZ #3440]
31172         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31173         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31174         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31175         (__LC_IDENTIFICATION): Make these macros useful in #if
31176         expressions, as required by C99.
31178 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31180         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31181         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31182         after this.
31184 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31186         * stdlib/longlong.h: Updated from GCC.
31188 2012-05-09  Andreas Jaeger  <aj@suse.de>
31190         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31191         default is first entry.
31192         (run_mode): Set type.
31193         (main): Remove informal message about syslog.
31194         (options): Fix typo.
31196         [BZ #14053]
31197         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31198         to asm.
31199         (lrint): Likewise.
31200         (llrintf): Likewise.
31201         (llrint): Likewise.
31202         (rint): Likewise.
31203         (rintf): Likewise.
31204         (nearbyint): Likewise.
31205         (nearbyintf): Likewise.
31207 2012-05-09  Andreas Jaeger  <aj@suse.de>
31208             Pedro Alves  <palves@redhat.com>
31210         * nscd/nscd.c (run_mode): Use enum.
31211         (main): Cleanup coding style issue.
31213 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31214             Andreas Jaeger  <aj@suse.de>
31216         * nscd/nscd.c (go_background): Replaced with...
31217         (run_mode): ... this.
31218         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31219         (options): Add -F --foreground.
31220         (main): Implement it.
31221         (parse_opt): Parse it.
31223 2012-05-09  Andreas Jaeger  <aj@suse.de>
31225         [BZ #14083]
31226         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31227         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31228         -Wconversion warning.
31229         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31230         Likewise.
31232 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31234         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31235         == 0.
31236         (LC_ALL): Use macro-int-constant.
31237         (LC_COLLATE): Likewise.
31238         (LC_CTYPE): Likewise.
31239         (LC_MESSAGES): Likewise.
31240         (LC_MONETARY): Likewise.
31241         (LC_NUMERIC): Likewise.
31242         (LC_TIME): Likewise.
31243         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31244         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31245         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31246         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31247         Specify type.
31248         [C99-based standards] (float_t): Expect type.
31249         [C99-based standards] (double_t): Expect type.
31250         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31251         type.
31252         [C99-based standards] (HUGE_VALL): Likewise.
31253         [C99-based standards] (INFINITY): Likewise.
31254         [C99-based standards] (NAN): Likewise.
31255         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31256         [C99-based standards] (FP_NAN): Likewise.
31257         [C99-based standards] (FP_NORMAL): Likewise.
31258         [C99-based standards] (FP_SUBNORMAL): Likewise.
31259         [C99-based standards] (FP_ZERO): Likewise.
31260         [C99-based standards] (FP_FAST_FMA): Use
31261         optional-macro-int-constant.  Specify type.  Require == 1.
31262         [C99-based standards] (FP_FAST_FMAF): Likewise.
31263         [C99-based standards] (FP_FAST_FMAL): Likewise.
31264         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31265         [C99-based standards] (FP_ILOGBNAN): Likewise.
31266         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31267         Specify type.
31268         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31269         [C99-based standards] (math_errhandling): Specify type.
31270         [ISO99 || ISO11] (signgam): Do not allow.
31271         [non-C99-based standards] (copysignf): Do not allow.
31272         [non-C99-based standards] (exp2f): Likewise.
31273         [non-C99-based standards] (log2f): Likewise.
31274         [non-C99-based standards] (modff): Allow.
31275         [non-C99-based standards] (erff): Do not allow.
31276         [non-C99-based standards] (erfcf): Likewise.
31277         [non-C99-based standards] (gammaf): Likewise.
31278         [non-C99-based standards] (hypotf): Likewise.
31279         [non-C99-based standards] (j0f): Likewise.
31280         [non-C99-based standards] (j1f): Likewise.
31281         [non-C99-based standards] (jnf): Likewise.
31282         [non-C99-based standards] (lgammaf): Likewise.
31283         [non-C99-based standards] (tgammaf): Likewise.
31284         [non-C99-based standards] (y0f): Likewise.
31285         [non-C99-based standards] (y1f): Likewise.
31286         [non-C99-based standards] (ynf): Likewise.
31287         [non-C99-based standards] (isnanf): Likewise.
31288         [non-C99-based standards] (acoshf): Likewise.
31289         [non-C99-based standards] (asinhf): Likewise.
31290         [non-C99-based standards] (atanhf): Likewise.
31291         [non-C99-based standards] (cbrtf): Likewise.
31292         [non-C99-based standards] (expm1f): Likewise.
31293         [non-C99-based standards] (ilogbf): Likewise.
31294         [non-C99-based standards] (log1pf): Likewise.
31295         [non-C99-based standards] (logbf): Likewise.
31296         [non-C99-based standards] (nextafterf): Likewise.
31297         [non-C99-based standards] (remainderf): Likewise.
31298         [non-C99-based standards] (rintf): Likewise.
31299         [non-C99-based standards] (scalbf): Likewise.
31300         [non-C99-based standards] (copysignl): Likewise.
31301         [non-C99-based standards] (exp2l): Likewise.
31302         [non-C99-based standards] (log2l): Likewise.
31303         [non-C99-based standards] (modfl): Allow.
31304         [non-C99-based standards] (erfl): Do not allow.
31305         [non-C99-based standards] (erfcl): Likewise.
31306         [non-C99-based standards] (gammal): Likewise.
31307         [non-C99-based standards] (hypotl): Likewise.
31308         [non-C99-based standards] (j0l): Likewise.
31309         [non-C99-based standards] (j1l): Likewise.
31310         [non-C99-based standards] (jnl): Likewise.
31311         [non-C99-based standards] (lgammal): Likewise.
31312         [non-C99-based standards] (tgammal): Likewise.
31313         [non-C99-based standards] (y0l): Likewise.
31314         [non-C99-based standards] (y1l): Likewise.
31315         [non-C99-based standards] (ynl): Likewise.
31316         [non-C99-based standards] (isnanl): Likewise.
31317         [non-C99-based standards] (acoshl): Likewise.
31318         [non-C99-based standards] (asinhl): Likewise.
31319         [non-C99-based standards] (atanhl): Likewise.
31320         [non-C99-based standards] (cbrtl): Likewise.
31321         [non-C99-based standards] (expm1l): Likewise.
31322         [non-C99-based standards] (ilogbl): Likewise.
31323         [non-C99-based standards] (log1pl): Likewise.
31324         [non-C99-based standards] (logbl): Likewise.
31325         [non-C99-based standards] (nextafterl): Likewise.
31326         [non-C99-based standards] (remainderl): Likewise.
31327         [non-C99-based standards] (rintl): Likewise.
31328         [non-C99-based standards] (scalbl): Likewise.
31329         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31330         [non-C99-based standards] (FP_*): Do not allow.
31331         [C99-based standards] (FP_*): Change to
31332         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31333         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31334         allow.
31335         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31336         (SIG_ERR): Likewise.
31337         [X/Open-based standards] (SIG_HOLD): Likewise.
31338         (SIG_IGN): Likewise.
31339         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31340         positive value.
31341         (SIGFPE): Likewise.
31342         (SIGILL): Likewise.
31343         (SIGINT): Likewise.
31344         (SIGSEGV): Likewise.
31345         (SIGTER): Likewise.
31346         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31347         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31348         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31349         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31350         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31351         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31352         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31353         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31354         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31355         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31356         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31357         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31358         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31359         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31360         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31361         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31362         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31363         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31364         [X/Open-based standards] (SIGTRAP): Likewise.
31365         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31366         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31367         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31368         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31369         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31370         allow.
31372 2012-05-08  Ian Wienand  <ianw@vmware.com>
31374         [BZ #14080]
31375         * time/tzset.c (__tzset_parse_tz): Update default rules for
31376         daylight time changes in the Energy Policy Act of 2005.
31378 2012-05-09  Andreas Jaeger  <aj@suse.de>
31380         [BZ #13983]
31381         * elf/ldconfig.c (parse_conf): Change string to make clear that
31382         ldconfig only issued a warning if ld.so.conf does not exist.
31384 2012-05-08  David S. Miller  <davem@davemloft.net>
31386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31387         movxtod instead of popping the value on the stack.
31389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31391 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31393         * config.h.in: Add HAVE_ARM_PCS_VFP.
31395 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31397         [BZ #13979]
31398         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31399         checking but the checks are disabled for any reason.
31401 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31403         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31404         and ELF64_R_TYPE with ELFW(R_TYPE).
31406 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31408         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31409         (ulimit): Likewise.
31411         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31412         (settimeofday): Likewise.
31414 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31416         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31417         a struct th_u2 inside the union, and move tu_block/tu_code into
31418         a new th_u3 union of tu_block/tu_code inside of that.  Move
31419         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31420         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31421         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31422         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31423         (th_stuff): Change to th_u1.tu_stuff.
31424         (th_data): Define.
31425         (th_msg): Change to th_u1.th_u2.tu_data.
31427 2012-05-07  David S. Miller  <davem@davemloft.net>
31429         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31431         [BZ #14074]
31432         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31433         (SETUP_PIC_REG): Use it.
31434         (SETUP_PIC_REG_LEAF): Use it.
31436 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #13885]
31439         [BZ #13923]
31440         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31441         USE_AS_EXPM1L.
31442         (EXPL_FINITE): Likewise.
31443         (FLDLOG): Likewise.
31444         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31445         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31446         e_expl.S.
31447         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31448         USE_AS_EXPM1L.
31449         (EXPL_FINITE): Likewise.
31450         (FLDLOG): Likewise.
31451         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31452         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31453         e_expl.S.
31454         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31455         test of -max_value argument for long double.
31456         * sysdeps/i386/fpu/libm-test-ulps: Update.
31457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31459 2012-05-06  David S. Miller  <davem@davemloft.net>
31461         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31462         quad soft-float symbols whose references which are compiler
31463         generated.
31464         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31466 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31468         [BZ #13884]
31469         [BZ #13914]
31470         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31471         USE_AS_EXP10L.
31472         (EXPL_FINITE): Likewise.
31473         (FLDLOG): Likewise.
31474         (c0): Likewise.
31475         (c1): Likewise.
31476         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31477         Adjust comments for base varying.
31478         (__expl_finite): Change alias to EXPL_FINITE.
31479         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31480         e_expl.S.
31481         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31482         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31483         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31484         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31485         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31486         USE_AS_EXP10L.
31487         (EXPL_FINITE): Likewise.
31488         (FLDLOG): Likewise.
31489         (c0): Likewise.
31490         (c1): Likewise.
31491         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31492         Adjust comments for base varying.
31493         (__expl_finite): Change alias to EXPL_FINITE.
31494         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31495         tests for bugs.
31496         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31498         [BZ #14064]
31499         * math/libm-test.inc (check_float_internal): Correct ulp
31500         calculation for subnormal expected results.
31502 2012-05-06  Andreas Jaeger  <aj@suse.de>
31504         * Makeconfig (+math-flags): New, set to -frounding-math.
31505         (+cflags): Add +math-flags so that all of glibc gets compiled with
31506         it.
31508         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31510 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31512         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31513         Disable one test.
31515         [BZ #13787]
31516         [BZ #13922]
31517         [BZ #14036]
31518         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31519         (__ieee754_expl): Allow for and saturate large arguments.
31520         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31521         (u_threshold): Likewise.
31522         (__exp): Call __ieee754_exp before checking for overflow and
31523         underflow.
31524         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31525         (u_threshold): Likewise.
31526         (__expf): Call __ieee754_expf before checking for overflow and
31527         underflow.
31528         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31529         (u_threshold): Likewise.
31530         (__expl): Call __ieee754_expl before checking for overflow and
31531         underflow.
31532         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31533         (__ieee754_expl): Allow for and saturate large arguments.
31534         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31535         missing overflow exception on overflow.
31536         (expm1_test): Do not allow missing overflow exception on overflow.
31538         * sysdeps/i386/fpu/e_expl.c: Move to ...
31539         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31540         rather than using inline asm.
31541         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31542         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31543         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31545         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31546         (nice): Likewise.
31547         (poll): Likewise.
31548         (signal): Likewise.
31549         (time): Likewise.
31550         (times): Likewise.
31552 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31554         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31555         sysdeps/unix/common/syscalls.list.
31556         (fchmod): Likewise.
31557         (fchown): Likewise.
31558         (ftruncate): Likewise.
31559         (getrusage): Likewise.
31560         (gettimeofday): Likewise.
31561         (setpgid): Likewise.
31562         (setregid): Likewise.
31563         (setreuid): Likewise.
31564         (sigaction): Likewise.
31565         (truncate): Likewise.
31566         (vhangup): Likewise.
31567         * sysdeps/unix/common/syscalls.list: Remove file.
31568         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31569         * sysdeps/unix/sysv/linux/Implies: Likewise.
31571 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31573         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31575         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31576         Moved to ...
31577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31578         Here.
31579         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31580         to ...
31581         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31582         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31583         to ...
31584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31585         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31586         to ...
31587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31588         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31589         to ...
31590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31591         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31592         to ...
31593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31594         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31595         to ...
31596         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31597         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31598         to ...
31599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31600         Here.
31601         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31602         to ...
31603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31604         Here.
31605         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31606         to ...
31607         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31608         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31609         Moved to ...
31610         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31611         Here.
31612         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31613         to ...
31614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31616 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31618         * sysdeps/unix/common/bits/dirent.h: Remove file.
31619         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31621         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31622         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31623         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31624         * sysdeps/unix/bsd/isatty.c: Likewise.
31625         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31626         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31627         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31629 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31631         [BZ #13563]
31632         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31633         long double comparison inaccuracies.
31634         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31635         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31637 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31639         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31640         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31642 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31644         [BZ #14049]
31645         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31646         nonzero digits before rounding a hex value.
31647         * stdlib/tst-strtod.c (tests): Add another test.
31649 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31651         * sysdeps/s390/fpu/libm-test-ulps: Update.
31653 2012-05-03  Andreas Jaeger  <aj@suse.de>
31655         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31656         does not get optimized out.
31657         (malloc_opt_barrier): New.
31659 2012-05-03  Andreas Jaeger  <aj@suse.de>
31660             Roland McGrath  <roland@hack.frob.com>
31662         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31663         intermediate file deletion.
31664         (generated): Add .symlist files.
31666 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #13775]
31669         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31670         Redirect under this condition.
31671         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31672         [__USE_GNU] (__dprintf_chk): Not under this condition.
31673         [__USE_GNU] (__vdprintf_chk): Likewise.
31674         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31675         under this condition.
31676         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31677         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31678         [__USE_XOPEN2K8] (vdprintf): Likewise.
31679         [__USE_GNU] (__dprintf_chk): Not under this condition.
31680         [__USE_GNU] (__vdprintf_chk): Likewise.
31681         [__USE_GNU] (dprintf): Likewise.
31682         [__USE_GNU] (vdprintf): Likewise.
31684 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31686         * elf/Makefile (common-generated): Set this instead of generated for
31687         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31688         $(all-built-dso)-derived lists.
31690 2012-05-03  Andreas Jaeger  <aj@suse.de>
31692         * sysdeps/i386/fpu/libm-test-ulps: Update.
31694         * FAQ: Removed.
31695         * FAQ.in: Likewise.
31696         * scripts/gen-FAQ.pl: Likewise.
31697         * manual/install.texi (Installation): Point to online location of
31698         FAQ.
31699         * Makefile (files-for-dist): Remove FAQ.
31700         (FAQ): Remove.
31702 2012-05-02  Allan McRae  <allan@archlinux.org>
31704         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31705         (LDFLAGS-reldepmod5.so): Likewise.
31706         (LDFLAGS-reldep6mod1.so): Likewise.
31707         (LDFLAGS-reldep6mod4.so): Likewise.
31708         (LDFLAGS-reldep8mod3.so): Likewise.
31709         (LDFLAGS-unload4mod1.so): Likewise.
31710         (LDFLAGS-unload4mod2.so): Likewise.
31711         (LDFLAGS-tst-initorder): Likewise.
31712         (LDFLAGS-tst-initordera2.so): Likewise.
31713         (LDFLAGS-tst-initordera3.so): Likewise.
31714         (LDFLAGS-tst-initordera4.so): Likewise.
31715         (LDFLAGS-tst-initorderb2.so): Likewise.
31716         (LDFLAGS-noload): Likewise.
31717         (LDFLAGS-next): Likewise.
31718         (LDFLAGS-order2mod1.so): Likewise.
31719         (LDFLAGS-order2mod2.so): Likewise.
31720         (LDFLAGS-tst-initorder2): Likewise.
31721         (LDFLAGS-tst-initorder2a.so): Likewise.
31722         (LDFLAGS-tst-initorder2b.so): Likewise.
31723         (LDFLAGS-tst-initorder2c.so): Likewise.
31724         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31726 2012-05-02  David S. Miller  <davem@davemloft.net>
31728         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31730 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31732         [BZ #14055]
31733         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31735 2012-05-02  Andreas Jaeger  <aj@suse.de>
31737         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31738         since we manipulate rounding mode.
31739         (CPPFLAGS-test-idouble.c): Likewise.
31740         (CPPFLAGS-test-ifloat.c): Likewise.
31741         (CFLAGS-test-ldouble.c): Likewise.
31742         (CFLAGS-test-double.c): Likewise.
31743         (CFLAGS-test-float.c): Likewise.
31744         (CFLAGS-test-misc.c): Likewise.
31745         (CFLAGS-test-test-fenv.c): Likewise.
31747 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31749         [BZ #2550]
31750         [BZ #2570]
31751         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31752         comparisons to determine direction to adjust input.
31754 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31756         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31757         output to the target.
31759         * scripts/localplt.awk: New file.
31760         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31761         (check-localplt-CFLAGS): Variable removed.
31762         ($(all-built-dso:=.jmprel)): New static pattern rule.
31763         (generated): Add those targets.
31764         (localplt-built-dso): New variable.
31765         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31767         * elf/check-localplt.c: File removed.
31769         * scripts/check-execstack.awk: New file.
31770         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31771         (check-execstack-CFLAGS): Variable removed.
31772         ($(objpfx)check-execstack.h): Target removed.
31773         ($(objpfx)execstack-default): New target.
31774         (generated): Add that instead of check-execstack.h.
31775         ($(all-built-dso:=.phdr)): New static pattern rule.
31776         (generated): Add those targets.
31777         * elf/check-execstack.c: File removed.
31779         * scripts/check-textrel.awk: New file.
31780         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31781         (check-textrel-CFLAGS): Variable removed.
31782         (all-built-dso): Use := to define.o
31783         ($(all-built-dso:=.dyn)): New static pattern rule.
31784         (generated): Add those targets.
31785         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31786         * config.make.in (READELF): New substituted variable.
31787         * elf/check-textrel.c: File removed.
31789 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31791         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31792         allow.
31793         * conform/data/ctype.h-data [C99-based standards] (isblank):
31794         Expect function.
31795         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31796         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31797         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31798         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31799         Specify type.  Require positive value.
31800         (EILSEQ): Likewise.
31801         (ERANGE): Likewise.
31802         [ISO || POSIX] (EILSEQ): Do not expect.
31803         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31804         Specify type.  Require positive value.
31805         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31806         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31807         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31808         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31809         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31810         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31811         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31812         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31813         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31814         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31815         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31816         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31817         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31818         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31819         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31820         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31821         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31822         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31823         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31824         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31825         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31826         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31827         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31828         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31829         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31830         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31831         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31832         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31833         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31834         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31835         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31836         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31837         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31838         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31839         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31840         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31841         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31842         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31843         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31844         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31845         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31846         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31847         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31848         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31849         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31850         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31851         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31852         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31853         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31854         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31855         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31856         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31857         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31858         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31859         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31860         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31861         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31862         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31863         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31864         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31865         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31866         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31867         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31868         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31869         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31870         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31871         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31872         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31873         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31874         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31875         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31876         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31877         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31878         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31879         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31880         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31881         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31882         Require >= 2.
31883         (FLT_ROUNDS): Expect as macro, not constant.
31884         (FLT_MANT_DIG): Use macro-int-constant.
31885         (DBL_MANT_DIG): Likewise.
31886         (LDBL_MANT_DIG): Likewise.
31887         (FLT_DIG): Likewise.
31888         (DBL_DIG): Likewise.
31889         (LDBL_DIG): Likewise.
31890         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31891         (DBL_MIN_EXP): Likewise.
31892         (LDBL_MIN_EXP): Likewise.
31893         (FLT_MAX_EXP): Use macro-int-constant.
31894         (DBL_MAX_EXP): Likewise.
31895         (LDBL_MAX_EXP): Likewise.
31896         (FLT_MAX_10_EXP): Likewise.
31897         (DBL_MAX_10_EXP): Likewise.
31898         (LDBL_MAX_10_EXP): Likewise.
31899         (FLT_MAX): Use macro-constant.
31900         (DBL_MAX): Likewise.
31901         (LDBL_MAX): Likewise.
31902         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31903         (DBL_EPSILON): Likewise.
31904         (LDBL_EPSILON): Likewise.
31905         (FLT_MIN): Likewise.
31906         (DBL_MIN): Likewise.
31907         (LDBL_MIN): Likewise.
31908         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31909         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31910         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31911         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31912         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31913         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31914         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31915         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31916         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31917         [ISO11] (FLT_TRUE_MIN): Likewise.
31918         [ISO11] (LDBL_TRUE_MIN): Likewise.
31919         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31920         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31921         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31922         (SCHAR_MAX): Likewise.
31923         (UCHAR_MAX): Likewise.
31924         (CHAR_MIN): Likewise.
31925         (CHAR_MAX): Likewise.
31926         (MB_LEN_MAX): Use macro-int-constant.
31927         (SHRT_MIN): Use macro-int-constant.  Specify type.
31928         (SHRT_MAX): Likewise.
31929         (USHRT_MAX): Likewise.
31930         (INT_MAX): Likewise.
31931         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31932         bound negative.
31933         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31934         bound with "U".
31935         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31936         bound with "L".
31937         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31938         bound negative.  Suffix upper bound with "L".
31939         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31940         bound with "UL".
31941         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31942         Specify type.
31943         [C99-based standards] (LLONG_MAX): Likewise.
31944         [C99-based standards] (ULLONG_MAX): Likewise.
31945         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31946         == 0.
31947         [ISO11] (max_align_t): Require type.
31948         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31950         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31951         from $CFLAGS, without defining away __attribute__ calls.
31952         (checknamespace): Use $CFLAGS_namespace.
31954         * conform/conformtest.pl (@keywords): Only include C99 keywords
31955         for standards based on C99 or C11.
31957         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31958         Disable tests.
31959         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31960         UNIX98]: Likewise.
31962         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31963         usability of symbols in #if.
31965         * conform/conformtest.pl: If macro or constant types start
31966         "promoted:", expect the symbol to be of the following type
31967         promoted by the integer promotions.
31969         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31970         in one place.  Also handle "macro-constant".
31972         * conform/conformtest.pl: Only accept expected macro values with
31973         "==".  Parse all "macro" lines in one place.
31974         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31976         * conform/conformtest.pl: Handle braced types on "constant" lines
31977         instead of handling "typed-constant".
31978         * conform/data/signal.h-data: Use "constant" instead of
31979         "typed-constant".
31981         * conform/conformtest.pl: Handle "optional-" at start of lines in
31982         one place rather than duplicating several cases.  Handle each
31983         format of "macro" line with initial "optional-".
31985         * conform/conformtest.pl: Only accept expected constant or
31986         optional-constant values with "==".  Parse all "constant" lines in
31987         one place.  Parse all "optional-constant" lines in one place.
31988         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31989         * conform/data/fmtmsg.h-data: Likewise.
31990         * conform/data/netinet/in.h-data: Likewise.
31991         * conform/data/tar.h-data: Likewise.
31992         * conform/data/limits.h-data: Use "==" form on "constant" and
31993         "optional-constant" lines.
31995         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31996         Use -std=c99 for XOPEN2K.
31997         (@knownproblems): Remove.
31998         (newtoken): Don't check %isknown.
32000         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32001         Do not expect macro.
32002         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32003         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32004         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32005         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32006         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32007         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32008         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32009         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32010         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32011         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32012         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32013         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32014         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32015         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32016         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32017         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32018         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32019         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32020         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32021         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32022         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32023         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32024         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32025         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32026         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32027         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32028         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32029         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32030         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32031         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32032         [XPG3] (acosh): Likewise.
32033         [XPG3] (asinh): Likewise.
32034         [XPG3] (atanh): Likewise.
32035         [XPG3] (cbrt): Likewise.
32036         [XPG3] (expm1): Likewise.
32037         [XPG3] (ilogb): Likewise.
32038         [XPG3] (log1p): Likewise.
32039         [XPG3] (logb): Likewise.
32040         [XPG3] (nextafter): Likewise.
32041         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32042         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32043         [XPG3] (remainder): Likewise.
32044         [XPG3] (rint): Likewise.
32045         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32046         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32047         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32048         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32049         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32050         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32051         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32052         [UNIX98 || XOPEN2K] (scalb): Expect.
32053         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32054         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32055         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32056         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32057         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32058         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32059         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32060         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32061         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32062         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32063         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32064         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32065         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32066         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32067         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32068         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32069         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32070         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32071         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32072         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32073         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32074         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32075         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32076         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32077         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32078         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32079         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32080         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32081         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32082         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32083         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32084         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32085         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32086         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32087         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32088         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32089         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32090         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32091         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32092         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32093         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32094         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32095         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32096         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32097         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32098         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32099         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32100         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32101         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32102         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32103         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32104         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32105         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32106         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32107         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32108         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32109         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32110         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32111         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32112         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32113         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32114         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32115         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32116         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32117         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32118         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32119         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32120         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32121         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32122         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32123         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32124         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32125         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32126         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32127         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32128         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32129         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32130         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32131         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32132         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32133         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32134         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32135         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32136         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32137         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32138         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32139         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32140         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32141         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32142         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32143         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32144         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32145         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32146         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32147         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32148         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32149         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32150         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32151         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32152         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32153         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32154         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32155         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32156         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32157         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32158         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32159         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32160         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32161         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32162         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32163         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32164         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32165         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32166         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32167         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32168         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32169         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32170         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32171         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32172         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32173         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32174         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32175         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32176         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32177         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32178         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32179         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32180         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32181         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32182         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32183         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32184         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32185         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32186         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32187         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32188         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32189         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32191         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32192         _XOPEN_SOURCE_EXTENDED for XPG4.
32194         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32196         * Makeconfig (localtime): Remove variable.
32197         (inst_localtime-file): Likewise.
32199 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32202         Update.
32203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32204         Update.
32205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32206         Update.
32207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32208         Update.
32209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32210         Update.
32211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32212         Update.
32213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32214         Update.
32215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32216         Update.
32217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32218         Update.
32220 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32222         [BZ #2550]
32223         [BZ #2570]
32224         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32225         comparisons to determine direction to adjust input.
32226         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32227         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32228         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32229         Likewise.
32230         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32231         Likewise.
32232         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32233         Likewise.
32234         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32235         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32236         Likewise.
32237         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32238         Likewise.
32239         * math/libm-test.inc (nexttoward_test): Add more tests.
32241 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32243         [BZ #14040]
32244         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32245         in version GLIBC_2.1, not GLIBC_2.0.
32246         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32247         Likewise.
32249 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32251         [BZ #13942]
32252         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32253         (1 - x) * (1 + x).
32254         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32255         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32256         * math/libm-test.inc (acos_test): Add more tests.
32257         (asin_test): Likewise.
32258         * sysdeps/i386/fpu/libm-test-ulps: Update.
32259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32261         [BZ #14034]
32262         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32263         of square root.
32264         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32265         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32266         * math/libm-test.inc (acos_test_tonearest): New function.
32267         (acos_test_towardzero): Likewise.
32268         (acos_test_downward): Likewise.
32269         (acos_test_upward): Likewise.
32270         (asin_test_tonearest): Likewise.
32271         (asin_test_towardzero): Likewise.
32272         (asin_test_downward): Likewise.
32273         (asin_test_upward): Likewise.
32274         (main): Call the new functions.
32275         * sysdeps/i386/fpu/libm-test-ulps: Update.
32276         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32278         [BZ #13884]
32279         [BZ #13924]
32280         * math/e_exp10.c: Include <float.h>.
32281         (__ieee754_exp10): Handle underflow here rather than multiplying
32282         large negative argument by M_LN10.
32283         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32284         of __ieee754_expf.
32285         * math/e_exp10l.c: Include <float.h>.
32286         (__ieee754_exp10l): Handle underflow here rather than multiplying
32287         large negative argument by M_LN10l.
32288         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32289         spurious overflow exception on underflow.
32291 2012-04-29  Marek Polacek  <polacek@redhat.com>
32293         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32294         (__fortify_function): New macro.
32295         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32296         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32297         __extern_always_inline.
32298         * libio/bits/stdio2.h: Likewise.
32299         * libio/bits/stdio.h: Likewise.
32300         * string/string.h: Likewise.
32301         * string/bits/string3.h: Likewise.
32302         * include/stdio.h: Likewise.
32303         * stdlib/bits/stdlib.h: Likewise.
32304         * stdlib/stdlib.h: Likewise.
32305         * rt/bits/mqueue2.h: Likewise.
32306         * rt/mqueue.h: Likewise.
32307         * posix/bits/unistd.h: Likewise.
32308         * posix/unistd.h: Likewise.
32309         * io/bits/poll2.h: Likewise.
32310         * io/bits/fcntl2.h: Likewise.
32311         * io/fcntl.h: Likewise.
32312         * io/sys/poll.h: Likewise.
32313         * misc/bits/syslog.h: Likewise.
32314         * misc/bits/syslog-ldbl.h: Likewise.
32315         * misc/sys/syslog.h: Likewise.
32316         * socket/bits/socket2.h: Likewise.
32317         * socket/sys/socket.h: Likewise.
32318         * debug/tst-chk1.c: Likewise.
32319         * wcsmbs/bits/wchar2.h: Likewise.
32320         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32321         * wcsmbs/wchar.h: Likewise.
32323 2012-04-29  Andreas Jaeger  <aj@suse.de>
32325         * Makerules (tests): Remove enable-check-abi protection.
32326         (check-abi-warn): Remove.
32327         (check-abi-%): Remove check-abi-warn usage.
32329         * configure.in: Remove check-abi configure option.
32330         * configure: Regenerated.
32331         * config.make.in (enable-check-abi): Remove.
32333 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32335         [BZ #14033]
32336         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32337         double functions to double *_finite functions.
32339         [BZ #13941]
32340         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32341         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32342         LDBL_MIN_EXP.
32343         * stdio-common/Makefile (tests): Add tst-sprintf3.
32344         * stdio-common/tst-sprintf3.c: New file.
32346         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32347         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32349 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32351         * conform/conformtest.pl: Remove duplicate typed-constant
32352         handling.
32354 2012-04-28  David S. Miller  <davem@davemloft.net>
32356         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32357         (check-abi-%): Remove AWK script prerequisite and explicit
32358         abilist directory.
32359         (check-abi): Rewrite to just diff the symlist with the abilist.
32360         (config-tls, config-abi-config): Delete, no longer used.
32361         (update-abi-%): Remove AWK script and explicit abilist directory.
32362         (update-abi): Rewrite to simply compare and conditionally copy the
32363         symlist and the sysdep abilist file.  Remove update-abi-config
32364         checks.
32365         * abilist/ld.abilist: Remove.
32366         * abilist/libBrokenLocale.abilist: Remove.
32367         * abilist/libanl.abilist: Remove.
32368         * abilist/libcrypt.abilist: Remove.
32369         * abilist/libdl.abilist: Remove.
32370         * abilist/librt.abilist: Remove.
32371         * abilist/libthread_db.abilist: Remove.
32372         * abilist/libutil.abilist: Remove.
32373         * scripts/extract-abilist.awk: Remove.
32374         * scripts/merge-abilist.awk: Remove.
32375         * sysdeps/generic/libcidn.abilist: New file.
32376         * sysdeps/generic/libnss_compat.abilist: New file.
32377         * sysdeps/generic/libnss_db.abilist: New file.
32378         * sysdeps/generic/libnss_dns.abilist: New file.
32379         * sysdeps/generic/libnss_files.abilist: New file.
32380         * sysdeps/generic/libnss_hesiod.abilist: New file.
32381         * sysdeps/generic/libnss_nis.abilist: New file.
32382         * sysdeps/generic/libnss_nisplus.abilist: New file.
32383         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32384         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32385         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32386         file.
32387         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32388         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32389         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32390         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32391         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32392         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32393         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32394         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32395         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32396         file.
32397         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32398         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32399         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32400         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32401         file.
32402         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32403         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32404         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32405         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32406         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32407         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32408         file.
32409         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32410         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32411         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32412         file.
32413         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32414         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32415         New file.
32416         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32417         New file.
32418         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32419         New file.
32420         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32421         New file.
32422         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32423         New file.
32424         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32425         New file.
32426         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32427         New file.
32428         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32429         New file.
32430         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32431         New file.
32432         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32433         New file.
32434         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32435         New file.
32436         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32437         New file.
32438         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32439         New file.
32440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32441         file.
32442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32443         New file.
32444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32445         New file.
32446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32447         file.
32448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32449         New file.
32450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32451         New file.
32452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32453         file.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32455         New file.
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32457         New file.
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32459         New file.
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32461         New file.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32463         New file.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32465         New file.
32466         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32468         file.
32469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32470         New file.
32471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32472         file.
32473         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32474         file.
32475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32476         file.
32477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32478         file.
32479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32480         file.
32481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32482         New file.
32483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32484         file.
32485         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32486         file.
32487         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32488         New file.
32489         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32490         file.
32491         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32493         file.
32494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32495         New file.
32496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32497         file.
32498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32499         file.
32500         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32501         file.
32502         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32503         file.
32504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32505         file.
32506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32507         New file.
32508         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32509         file.
32510         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32511         file.
32512         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32513         New file.
32514         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32515         file.
32516         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32517         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32518         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32519         file.
32520         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32521         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32522         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32523         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32524         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32525         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32526         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32527         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32528         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32529         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32530         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32532         file.
32533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32534         New file.
32535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32536         file.
32537         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32538         file.
32539         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32540         file.
32541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32542         file.
32543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32544         file.
32545         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32546         New file.
32547         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32548         New file.
32549         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32550         file.
32551         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32552         New file.
32553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32554         file.
32555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32556         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32557         file.
32558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32559         New file.
32560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32561         file.
32562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32563         file.
32564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32565         file.
32566         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32567         file.
32568         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32569         file.
32570         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32571         New file.
32572         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32573         New file.
32574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32575         file.
32576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32577         New file.
32578         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32579         file.
32581 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32583         * conform/conformtest.pl: Fix typo in handling typed-constant from
32584         allow-header.
32586 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32588         * README: Cut down references to pre-2.6 Linux kernels and
32589         Linuxthreads.  Update lists of configurations in libc and ports
32590         and sort alphabetically.  Say "or newer" with Linux kernel version
32591         requirements.
32593         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32595 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32597         [BZ #887]
32598         * math/libm-test.inc (logb_test_downward): New test to expose
32599         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32600         rounding mode.
32602 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32604         [BZ #14027]
32605         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32606         to be done.
32607         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32608         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32610 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32612         * sysdeps/unix/i386/brk.S: Remove file.
32613         * sysdeps/unix/i386/dl-brk.S: Likewise.
32614         * sysdeps/unix/i386/pipe.S: Likewise.
32615         * sysdeps/unix/i386/sigreturn.S: Likewise.
32616         * sysdeps/unix/i386/syscall.S: Likewise.
32617         * sysdeps/unix/i386/vfork.S: Likewise.
32618         * sysdeps/unix/i386/wait.S: Likewise.
32620         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32621         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32623         * configure.in (arm*-none*): Do not allow without
32624         --enable-hacker-mode.
32625         (netbsd*): Remove case setting base_os.
32626         (386bsd*): Likewise.
32627         (freebsd*): Likewise.
32628         (bsdi*): Likewise.
32629         (osf*): Likewise.
32630         (sunos*): Likewise.
32631         (ultrix*): Likewise.
32632         (newsos*): Likewise.
32633         (dynix*): Likewise.
32634         (*bsd*): Likewise.
32635         (sysv*): Likewise.
32636         (isc*): Likewise.
32637         (esix*): Likewise.
32638         (sco*): Likewise.
32639         (minix*): Likewise.
32640         (irix4*): Likewise.
32641         (irix6*): Likewise.
32642         (solaris[2-9]*): Likewise.
32643         (none): Likewise.
32644         * configure: Regenerated.
32646 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32648         [BZ #11521]
32649         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32650         overflow or cancellation in calculating denominator.
32651         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32652         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32653         down expression to avoid unexpected rounding in newer GCCs.
32654         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32656 2012-04-26  David S. Miller  <davem@davemloft.net>
32658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32659         long-double compat symbols.
32660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32669         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32674 2012-04-25  David S. Miller  <davem@davemloft.net>
32676         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32677         HWCAP_* values only after the memory barriers have been defined.
32678         (atomic_full_barrier): Define.
32679         (atomic_read_barrier): Define.
32680         (atomic_write_barrier): Define.
32682 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32684         * shlib-versions: Add libgcc_s version information.
32685         * sysdeps/generic/libgcc_s.h: Remove.
32686         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32687         libgcc_s.h.
32688         * sysdeps/gnu/unwind-resume.c: Likewise.
32689         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32691 2012-04-25  David S. Miller  <davem@davemloft.net>
32693         * sysdeps/unix/sparc/brk.S: Delete.
32694         * sysdeps/unix/sparc/dl-brk.S: Delete.
32695         * sysdeps/unix/sparc/pipe.S: Delete.
32696         * sysdeps/unix/sparc/sysdep.S: Delete.
32697         * sysdeps/unix/sparc/sysdep.h: Delete.
32698         * sysdeps/unix/sparc/vfork.S: Delete.
32699         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32700         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32701         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32702         (ret_ERRVAL, r0, r1, MOVE): Define.
32703         (JUMPTARGET): Remove.
32704         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32705         sysdeps/unix/sparc/sysdep.h
32706         (ENTRY, END): Remove.
32707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32709 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32711         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32712         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32713         -DIS_IN_build.
32715         * timezone/README: Update upstream location and email address for
32716         tzcode and tzdata.
32717         * timezone/zdump.c: Update from tzcode 2012b.
32718         * timezone/zic.c: Likewise.
32720         * configure.in (libc_cv_as_needed): Remove test.
32721         * configure: Regenerated.
32722         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32723         conditional definition.
32724         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32725         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32726         * config.make.in (have-as-needed): Remove variable.
32728 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32729             Paul Pluzhnikov  <ppluzhnikov@google.com>
32731         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32732         strings correctly.
32734 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32736         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32737         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32738         * sysdeps/sh/strlen.S: Likewise.
32740 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32742         * sysdeps/unix/fork.S: Remove file.
32743         * sysdeps/unix/i386/fork.S: Likewise.
32744         * sysdeps/unix/sparc/fork.S: Likewise.
32746         * sysdeps/unix/system.c: Remove file.
32747         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32749         * sysdeps/unix/getegid.S: Remove file.
32750         * sysdeps/unix/geteuid.S: Likewise.
32752 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32754         * scripts/check-localplt.awk: New file.
32755         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32756         of diff.
32757         * scripts/data/localplt-generic.data: Add a comment.
32759         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32760         NODE when __dir_mkfile failed.
32761         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32762         Reported by Ludovic Courtès <ludo@gnu.org>.
32764 2012-04-24  Andreas Jaeger  <aj@suse.de>
32766         * Makerules (common-clean): Also remove gen-as-const-headers
32767         files.
32769 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32771         * Makerules (native-compile): Do not change working directory for
32772         build.  Use $(OUTPUT_OPTION) in command.
32773         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32775 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32777         [BZ #13886]
32778         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32779         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32780         * math/libm-test.inc (floor_test): Add more tests.
32781         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32783 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32785         * sysdeps/unix/getdents.c: Remove file.
32786         * sysdeps/unix/sysv/getdents.c: Likewise.
32787         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32789         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32790         sysdeps/unix/mman/syscalls.list.
32791         (mmap): Likewise.
32792         (mprotect): Likewise.
32793         (msync): Likewise.
32794         (munmap): Likewise.
32795         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32796         * sysdeps/unix/mman/syscalls.list: Remove.
32797         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32799         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32800         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32801         * configure: Regenerated.
32802         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32803         $(libgcc_s_suffix).
32804         * config.make.in (libgcc_s_suffix): Remove variable.
32806 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32808         * sysdeps/unix/sysv/gethostname.c: Move to ...
32809         * sysdeps/posix/gethostname.c: ... here.
32811         * sysdeps/unix/execve.S: Remove file.
32813         * sysdeps/unix/_exit.S: Remove file.
32815 2012-04-23  Andreas Jaeger  <aj@suse.de>
32817         [BZ #13739]
32818         * manual/Makefile: Remove make dist support, there's no
32819         need for a stand-alone documentation tar ball.
32820         (TEXI2DVI): Define always, it's not in Makeconfig.
32821         (dist): Removed.
32822         (tar-it): Removed.
32823         (edition): Removed.
32824         (glibc-doc-$(edition).tar): Removed
32825         (%.Z): Removed.
32826         (%.gz): Removed.
32827         (%.uu): Removed.
32828         (ETAGS): Remove, it's in Makeconfig.
32829         (move-if-change): Remove, it's in Makeconfig.
32831 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32833         [BZ #13970]
32834         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32835         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32836         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32837         (strtod_l, strtof_l, strtold_l): Remove __wur.
32838         It is not necessarily an error to ignore strtol's return value.
32839         One can reliably look at the stored endptr to decide whether
32840         the number had valid syntax.
32842 2012-04-21  Andreas Jaeger  <aj@suse.de>
32844         [BZ #13739]
32845         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32847 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32849         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32850         * sysdeps/unix/sysv/Versions: Remove file.
32852 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32854         [BZ #13927]
32855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32857 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32859         [BZ #7064]
32860         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32861         version from __vm86.
32863 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32865         * sysdeps/unix/common/lxstat.c: Remove file.
32866         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32868         * sysdeps/unix/sysv/Makefile: Remove file.
32870         * sysdeps/unix/sysv/direct.h: Remove file.
32872         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32873         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32874         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32875         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32876         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32877         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32878         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32880         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32882         * sysdeps/unix/xmknod.c: Remove file.
32883         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32885         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32887         * sysdeps/unix/sysv/i386/time.S: Remove file.
32889         * sysdeps/unix/fxstat.c: Remove file.
32890         * sysdeps/unix/xstat.c: Likewise.
32891         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32893         * sysdeps/unix/sysv/sigaction.c: Remove file.
32895         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32896         (sysdep_headers): Remove variable.
32897         [termio.h not in sysdep_headers] (generated): Likewise.
32898         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32899         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32900         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32901         * sysdeps/unix/sysv/tcflow.c: Likewise.
32902         * sysdeps/unix/sysv/tcflush.c: Likewise.
32903         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32904         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32905         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32906         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32907         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32909         * sysdeps/unix/siglist.c: Remove file.
32911         * sysdeps/unix/getppid.S: Remove file.
32913         * sysdeps/unix/mkdir.c: Remove file.
32914         * sysdeps/unix/rmdir.c: Likewise.
32916 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32918         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32919         ERR_MAX value.
32920         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32921         errlist-compat value.
32923 2012-04-18  David S. Miller  <davem@davemloft.net>
32925         * sysdeps/generic/memcopy.h (reg_char): Delete.
32926         * debug/strcat_chk.c: Use char, not reg_char.
32927         * debug/strcpy_chk.c: Likewise.
32928         * debug/strncat_chk.c: Likewise.
32929         * debug/strncpy_chk.c: Likewise.
32930         * string/memchr.c: Likewise.
32931         * string/memrchr.c: Likewise.
32932         * string/rawmemchr.c: Likewise.
32933         * string/strcat.c: Likewise.
32934         * string/strchr.c: Likewise.
32935         * string/strchrnul.c: Likewise.
32936         * string/strcmp.c: Likewise.
32937         * string/strcpy.c: Likewise.
32938         * string/strncat.c: Likewise.
32939         * string/strncmp.c: Likewise.
32940         * string/strncpy.c: Likewise.
32942 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32944         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32945         __builtin_memcopy is called when src and dest ranges are known to not
32946         overlap.
32948 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32950         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32951         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32952         fwd_align_merge macro call.
32953         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32954         bwd_align_merge macro call.
32955         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32957 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32959         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32960         bwd_align_merge macros.
32961         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32962         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32963         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32965 2012-04-18  David S. Miller  <davem@davemloft.net>
32967         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32969 2012-04-18  Andreas Jaeger  <aj@suse.de>
32971         [BZ# 6794]
32972         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32973         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32974         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32976         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32977         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32978         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32980         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32981         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32982         Adjust for changed ldbl-128 files.
32984         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32985         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32986         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32988 2012-04-17  David S. Miller  <davem@davemloft.net>
32990         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32992 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32994         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32995         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32996         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32997         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32998         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32999         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33001 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33003         [BZ #6794]
33004         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33005         * math/libm-test.inc: Add ilogb errno and exception tests.
33006         * math/w_ilogb.c: New file: ilogb wrapper.
33007         * math/w_ilogbf.c: New file: ilogbf wrapper.
33008         * math/w_ilogbl.c: New file: ilogbl wrapper.
33009         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33010         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33011         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33012         exception being thrown with 0.0 as argument.
33013         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33014         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33015         exception being thrown with 0.0 as argument.
33016         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33017         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33018         exception being thrown with 0.0 as argument.
33019         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33020         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33021         exception being thrown with 0.0 as argument.
33022         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33023         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33024         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33025         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33026         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33027         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33028         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33029         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33030         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33032 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33034         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33035         with altivec.
33037 2012-04-16  Marek Polacek  <polacek@redhat.com>
33039         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33041 2012-04-16  Marek Polacek  <polacek@redhat.com>
33043         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33044         operands of fdivp instruction.
33046 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33048         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33049         * elf/tst-auditmod3b.c: Likewise.
33050         * elf/tst-auditmod4b.c: Likewise.
33051         * elf/tst-auditmod5b.c: Likewise.
33052         * elf/tst-auditmod6b.c: Likewise.
33053         * elf/tst-auditmod6c.c: Likewise.
33054         * elf/tst-auditmod7b.c: Likewise.
33055         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33056         * sysdeps/x86_64/preconfigure.in: Likewise.
33057         * sysdeps/x86_64/preconfigure: Regenerated.
33059 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33061         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33062         __ILP32__.
33064 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33066         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33067         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33069 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33071         [BZ #13973]
33072         * locale/iso-639.def: Fix gl language name. Spotted by
33073         Yaron Shahrabani.
33075 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33077         [BZ #2074]
33078         * libio/libio.h (__io_write_fn): Update comment.
33080 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33082         [BZ #2074]
33083         * stdio.texi (Hook Functions): The user provided writer function
33084         is not allowed to return -1.
33086 2012-04-11  David S. Miller  <davem@davemloft.net>
33088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33090 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33092         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33093         Add a leading slash to rtkaio.
33095 2012-04-11  Jim Meyering  <meyering@redhat.com>
33097         [BZ #11959]
33098         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33099         It is not necessarily an error to ignore fwrite's return
33100         value.  One can reliably use ferror to test for errors after
33101         the fact.
33103 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33105         * bits/types.h (__snseconds_t): New type.
33106         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33108         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33109         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33110         (__SNSECONDS_T_TYPE): Likewise.
33111         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33112         (__SNSECONDS_T_TYPE): Likewise.
33113         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33114         (__SNSECONDS_T_TYPE): Likewise.
33116 2012-04-10  Andreas Jaeger  <aj@suse.de>
33118         [BZ #2636]
33119         * manual/time.texi (Processor Time): Return type of times is
33120         elapsed real time since an arbitrary point in the past.
33121         (CPU Time): Move CLK_TCK from here...
33122         (Processor Time): ...to here.  Correct description.
33123         * manual/conf.texi (Constants for Sysconf): Correct description of
33124         _SC_CLK_TCK.
33126 2012-04-10  David S. Miller  <davem@davemloft.net>
33128         [BZ #13967]
33129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33130         where the is a gap between DT_REL(A) and DT_JMPREL.
33132 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33134         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33135         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33136         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33138 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33140         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33141         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33142         (dl_main): Handle --inhibit-cache.
33143         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33144         _dl_inhibit_cache.
33145         * elf/dl-load.c (_dl_map_object): Use it.
33146         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33148 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33150         [BZ #13872]
33151         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33152         (__ieee754_powl): Saturate large exponents rather than testing for
33153         overflow of y*log2(x).
33154         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33155         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33156         exceptions.
33158         [BZ #11521]
33159         * math/s_ctan.c: Include <float.h>.
33160         (__ctan): Avoid internal overflow or cancellation in calculating
33161         denominator.
33162         * math/s_ctanf.c: Likewise.
33163         * math/s_ctanl.c: Likewise.
33164         * math/s_ctanh.c: Likewise.
33165         * math/s_ctanhf.c: Likewise.
33166         * math/s_ctanhl.c: Likewise.
33167         * math/libm-test.inc (ctan_test): Add more tests.
33168         (ctanh_test): Likewise.
33169         * sysdeps/i386/fpu/libm-test-ulps: Update.
33170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33172 2012-04-09  Andreas Jaeger  <aj@suse.de>
33174         [BZ #6894]
33175         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33176         is an optional BSD extension.
33178         [BZ #10254]
33179         * manual/stdio.texi (Opening Streams): Document additional fopen
33180         parameters.
33182 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33184         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33185         %eax without telling the compiler.
33187 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33189         [BZ # 13963]
33190         * manual/install.texi: Use sourceware.org.
33192 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33194         [BZ #13873]
33195         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33196         (__ieee754_pow): Generate overflow and underflow using huge*huge
33197         and tiny*tiny rather than just returning constant infinity or zero
33198         for large exponents.
33199         * math/libm-test.inc (pow_test): Require overflow exceptions for
33200         applicable cases of large exponents.
33202         [BZ #706]
33203         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33204         (__ieee754_pow): Use iterative multiplication algorithm only for
33205         integer exponents with absolute value below 1024.  Check for odd
33206         integer exponents when using algorithm for real exponents.
33207         * math/libm-test.inc (pow_test): Add more tests.
33208         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33210 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33212         [BZ #13705]
33213         * math/libm-test.inc (exp_test): Do not allow overflow exception
33214         on underflow test.
33216 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33218         [BZ #13705]
33219         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33220         instead of __kernel_standard_f.
33222 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33224         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33225         * sysdeps/x86_64/memset_chk.S: Likewise.
33227 2012-04-08  Andreas Jaeger  <aj@suse.de>
33229         [BZ #10153]
33230         * manual/startup.texi (Environment Access): Describe return value
33231         for putenv and setenv.
33233         [BZ #6895]
33234         * manual/filesys.texi (Directory Entries): Add description for
33235         DT_LNK.
33237         [BZ #6890]
33238         * manual/filesys.texi (Directory Entries): Clarify that it's file
33239         system not operating system in the description of DT_UNKNOWN.
33241         [BZ #6578]
33242         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33244 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33246         [BZ #6649]
33247         * manual/llio.texi (Opening and Closing Files): Add cross
33248         reference to explain mode argument.
33250 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33252         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33253         * sysdeps/x86_64/memset_chk.S: Likewise.
33255 2012-04-07  David S. Miller  <davem@davemloft.net>
33257         * elf/elf.h (R_SPARC_WDISP10): Define.
33258         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33259         R_SPARC_SIZE32.
33260         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33261         R_SPARC_SIZE64 and R_SPARC_H34.
33263 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33265         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33266         conditions and remove no longer applicable assertion.
33268 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33270         * bits/byteswap.h: Include <features.h>.
33271         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33272         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33274 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33276         * bits/byteswap.h (__bswap_16): Removed.
33277         Include <bits/byteswap-16.h> to get __bswap_16.
33278         * sysdeps/i386/bits/byteswap.h: Likewise.
33279         * sysdeps/s390/bits/byteswap.h: Likewise.
33280         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33281         * bits/byteswap-16.h: New file.
33282         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33283         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33284         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33285         * string/Makefile (headers): Add bits/byteswap-16.h.
33287 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33289         [BZ #13895]
33290         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33291         extra indirection.
33292         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33293         * nss/tst-nss-static.c: New.
33295 2012-04-06  Robert Millan  <rmh@gnu.org>
33297         [BZ #6486]
33298         * manual/llio.texi (File Position Primitive): lseek
33299         refers to WHENCE when it really means OFFSET.
33301 2012-04-06  Andreas Jaeger  <aj@suse.de>
33303         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33304         strncmp declarations.
33306         * abilist/libc.abilist: Add __poll and __ppoll.
33308 2012-04-05  David S. Miller  <davem@davemloft.net>
33310         * scripts/check-local-headers.sh: Accept a host triplet in the
33311         path matched by the exclude regexp.
33313         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33314         definition.
33315         * sysdeps/powerpc/powerpc32/dl-machine.h
33316         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33317         * sysdeps/s390/s390-32/dl-machine.h
33318         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33319         * sysdeps/sparc/sparc32/dl-machine.h
33320         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33321         * sysdeps/sparc/sparc64/dl-machine.h
33322         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33324         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33325         lazy binding.
33326         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33327         undefined symbol errors.
33329         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33330         DT_NEEDED entries.
33332 2012-04-05  Michael Matz  <matz@suse.de>
33334         [BZ #13592]
33335         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33337 2012-04-05  Andreas Jaeger  <aj@suse.de>
33339         [BZ #13908]
33340         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33341         comment.
33343 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33345         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33346         which ROUND is no valid rounding mode.
33348 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33350         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33351         read again.
33352         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33354 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33356         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33357         an exception using FPU order intentionally.
33359 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33361         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33362         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33363         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33364         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33366 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33368         [BZ #12340]
33369         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33370         EINVAL when BUFLEN is too smal.
33372 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33374         [BZ #13553]
33375         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33376         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33378 2012-04-03  Andreas Jaeger  <aj@suse.de>
33380         [BZ #13938]
33381         * manual/setjmp.texi (System V contexts): Fix sentence.
33383         [BZ #13926]
33384         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33385         New macro for this case.
33386         [!__GNUC__] (__bswap_64): New inline function for this case.
33387         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33388         * bits/byteswap.h: Likewise.
33389         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33390         ull, guard with __GLIBC_HAVE_LONG_LONG.
33392         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33393         __GLIBC_HAVE_LONG_LONG.
33395         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33396         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33398 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33400         [BZ #13691]
33401         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33402         inptr and inend, rather than using last_ch.
33404 2012-04-02  David S. Miller  <davem@davemloft.net>
33406         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33407         * stdio-common/printf-parse.h (read_int): Change return type to
33408         'int', return -1 on INT_MAX overflow.
33409         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33410         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33411         overflows INT_MAX.  Check for overflow of in-format-string precision
33412         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33413         SIZE_MAX not INT_MAX for integer overflow test.
33414         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33415         skip the construct in the format string but do not record anything.
33416         * stdio-common/bug22.c: Adjust to test both width/prevision
33417         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33418         explicitly for proper errno values.
33420 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33422         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33423         CHAR_MAX.
33424         * string/test-strcmp.c [! WIDE]: Likewise.
33425         * time/tst-mktime2.c: Likewise for INT_MAX.
33426         * string/test-string.h: #include <sys/param.h> for MIN.
33428         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33429         * sysdeps/i386/init-first.c (init): Likewise.
33430         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33431         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33432         * sysdeps/sh/init-first.c (init): Likewise.
33434 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33436         * po/ru.po: Update from translation team.
33437         * po/vi.po: Likewise.
33439 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33441         * resolv/nss_dns/dns-host.c: Merge copyright years.
33443 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33445         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33446         Optimize memcpy with prefetch if
33447         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33448         src, dst pointers have unequal 16 byte alignments.
33450 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33452         [BZ #13928]
33453         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33454         from a CNAME entry and return the minimum ttl for the query.
33455         (gaih_getanswer_slice): Likewise.
33457 2012-03-30  Jeff Law  <law@redhat.com>
33459         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33460         due to long keys.
33461         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33462         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33464         * resolv/nss_dns/dns-host.c: Update copyright year.
33466 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33468         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33469         requests to save a system call.  Fix check that all bytes are sent.
33471         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33472         comments for sendmmsg.
33474 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33476         [BZ #13691]
33477         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33478         with only 1 character between 0x0041 and 0x01b0.
33479         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33480         * wcsmbs/tst-mbsnrtowcs.c: New file.
33482 2012-03-29  David S. Miller  <davem@davemloft.net>
33484         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33485         small copies by hand.
33487 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33489         [BZ #13761]
33490         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33491         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33492         group memberships.
33494 2012-03-28  David S. Miller  <davem@davemloft.net>
33496         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33497         that branches into memcpy.
33498         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33499         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33500         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33501         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33502         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33503         bits.
33504         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33505         implementation too.
33506         * sysdeps/sparc/mempcpy.S: New file.
33508         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33509         the IFUNC routine in the libc case.
33510         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33512         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33513         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33514         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33515         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33516         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33517         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33518         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33519         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33521         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33522         loop to 256 bytes instead of 64 bytes and fix test signedness.
33524         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33525         * sysdeps/sparc/sparc32/Makefile: rather than here...
33526         * sysdeps/sparc/sparc64/Makefile: and here.
33528 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33530         * malloc/mallocbug.c: Avoid warnings about unused variables.
33532 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33534         [BZ #13760]
33535         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33536         in the right place. Discard and retry query if response is
33537         larger than input buffer size.
33539 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33541         [BZ #369]
33542         [BZ #2678]
33543         [BZ #3866]
33544         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33545         x for large integer exponent.
33546         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33547         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33548         sign of result as needed afterwards.
33549         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33550         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33551         result for underflowing pow the same as for overflow.
33552         (__kernel_standard_l): Handle powl overflow and underflow here
33553         rather than calling __kernel_standard.
33554         * math/libm-test.inc (pow_test): Add more tests.
33556         [BZ #3868]
33557         [BZ #13879]
33558         [BZ #13910]
33559         [BZ #13911]
33560         [BZ #13912]
33561         [BZ #13913]
33562         [BZ #13915]
33563         [BZ #13916]
33564         [BZ #13917]
33565         [BZ #13918]
33566         [BZ #13919]
33567         [BZ #13920]
33568         [BZ #13921]
33569         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33570         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33571         (__kernel_standard_l): New function.
33572         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33573         __kernel_standard.
33574         * math/w_acosl.c (__acosl): Likewise.
33575         * math/w_asinl.c (__asinl): Likewise.
33576         * math/w_atan2l.c (__atan2l): Likewise.
33577         * math/w_atanhl.c (__atanhl): Likewise.
33578         * math/w_coshl.c (__coshl): Likewise.
33579         * math/w_exp10l.c (__exp10l): Likewise.
33580         * math/w_exp2l.c (__exp2l): Likewise.
33581         * math/w_fmodl.c (__fmodl): Likewise.
33582         * math/w_hypotl.c (__hypotl): Likewise.
33583         * math/w_j0l.c (__j0l, __y0l): Likewise.
33584         * math/w_j1l.c (__j1l, __y1l): Likewise.
33585         * math/w_jnl.c (__jnl, __ynl): Likewise.
33586         * math/w_lgammal.c (__lgammal): Likewise.
33587         * math/w_log10l.c (__log10l): Likewise.
33588         * math/w_log2l.c (__log2l): Likewise.
33589         * math/w_logl.c (__logl): Likewise.
33590         * math/w_powl.c (__powl): Likewise.
33591         * math/w_remainderl.c (__remainderl): Likewise.
33592         * math/w_scalbl.c (sysv_scalbl): Likewise.
33593         * math/w_sinhl.c (__sinhl): Likewise.
33594         * math/w_sqrtl.c (__sqrtl): Likewise.
33595         * math/w_tgammal.c (__tgammal): Likewise.
33596         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33597         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33598         * math/libm-test.inc (acos_test): Add more tests.
33599         (acosh_test): Likewise.
33600         (asin_test): Likewise.
33601         (atanh_test): Likewise.
33602         (exp_test): Likewise.
33603         (exp10_test): Likewise.
33604         (exp2_test): Likewise.
33605         (expm1_test): Likewise.
33606         (lgamma_test): Likewise.
33607         (log_test): Likewise.
33608         (log10_test): Likewise.
33609         (log1p_test): Likewise.
33610         (log2_test): Likewise.
33611         (pow_test): Do not allow some spurious overflow exceptions.
33612         (sqrt_test): Add more tests.
33613         (tgamma_test): Likewise.
33614         (y0_test): Likewise.
33615         (y1_test): Likewise.
33616         (yn_test): Likewise.
33618 2012-03-27  Anton Blanchard  <anton@samba.org>
33620         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33621         MAP_HUGETLB.
33622         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33623         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33626 2012-03-27  David S. Miller  <davem@davemloft.net>
33628         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33630         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33631         have-as-vis3 check.
33633 2012-03-27  Andreas Jaeger  <aj@suse.de>
33635         * sysdeps/x86_64/elf/configure.in: Moved to ...
33636         * sysdeps/x86_64/configure.in: ... here.
33637         * sysdeps/x86_64/elf/start.S: Moved to ...
33638         * sysdeps/x86_64/start.S: ... here.
33639         * sysdeps/x86_64/elf/configure: Delete.
33641         * sysdeps/x86_64/configure.in: Merge contents from
33642         sysdeps/i386/configure.in (without i686 check).
33644         * sysdeps/i386/elf/Versions: Merge into ...
33645         * sysdeps/i386/Versions: ... this.
33646         * sysdeps/i386/elf/Versions: Delete file.
33647         * sysdeps/i386/elf/start.S: Moved to ...
33648         * sysdeps/i386/start.S: ...here.
33649         * sysdeps/i386/elf/configure.in: Merge into...
33650         * sysdeps/i386/configure.in: ...here.
33651         * sysdeps/i386/elf/configure.in: Delete file.
33652         * sysdeps/i386/elf/configure: Delete file.
33654         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33655         * debug/backtracesyms.c: ... here.
33656         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33657         * debug/backtracesymsfd.c: ... here.
33658         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33659         * sysdeps/generic/ifunc-sel.h: ... here.
33661         * sysdeps/unix/i386/start.c: Delete file.
33662         * sysdeps/unix/sparc/start.c: Delete file.
33663         * sysdeps/unix/start.c: Delete file.
33665         * sysdeps/sh/elf/configure.in: Moved to ...
33666         * sysdeps/sh/configure.in: ... here.
33667         * sysdeps/sh/elf/start.S: Moved to ...
33668         * sysdeps/sh/start.S: ... here.
33669         * sysdeps/sh/elf/configure: Delete file.
33671         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33672         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33673         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33674         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33675         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33676         * sysdeps/powerpc/powerpc64/start.S: here.
33677         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33678         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33679         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33680         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33681         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33683         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33684         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33685         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33686         * sysdeps/powerpc/powerpc32/start.S: ... here.
33687         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33688         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33689         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33691         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33692         * sysdeps/powerpc/ifunc-sel.h: ... here.
33693         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33694         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33696         * sysdeps/sparc/elf/configure.in: Moved to ...
33697         * sysdeps/sparc/configure.in: ... here.
33698         * sysdeps/sparc/elf/configure: Delete file.
33699         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33700         * sysdeps/sparc/sparc32/start.S: ... here.
33701         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33702         * sysdeps/sparc/sparc64/start.S: ... here.
33703         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33704         * sysdeps/sparc/sparc32/Makefile: ... this.
33705         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33706         * sysdeps/sparc/sparc64/Makefile: ... this.
33708         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33709         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33710         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33711         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33712         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33713         * sysdeps/s390/s390-32/setjmp.S: ... here.
33714         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33715         * sysdeps/s390/s390-32/configure.in: ... here.
33716         * sysdeps/s390/s390-32/elf/configure: Delete file.
33717         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33718         * sysdeps/s390/s390-32/start.S: ... here.
33720         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33721         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33722         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33723         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33724         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33725         * sysdeps/s390/s390-64/setjmp.S: ... here.
33726         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33727         * sysdeps/s390/s390-64/configure.in: ... here
33728         * sysdeps/s390/s390-64/elf/configure: Delete file.
33729         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33730         * sysdeps/s390/s390-64/start.S: ... here.
33731         * sysdeps/s390/s390-64/elf/configure: Delete.
33733         * configure.in: Remove support for elf directories in sysdeps.
33735         * configure: Regenerated.
33736         * sysdeps/i386/configure: Regenerated.
33737         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33738         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33739         * sysdeps/s390/s390-32/configure: Regenerated.
33740         * sysdeps/s390/s390-64/configure: Regenerated.
33741         * sysdeps/sh/configure: Regenerated.
33742         * sysdeps/sparc/configure: Regenerated.
33743         * sysdeps/x86_64/configure: Regenerated.
33745 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33749         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33750         denormal result into account.
33752 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33754         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33755         Reported by Allan McRae <allan@archlinux.org>.
33757 2012-03-23  Jeff Law  <law@redhat.com>
33759         * nss/getnssent.c (__nss_getent): Fix typo.
33761 2012-03-23  David S. Miller  <davem@davemloft.net>
33763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33765 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33767         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33768         to pad to uint64_t for each field.
33769         (dl_tls_index): Replace unsigned long with uint64_t.
33771 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33772         Paul Pluzhnikov  <ppluzhnikov@google.com>
33774         [BZ #6528]
33775         * grp/Makefile (otherlibs): Don't set it.
33776         * inet/Makefile (otherlibs): Likewise.
33777         * login/Makefile (otherlibs): Likewise.
33778         * nscd/Makefile (otherlibs): Likewise.
33779         * posix/Makefile (otherlibs): Likewise.
33780         * pwd/Makefile (otherlibs): Likewise.
33781         * rt/Makefile (otherlibs): Likewise.
33782         * sunrpc/Makefile (otherlibs): Likewise.
33783         * nss/Makefile (otherlibs): Likewise.
33784         Add libnss_files to routines and static-only-routines.
33785         ($(objpfx)getent): Remove rule.
33786         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33787         static-only-routines.
33789 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33791         [BZ #13892]
33792         * math/s_cexp.c: Include <float.h>.
33793         (__cexp): Handle exp result overflowing not necessarily
33794         overflowing both real and imaginary parts of result.
33795         * math/s_cexpf.c: Likewise.
33796         * math/s_cexpl.c: Likewise.
33797         * math/libm-test.inc (cexp_test): Add more tests.
33798         * sysdeps/i386/fpu/libm-test-ulps: Update.
33799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33801 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33803         * include/link.h (ELFW): New macro.
33804         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33805         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33807 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33809         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33810         with uint64_t.
33812 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33814         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33815         declaration.
33816         (struct La_x32_retval): Likewise.
33818 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33820         * sysdeps/x86_64/preconfigure.in: New file.
33821         * sysdeps/x86_64/preconfigure: New generated file.
33823 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33825         [BZ #13824]
33826         * math/e_exp2l.c: Include <float.h>.
33827         (__ieee754_exp2l): Handle overflow and underflow cases
33828         separately.  Only pass fractional part of argument to
33829         __ieee754_expl.
33830         * math/libm-test.inc (exp2_test): Add more tests.
33832         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33833         negating x to take absolute value.
33834         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33835         Likewise.
33836         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33837         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33838         Likewise.
33839         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33840         computing low part if x was negated.
33841         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33843 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33845         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33846         la_x32_gnu_pltexit.
33847         (pltexit): Cast int_retval to ptrdiff_t.
33848         * elf/tst-auditmod3b.c: Likewise.
33849         * elf/tst-auditmod4b.c: Likewise.
33850         * elf/tst-auditmod5b.c: Likewise.
33851         * elf/tst-auditmod6b.c: Likewise.
33852         * elf/tst-auditmod6c.c: Likewise.
33853         * elf/tst-auditmod7b.c: Likewise.
33855         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33856         and x32_gnu_pltexit.
33858         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33859         __ELF_NATIVE_CLASS.
33860         (La_x32_regs): New macro.
33861         (La_x32_retval): Likewise.
33862         (la_x32_gnu_pltenter): New function prototype.
33863         (la_x32_gnu_pltexit): Likewise.
33865 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33867         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33868         exponent.
33870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33872         * configure.in (libc_cv_cc_nofma): Check for option to disable
33873         generation of FMA instructions.
33874         * configure: Regenerate.
33875         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33876         * sysdeps/ieee754/dbl-64/Makefile: New file.
33877         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33878         Remove brandred-fma4.
33879         (CFLAGS-brandred-fma4.c): Remove.
33880         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33881         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33882         define.
33883         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33884         define.
33886 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33888         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33889         LLONG_MAX != LONG_MAX.
33890         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33891         (_fitoa_word): Likewise.
33892         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33893         LLONG_MAX != LONG_MAX.
33894         * stdio-common/_itowa.h: Include <_itoa.h>.
33895         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33896         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33897         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33898         only if not defined.
33899         (_ITOA_WORD_TYPE): Likewise.
33900         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33901         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33903 2012-03-21  David S. Miller  <davem@davemloft.net>
33905         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33907 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33909         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33910         of x86_64 when setting libc_cv_slibdir, libdir and
33911         libc_cv_localedir.
33912         * sysdeps/unix/sysv/linux/configure: Regenerated.
33914 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33916         * manual/lang.texi (Old Varargs): Remove section.
33917         (How Variadic): Update menu.
33918         (va_start): Do not mention varargs.h.
33920 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33921             Joseph Myers  <joseph@codesourcery.com>
33923         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33924         link test.
33925         * configure: Regenerated.
33927 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33929         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33930         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33931         conformtest.pl
33933 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33935         * NOTES: Remove.
33936         * Makefile (files-for-dist): Remove NOTES.
33937         (NOTES): Remove rule.
33938         * README: Don't refer to NOTES.
33939         * manual/creature.texi: Don't include macros.texi.
33940         * manual/intro.texi (creature.texi): Remove comment referring to
33941         NOTES.
33943         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33944         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33945         * configure: Regenerated.
33946         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33947         LIBC_TRY_CC_OPTION.
33948         (libc_cv_as_i686): Likewise.
33949         (libc_cv_cc_avx): Likewise.
33950         (libc_cv_cc_sse2avx): Likewise.
33951         (libc_cv_cc_fma4): Likewise.
33952         (libc_cv_cc_novzeroupper): Likewise.
33953         * sysdeps/i386/configure: Regenerated.
33955         [BZ #13883]
33956         * sysdeps/i386/fpu/s_cexp.S: Remove.
33957         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33958         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33959         * math/libm-test.inc (cexp_test): Add more tests.
33960         * sysdeps/i386/fpu/libm-test-ulps: Update.
33961         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33963 2012-03-21  Allan McRae  <allan@archlinux.org>
33965         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33967 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33969         [BZ #13871]
33970         * math/w_exp2.c: Do not include <float.h>.
33971         (o_threshold, u_threshold): Remove.
33972         (__exp2): Calculate result before checking finiteness and calling
33973         __kernel_standard.
33974         * math/w_exp2f.c: Likewise.
33975         * math/w_exp2l.c: Likewise.
33976         * math/libm-test.inc (exp2_test): Require overflow exception for
33977         1e6 input.
33979         [BZ #3866]
33980         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33981         range of signed 64-bit integers before using fistpll.  Remove
33982         checks for whether integers fit in mantissa bits.
33983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33984         the range of signed 32-bit integers before using fistpl.  Remove
33985         checks for whether integers fit in mantissa bits.
33986         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33987         (__ieee754_powl): Test for y outside the range of signed 64-bit
33988         integers before using fistpll.  Reduce 64-bit values to 63-bit
33989         ones as needed.
33990         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33991         divide-by-zero is raised for zero to large negative powers.
33992         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33993         (__ieee754_powl): Test for y outside the range of signed 64-bit
33994         integers before using fistpll.  Reduce 64-bit values to 63-bit
33995         ones as needed.
33996         * math/libm-test.inc (pow_test): Add more tests.
33998 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34000         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34001         <stdio-common/_itoa.h>.
34002         * debug/segfault.c: Likewise.
34003         * elf/dl-cache.c: Likewise.
34004         * elf/dl-minimal.c: Likewise.
34005         * elf/dl-misc.c: Likewise.
34006         * elf/dl-sysdep.c: Likewise.
34007         * elf/dl-version.c: Likewise.
34008         * elf/rtld.c: Likewise.
34009         * hurd/hurdsock.c: Likewise.
34010         * hurd/lookup-retry.c: Likewise.
34011         * malloc/malloc.c: Likewise.
34012         * malloc/mtrace.c: Likewise.
34013         * nscd/nscd_getgr_r.c: Likewise.
34014         * nscd/nscd_getpw_r.c: Likewise.
34015         * nscd/nscd_getserv_r.c: Likewise.
34016         * posix/getopt_init.c: Likewise.
34017         * posix/wordexp.c: Likewise.
34018         * stdio-common/_itoa.c: Likewise.
34019         * stdio-common/printf_fphex.c: Likewise.
34020         * stdio-common/vfprintf.c: Likewise.
34021         * string/_strerror.c: Likewise.
34022         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34023         * sysdeps/i386/i686/hp-timing.h: Likewise.
34024         * sysdeps/mach/_strerror.c: Likewise.
34025         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34026         * sysdeps/mach/hurd/sethostid.c: Likewise.
34027         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34028         * sysdeps/mach/xpg-strerror.c: Likewise.
34029         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34030         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34031         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34032         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34033         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34034         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34035         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34036         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34037         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34038         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34039         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34040         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34041         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34042         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34043         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34044         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34045         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34046         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34047         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34048         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34049         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34051         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34053         * stdio-common/_itoa.h: Moved to ...
34054         * sysdeps/generic/_itoa.h: Here.
34056         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34058         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34059         instead of "_itoa.h" and "_itowa.h".
34060         * stdio-common/vfprintf.: Likewise.
34062 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34064         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34065         <bits/wordsize.h>.
34066         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34067         (__signbit): Likwise.
34068         (llrintf): Likwise.
34069         (llrint): Likwise.
34071 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34073         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34074         __WORDSIZE != 64.
34076 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34078         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34079         OVERFLOW_EXCEPTION_OK.
34080         * math/libm-test.inc ("Philosophy"): Update comment about
34081         exception testing.
34082         (OVERFLOW_EXCEPTION): Define.
34083         (OVERFLOW_EXCEPTION_OK): Likewise.
34084         (INVALID_EXCEPTION_OK): Renumber.
34085         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34086         (IGNORE_ZERO_INF_SIGN): Likewise.
34087         (test_exceptions): Handle FE_OVERFLOW.
34088         (exp10_test): Expect overflow exceptions.
34089         (exp2_test): Likewise.
34090         (expm1_test): Likewise.
34091         (nextafter_test): Likewise.
34092         (pow_test): Likewise.
34093         (scalbn_test): Likewise.
34094         (scalbln_test): Likewise.
34096 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34098         * sysdeps/x86_64/bits/atomic.h
34099         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34100         64bit integer.
34101         (atomic_exchange_acq): Likewise.
34102         (__arch_exchange_and_add_body): Likewise.
34103         (__arch_add_body): Likewise.
34104         (atomic_add_negative): Likewise.
34105         (atomic_add_zero): Likewise.
34107 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34109         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34110         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34112 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34114         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34115         Check __x86_64__ instead of __WORDSIZE.
34117 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34119         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34121 2012-03-19  David S. Miller  <davem@davemloft.net>
34123         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34125         * sysdeps/sparc/fpu/fenv_private.h: New file.
34126         * sysdeps/sparc/fpu/math_private.h: Use it.
34127         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34128         Remove.
34129         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34130         (libc_feholdexcept_setroundl): Remove.
34131         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34132         Remove.
34133         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34134         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34136 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34138         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34139         int64_t instead of long int.
34140         (INSERT_WORDS64): Likwise.
34142 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34144         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34145         _Unwind_GetCFA return to _Unwind_Ptr first.
34147 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34149         [BZ #13629]
34150         * math/s_clog.c: Include <float.h>.
34151         (__clog): Scale large or subnormal inputs.
34152         * math/s_clogf.c: Likewise.
34153         * math/s_clogl.c: Likewise.
34154         * math/s_clog10.c: Include <float.h>.
34155         (M_LOG10_2): Define.
34156         (__clog10): Scale large or subnormal inputs.
34157         * math/s_clog10f.c: Likewise.
34158         * math/s_clog10l.c: Likewise.
34159         * math/libm-test.inc (clog_test): Add more tests.
34160         (clog10_test): Likewise.
34161         * sysdeps/i386/fpu/libm-test-ulps: Update.
34162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34164         [BZ #11451]
34165         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34166         x and y.
34167         * math/libm-test.inc (atan2_test): Add another test.
34169         * Makerules (common-objdir-compile): Remove.
34170         * sysdeps/unix/Makefile (config-generated): Do not add
34171         $(unix-generated) to variable.
34172         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34173         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34174         Remove rule.
34175         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34176         Likewise.
34177         [generic bits/local_lim.h] (before-compile): Do not append to
34178         variable.
34179         [generic bits/local_lim.h] (common-generated): Likewise.
34180         [generic sys/param.h] (before-compile): Do not append to variable.
34181         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34182         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34183         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34184         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34185         include.
34186         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34187         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34188         [generic sys/param.h] ($(addprefix
34189         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34190         [generic sys/param.h] (common-generated): Do not append to
34191         variable.
34192         [generic sys/param.h] (sysdep_headers): Likewise.
34193         [generic bits/errno.h] (before-compile): Do not append to
34194         variable.
34195         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34196         rule.
34197         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34198         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34199         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34200         [generic bits/errno.h] (common-generated): Do not append to
34201         variable.
34202         [generic bits/ioctls.h] (before-compile): Do not append to
34203         variable.
34204         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34205         rule.
34206         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34207         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34208         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34209         rule.
34210         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34211         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34212         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34213         [generic bits/ioctls.h] (common-generated): Do not append to
34214         variable.
34215         [generic sys/syscall.h] (syscall.h): Remove variable.
34216         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34217         rule.
34218         [generic sys/syscall.h] (before-compile): Do not append to
34219         variable.
34220         [generic sys/syscall.h] (common-generated): Likewise.
34221         * sysdeps/unix/errnos-tmpl.c: Remove file.
34222         * sysdeps/unix/errnos.awk: Likewise.
34223         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34224         * sysdeps/unix/ioctls.awk: Likewise.
34225         * sysdeps/unix/mk-local_lim.c: Likewise.
34226         * sysdeps/unix/snarf-ioctls: Likewise.
34228 2012-03-19  Richard Henderson  <rth@twiddle.net>
34230         * sysdeps/i386/fpu/fenv_private.h: New file.
34231         * sysdeps/i386/fpu/math_private.h: Use it.
34232         (math_opt_barrier, math_force_eval): Remove.
34233         (libc_feholdexcept_setround_53bit): Remove.
34234         (libc_feupdateenv_53bit): Remove.
34235         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34236         (math_opt_barrier, math_force_eval): Remove.
34237         (libc_feholdexcept): Remove.
34238         (libc_feholdexcept_setround): Remove.
34239         (libc_fetestexcept, libc_fesetenv): Remove.
34240         (libc_feupdateenv_test): Remove.
34241         (libc_feupdateenv, libc_feholdsetround): Remove.
34242         (libc_feresetround): Remove.
34244         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34245         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34247         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34248         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34249         (libc_feupdateenv_testl): New.
34250         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34251         (libc_feupdateenv_testf): New.
34252         (libc_feupdateenv): Use libc_feupdateenv_test.
34253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34254         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34256         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34257         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34258         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34259         (libc_feresetround_noex): New.
34260         (libc_feresetround_noexf): New.
34261         (libc_feresetround_noexl): New.
34262         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34263         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34264         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34265         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34266         SET_RESTORE_ROUND.
34267         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34268         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34269         (__cos): Likewise.
34270         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34271         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34272         SET_RESTORE_ROUND_NOEX.
34273         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34274         SET_RESTORE_ROUND_NOEXF.
34275         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34276         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34277         (libc_feholdsetroundf): New.
34278         (libc_feresetround, libc_feresetroundf): New.
34280         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34281         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34282         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34284         * sysdeps/generic/math_private.h: Include <fenv.h>.
34285         (default_libc_feholdexcept): New.
34286         (default_libc_feholdexcept_setround): New.
34287         (default_libc_fesetenv, default_libc_feupdateenv): New.
34288         (libc_feholdexcept): Only define if undefined.
34289         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34290         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34291         (libc_feholdexcept_setroundl): Likewise.
34292         (libc_feholdexcept_setround_53bit): Likewise.
34293         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34294         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34295         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34296         (libc_feupdateenv_53bit): Likewise.
34297         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34298         (libc_feholdexcept): Convert from macro to inline function.
34299         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34300         (libc_fesetenv, libc_feupdateenv): Likewise.
34302         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34303         not previously defined.
34304         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34305         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34306         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34307         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34308         * sysdeps/ieee754/flt-32/math_private.h: New file.
34309         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34310         math_private.h below SET_FLOAT_WORD.
34311         (__isnan, __isinf_ns, __finite): Remove.
34312         (__isnanf, __isinf_nsf, __finitef): Remove.
34314 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34316         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34318 2012-03-17  David S. Miller  <davem@davemloft.net>
34320         [BZ #6471]
34321         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34322         for 2.16.
34324 2012-03-16  David S. Miller  <davem@davemloft.net>
34326         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34327         warnings.
34329         [BZ #6471]
34330         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34331         properly.
34332         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34333         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34334         sysdep_routines when subdir is sysvipc.
34335         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34336         __getshmlba helper.
34338         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34340 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34342         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34343         [__LP64__].
34345 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34347         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34348         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34349         (__lround): Renamed to ...
34350         (__llround): This.  Replace long int with long long int.
34351         Define lround functions as aliases of llround functions.
34352         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34354 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34356         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34357         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34358         adresses to uintptr_t.  Replace "long int" and "unsigned long
34359         int" with "greg_t" on va_arg.
34361 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34363         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34364         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34366         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34367         Move e_machine check before EI_CLASS check.  Handle x32
34368         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34369         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34370         SKIP_EM_IA_64 and include
34371         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34373         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34374         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34375         (add_system_dir): New macro.
34377         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34378         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34380 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34382         [BZ #2551]
34383         [BZ #2552]
34384         [BZ #2553]
34385         [BZ #2554]
34386         [BZ #2562]
34387         [BZ #2563]
34388         [BZ #2565]
34389         [BZ #2566]
34390         [BZ #2576]
34391         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34392         (y0): Likewise.
34393         * math/w_j0f.c (j0f): Likewise.
34394         (y0f): Likewise.
34395         * math/w_j0l.c (__j0l): Likewise.
34396         (__y0l): Likewise.
34397         * math/w_j1.c (j1): Likewise.
34398         (y1): Likewise.
34399         * math/w_j1f.c (j1f): Likewise.
34400         (y1f): Likewise.
34401         * math/w_j1l.c (__j1l): Likewise.
34402         (__y1l): Likewise.
34403         * math/w_jn.c (jn): Likewise.
34404         (yn): Likewise.
34405         * math/w_jnf.c (jnf): Likewise.
34406         (ynf): Likewise.
34407         * math/w_jnl.c (__jnl): Likewise.
34408         (__ynl): Likewise.
34409         * math/libm-test.inc (j0_test): Add more tests.
34410         (j1_test): Likewise.
34411         (jn_test): Likewise.  Add trailing semicolon to existing test.
34412         (y0_test): Likewise.
34413         (y1_test): Likewise.
34414         * sysdeps/i386/fpu/libm-test-ulps: Update.
34415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34417         [BZ #13851]
34418         [BZ #13854]
34419         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34420         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34421         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34422         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34423         (__tanl): Set errno for infinite argument.
34424         * sysdeps/i386/fpu/mptan.c: Remove.
34425         * sysdeps/i386/fpu/s_tan.S: Likewise.
34426         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34427         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34428         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34429         * math/libm-test.inc (tan_test): Add more tests and enable more
34430         tests for double and long double.
34431         * sysdeps/i386/fpu/libm-test-ulps: Update.
34432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34434 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34436         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34437         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34439 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34441         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34442         * configure.in: Use it for both main tree and add-ons.
34443         * configure: Regenerated.
34445 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34447         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34449 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34451         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34452         in comment.
34454         [BZ #13851]
34455         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34456         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34457         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34458         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34459         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34460         infinite argument.
34461         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34462         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34463         != 0 for prec == 2.
34464         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34465         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34466         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34467         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34468         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34469         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34470         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34471         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34472         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34473         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34474         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34475         * math/libm-test.inc (cos_test): Add more tests and enable more
34476         tests for long double.
34477         (sin_test): Likewise.
34478         (sincos_test): Likewise.
34479         * sysdeps/i386/fpu/libm-test-ulps: Update.
34480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34482 2012-03-16  David S. Miller  <davem@davemloft.net>
34484         * sysdeps/sparc/fpu/math_private.h: New file.
34486 2012-03-15  David S. Miller  <davem@davemloft.net>
34488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34489         file.
34490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34492         file.
34493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34494         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34495         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34496         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34497         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34498         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34499         sysdep routines.
34500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34502         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34503         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34505         * sysdeps/sparc/sparc-ifunc.h: New file.
34506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34507         sparc-ifunc.h
34508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34510         Likewise.
34511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34512         Likewise.
34513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34517         Likewise.
34518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34523         Likewise.
34524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34525         Likewise.
34526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34531         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34532         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34533         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34534         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34535         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34536         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34537         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34538         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34539         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34540         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34541         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34542         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34543         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34544         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34545         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34546         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34547         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34548         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34549         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34551 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34553         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34554         scaling.
34555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34557 2012-03-15  Andreas Jaeger  <aj@suse.de>
34559         [BZ #13852]
34560         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34561         ieee754/flt-32 implementation for sin, cos and sincos.
34562         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34563         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34564         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34565         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34566         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34567         ieee754/flt-32 implementation for tan.
34569         * math/libm-test.inc (cos_test): Enable some large input tests for
34570         float as well
34571         (sin_test): Likewise.
34572         (sincos_test): Likewise.
34573         (tan_test): Add tests for large input.
34575         * sysdeps/i386/fpu/libm-test-ulps: Update.
34577 2012-03-15  Andreas Jaeger  <aj@suse.de>
34579         [BZ #13658]
34580         * math/libm-test.inc (cos_test): Add more test cases.
34581         (sin_test): Likewise.
34582         (sincos_test): Likewise.
34584 2012-03-15  Andreas Jaeger  <aj@suse.de>
34586         [BZ #13837]
34587         * math/libm-test.inc (cos_test): Add a test case for large input
34588         value.
34589         (sin_test): Likewise.
34590         (sincos_test): Likewise.
34592 2012-03-15  Andreas Jaeger  <aj@suse.de>
34593             Joseph Myers  <joseph@codesourcery.com>
34595         [BZ #13658]
34596         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34597         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34598         * sysdeps/i386/fpu/branred.c: Likewise.
34599         * sysdeps/i386/fpu/dosincos.c: Likewise.
34600         * sysdeps/i386/fpu/mpa.c: Likewise.
34601         * sysdeps/i386/fpu/s_cos.S: Likewise.
34602         * sysdeps/i386/fpu/s_sin.S: Likewise.
34603         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34604         * sysdeps/i386/fpu/sincos32.c: Likewise.
34606         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34607         Define.
34608         (libc_feupdateenv_53bit): Define.
34609         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34610         Define.
34611         (libc_feupdateenv_53bit): Define.
34613         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34614         53 bit (without extend i386 double precision).
34616         * math/libm-test.inc (sincos_test): Add tests for large input.
34617         (sin): Likewise.
34618         (cos): Likewise.
34620         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34622 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34626 2012-03-15  David S. Miller  <davem@davemloft.net>
34628         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34629         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34630         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34631         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34636         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34637         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34638         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34639         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34640         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34644         file.
34645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34647         file.
34648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34650         file.
34651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34653         file.
34654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34655         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34656         fmin/fmax sysdep routines.
34657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34659 2012-03-14  David S. Miller  <davem@davemloft.net>
34661         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34662         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34663         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34664         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34665         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34666         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34667         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34668         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34669         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34670         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34671         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34672         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34673         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34674         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34675         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34676         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34677         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34678         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34679         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34680         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34681         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34682         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34683         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34684         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34685         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34686         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34687         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34688         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34690         routines.
34691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34692         file.
34693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34695         file.
34696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34698         file.
34699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34701         file.
34702         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34704         file.
34705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34707         file.
34708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34709         file.
34710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34711         file.
34712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34713         file.
34714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34715         New file.
34716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34717         file.
34718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34719         file.
34720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34722         file.
34723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34725         file.
34726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34728         file.
34729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34731         VIS3 routines.
34733         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34734         New file.
34736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34738         * sysdeps/sparc/configure.in: New file.
34739         * sysdeps/sparc/configure: Generate.
34740         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34741         * configure: Regenerate.
34742         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34743         * config.make.in (have-as-vis3): New.
34744         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34745         available use -Av9d instead of -Av9a.
34746         * sysdeps/sparc/sparc64/Makefile: Likewise.
34747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34749         New file.
34750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34751         file.
34752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34753         New file.
34754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34755         file.
34756         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34757         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34758         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34759         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34760         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34762         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34763         fzeros/fnegs to load 0x80000000 into a float register instead of
34764         using the stack.
34765         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34767 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34769         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34770         bits/syscall.h.
34771         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34772         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34773         ($(inst_includedir)/bits/syscall.h): Remove rule.
34774         ($(objpfx)bits/syscall.d): Include instead of
34775         $(objpfx)syscall-list.d.
34776         (generated): Change syscall-list.h and syscall-list.d to
34777         bits/syscall.h and bits/syscall.d.
34779 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34781         [BZ #13846]
34782         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34784 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34786         [BZ #13841]
34787         * math/s_csqrt.c: Include <float.h>.
34788         (__csqrt): Scale large or subnormal inputs.
34789         * math/s_csqrtf.c: Likewise.
34790         * math/s_csqrtl.c: Likewise.
34791         * math/libm-test.inc (csqrt_test): Add more tests.
34792         * sysdeps/i386/fpu/libm-test-ulps: Update.
34793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34795         [BZ #13840]
34796         * math/libm-test.inc (hypot_test): Add more tests.
34798 2012-03-13  David S. Miller  <davem@davemloft.net>
34800         [BZ #13840]
34801         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34802         double-precision for the calculation instead of scaling.
34804 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34806         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34807         manipulate bits before adding and subtracting TWO52[sx].
34808         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34809         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34810         Likewise.
34811         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34813 2012-03-13  David S. Miller  <davem@davemloft.net>
34815         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34816         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34817         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34818         rtld-global-offsets.h
34819         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34821         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34822         large parameters.
34824         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34826         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34827         'err' in the ifdef scope in which it is actually used.
34829         * nss/nss_db/db-init.c: Include string.h
34831 2012-03-12  David S. Miller  <davem@davemloft.net>
34833         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34834         masking out of the most significant byte of random value used.
34835         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34836         Fix coding style in previous change.
34838         * sysdeps/unix/sysv/linux/kernel-features.h
34839         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34840         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34841         expression.
34842         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34843         later.
34845 2012-03-11  David S. Miller  <davem@davemloft.net>
34847         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34848         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34849         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34850         for 'resultvar' otherwise things get truncated on 64-bit.
34852         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34853         Fix masking out of the most significant byte of random value used.
34855         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34857 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34859         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34861 2012-03-09  David S. Miller  <davem@davemloft.net>
34863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34864         variables with appropriate CPP guards.
34865         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34866         from the frame pointer, not the stack pointer.  Correct layout
34867         comments.  Fix test on resulting framesize and the management of
34868         the outregs buffer for pltexit.  Preserve floating point return
34869         values across _dl_call_pltexit call.
34870         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34871         framesize and the management of the outregs buffer for pltexit.
34872         Preserve floating point return values across _dl_call_pltexit
34873         call.
34874         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34875         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34876         (la_sparc64_gnu_pltexit): New functions.
34877         (print_exit): Fix format string for return register value.
34879 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34881         * sunrpc/Makefile (others): Add rpcgen.
34882         ($(objpfx)rpcgen): Remove special build rule and dependency on
34883         libc.
34884         * sunrpc/rpcgen.c: New file.
34886 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34888         [BZ #13673]
34889         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34890         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34891         * sysdeps/i386/crti.S: Likewise.
34892         * sysdeps/i386/crtn.S: Likewise.
34893         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34894         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34895         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34896         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34897         * sysdeps/sh/crti.S: Likewise.
34898         * sysdeps/sh/crtn.S: Likewise.
34899         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34901         [BZ #13673]
34902         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34903         with URL.
34904         * locale/programs/locfile-kw.gperf: Likewise.
34905         * locale/programs/charmap-kw.h: Regenerated.
34906         * locale/programs/locfile-kw.h: Likewise.
34908         [BZ #13673]
34909         * intl/plural.y: Replace FSF snail mail address with URL.
34910         * intl/plural.c: Regenerated.
34912 2012-03-09  Richard Henderson  <rth@twiddle.net>
34914         * include/math_private.h: Remove file.
34915         * math/math_private.h: Move file ...
34916         * sysdeps/generic/math_private.h: ... here.
34918         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34919         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34920         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34922         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34923         and <math_private.h>.
34924         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34925         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34926         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34927         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34928         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34929         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34930         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34931         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34932         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34933         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34935         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34936         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34937         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34938         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34939         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34940         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34941         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34942         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34943         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34944         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34945         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34946         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34948         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34949         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34950         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34951         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34952         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34953         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34954         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34955         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34956         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34957         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34958         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34959         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34960         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34961         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34962         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34964         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34965         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34966         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34967         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34968         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34969         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34970         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34971         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34972         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34973         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34974         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34975         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34976         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34977         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34978         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34979         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34980         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34981         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34982         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34983         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34984         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34985         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34986         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34987         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34988         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34989         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34990         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34991         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34992         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34993         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34994         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34995         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34996         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34997         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34998         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34999         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35000         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35002         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35004         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35005         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35006         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35007         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35008         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35009         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35010         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35011         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35012         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35013         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35014         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35015         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35016         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35017         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35018         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35019         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35020         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35021         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35022         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35023         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35024         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35025         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35026         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35027         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35028         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35029         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35030         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35031         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35032         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35033         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35034         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35035         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35036         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35037         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35038         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35039         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35040         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35041         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35042         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35043         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35044         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35045         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35046         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35047         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35048         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35049         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35050         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35051         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35052         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35053         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35054         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35055         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35056         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35057         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35058         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35059         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35060         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35061         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35062         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35063         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35064         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35065         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35066         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35067         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35068         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35069         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35070         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35071         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35072         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35073         * sysdeps/ieee754/k_standard.c: Likewise.
35074         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35075         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35076         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35077         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35078         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35079         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35080         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35081         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35082         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35083         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35084         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35085         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35086         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35087         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35088         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35089         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35090         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35091         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35092         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35093         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35094         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35095         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35096         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35097         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35098         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35099         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35100         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35101         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35102         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35103         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35104         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35105         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35106         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35107         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35108         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35109         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35110         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35111         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35112         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35113         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35114         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35115         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35116         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35117         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35118         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35119         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35120         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35121         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35122         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35124         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35125         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35126         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35127         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35128         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35129         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35130         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35131         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35132         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35133         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35134         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35135         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35136         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35137         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35139         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35140         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35141         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35142         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35143         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35144         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35145         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35146         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35147         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35148         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35150         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35151         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35153         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35154         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35155         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35156         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35157         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35158         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35159         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35160         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35161         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35162         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35163         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35164         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35165         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35166         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35167         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35169         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35170         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35171         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35174         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35175         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35176         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35177         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35178         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35179         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35180         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35181         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35182         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35183         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35184         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35185         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35186         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35189         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35191         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35192         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35193         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35194         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35196         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35202         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35206         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35207         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35210         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35211         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35212         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35214         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35215         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35216         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35217         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35218         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35219         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35220         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35221         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35222         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35223         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35224         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35225         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35226         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35227         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35228         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35229         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35230         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35231         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35232         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35233         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35234         * sysdeps/ieee754/s_lib_version.c: Likewise.
35235         * sysdeps/ieee754/s_matherr.c: Likewise.
35236         * sysdeps/ieee754/s_signgam.c: Likewise.
35237         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35238         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35239         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35240         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35241         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35242         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35243         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35244         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35245         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35246         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35247         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35248         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35249         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35250         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35251         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35252         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35253         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35254         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35255         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35256         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35257         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35259 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35261         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35262         * sunrpc/rpc_main.c: Likewise.
35263         * sunrpc/rpc_svcout.c: Likewise.
35265 2012-03-09  David S. Miller  <davem@davemloft.net>
35267         * include/math_private.h: New file.
35269 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35271         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35272         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35273         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35274         from <bits/socket_type.h>.
35275         (enum __socket_type): Don't define here.
35276         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35278         bits/socket_type.h.
35280         [BZ #13566]
35281         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35282         checking __USE_GNU.
35284         * Makerules ($(inst_includedir)/%.h): New rule.
35285         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35286         (install-others): Remove variable setting.
35287         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35289 2012-03-08  Richard Henderson  <rth@twiddle.net>
35291         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35292         from macro to inline function; merge with the
35293         !__LIBC_INTERNAL_MATH_INLINES version.
35294         (__ieee754_sqrtf): Likewise.
35296         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35297         to inline function.
35298         (__rintf, __floor, __floorf): Likewise.
35300         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35301         macro to inline function.
35302         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35304         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35305         not <math/math_private.h>.
35307 2012-03-08  David S. Miller  <davem@davemloft.net>
35309         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35310         copyright year.
35311         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35313 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35315         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35316         normalization.
35317         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35318         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35320 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35322         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35323         be defined individually, they must be defined as a block.  Define
35324         S for printing a string instead of hidint the different by using a
35325         macro for adding the 'l'.
35326         * stdio-common/tst-fphex-wide.c: Adjust.
35328 2012-03-07  Marek Polacek  <polacek@redhat.com>
35330         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35332 2012-03-08  Marek Polacek  <polacek@redhat.com>
35334         [BZ #13806]
35335         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35336         * stdio-common/tst-fphex.c: Define a few macros to make the
35337         test reusable.  Use them.
35338         * stdio-common/tst-fphex-wide.c: New file.
35340 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35342         [BZ #6911]
35343         * manual/macros.texi (gnusystems): New macro.
35344         (nongnusystems): Likewise.
35345         (gnulinuxhurdsystems): Likewise.
35346         (gnuhurdsystems): Likewise..
35347         (gnulinuxsystems): Likewise.
35348         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35349         variants of the GNU system, not "GNU system".
35350         * manual/conf.texi: Likewise.
35351         * manual/errno.texi: Likewise.  Update example of errno macro
35352         expansion.
35353         * manual/filesys.texi: Likewise.
35354         (getumask): Document as specific to GNU/Hurd.
35355         * manual/install.texi: Likewise.  Reword some references to
35356         GNU/Linux.
35357         * manual/intro.texi: Likewise.
35358         * manual/io.texi: Likewise.
35359         (File Name Portability): Detail which constraints are inapplicable
35360         to all GNU systems and which are only inapplicable to GNU/Hurd.
35361         * manual/job.texi: Likewise.
35362         * manual/llio.texi: Likewise.
35363         (O_NOCTTY): Document as present on GNU/Linux.
35364         * manual/maint.texi: Likewise.
35365         * manual/memory.texi: Likewise.
35366         * manual/pattern.texi: Likewise.
35367         * manual/pipe.texi: Likewise.
35368         * manual/process.texi: Likewise.
35369         * manual/resource.texi: Likewise.
35370         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35371         child on GNU/Hurd.
35372         * manual/setjmp.texi: Likewise.
35373         * manual/signal.texi: Likewise.
35374         * manual/startup.texi: Likewise.
35375         * manual/stdio.texi: Likewise.
35376         * manual/terminal.texi: Likewise.
35377         (ONLCR): Document as POSIX.
35378         (OXTABS): Document availability on GNU/Linux as XTABS.
35379         (ONOEOT): Document availability separately from other bits.
35380         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35381         * manual/time.texi: Likewise.
35382         * manual/users.texi: Likewise.
35383         * INSTALL: Regenerated.
35384         * sysdeps/gnu/errlist.c: Regenerated.
35386         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35387         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35388         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35389         puts.
35390         * configure: Regenerated.
35392 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35394         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35395         default includes instead of AC_HEADER_CHECK.
35396         * sysdeps/i386/configure: Regenerated.
35398         [BZ #10716]
35399         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35400         * math/s_cacoshf.c (__cacoshf): Likewise.
35401         * math/s_cacoshl.c (__cacoshl): Likewise.
35402         * math/s_casinh.c (__casinh): Set signs of result from argument.
35403         * math/s_casinhf.c (__casinhf): Likewise.
35404         * math/s_casinhl.c (__casinhl): Likewise.
35405         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35406         (casinh_test): Add more tests.
35407         * sysdeps/i386/fpu/libm-test-ulps: Update.
35408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35410 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35412         * po/zh_TW.po: Update from translation team.
35414         * login/Makefile (distribute): Remove variable.
35415         * catgets/Makefile: Likewise.
35416         * mach/Makefile: Likewise.
35417         * malloc/Makefile: Likewise.
35418         * misc/Makefile: Likewise.
35419         * iconv/Makefile: Likewise.
35420         * nscd/Makefile: Likewise.
35421         * hurd/Makefile: Likewise.
35422         * manual/Makefile: Likewise.
35423         * locale/Makefile: Likewise.
35424         * intl/Makefile: Likewise.
35425         * conform/Makefile: Likewise.
35426         * nss/Makefile: Likewise.
35427         * time/Makefile: Likewise.
35428         * soft-fp/Makefile: Likewise.
35429         * dirent/Makefile: Likewise.
35430         * gmon/Makefile: Likewise.
35431         * po/Makefile: Likewise.
35432         * rt/Makefile: Likewise.
35433         * socket/Makefile: Likewise.
35434         * math/Makefile: Likewise.
35435         * signal/Makefile: Likewise.
35436         * debug/Makefile: Likewise.
35437         * elf/Makefile: Likewise.
35438         * timezone/Makefile: Likewise.
35439         * stdlib/Makefile: Likewise.
35440         * iconvdata/Makefile: Likewise.
35441         * sunrpc/Makefile: Likewise.
35442         * io/Makefile: Likewise.
35443         * argp/Makefile: Likewise.
35444         * inet/Makefile: Likewise.
35445         * hesiod/Makefile: Likewise.
35446         * grp/Makefile: Likewise.
35447         * csu/Makefile: Likewise.
35448         * wctype/Makefile: Likewise.
35449         * crypt/Makefile: Likewise.
35450         * libio/Makefile: Likewise.
35451         * string/Makefile: Likewise.
35452         * nis/Makefile: Likewise.
35453         * resolv/Makefile: Likewise.
35454         * stdio-common/Makefile: Likewise.
35455         * wcsmbs/Makefile: Likewise.
35456         * dlfcn/Makefile: Likewise.
35457         * posix/Makefile: Likewise.
35459         [BZ #6959]
35460         * timezone/Makefile: Don't install timezone files, just the programs
35461         and scripts.
35463 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35465         * nss/databases.def: Add missing gshadow entry.
35467         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35469 2012-03-06  Marek Polacek  <polacek@redhat.com>
35471         [BZ #13726]
35472         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35473         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35474         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35475         * stdio-common/tst-long-dbl-fphex.c: New file.
35477 2012-03-06  David S. Miller  <davem@davemloft.net>
35479         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35480         (set_obp_int): New function.
35481         (get_obp_int): New function.
35482         (__get_clockfreq_via_dev_openprom): Likewise.
35483         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35484         Avoid unused variable warnings on 'val' and use builtin_expect.
35485         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35486         __builtin_expect.
35487         (INLINE_CLONE_SYSCALL): Likewise.
35489 2012-03-05  David S. Miller  <davem@davemloft.net>
35491         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35493 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35495         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35498         only for |x| >= 40.
35499         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35501 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35503         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35504         Replace gettimeofday with __vdso_gettimeofday.
35506         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35507         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35508         __vdso_clock_gettime and __vdso_getcpu.
35510         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35511         time with __vdso_time.
35513 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35515         * manual/lang.texi (size_t): Note types to which size_t may be
35516         equivalent with the GNU C Library, but do not describe when
35517         differences between them are significant.
35519 2012-03-05  Andreas Jaeger  <aj@suse.de>
35521         * sysdeps/i386/fpu/libm-test-ulps: Update.
35523 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35525         [BZ #3976]
35526         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35527         (__ieee754_pow): Save and restore rounding mode and use
35528         round-to-nearest for main computations.
35529         * math/libm-test.inc (pow_test_tonearest): New function.
35530         (pow_test_towardzero): Likewise.
35531         (pow_test_downward): Likewise.
35532         (pow_test_upward): Likewise.
35533         (main): Call the new functions.
35534         * sysdeps/i386/fpu/libm-test-ulps: Update.
35535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35537         [BZ #3976]
35538         * math/libm-test.inc (cosh_test_tonearest): New function.
35539         (cosh_test_towardzero): Likewise.
35540         (cosh_test_downward): Likewise.
35541         (cosh_test_upward): Likewise.
35542         (sinh_test_tonearest): Likewise.
35543         (sinh_test_towardzero): Likewise.
35544         (sinh_test_downward): Likewise.
35545         (sinh_test_upward): Likewise.
35546         (main): Call the new functions.
35547         * sysdeps/i386/fpu/libm-test-ulps: Update.
35548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35550 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35552         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35553         default stack guard is set in last bytes.
35554         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35556 2012-03-05  Kees Cook  <keescook@chromium.org>
35558         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35560         [BZ #13656]
35561         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35562         possibly allocate from heap instead of stack.
35563         * stdio-common/bug-vfprintf-nargs.c: New file.
35564         * stdio-common/Makefile (tests): Add nargs overflow test.
35566 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35570 2012-03-03  Marek Polacek  <polacek@redhat.com>
35572         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35573         * math/math_private.h: Likewise.
35574         * stdlib/tst-strtod.c: Likewise.
35575         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35576         * sysdeps/x86_64/bits/atomic.h: Likewise.
35578 2012-03-02  David S. Miller  <davem@davemloft.net>
35580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35583         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35584         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35585         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35586         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35587         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35589 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35591         [BZ #13792]
35592         * manual/examples/README: New file, says the example source files
35593         can be used under GPL>=2.
35594         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35595         line containing just "*/".
35596         * manual/examples/add.c: Add copyright header (GPL>=2).
35597         * manual/examples/argp-ex1.c: Likewise.
35598         * manual/examples/argp-ex2.c: Likewise.
35599         * manual/examples/argp-ex3.c: Likewise.
35600         * manual/examples/argp-ex4.c: Likewise.
35601         * manual/examples/atexit.c: Likewise.
35602         * manual/examples/db.c: Likewise.
35603         * manual/examples/dir.c: Likewise.
35604         * manual/examples/dir2.c: Likewise.
35605         * manual/examples/execinfo.c: Likewise.
35606         * manual/examples/filecli.c: Likewise.
35607         * manual/examples/filesrv.c: Likewise.
35608         * manual/examples/fmtmsgexpl.c: Likewise.
35609         * manual/examples/genpass.c: Likewise.
35610         * manual/examples/inetcli.c: Likewise.
35611         * manual/examples/inetsrv.c: Likewise.
35612         * manual/examples/isockad.c: Likewise.
35613         * manual/examples/longopt.c: Likewise.
35614         * manual/examples/memopen.c: Likewise.
35615         * manual/examples/memstrm.c: Likewise.
35616         * manual/examples/mkfsock.c: Likewise.
35617         * manual/examples/mkisock.c: Likewise.
35618         * manual/examples/mygetpass.c: Likewise.
35619         * manual/examples/pipe.c: Likewise.
35620         * manual/examples/popen.c: Likewise.
35621         * manual/examples/rprintf.c: Likewise.
35622         * manual/examples/search.c: Likewise.
35623         * manual/examples/select.c: Likewise.
35624         * manual/examples/setjmp.c: Likewise.
35625         * manual/examples/sigh1.c: Likewise.
35626         * manual/examples/sigusr.c: Likewise.
35627         * manual/examples/stpcpy.c: Likewise.
35628         * manual/examples/strdupa.c: Likewise.
35629         * manual/examples/strftim.c: Likewise.
35630         * manual/examples/strncat.c: Likewise.
35631         * manual/examples/subopt.c: Likewise.
35632         * manual/examples/swapcontext.c: Likewise.
35633         * manual/examples/termios.c: Likewise.
35634         * manual/examples/testopt.c: Likewise.
35635         * manual/examples/testpass.c: Likewise.
35636         * manual/examples/timeval_subtract.c: Likewise.
35638         [BZ #13792]
35639         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35640         function to ...
35641         * manual/timeval_subtract.c.texi: ... here, new file.
35643 2012-03-02  David S. Miller  <davem@davemloft.net>
35645         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35647 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35649         [BZ #3976]
35650         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35651         (__sin): Save and restore rounding mode and use round-to-nearest
35652         for all computations.
35653         (__cos): Save and restore rounding mode and use round-to-nearest
35654         for all computations.
35655         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35656         <fenv.h>.
35657         (tan): Save and restore rounding mode and use round-to-nearest for
35658         all computations.
35659         * math/libm-test.inc (cos_test_tonearest): New function.
35660         (cos_test_towardzero): Likewise.
35661         (cos_test_downward): Likewise.
35662         (cos_test_upward): Likewise.
35663         (sin_test_tonearest): Likewise.
35664         (sin_test_towardzero): Likewise.
35665         (sin_test_downward): Likewise.
35666         (sin_test_upward): Likewise.
35667         (tan_test_tonearest): Likewise.
35668         (tan_test_towardzero): Likewise.
35669         (tan_test_downward): Likewise.
35670         (tan_test_upward): Likewise.
35671         (main): Call the new functions.
35672         * sysdeps/i386/fpu/libm-test-ulps: Update.
35673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35675         [BZ #10135]
35676         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35677         small n, then large n, before computing and testing k+n.
35678         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35679         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35680         Likewise.
35681         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35682         Likewise.
35683         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35684         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35685         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35686         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35687         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35688         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35689         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35690         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35691         * math/libm-test.inc (scalbn_test): Add more tests.
35692         (scalbln_test): Likewise.
35694         * manual/filesys.texi (mode_t): Describe constraints on size and
35695         signedness, not exact equivalence to a particular type.
35696         (ino_t): Likewise.
35697         (ino64_t): Likewise.
35698         (dev_t): Likewise.
35699         (nlink_t): Likewise.
35700         (blkcnt_t): Likewise.
35701         (blkcnt64_t): Likewise.
35702         * manual/llio.texi (off_t): Likewise.
35704         [BZ #3976]
35705         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35706         (__ieee754_exp): Save and restore rounding mode and use
35707         round-to-nearest for all computations.
35708         * math/libm-test.inc (exp_test_tonearest): New function.
35709         (exp_test_towardzero): Likewise.
35710         (exp_test_downward): Likewise.
35711         (exp_test_upward): Likewise.
35712         (main): Call the new functions.
35713         * sysdeps/i386/fpu/libm-test-ulps: Update.
35714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35716 2012-03-01  Chris Demetriou  <cgd@google.com>
35718         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35719         have predictable order.
35721 2012-03-01  David S. Miller  <davem@davemloft.net>
35723         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35725         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35726         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35727         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35728         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35730         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35731         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35732         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35734         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35735         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35736         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35737         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35738         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35742         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35743         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35744         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35746         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35747         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35748         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35749         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35750         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35751         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35752         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35753         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35754         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35755         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35756         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35757         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35758         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35759         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35760         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35761         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35762         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35763         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35764         * sysdeps/sparc/elf/configure: Regenerated.
35766 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35768         * configure.in (AS, LD): Require binutils 2.20 or later.
35769         * configure: Regenerated.
35770         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35771         as required minimum version.
35772         * INSTALL: Regenerated.
35774         [BZ #2541]
35775         [BZ #4108]
35776         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35777         before squaring exponent.
35778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35779         bottom long double and 27 bits of top long double before squaring
35780         exponent.
35781         * math/libm-test.inc (erfc_test): Add more tests.
35782         * sysdeps/i386/fpu/libm-test-ulps: Update.
35783         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35786 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35788         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35789         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35790         containing bit-fields.
35791         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35792         * soft-fp/single.h (_FP_UNION_S): Likewise.
35793         * soft-fp/double.h (_FP_UNION_D): Likewise.
35795 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35797         [BZ #13786]
35798         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35799         not include ../strcmp.S.
35800         [USE_AS_STRNCASECMP_L]: Likewise.
35801         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35802         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35803         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35804         (__strncasecmp_l_ia32): Define as alias to
35805         __strncasecmp_l_nonascii.
35807         [BZ #5794]
35808         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35809         * sysdeps/i386/fpu/libm-test-ulps: Update.
35810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35812         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35815 2012-02-29  Jeff Law  <law@redhat.com>
35817         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35818         out of bounds read.
35820 2012-02-29  Marek Polacek  <polacek@redhat.com>
35822         [BZ #13706]
35823         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35824         * elf/Makefile: Add rules to run tst-unused-dep.out.
35826 2012-02-28  David S. Miller  <davem@davemloft.net>
35828         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35829         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35830         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35831         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35832         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35833         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35835 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35837         * math/libm-test.inc (llround_test): Move one test from
35838         lround_test.  Use TEST_f_L in moved test.
35839         (lround_test): Move misplaced test to llround_test.  Add testcase
35840         from bug 2561.
35842 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35844         * sysdeps/x86_64/fpu/e_expf.S: New file.
35845         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35847 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35849         [BZ #13637]
35850         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35851         of remain_len that may cause incomplete multi-byte character and
35852         false match.
35853         * posix/bug-regex33.c: New file.
35854         * posix/Makefile (tests): Add bug-regex33.
35856 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35858         * manual/macros.texi: New file.
35859         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35860         * manual/libc.texinfo: Include macros.texi.
35861         * manual/creatute.texi: Likewise.
35862         * manual/install.texi: Likewise.
35863         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35864         @glibcadj{} in references to the GNU C Library.
35865         * manual/charset.texi: Likewise.
35866         * manual/conf.texi: Likewise.
35867         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35868         when not using those macros.
35869         * manual/creature.texi: Likewise.
35870         * manual/crypt.texi: Likewise.
35871         * manual/errno.texi: Likewise.
35872         * manual/filesys.texi: Likewise.
35873         * manual/header.texi: Likewise.
35874         * manual/install.texi: Likewise.
35875         * manual/intro.texi: Likewise.
35876         * manual/io.texi: Likewise.
35877         * manual/job.texi: Likewise.
35878         * manual/lang.texi: Likewise.
35879         * manual/libc.texiinfo: Likewise.
35880         * manual/llio.texi: Likewise.
35881         * manual/locale.texi: Likewise.
35882         * manual/maint.texi: Likewise.
35883         * manual/math.texi: Likewise.
35884         * manual/memory.texi: Likewise.
35885         * manual/message.texi: Likewise.
35886         * manual/nss.texi: Likewise.
35887         * manual/pattern.texi: Likewise.
35888         * manual/process.texi: Likewise.
35889         * manual/resource.texi: Likewise.
35890         * manual/search.texi: Likewise.
35891         * manual/setjmp.texi: Likewise.
35892         * manual/signal.texi: Likewise.
35893         * manual/socket.texi: Likewise.
35894         * manual/startup.texi: Likewise.
35895         * manual/stdio.texi: Likewise.
35896         * manual/string.texi: Likewise.
35897         * manual/sysinfo.texi: Likewise.
35898         * manual/syslog.texi: Likewise.
35899         * manual/terminal.texi: Likewise.
35900         * manual/time.texi: Likewise.
35901         * manual/users.texi: Likewise.
35902         * INSTALL: Regenerated.
35903         * NOTES: Regenerated.
35904         * sysdeps/gnu/errlist.c: Regenerated.
35906 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35908         * include/dirent.h: Include <dirstream.h> before
35909         <dirent/dirent.h>.
35911 2012-02-28  David S. Miller  <davem@davemloft.net>
35913         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35914         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35915         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35916         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35918 2012-02-27  David S. Miller  <davem@davemloft.net>
35920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35922         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35923         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35926         frame pointer instead of stack pointer relative arg slot.
35927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35928         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35929         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35931 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35933         [BZ #3992]
35934         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35936 2012-02-27  David S. Miller  <davem@davemloft.net>
35938         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35939         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35941         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35942         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35943         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35944         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35945         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35947 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35949         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35950         later.  Allow versions 5-9.
35951         * configure: Regenerated.
35952         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35953         required minimum version and 4.6 as recommended version.  Do not
35954         mention bugs in GCC 2.7 and 2.8.
35955         * INSTALL: Regenerated.
35957 2012-02-27  David S. Miller  <davem@davemloft.net>
35959         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35962         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35963         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35964         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35965         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35966         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35969         manipulate bits before adding and subtracting TWO112[sx].
35970         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35972 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35974         [BZ #13775]
35975         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35976         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35977         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35978         being in POSIX, because they are in 1003.1-2008.
35980         * rt/tst-aio.c: Include <fcntl.h>.
35981         * rt/tst-aio7.c: Likewise.
35982         * rt/tst-aio64.c: Likewise.
35984         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35986 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35988         * manual/install.texi (--with-headers): Describe headers as
35989         interface headers, not private headers.
35990         (Specific advice for GNU/Linux systems): Describe use of headers
35991         from "make headers_install", not private headers from older
35992         kernels.
35993         * INSTALL: Regenerated.
35994         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35995         Change to 2.6.19.
35996         * sysdeps/unix/sysv/linux/configure: Regenerated.
35998         * manual/llio.texi (fclean): Remove documentation.
36000         * manual/Makefile (libc-texi-generated): New variable.  Include
36001         version.texi.
36002         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36003         $(libc-texi-generated), not duplicated list of files.
36004         (version.texi, stamp-version): New rules.
36005         (realclean): Remove $(libc-texi-generated), not individual files
36006         from that list.  Do not remove dir-add.texinfo.
36007         * manual/libc.texinfo: Comment out uses of edition numbers and
36008         references to printed manual.  Remove last-updated dates.
36009         (EDITION): Comment out.
36010         (ISBN): Likewise.
36011         (VERSION, UPDATED): Remove.
36012         (version.texi): Include.
36014 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36016         * sysdeps/posix/spawni.c: Include <signal.h>.
36017         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36018         * sysdeps/pthread/aio_fsync.c: Likewise.
36020 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36022         * conform/Makefile (tests): Run only when not cross-compiling and
36023         when fast-check is not defined.
36025         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36026         * conform/data/limits.h-data: Fixes for POSIX2008.
36027         * conform/run-conformtest.sh: Run all tests.
36028         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36029         headers.
36030         * include/bits/dlfcn.h: Likewise.
36031         * include/langinfo.h: Likewise.
36032         * include/monetary.h: Likewise.
36033         * include/sys/poll.h: Likewise.
36035         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36036         for __USE_GNU.
36037         * posix/spawn.h: Define __need_sigset_t.
36038         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36039         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36040         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36041         to get sigevent_t only.
36042         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36043         only for __USE_GNU.
36044         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36045         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36046         process_vm_writev only for __USE_GNU.
36047         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36049         * conform/Makefile: For now ignore errors from run-conformtest.
36050         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36051         POSIX to avoid namespace pollution.  Don't prepend headers.
36052         * conform/data/aio.h-data: Fixes for POSIX testing.
36053         * conform/data/fcntl.h-data: Likewise.
36054         * conform/data/glob.h-data: Likewise.
36055         * conform/data/grp.h-data: Likewise.
36056         * conform/data/pthread.h-data: Likewise.
36057         * conform/data/pwd.h-data: Likewise.
36058         * conform/data/signal.h-data: Likewise.
36059         * conform/data/spawn.h-data: Likewise.
36060         * conform/data/stdio.h-data: Likewise.
36061         * conform/data/stdlib.h-data: Likewise.
36062         * conform/data/stropts.h-data: Likewise.
36063         * conform/data/sys/mman.h-data: Likewise.
36064         * conform/data/sys/stat.h-data: Likewise.
36065         * conform/data/sys/types.h-data: Likewise.
36066         * conform/data/sys/wait.h-data: Likewise.
36067         * conform/data/time.h-data: Likewise.
36068         * conform/data/unistd.h-data: Likewise.
36069         * conform/data/utime.h-data: Likewise.
36071         * io/sys/stat.h: fchmod was always in POSIX.
36072         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36073         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36074         * rt/aio.h: Define __need_timespec before including <time.h>.
36075         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36076         struct.  Add forward declaration of pthread_attr_t and use it in
36077         sigevent.
36078         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36079         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36080         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36081         always remove CLK_TCK definition.
36083 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36085         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36087 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36089         * conform/run-conformtest.sh: New file.
36090         * conform/Makefile: Run run-conformtest for tests.
36091         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36092         support.
36094         * conform/data/uchar.h-data: New file.
36095         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36096         * conform/data/arpa/inet.h-data: Likewise.
36097         * conform/data/assert.h-data: Likewise.
36098         * conform/data/complex.h-data: Likewise.
36099         * conform/data/cpio.h-data: Likewise.
36100         * conform/data/ctype.h-data: Likewise.
36101         * conform/data/dirent.h-data: Likewise.
36102         * conform/data/dlfcn.h-data: Likewise.
36103         * conform/data/errno.h-data: Likewise.
36104         * conform/data/fcntl.h-data: Likewise.
36105         * conform/data/float.h-data: Likewise.
36106         * conform/data/fmtmsg.h-data: Likewise.
36107         * conform/data/fnmatch.h-data: Likewise.
36108         * conform/data/ftw.h-data: Likewise.
36109         * conform/data/glob.h-data: Likewise.
36110         * conform/data/grp.h-data: Likewise.
36111         * conform/data/iconv.h-data: Likewise.
36112         * conform/data/inttypes.h-data: Likewise.
36113         * conform/data/langinfo.h-data: Likewise.
36114         * conform/data/libgen.h-data: Likewise.
36115         * conform/data/limits.h-data: Likewise.
36116         * conform/data/locale.h-data: Likewise.
36117         * conform/data/math.h-data: Likewise.
36118         * conform/data/monetary.h-data: Likewise.
36119         * conform/data/mqueue.h-data: Likewise.
36120         * conform/data/ndbm.h-data: Likewise.
36121         * conform/data/net/if.h-data: Likewise.
36122         * conform/data/netdb.h-data: Likewise.
36123         * conform/data/netinet/in.h-data: Likewise.
36124         * conform/data/nl_types.h-data: Likewise.
36125         * conform/data/poll.h-data: Likewise.
36126         * conform/data/pthread.h-data: Likewise.
36127         * conform/data/pwd.h-data: Likewise.
36128         * conform/data/regex.h-data: Likewise.
36129         * conform/data/sched.h-data: Likewise.
36130         * conform/data/search.h-data: Likewise.
36131         * conform/data/semaphore.h-data: Likewise.
36132         * conform/data/setjmp.h-data: Likewise.
36133         * conform/data/signal.h-data: Likewise.
36134         * conform/data/spawn.h-data: Likewise.
36135         * conform/data/stdarg.h-data: Likewise.
36136         * conform/data/stdio.h-data: Likewise.
36137         * conform/data/stdlib.h-data: Likewise.
36138         * conform/data/string.h-data: Likewise.
36139         * conform/data/strings.h-data: Likewise.
36140         * conform/data/stropts.h-data: Likewise.
36141         * conform/data/sys/ipc.h-data: Likewise.
36142         * conform/data/sys/mman.h-data: Likewise.
36143         * conform/data/sys/msg.h-data: Likewise.
36144         * conform/data/sys/resource.h-data: Likewise.
36145         * conform/data/sys/select.h-data: Likewise.
36146         * conform/data/sys/sem.h-data: Likewise.
36147         * conform/data/sys/shm.h-data: Likewise.
36148         * conform/data/sys/socket.h-data: Likewise.
36149         * conform/data/sys/stat.h-data: Likewise.
36150         * conform/data/sys/statvfs.h-data: Likewise.
36151         * conform/data/sys/time.h-data: Likewise.
36152         * conform/data/sys/timeb.h-data: Likewise.
36153         * conform/data/sys/times.h-data: Likewise.
36154         * conform/data/sys/types.h-data: Likewise.
36155         * conform/data/sys/uio.h-data: Likewise.
36156         * conform/data/sys/un.h-data: Likewise.
36157         * conform/data/sys/utsname.h-data: Likewise.
36158         * conform/data/sys/wait.h-data: Likewise.
36159         * conform/data/syslog.h-data: Likewise.
36160         * conform/data/tar.h-data: Likewise.
36161         * conform/data/termios.h-data: Likewise.
36162         * conform/data/utime.h-data: Likewise.
36163         * conform/data/utmpx.h-data: Likewise.
36164         * conform/data/varargs.h-data: Likewise.
36165         * conform/data/wchar.h-data: Likewise.
36166         * conform/data/wctype.h-data: Likewise.
36167         * conform/data/wordexp.h-data: Likewise.
36169         * include/stropts.h: New file.
36170         * include/uchar.h: New file.
36171         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36172         * include/assert.h: Likewise.
36173         * include/ctype.h: Likewise.
36174         * include/dirent.h: Likewise.
36175         * include/dlfcn.h: Likewise.
36176         * include/fcntl.h: Likewise.
36177         * include/fnmatch.h: Likewise.
36178         * include/glob.h: Likewise.
36179         * include/grp.h: Likewise.
36180         * include/libio.h: Likewise.
36181         * include/locale.h: Likewise.
36182         * include/math.h: Likewise.
36183         * include/net/if.h: Likewise.
36184         * include/netdb.h: Likewise.
36185         * include/netinet/in.h: Likewise.
36186         * include/pthread.h: Likewise.
36187         * include/pwd.h: Likewise.
36188         * include/regex.h: Likewise.
36189         * include/sched.h: Likewise.
36190         * include/search.h: Likewise.
36191         * include/setjmp.h: Likewise.
36192         * include/signal.h: Likewise.
36193         * include/stdio.h: Likewise.
36194         * include/stdlib.h: Likewise.
36195         * include/string.h: Likewise.
36196         * include/sys/cdefs.h: Likewise.
36197         * include/sys/mman.h: Likewise.
36198         * include/sys/msg.h: Likewise.
36199         * include/sys/resource.h: Likewise.
36200         * include/sys/select.h: Likewise.
36201         * include/sys/socket.h: Likewise.
36202         * include/sys/stat.h: Likewise.
36203         * include/sys/statvfs.h: Likewise.
36204         * include/sys/time.h: Likewise.
36205         * include/sys/times.h: Likewise.
36206         * include/sys/uio.h: Likewise.
36207         * include/sys/utsname.h: Likewise.
36208         * include/sys/wait.h: Likewise.
36209         * include/termios.h: Likewise.
36210         * include/time.h: Likewise.
36211         * include/ulimit.h: Likewise.
36212         * include/unistd.h: Likewise.
36213         * include/utime.h: Likewise.
36214         * include/wchar.h: Likewise.
36215         * include/wctype.h: Likewise.
36216         * include/wordexp.h: Likewise.
36218         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36220         * time/time.h: TIME_UTC must be a macro.
36221         Make timespec_get available for ISO C11 only as well.
36223 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36225         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36226         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36228 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36230         * configure.in: Use -o not -a in test for unsupported multi-arch.
36232 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36234         * manual/texinfo.tex: Update to version 2012-01-19.16.
36236 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36238         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36240 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36242         [BZ #13738]
36243         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36244         * manual/fdl-1.3.texi: New file.
36245         * manual/fdl-1.1.texi: File removed.
36247         [BZ #13738]
36248         * manual/libc.texinfo (FDL_VERSION): New @set.
36249         Use it for mention of FDL in cover text.
36250         (Documentation License): Use it in @include file name.
36252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36253             Roland McGrath  <roland@hack.frob.com>
36255         [BZ #5461]
36256         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36257         (not LONG_LONG_MAX and LONG_LONG_MIN.
36258         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36259         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36260         name.
36261         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36263 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36265         [BZ #2547]
36266         [BZ #11365]
36267         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36268         manipulate bits before adding and subtracting TWO23[sx].
36269         * math/libm-test.inc (nearbyint_test): Add more tests.
36271 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36273         [BZ #2548]
36274         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36275         bits before adding and subtracting TWO23[sx].
36276         * math/libm-test.inc (rint_test): Add more tests.
36277         (rint_test_tonearest): Likewise.
36278         (rint_test_towardzero): Likewise.
36279         (rint_test_downward): Likewise.
36280         (rint_test_upward: Likewise.
36282 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36284         [BZ #10110]
36285         * include/stdc-predef.h: New file.  Extracted from features.h.
36286         * include/features.h: Include stdc-predef.h.
36287         * Makefile (headers): Add stdc-predef.h.
36288         * CONFORMANCE (Compiler limitations): Update.
36290 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36292         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36294 2012-02-21  David S. Miller  <davem@davemloft.net>
36296         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36297         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36299 2012-02-20  David S. Miller  <davem@davemloft.net>
36301         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36302         using a normal save/restore sequence, rather than allocating a
36303         dummy stack frame just to store a frame pointer and restore.
36304         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36306 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36308         * manual/install.texi: Fix stray word in line-wrapped comment.
36310 2012-02-20  David S. Miller  <davem@davemloft.net>
36312         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36313         both binutils and gcc support GOTDATA.
36315         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36316         "rd %pc" in the PIC register setup sequences.
36318         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36319         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36320         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36321         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36322         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36324         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36325         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36326         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36327         (SYSCALL_ERROR_HANDLER): Likewise.
36328         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36329         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36330         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36331         (SYSCALL_ERROR_HANDLER): Likewise.
36333         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36334         (HAVE_GCC_GOTDATA): New.
36335         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36336         relocation support in both binutils and gcc.
36337         * sysdeps/sparc/elf/configure: Regenerate.
36339         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36340         * sysdeps/sparc/sparc32/elf/configure: Delete.
36341         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36342         * sysdeps/sparc/sparc64/elf/configure: Delete.
36343         * sysdeps/sparc/elf/configure.in: New file.
36344         * sysdeps/sparc/elf/configure: Generate.
36346         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36347         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36348         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36349         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36350         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36352 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36354         * manual/install.texi: Do not mention specific glibc version
36355         numbers.
36356         * manual/libc.texinfo (VERSION, UPDATED): Update.
36357         (@copying): Use @copyright{} and range of years.
36359 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36361         [BZ #13695]
36362         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36363         [crti.S not in sysdirs] (generated): Do not append.
36364         [crti.S not in sysdirs] (omit-deps): Likewise.
36365         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36366         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36367         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36368         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36369         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36370         Likewise.
36371         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36372         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36373         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36374         * csu/defs.awk: Remove file.
36375         * sysdeps/generic/initfini.c: Likewise.
36376         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36377         variable.
36378         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36379         Likewise.
36381 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36383         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36384         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36385         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36386         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36387         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36388         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36389         <bits/epoll.h>.
36390         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36391         (__EPOLL_PACKED): Define to empty if not defined by
36392         <bits/epoll.h>.
36393         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36394         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36395         bits/epoll.h.
36397 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36399         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36400         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36401         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36402         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36403         <bits/timerfd.h>.
36404         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36406         bits/timerfd.h.
36408 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36410         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36411         in C locale.
36412         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36413         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36414         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36417 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36419         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36420         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36422 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36424         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36425         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36426         defined.
36427         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36428         Likewise.
36429         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36430         entry for 2.16.
36432 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36434         * math/w_acos.c: Use non-signaling floating-point comparisons.
36435         * math/w_acosf.c: Likewise.
36436         * math/w_acosh.c: Likewise.
36437         * math/w_acoshf.c: Likewise.
36438         * math/w_acoshl.c: Likewise.
36439         * math/w_acosl.c: Likewise.
36440         * math/w_asin.c: Likewise.
36441         * math/w_asinf.c: Likewise.
36442         * math/w_asinl.c: Likewise.
36443         * math/w_atanh.c: Likewise.
36444         * math/w_atanhf.c: Likewise.
36445         * math/w_atanhl.c: Likewise.
36446         * math/w_exp2.c: Likewise.
36447         * math/w_exp2f.c: Likewise.
36448         * math/w_exp2l.c: Likewise.
36449         * math/w_j0.c: Likewise.
36450         * math/w_j0f.c: Likewise.
36451         * math/w_j0l.c: Likewise.
36452         * math/w_j1.c: Likewise.
36453         * math/w_j1f.c: Likewise.
36454         * math/w_j1l.c: Likewise.
36455         * math/w_jn.c: Likewise.
36456         * math/w_jnf.c: Likewise.
36457         * math/w_log.c: Likewise.
36458         * math/w_log10.c: Likewise.
36459         * math/w_log10f.c: Likewise.
36460         * math/w_log10l.c: Likewise.
36461         * math/w_log2.c: Likewise.
36462         * math/w_log2f.c: Likewise.
36463         * math/w_log2l.c: Likewise.
36464         * math/w_logf.c: Likewise.
36465         * math/w_logl.c: Likewise.
36466         * math/w_sqrt.c: Likewise.
36467         * math/w_sqrtf.c: Likewise.
36468         * math/w_sqrtl.c: Likewise.
36469         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36470         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36471         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36472         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36473         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36475 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36477         [BZ #9739]
36478         * manual/string.texi (strnlen): Use correct parameter name in
36479         equivalent expression.
36481 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36483         [BZ #11174]
36484         * manual/users.texi (seteuid): Consistently use neweuid for
36485         argument name.
36487 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36489         [BZ #13704]
36490         * manual/nss.texi (Services in the NSS configuration): Correct
36491         list of services in example configuration file.
36493 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36495         [BZ #11322]
36496         * manual/arith.texi: Remove statements about negative zero
36497         behaving identically to zero.
36499 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36501         [BZ #5993]
36502         * manual/install.texi: Do not document upgrading from libc5.
36504 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36506         [BZ #4596]
36507         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36509 2012-02-18  David S. Miller  <davem@davemloft.net>
36511         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36512         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36513         %o7 across the call.
36514         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36515         instead.
36516         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36517         SETUP_PIC_REG_LEAF.
36518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36519         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36520         * sysdeps/sparc/crtn.S: Likewise.
36522 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36524         * aout/Makefile: Remove.
36526 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36528         [BZ #13058]
36529         * manual/examples/argp-ex1.c (main): Format definition in GNU
36530         style.
36531         * manual/examples/argp-ex2.c (main): Likewise.
36532         * manual/examples/argp-ex3.c (main): Likewise.
36533         * manual/examples/argp-ex4.c (main): Likewise.
36534         * manual/examples/longopt.c (main): Use new-style prototype
36535         definition.
36536         * manual/examples/strncat.c (main): Specify return type and use
36537         (void) for arguments.
36538         * manual/examples/subopt.c (main): Use char **argv argument.
36540 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36542         [BZ #5077]
36543         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36544         rounding modes.
36546 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36548         [BZ #6907]
36549         * manual/string.texi (strchr): Change when strchrnul is
36550         recommended.
36552 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36554         [BZ #174]
36555         * manual/locale.texi (setlocale): Document LOCPATH.
36557 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36559         [BZ #10210]
36560         * manual/process.texi (execle): Move @dots{} before last argument.
36562 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36564         [BZ #12047]
36565         * manual/charset.texi (Generic Charset Conversion): Fix typo
36566         (LC_TYPE -> LC_CTYPE).
36568 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36570         [BZ #5805]
36571         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36572         (scalbnf): Likewise.
36573         (scalbnl): Likewise.
36574         (scalbln): Likewise.
36575         (scalblnf): Likewise.
36576         (scalblnl): Likewise.
36577         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36578         (vwarnx): Likewise.
36579         (verr): Likewise.
36580         (verrx): Likewise.
36581         * manual/filesys.texi (telldir): Use braces around return type.
36582         * manual/llio.texi (mmap): Add space after comma.
36583         (mmap64): Likewise.
36584         * manual/math.texi (jn): Use @var{} on parameter names.
36585         (jnf): Likewise.
36586         (jnl): Likewise.
36587         (yn): Likewise.
36588         (ynf): Likewise.
36589         (ynl): Likewise.
36590         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36591         line.
36592         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36593         "...".
36594         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36595         (sched_get_priority_max): Likewise.
36596         * manual/signal.texi (sigvec): Add space after comma.
36597         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36598         names.
36599         (if_indextoname): Likewise.
36600         (if_freenameindex): Likewise.
36601         (sendto): Use ',' instead of '.' in prototype.
36602         * manual/startup.texi (syscall): Use @dots{} instead of literal
36603         "...".
36604         * manual/stdio.texi (__fpending): Separate initial words of
36605         paragraph from @deftypefun line.
36606         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36607         "...".
36608         (vsyslog): Use @var{} on parameter names.
36609         * manual/terminal.texi (stty): Use @var{} on parameter names.
36610         * manual/users.texi (getutmp): Use @var{} on parameter names.
36611         (getutmpx): Likewise.
36613 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36615         [BZ #6884]
36616         * manual/stdio.texi (fopen): Fix typos in description of
36617         ",ccs=STRING".
36619 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36621         [BZ #4026]
36622         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36623         get clock_id definition.
36625 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36627         [BZ #4822]
36628         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36629         (madvise): Cast every argument to void on its own.
36631 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36633         [BZ #9902]
36634         * manual/startup.texi (Exit Status): Fix typo.
36636 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36638         [BZ #10140]
36639         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36640         * manual/examples/argp-ex2.c: Likewise.
36641         * manual/examples/argp-ex3.c: Likewise.
36643 2012-02-16  Richard Henderson  <rth@redhat.com>
36645         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36646         * sysdeps/s390/s390-32/initfini.c: Remove.
36647         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36648         * sysdeps/s390/s390-64/initfini.c: Remove.
36650 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36652         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36653         compiler output for sysdeps/generic/initfini.c.
36654         * sysdeps/sh/elf/initfini.c: Remove file.
36656 2012-02-16  David S. Miller  <davem@davemloft.net>
36658         [BZ #11494]
36659         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36661         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36662         * sysdeps/sparc/crti.S: New file.
36663         * sysdeps/sparc/crtn.S: New file.
36664         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36665         * sysdeps/sparc/sparc64/Makefile: Likewise.
36667 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36669         [BZ #3335]
36670         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36672 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36674         [BZ #4822]
36675         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36677         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36678         (write, read, close): Likewise.
36679         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36681 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36683         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36684         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36685         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36686         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36687         <bits/signalfd.h>.
36688         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36689         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36690         bits/signalfd.h.
36692 2012-02-14  Marek Polacek  <polacek@redhat.com>
36694         * sysdeps/x86_64/crti.S: New file.
36695         * sysdeps/x86_64/crtn.S: New file.
36696         * sysdeps/x86_64/elf/initfini.c: Remove file.
36698 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36700         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36701         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36702         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36703         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36704         <bits/inotify.h>.
36705         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36706         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36707         bits/inotify.h.
36709 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36711         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36712         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36713         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36714         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36715         <bits/eventfd.h>.
36716         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36717         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36718         bits/eventfd.h.
36720 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36722         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36723         __feraiseexcept instead of feraiseexcept.
36725         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36726         nanosleep invocations.
36727         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36728         strings, and add error checking for a nanosleep invocations.
36730 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36732         Replace FSF snail mail address with URLs, as per GNU coding standards.
36733         Most of the snail mail addresses were wrong anyway, and omitting
36734         them makes the source code easier to maintain.  Almost all of the
36735         changes are to license notices and to locale LC_IDENTIFICATION
36736         addresses, except for this one:
36737         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36738         not its snail mail address.
36740 2012-02-09  Richard Henderson  <rth@twiddle.net>
36742         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36743         of kernel-features.h.
36745         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36747 2012-02-08  Marek Polacek  <polacek@redhat.com>
36749         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36750         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36751         * sysdeps/gnu/_G_config.h: Likewise.
36752         * sysdeps/generic/_G_config.h: Likewise.
36754 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36756         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36757         tests.
36758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36760         * sysdeps/powerpc/powerpc32/crti.S: New file.
36761         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36762         * sysdeps/powerpc/powerpc64/crti.S: New file.
36763         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36765         * Makeconfig (have-initfini): Don't set.
36766         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36767         * configure.in (nopic_initfini): Don't substitute.
36768         * config.h.in (HAVE_INITFINI): Don't #undef.
36769         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36770         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36772 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36774         Support crti.S and crtn.S provided directly by architectures.
36775         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36776         [crti.S in sysdirs] (omit-deps): Likewise.
36777         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36778         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36779         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36780         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36781         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36782         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36783         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36784         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36785         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36786         compiler output for sysdeps/generic/initfini.c.
36787         * sysdeps/i386/elf/Makefile: Remove file.
36788         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36790 2012-02-07  Marek Polacek  <polacek@redhat.com>
36792         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36793         * sysdeps/gnu/_G_config.h: Likewise.
36794         * sysdeps/mach/hurd/_G_config.h: Likewise.
36796 2012-02-07  Marek Polacek  <polacek@redhat.com>
36798         * math/Makefile (tests): Add tst-CMPLX2.
36799         * math/tst-CMPLX2.c: New file.
36801 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36803         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36805         * math/libm-test.inc (jn_test): Add missing L suffix.
36807 2012-02-06  Marek Polacek  <polacek@redhat.com>
36809         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36810         * sysdeps/i386/fpu/e_powf.S: Likewise.
36811         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36812         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36813         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36814         * sysdeps/i386/fpu/e_pow.S: Likewise.
36815         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36816         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36817         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36818         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36819         * sysdeps/i386/fpu/e_log2.S: Likewise.
36820         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36821         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36822         * sysdeps/i386/fpu/e_powl.S: Likewise.
36823         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36824         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36825         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36826         * sysdeps/i386/fpu/e_logl.S: Likewise.
36827         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36828         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36829         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36830         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36831         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36832         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36833         * sysdeps/i386/fpu/e_log.S: Likewise.
36834         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36835         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36836         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36837         * sysdeps/i386/fpu/e_logf.S: Likewise.
36838         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36839         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36840         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36841         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36842         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36843         * sysdeps/i386/fpu/e_log10.S: Likewise.
36844         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36845         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36846         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36847         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36848         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36849         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36850         * sysdeps/i386/asm-syntax.h: Likewise.
36851         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36852         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36853         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36854         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36855         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36856         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36857         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36858         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36859         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36860         * sysdeps/powerpc/sysdep.h: Likewise.
36861         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36862         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36864 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36866         [BZ #411]
36867         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36869 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36871         * sysdeps/i386/sysdep.h: Include <features.h>.
36872         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36873         version.
36875 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36877         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36878         Define.
36879         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36880         LOAD_PIC_REG_STR.
36882 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36884         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36885         (SETUP_PIC_REG): Use GET_PC_THUNK.
36886         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36887         macro.
36889 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36891         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36892         for non-PIC compilation.
36893         (SETUP_PIC_REG): Add .p2align directive.
36894         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36895         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36896         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36897         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36898         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36899         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36900         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36901         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36902         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36903         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36904         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36905         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36906         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36907         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36908         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36909         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36910         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36911         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36912         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36913         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36914         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36915         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36916         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36917         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36918         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36919         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36920         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36921         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36922         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36923         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36924         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36925         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36926         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36927         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36928         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36929         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36930         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36931         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36932         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36933         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36936 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36938         * math/tst-CMPLX.c: Include <stdio.h>.
36940 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36942         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36943         float.
36944         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36945         * sysdeps/sparc/bits/mathdef.h: Likewise.
36947 2012-01-31  Marek Polacek  <polacek@redhat.com>
36949         * libio/libio.h: Don't define _PARAMS.
36950         * locale/programs/config.h: Don't define PARAMS.
36951         * stdlib/strtol_l.c: Likewise.
36952         (__strtol_l): Remove PARAMS from the prototype.
36954 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36956         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36957         names.  Just use the correct names.  Remove unnecessary wrapper
36958         functions.
36959         * malloc/arena.c: Likewise.
36960         * malloc/hooks.c: Likewise.
36962         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36963         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36964         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36966 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36968         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36969         into tail calls.
36970         (update_get_addr): New function.
36971         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36972         GET_ADDR_MODULE parameter.
36974 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36976         * crypt/cert.c: Remove __STDC__ conditionals.
36977         * crypt/crypt-entry.c: Likewise.
36978         * crypt/crypt_util.c: Likewise.
36979         * libio/filedoalloc.c: Likewise.
36980         * libio/fileops.c: Likewise.
36981         * libio/genops.c: Likewise.
36982         * libio/iofclose.c: Likewise.
36983         * libio/iofdopen.c: Likewise.
36984         * libio/iofopen.c: Likewise.
36985         * libio/iofopen64.c: Likewise.
36986         * libio/iogetdelim.c: Likewise.
36987         * libio/iopopen.c: Likewise.
36988         * libio/obprintf.c: Likewise.
36989         * libio/oldfileops.c: Likewise.
36990         * libio/oldiofclose.c: Likewise.
36991         * libio/oldiofdopen.c: Likewise.
36992         * libio/oldiofopen.c: Likewise.
36993         * libio/oldiopopen.c: Likewise.
36994         * libio/wfiledoalloc.c: Likewise.
36995         * libio/wgenops.c: Likewise.
36996         * locale/programs/xmalloc.c: Likewise.
36997         * misc/syslog.c: Likewise.
36998         * stdio-common/xbug.c: Likewise.
36999         * string/memchr.c: Likewise.
37000         * string/memcmp.c: Likewise.
37001         * string/memrchr.c: Likewise.
37002         * string/rawmemchr.c: Likewise.
37003         * sysdeps/posix/getcwd.c: Likewise.
37004         * time/strftime_l.c: Likewise.
37006 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37008         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37009         * config.make.in (config-cflags-sse2avx): Define.
37010         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37011         Fix typo.
37013 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37015         * scripts/config.guess: Update from upstream config git repository.
37016         * scripts/config.sub: Likewise.
37018 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37020         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37021         (EM_NUM): Update.
37022         (R_TILEPRO_*, R_TILEGX_*): New macros.
37024         * scripts/firstversions.awk: Fix bug in version range handling.
37026         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37028         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37030         * include/sys/epoll.h: New file.
37031         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37032         libc_hidden_def.
37034 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37036         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37037         Avoid unnecessary __WORDSIZE == 64 test.
37038         (fmaxf): Use VEX format if possible.
37039         (fmax): Likewise.
37040         (fminf): Likewise.
37041         (fmin): Likewise.
37043         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37044         * math/math_private.h: Remove libc_fegetround* and
37045         libc_fesetround*.
37046         * sysdeps/i386/configure.in: Check for -msse2avx.
37047         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37048         also if SSE2AVX is defined.
37049         Remove libc_fegetround* and libc_fesetround*.
37050         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37051         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37052         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37053         of HAS_YMM_USABLE.
37054         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37055         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37056         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37057         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37058         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37060         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37062 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37064         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37065         size is not set.
37066         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37068 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37070         [BZ #13618]
37071         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37072         relocation.
37073         * Makeconfig (libm): Define.
37074         * elf/Makefile: Add rules to build and run tst-relsort1.
37075         * elf/tst-relsort1.c: New file.
37076         * elf/tst-relsort1mod1.c: New file.
37077         * elf/tst-relsort1mod2.c: New file.
37079 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37081         * math/s_ldexp.c: Remove __STDC__ conditionals.
37082         * math/s_ldexpf.c: Likewise.
37083         * math/s_ldexpl.c: Likewise.
37084         * math/s_nextafter.c: Likewise.
37085         * math/s_nexttowardf.c: Likewise.
37086         * math/s_significand.c: Likewise.
37087         * math/s_significandf.c: Likewise.
37088         * math/s_significandl.c: Likewise.
37089         * math/w_jnl.c: Likewise.
37090         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37091         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37092         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37093         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37094         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37095         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37096         * sysdeps/ieee754/dbl-64/k_tan.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_fabs.c: Likewise.
37100         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37101         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37102         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37103         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37104         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37105         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37106         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37109         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37110         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37111         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37112         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37113         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37114         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37115         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37116         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37117         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37118         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37119         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37120         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37121         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37122         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37123         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37124         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37125         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37126         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37127         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37128         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37129         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37130         * sysdeps/ieee754/k_standard.c: Likewise.
37131         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37132         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37133         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37134         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37135         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37136         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37137         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37138         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37139         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37140         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37141         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37142         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37143         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37144         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37145         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37146         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37147         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37148         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37149         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37150         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37151         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37152         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37153         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37154         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37155         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37156         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37157         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37158         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37159         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37160         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37162         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37163         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37164         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37165         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37166         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37167         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37168         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37169         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37170         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37171         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37172         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37173         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37174         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37175         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37177         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37178         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37180         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37181         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37182         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37183         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37184         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37185         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37186         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37187         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37188         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37189         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37190         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37191         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37192         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37193         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37194         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37195         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37196         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37197         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37198         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37199         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37200         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37201         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37202         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37203         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37204         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37205         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37206         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37207         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37208         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37209         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37210         * sysdeps/ieee754/s_matherr.c: Likewise.
37211         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37212         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37213         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37214         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37216 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37218         * crypt/md5.h: Remove __STDC__ conditionals.
37219         * libio/libioP.h: Likewise.
37220         * locale/programs/config.h: Likewise.
37221         * sysdeps/generic/sysdep.h: Likewise.
37222         * sysdeps/i386/asm-syntax.h: Likewise.
37223         * sysdeps/s390/asm-syntax.h: Likewise.
37224         * sysdeps/unix/sysdep.h: Likewise.
37225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37228 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37230         * libio/libio.h: Remove __STDC__ conditionals.
37231         * malloc/obstack.h: Likewise.
37232         * math/complex.h: Likewise.
37233         * math/math.h: Likewise.
37234         * sysdeps/generic/_G_config.h: Likewise.
37235         * sysdeps/gnu/_G_config.h: Likewise.
37236         * sysdeps/mach/hurd/_G_config.h: Likewise.
37237         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37238         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37239         * sysdeps/sparc/bits/mathdef.h: Likewise.
37241 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37243         [BZ #13583]
37244         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37245         Clean up HAS_* macros.
37246         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37247         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37248         possible.
37249         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37250         HAS_AVX.
37251         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37252         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37253         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37254         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37255         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37257 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37259         * elf/tst-unique3.cc (gets): Remove declaration.
37260         * elf/tst-unique3lib.cc (gets): Likewise.
37261         * elf/tst-unique3lib2.cc (gets): Likewise.
37262         * elf/tst-unique4.cc (gets): Likewise.
37264 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37266         * include/stdio.h: Add C++ protection.  Add gets declarations and
37267         definitions.
37268         * debug/tst-chk1.c: Don't declare gets here.
37269         * stdio-common/tst-gets.c: Likewise.
37271 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37273         * posix/glob: Remove directory.
37275 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37277         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37279 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37281         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37282         of the non-standard EPFNOSUPPORT.
37284 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37286         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37287         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37288         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37290 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37292         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37294 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37296         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37297         transient errors.
37298         * nscd/grpcache.c (cache_addgr): Likewise.
37299         * nscd/hstcache.c (cache_addhst): Likewise.
37300         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37301         * nscd/pwdcache.c (cache_addpw): Likewise.
37302         * nscd/servicescache.c (cache_addserv): Likewise.
37304 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37306         * malloc/malloc.c: Various cleanups.
37307         * malloc/hooks.c: Likewise.
37309         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37310         * stdlib/bug-fmtmsg1.c: New file.
37312         * stdlib/fmtmsg.c (init): Add missing unlock.
37313         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37315 2012-01-12  Marek Polacek  <polacek@redhat.com>
37317         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37318         and _GNU_SOURCE.
37320 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37322         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37323         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37324         macro to ensure uniqueness of label name.
37325         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37326         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37328 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37330         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37332         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37333         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37335         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37337 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37339         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37341         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37342         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37343         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37345         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37347         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37348         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37349         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37350         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37352         * math/bits/math-finite.h: Add ldexp support.
37354 2012-01-10  Marek Polacek  <polacek@redhat.com>
37356         * locale/programs/localedef.h (show_archive_content): Add noreturn
37357         attribute.
37359 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37361         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37363 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37365         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37367         * io/Makefile (headers): Add bits/poll2.h.
37369 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37372         typo #include statement.
37374 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37376         * include/sys/cdefs.h: Define __attribute_alloc_size.
37377         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37378         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37379         * elf/pldd.c: Likewise.
37380         * iconv/iconv_charmap.c: Likewise.
37381         * iconv/iconvconfig.c: Likewise.
37382         * iconv/strtab.c: Likewise.
37383         * locale/programs/locale.c: Likewise.
37384         * locale/programs/localedef.h: Likewise.
37385         * locale/programs/simple-hash.c: Likewise.
37386         * nscd/nscd.h: Likewise.
37387         * nss/makedb.c: Likewise.
37388         * sysdeps/generic/ldconfig.h: Likewise.
37389         * locale/programs/localedef.c: Remove xmalloc prototype.
37390         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37392 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37394         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37395         appropriate.
37397 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37399         * math/Makefile (tests): Add tst-CMPLX.
37400         * math/tst-CMPLX.c: New file.
37402         * math/complex.h (CMPLXL): Fix typo.
37404         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37405         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37406         GLIBC_2.16.
37407         * debug/tst-chk1.c: Add poll and ppoll tests.
37408         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37409         * include/sys/poll.h: Add hidden proto for ppoll.
37410         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37411         * sysdeps/mach/hurd/ppoll.c: Likewise.
37412         * io/ppoll.c: Likewise.
37413         * debug/poll_chk.c: New file.
37414         * debug/ppoll_chk.c: New file.
37415         * include/bits/poll2.h: New file.
37416         * io/bits/poll2.h: New file.
37418         [BZ #1350]
37419         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37421         * configure.in: static is always set to yes.  Remove.
37422         * config.make.in: Don't set build-static.
37423         * Makeconfig: Remove use of build-static.
37424         * dlfcn/Makefile: Likewise.
37425         * elf/Makefile: Likewise.
37426         * math/Makefile: Likewise.
37427         * misc/Makefile: Likewise.
37428         * nptl/Makefile: Likewise.
37429         * sysdeps/mach/hurd/Makefile: Likewise.
37431         * configure.in: PWD_P is not used anymore.
37432         * config.make.in: Remove PWD_P entry.
37434         * configure.in: Remove last remnants of RANLIB.
37435         No need to check for signed size_t anymore.
37436         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37437         and IA-64.
37438         Remove __builtin_expect test because we require at least gcc 3.4.
37439         * aclocal.m4: Likewise.
37441         * wcsmbs/mbrtoc16.c: Implement using towc function.
37442         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37443         * wcsmbs/wcsmbsload.c: Likewise.
37444         * iconv/gconv_simple.c: Likewise.
37445         * iconv/gconv_int.h: Likewise.
37446         * iconv/gconv_builtin.h: Likewise.
37447         * iconv/iconv_prog.c: Remove CHAR16 handling.
37449         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37451         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37453         * configure.in: Remove --with-elf and --enable-bounded options.
37454         Dont set base_machine for ia64.  More non-ELF conditions removed.
37455         Remove testing and setting of leading underscore information.
37456         * config.make.in (build-bounded): Set to no.
37457         * config.h.in: Remove NO_UNDERSCORES entry.
37458         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37459         them.
37460         * csu/start.c: Remove !NO_UNDERSCORE code.
37461         * locale/localeinfo.h: Likewise.
37462         * sysdeps/generic/machine-gmon.h: Likewise.
37463         * sysdeps/generic/sysdep.h: Likewise.
37464         * sysdeps/i386/sysdep.h: Likewise.
37465         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37466         * sysdeps/mach/sysdep.h: Likewise.
37467         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37468         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37469         * sysdeps/sh/sysdep.h: Likewise.
37470         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37471         * sysdeps/unix/i386/sysdep.S: Likewise.
37472         * sysdeps/unix/sparc/start.c: Likewise.
37473         * sysdeps/unix/sparc/sysdep.S: Likewise.
37474         * sysdeps/unix/sparc/sysdep.h: Likewise.
37475         * sysdeps/unix/start.c: Likewise.
37476         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37477         * sysdeps/x86_64/sysdep.h: Likewise.
37479 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37481         [BZ #13553]
37482         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37483         for non-gcc.
37484         * argp/argp-fmtstream.h: Use const instead __const.
37485         * argp/argp.h: Likewise.
37486         * assert/assert.h: Likewise.
37487         * bits/fenv.h: Likewise.
37488         * bits/sched.h: Likewise.
37489         * bits/sigset.h: Likewise.
37490         * bits/sigthread.h: Likewise.
37491         * catgets/nl_types.h: Likewise.
37492         * conform/data/pthread.h-data: Likewise.
37493         * crypt/crypt-private.h: Likewise.
37494         * crypt/crypt.h: Likewise.
37495         * crypt/crypt_util.c: Likewise.
37496         * ctype/ctype.h: Likewise.
37497         * debug/execinfo.h: Likewise.
37498         * debug/mbsnrtowcs_chk.c: Likewise.
37499         * debug/mbsrtowcs_chk.c: Likewise.
37500         * debug/wcsnrtombs_chk.c: Likewise.
37501         * debug/wcsrtombs_chk.c: Likewise.
37502         * debug/wcstombs_chk.c: Likewise.
37503         * dirent/dirent.h: Likewise.
37504         * dlfcn/dlfcn.h: Likewise.
37505         * elf/neededtest4.c: Likewise.
37506         * grp/grp.h: Likewise.
37507         * gshadow/gshadow.h: Likewise.
37508         * iconv/gconv.h: Likewise.
37509         * iconv/gconv_int.h: Likewise.
37510         * iconv/gconv_simple.c: Likewise.
37511         * iconv/iconv.h: Likewise.
37512         * iconv/loop.c: Likewise.
37513         * iconv/skeleton.c: Likewise.
37514         * include/aio.h: Likewise.
37515         * include/aliases.h: Likewise.
37516         * include/argz.h: Likewise.
37517         * include/arpa/inet.h: Likewise.
37518         * include/assert.h: Likewise.
37519         * include/dirent.h: Likewise.
37520         * include/dlfcn.h: Likewise.
37521         * include/execinfo.h: Likewise.
37522         * include/fcntl.h: Likewise.
37523         * include/fenv.h: Likewise.
37524         * include/glob.h: Likewise.
37525         * include/grp.h: Likewise.
37526         * include/libintl.h: Likewise.
37527         * include/mntent.h: Likewise.
37528         * include/netdb.h: Likewise.
37529         * include/pwd.h: Likewise.
37530         * include/rpc/netdb.h: Likewise.
37531         * include/sched.h: Likewise.
37532         * include/search.h: Likewise.
37533         * include/shadow.h: Likewise.
37534         * include/signal.h: Likewise.
37535         * include/stdio.h: Likewise.
37536         * include/stdlib.h: Likewise.
37537         * include/string.h: Likewise.
37538         * include/sys/socket.h: Likewise.
37539         * include/sys/stat.h: Likewise.
37540         * include/sys/statfs.h: Likewise.
37541         * include/sys/statvfs.h: Likewise.
37542         * include/sys/syslog.h: Likewise.
37543         * include/sys/time.h: Likewise.
37544         * include/sys/uio.h: Likewise.
37545         * include/time.h: Likewise.
37546         * include/unistd.h: Likewise.
37547         * include/utmp.h: Likewise.
37548         * include/wchar.h: Likewise.
37549         * include/wctype.h: Likewise.
37550         * inet/aliases.h: Likewise.
37551         * inet/arpa/inet.h: Likewise.
37552         * inet/netinet/ether.h: Likewise.
37553         * inet/netinet/in.h: Likewise.
37554         * intl/libintl.h: Likewise.
37555         * io/bits/fcntl2.h: Likewise.
37556         * io/fcntl.h: Likewise.
37557         * io/ftw.h: Likewise.
37558         * io/sys/poll.h: Likewise.
37559         * io/sys/stat.h: Likewise.
37560         * io/sys/statfs.h: Likewise.
37561         * io/sys/statvfs.h: Likewise.
37562         * io/utime.h: Likewise.
37563         * libio/bits/stdio.h: Likewise.
37564         * libio/bits/stdio2.h: Likewise.
37565         * libio/libio.h: Likewise.
37566         * libio/libioP.h: Likewise.
37567         * libio/stdio.h: Likewise.
37568         * locale/lc-ctype.c: Likewise.
37569         * locale/locale.h: Likewise.
37570         * login/utmp.h: Likewise.
37571         * malloc/arena.c: Likewise.
37572         * malloc/malloc.c: Likewise.
37573         * malloc/malloc.h: Likewise.
37574         * malloc/mcheck.c: Likewise.
37575         * malloc/mtrace.c: Likewise.
37576         * math/bits/mathcalls.h: Likewise.
37577         * math/fenv.h: Likewise.
37578         * math/math_private.h: Likewise.
37579         * misc/bits/error.h: Likewise.
37580         * misc/bits/syslog.h: Likewise.
37581         * misc/err.h: Likewise.
37582         * misc/error.h: Likewise.
37583         * misc/fstab.h: Likewise.
37584         * misc/mntent.h: Likewise.
37585         * misc/regexp.h: Likewise.
37586         * misc/search.h: Likewise.
37587         * misc/sgtty.h: Likewise.
37588         * misc/sys/mman.h: Likewise.
37589         * misc/sys/syslog.h: Likewise.
37590         * misc/sys/uio.h: Likewise.
37591         * misc/sys/xattr.h: Likewise.
37592         * misc/ttyent.h: Likewise.
37593         * nis/rpcsvc/ypclnt.h: Likewise.
37594         * nss/nss.h: Likewise.
37595         * posix/bits/unistd.h: Likewise.
37596         * posix/fnmatch.h: Likewise.
37597         * posix/glob.h: Likewise.
37598         * posix/sched.h: Likewise.
37599         * posix/spawn.h: Likewise.
37600         * posix/sys/wait.h: Likewise.
37601         * posix/unistd.h: Likewise.
37602         * posix/wordexp.h: Likewise.
37603         * pwd/pwd.h: Likewise.
37604         * resolv/netdb.h: Likewise.
37605         * resource/sys/resource.h: Likewise.
37606         * rt/aio.h: Likewise.
37607         * rt/bits/mqueue2.h: Likewise.
37608         * rt/mqueue.h: Likewise.
37609         * shadow/shadow.h: Likewise.
37610         * signal/signal.h: Likewise.
37611         * socket/send.c: Likewise.
37612         * socket/sendto.c: Likewise.
37613         * socket/sys/socket.h: Likewise.
37614         * stdio-common/printf.h: Likewise.
37615         * stdlib/bits/stdlib.h: Likewise.
37616         * stdlib/fmtmsg.h: Likewise.
37617         * stdlib/monetary.h: Likewise.
37618         * stdlib/stdlib.h: Likewise.
37619         * stdlib/ucontext.h: Likewise.
37620         * streams/stropts.h: Likewise.
37621         * string/argz.h: Likewise.
37622         * string/bits/string2.h: Likewise.
37623         * string/string.h: Likewise.
37624         * string/strings.h: Likewise.
37625         * sunrpc/rpc/auth.h: Likewise.
37626         * sunrpc/rpc/auth_des.h: Likewise.
37627         * sunrpc/rpc/clnt.h: Likewise.
37628         * sunrpc/rpc/netdb.h: Likewise.
37629         * sunrpc/rpc/pmap_clnt.h: Likewise.
37630         * sunrpc/rpc/xdr.h: Likewise.
37631         * sysdeps/generic/inttypes.h: Likewise.
37632         * sysdeps/generic/net/if.h: Likewise.
37633         * sysdeps/generic/sys/swap.h: Likewise.
37634         * sysdeps/gnu/net/if.h: Likewise.
37635         * sysdeps/gnu/utmpx.h: Likewise.
37636         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37637         * sysdeps/i386/i486/bits/string.h: Likewise.
37638         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37639         * sysdeps/s390/bits/string.h: Likewise.
37640         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37641         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37642         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37643         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37644         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37645         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37646         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37647         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37648         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37649         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37650         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37651         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37652         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37653         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37654         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37655         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37656         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37657         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37658         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37659         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37660         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37661         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37662         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37663         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37664         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37665         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37666         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37667         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37668         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37669         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37670         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37671         * sysvipc/sys/ipc.h: Likewise.
37672         * sysvipc/sys/msg.h: Likewise.
37673         * sysvipc/sys/sem.h: Likewise.
37674         * sysvipc/sys/shm.h: Likewise.
37675         * termios/termios.h: Likewise.
37676         * time/sys/time.h: Likewise.
37677         * time/time.h: Likewise.
37678         * wcsmbs/bits/wchar2.h: Likewise.
37679         * wcsmbs/uchar.h: Likewise.
37680         * wcsmbs/wchar.h: Likewise.
37681         * wctype/wctype.h: Likewise.
37683         [BZ #13551]
37684         * Makeconfig: Remove all but ELF support including AIX support.
37685         * Makerules: Likewise.
37686         * config.h.in: Likewise.
37687         * config.make.in: Likewise.
37688         * configure: Likewise.
37689         * configure.in: Likewise.
37690         * csu/Makefile: Likewise.
37691         * csu/version.c: Likewise.
37692         * debug/Makefile: Likewise.
37693         * dlfcn/Makefile: Likewise.
37694         * elf/Makefile: Likewise.
37695         * extra-lib.mk: Likewise.
37696         * iconv/Makefile: Likewise.
37697         * include/libc-symbols.h: Likewise.
37698         * include/shlib-compat.h: Likewise.
37699         * resolv/Makefile: Likewise.
37700         * resolv/res_libc.c: Likewise.
37701         * rt/Makefile: Likewise.
37702         * sysdeps/i386/asm-syntax.h: Likewise.
37703         * sysdeps/i386/sysdep.h: Likewise.
37704         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37705         * sysdeps/mach/sysdep.h: Likewise.
37706         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37707         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37708         * sysdeps/s390/asm-syntax.h: Likewise.
37709         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37710         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37711         * sysdeps/sh/sysdep.h: Likewise.
37712         * sysdeps/unix/sparc/sysdep.h: Likewise.
37713         * sysdeps/wordsize-32/divdi3.c: Likewise.
37714         * sysdeps/x86_64/sysdep.h: Likewise.
37716         * argp/Versions: Remove _argp_unlock_xxx.
37718         [BZ #13559]
37719         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37720         * abilist/libBrokenLocale.abilist: Likewise.
37721         * abilist/libanl.abilist: Likewise.
37722         * abilist/libc.abilist: Likewise.
37723         * abilist/libcrypt.abilist: Likewise.
37724         * abilist/libdl.abilist: Likewise.
37725         * abilist/libm.abilist: Likewise.
37726         * abilist/libnsl.abilist: Likewise.
37727         * abilist/libpthread.abilist: Likewise.
37728         * abilist/libresolv.abilist: Likewise.
37729         * abilist/librt.abilist: Likewise.
37730         * abilist/libthread_db.abilist: Likewise.
37731         * abilist/libutil.abilist: Likewise.
37732         * abilist/libnss_db.abilist: New file.
37734         * scripts/abilist.awk: Add support for indirect functions.
37736         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37738         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37740         * shlib-versions: Remove entries for ports architectures.
37742         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37743         files in ports.
37744         * elf/stackguard-macros.h: Remove support for IA-64.
37745         * elf/tst-auditmod1.c: Likewise.
37746         * sysdeps/generic/ldsodefs.h: Likewise.
37748         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37749         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37750         configure files.
37752         [BZ #13552]
37753         * configure.in: Remove --enable-omitfp support.
37754         * FAQ.in: Adjust.
37755         * config.make.in: Likewise.
37756         * Makeconfig: Likewise.
37757         * manual/install.texi: Likewise.
37759         In case anyone cares, the IA-64 architecture could move to ports.
37760         * sysdeps/ia64/*: Removed.
37761         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37762         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37764         [BZ #13555]
37765         * configure.in: Remove entries for unsupported architectures.
37767         [BZ #13533]
37768         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37769         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37770         routines.
37771         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37772         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37773         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37774         fall back to using wcrtomb.
37775         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37776         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37777         renaming.
37778         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37779         * wcsmbs/tst-c16c32-1.c: New file.
37781         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37782         local variable.
37784         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37786         * elf/tst-unique3.cc: Add explicit declaration of gets.
37787         * elf/tst-unique3lib.cc: Likewise.
37788         * elf/tst-unique3lib2.cc: Likewise.
37789         * elf/tst-unique4.cc: Likewise.
37791         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37793 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37795         [BZ #13566]
37796         * assert/assert.h (static_assert): Don't define for C++.
37797         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37798         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37800 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37802         * iconv/loop.c (single loop): Fix assertion in storing of
37803         remaining bytes.
37805         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37807 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37809         * posix/getconf.c: Update copyright year.
37810         * nss/getent.c: Likewise.
37811         * nss/makedb.c: Likewise.
37812         * iconv/iconvconfig.c: Likewise.
37813         * iconv/iconv_prog.c: Likewise.
37814         * elf/ldconfig.c: Likewise.
37815         * elf/pldd.c: Likewise.
37816         * elf/sotruss.ksh: Likewise.
37817         * catgets/gencat.c: Likewise.
37818         * csu/version.c: Likewise.
37819         * elf/ldd.bash.in: Likewise.
37820         * elf/sprof.c (print_version): Likewise.
37821         * locale/programs/locale.c: Likewise.
37822         * locale/programs/localedef.c: Likewise.
37823         * login/programs/pt_chown.c: Likewise.
37824         * nscd/nscd.c (print_version): Likewise.
37825         * debug/xtrace.sh: Likewise.
37826         * malloc/memusage.sh: Likewise.
37827         * malloc/mtrace.pl: Likewise.
37828         * debug/catchsegv.sh: Likewise.
37830 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37832         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37833         pure attribute.
37835 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37837         [BZ #13533]
37838         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37839         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37840         transformations.
37841         * iconv/gconv_int.h: Likewise.
37842         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37843         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37844         from libc for GLIBC_2.16.
37845         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37846         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37847         * wcsmbs/uchar.h: Really define mbstate_t.
37848         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37849         * wcsmbs/c16rtomb.c: New file.
37850         * wcsmbs/mbrtoc16.c: New file.
37851         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37852         for C/POSIX locale.
37853         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37854         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37856         * wcsmbs/wchar.h: Add missing __restrict.
37858 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37860         [BZ #13532]
37861         * time/Makefile (routines): Add timespec_get.
37862         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37863         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37864         timespec for ISO C11.
37865         * time/timespec_get.c: New file.
37866         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37867         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37869         [BZ #13531]
37870         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37871         * stdlib/stdlib.h: Declare aligned_alloc.
37872         * Versions.def: Add GLIBC_2.16 for libc.
37873         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37875         [BZ 13527]
37876         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37877         ISO C11.
37879         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37880         code.
37882         [BZ #13528]
37883         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37885         [BZ #13529]
37886         * assert/assert.h (static_assert): Define.
37888         * version.h: Update for 2.16 development version.
37890         [BZ #13526]
37891         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37892         _ISOC11_SOURCE.
37894         * version.h (RELEASE): Bump for 2.15 release.
37895         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37897         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37898         Patch by Marek Polacek <mpolacek@redhat.com>.
37900         * bits/byteswap.h: Protect long long constants with __extension__.
37901         * sysdeps/i386/bits/byteswap.h: Likewise.
37902         * sysdeps/ia64/bits/byteswap.h: Likewise.
37903         * sysdeps/s390/bits/byteswap.h: Likewise.
37904         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37906 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37908         [BZ #13540]
37909         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37910         destination buffer.
37911         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37913 2011-12-23  Marek Polacek  <polacek@redhat.com>
37915         * elf/dl-addr.c (determine_info): Add inline keyword.
37916         * elf/tst-auditmod4b.c (check_avx): Likewise.
37917         * elf/tst-auditmod6b.c (check_avx): Likewise.
37918         * elf/tst-auditmod6c.c (check_avx): Likewise.
37919         * elf/tst-auditmod7b.c (check_avx): Likewise.
37921 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37923         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37924         !__SSE_MATH__.
37926 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37928         [BZ #13540]
37929         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37930         processing for last bytes.
37932 2011-08-06  Bruno Haible  <bruno@clisp.org>
37934         [BZ #13061]
37935         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37936         U+0385, not to U+1FEE.
37938         [BZ #13062]
37939         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37940         entry for U+00A5 U+0301.
37942 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37944         [BZ #13166]
37945         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37946         buffer for the output is too small.
37948         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37949         optimization.
37951         [BZ #13185]
37952         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37953         SSE flags if possible.
37955 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37957         [BZ #13540]
37958         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37959         processing for last bytes.
37961 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37963         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37964         (syscall-list-default-options, syscall-list-default-condition)
37965         (syscall-list-includes): Define.
37966         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37967         list of ABIs and options and #if conditions for each ABI.  Do not
37968         handle common syscalls between ABIs specially.
37969         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37970         Remove.
37971         (syscall-list-variants, syscall-list-32bit-options)
37972         (syscall-list-32bit-condition, syscall-list-64bit-options)
37973         (syscall-list-64bit-condition): Define.
37974         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37975         (syscall-list-variants, syscall-list-32bit-options)
37976         (syscall-list-32bit-condition, syscall-list-64bit-options)
37977         (syscall-list-64bit-condition): Define.
37978         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37979         Remove.
37980         (syscall-list-variants, syscall-list-32bit-options)
37981         (syscall-list-32bit-condition, syscall-list-64bit-options)
37982         (syscall-list-64bit-condition): Define.
37983         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37984         Remove.
37985         (syscall-list-variants, syscall-list-32bit-options)
37986         (syscall-list-32bit-condition, syscall-list-64bit-options)
37987         (syscall-list-64bit-condition): Define.
37989 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37991         * locale/iso-639.def: Add brx entry.
37993         [BZ #13328]
37994         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37995         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37997         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37998         __feraiseexcept_renamed.
38000 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38002         [BZ #13538]
38003         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38004         EPOLLET with unsigned values.
38005         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38006         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38008         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38009         to large cancellation.
38010         * math/s_cacoshf.c: Likewise.
38011         * math/s_cacoshl.c: Likewise.
38013 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38015         [BZ #13305]
38016         [BZ #12786]
38017         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38018         * math/s_cacoshf.c: Likewise.
38019         * math/s_cacoshl.c: Likewise.
38021 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38023         [BZ #13439]
38024         * iconv/gconv.h: Define __GCONV_SWAP.
38025         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38026         * iconvdata/utf-16.c: Likewise.
38027         * iconvdata/utf-32.c: Likewise.
38029 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38031         [BZ #13524]
38032         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38033         numerator after shifting it by one limb.
38035 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38037         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38038         under [__USE_EXTERN_INLINES].
38040 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38042         [BZ #13446]
38043         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38045 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38047         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38048         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38049         optimized code.
38050         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38051         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38052         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38053         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38054         for strncasecmp/strncasecmp_l compilation.
38055         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38056         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38058 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38060         [BZ #13484]
38061         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38062         of __asm__.
38064 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38066         [BZ #13506]
38067         * time/tzfile.c (__tzfile_read): Check values from file header.
38069 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38071         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38072         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38073         * powerpc/powerpc32/dl-start.S: Likewise.
38074         * powerpc/powerpc32/elf/start.S: Likewise.
38075         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38076         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38077         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38078         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38079         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38080         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38081         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38082         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38083         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38084         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38085         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38086         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38087         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38088         * powerpc/powerpc32/memset.S: Likewise.
38089         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38090         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38091         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38092         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38093         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38094         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38095         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38096         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38097         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38098         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38099         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38100         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38101         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38103 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38105         * math/libm-test.inc: Added more nearbyint tests.
38106         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38107         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38108         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38109         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38111 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38113         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38114         FD_CLOEXEC.
38116 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38118         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38119         Add wcscpy-ssse3 wcscpy-c.
38120         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38121         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38122         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38123         * sysdeps/x86_64/wcschr.S: New file.
38124         * sysdeps/x86_64/wcsrchr.S: New file.
38125         * string/test-strcmp.c: Remove checking of wcscmp function for
38126         wrong alignments.
38127         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38128         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38129         wcsrchr-sse2 wcsrchr-c.
38130         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38131         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38132         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38133         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38134         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38135         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38136         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38137         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38138         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38139         * wcsmbc/wcschr.c (WCSCHR): New macro.
38141 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38143         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38144         * wcsmbs/test-wcsrchr.c: New file.
38145         * string/test-strrchr.c: Add wcsrchr support.
38146         (WIDE): New macro.
38147         * wcsmbs/test-wcscpy.c: New file.
38148         * string/test-strcpy.c: Add wcscpy support.
38149         (WIDE): New macro.
38151 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38153         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38154         the inner loop.
38156 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38158         [BZ #13472]
38159         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38161 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38163         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38164         Minor optimizations.
38166         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38167         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38168         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38170 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38172         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38173         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38174         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38175         for gcc to avoid warnings.
38176         * inet/Makefile (tests): Add tst-checks.
38177         * inet/tst-checks.c: New file.
38179         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38180         warning.
38182         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38183         __wmemcmp_sse2.
38185         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38186         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38188         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38190 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38192         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38193         problem.
38195         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38197 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38199         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38200         conditional on GCC version.
38201         (__arch_compare_and_exchange_val_8_acq)
38202         (__arch_compare_and_exchange_val_16_acq)
38203         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38204         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38205         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38207 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38209         * sysdeps/sh/backtrace.c: New file.
38211 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38213         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38214         parenthesis.
38216 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38218         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38219         falling back to utime.
38221 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38223         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38224         expectations for float.
38226 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38228         * locale/weight.h (findidx): Add parameter len.
38229         * locale/weightwc.h (findidx): Likewise.
38230         * posix/fnmatch_loop.c (FCT): Adjust caller.
38231         * posix/regcomp.c (build_equiv_class): Likewise.
38232         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38233         * posix/regexec.c (check_node_accept_bytes): Likewise.
38234         * string/strcoll_l.c (STRCOLL): Likewise.
38235         * string/strxfrm_l.c (STRXFRM): Likewise.
38237 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38239         * Makefile.in: Remove CVSOPT handling.
38240         * configure.in: Remove use of AC_REVISION.
38241         * iconvdata/Makefile (distribute): No need to filter out CVS.
38242         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38243         handling.
38245 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38247         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38248         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38249         [USE_AS_STRNCASECMP_L]: Likewise.
38250         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38251         NO_TLS_DIRECT_SEG_REFS.
38252         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38253         Fix argument offsets for non-PIC.
38254         [USE_AS_STRNCASECMP_L]: Likewise.
38255         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38256         NO_TLS_DIRECT_SEG_REFS.
38258 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38260         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38261         O_CLOEXEC.
38262         * locale/loadlocale.c (_nl_load_locale): Likewise.
38264 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38266         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38267         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38268         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38269         (SYSCALL_GETTIME): Set errno on error.
38271         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38272         count references to noai6ai_cached.
38274 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38276         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38278         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38279         FD_CLOEXEC for /proc/self/maps.
38281         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38282         FD_CLOEXEC for /proc/meminfo.
38284         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38285         gai.conf.
38287         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38288         FD_CLOEXEC for given file.
38290         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38292         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38293         FD_CLOEXEC for /etc/hosts.
38294         (_gethtent): Likewise.
38296         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38298         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38299         cancellation and set FD_CLOEXEC for /etc/netgroup.
38301         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38302         reading /etc/publickey.
38304         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38305         allow cancellation when reading /etc/group.
38307         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38308         cancellation.
38309         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38311         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38312         when using data file.
38314         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38316         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38317         (write_nis_obj): Use "c" and "e" in fopen.
38319         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38321         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38323         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38325         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38327         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38328         locale.alias.
38330         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38332         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38334         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38336         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38337         file parsing and set FD_CLOEXEC.
38339 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38341         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38343 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38345         * malloc/arena.c (arena_get2): Don't call reused_arena when
38346         _int_new_arena failed.
38348 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38350         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38351         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38352         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38353         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38354         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38356         to compile strcasecmp and strncasecmp.
38357         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38358         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38360         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38362 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38364         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38365         locale-defines.sym to gen-as-const-headers.
38366         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38367         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38368         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38369         to compile strcasecmp and strncasecmp.
38370         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38371         strcasecmp_l and strncasecmp_l.
38372         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38373         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38374         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38375         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38376         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38377         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38378         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38379         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38380         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38381         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38382         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38384 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38386         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38387         result of SYSDEP_GETTIME_CPU to retval.
38388         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38389         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38391         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38392         variable.
38394         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38395         mantissa words.
38396         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38398         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38399         from unused variable.
38401         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38402         DWARF definitions.
38403         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38404         for assembling.
38406         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38407         over namespaces.
38409         * sunrpc/rpc_prot.c (rejected): Fix case value.
38411         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38412         unsigned long long int to avoid warnings in shift.
38414         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38415         of use of trans.
38416         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38417         variable tmp.
38419         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38420         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38421         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38423         * nis/nis_table.c (nis_list): Use variable of correct type for
38424         result of __follow_path call.
38426 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38428         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38429         of math functions ceil, trunc, floor, round, and sqrt, when
38430         avaliable on the platform.
38431         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38432         name clash.
38433         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38434         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38435         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38437 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38439         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38440         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38442 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38444         * include/unistd.h: Fix __readlink return type.
38445         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38447 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38449         * stdlib/ucontext.h: Undo last change for makecontext.
38451 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38453         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38455         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38456         * setjmp/setjmp.h: Mark functions as non-leaf.
38457         * setjmp/bits/setjmp2.h: Likewise.
38458         * stdlib/ucontext.h: Likewise.
38460 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38462         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38463         (reused_arena): Don't check arena limit.
38464         (arena_get2): Atomically check arena limit.
38466 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38468         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38469         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38472         instructions.
38474 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38476         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38477         handler when locking.
38479         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38480         Fix size of allocated buffer.
38482 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38484         [BZ #10103]
38485         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38486         declarations for long double functions.
38487         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38489         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38491 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38493         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38494         installed.
38496         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38497         is disabled.
38499 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38501         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38503 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38505         * include/alloca.h (stackinfo_alloca_round): Define.
38506         (extend_alloca): Use it.
38507         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38508         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38509         here.
38511         * scripts/check-local-headers.sh: Ignore libaudit.h.
38513         * nscd/Makefile (extra-objs): Make recursively expanded.
38515 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38517         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38518         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38520         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38521         * posix/tst-rfc3484-2.c: Likewise.
38522         * posix/tst-rfc3484-3.c: Likewise.
38524         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38525         process_vm_writev.
38526         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38527         process_vm_writev.
38528         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38529         process_vm_writev from libc using GLIBC_2.15 version.
38531         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38533 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38535         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38536         stack usage.
38538 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38540         [BZ #13367]
38541         * nss/getent.c (initgroups_keys): Show error message in case no group
38542         names are given.
38544         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38545         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38546         __bump_nl_timestamp.
38547         * nscd/connections (nscd_init): When host database is served open
38548         netlink socket and request notification about configuration changes.
38549         (main_loop_poll): Track netlink file descriptor and bump timestamp
38550         in case data becomes available.
38551         (main_loop_epoll): Likewise.
38552         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38553         (database_pers_head): Add extra_data fileds.
38554         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38555         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38556         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38557         Adjust caller.
38558         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38559         in6ai data, call __free_in6ai.
38560         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38561         Add -DHAVE_NETLINK.
38562         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38563         interface information.  Reuse previous data if netlink timestamp
38564         is not changed.
38565         (__bump_nl_timestamp): New function.
38566         (__free_in6ai): New function.
38568 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38570         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38571         close_not_cancel_no_status here.
38572         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38574 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38576         [BZ #13276]
38577         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38578         return value.
38580         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38581         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38582         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38584 2011-07-03  Andreas Jaeger  <aj@suse.de>
38586         [BZ #10709]
38587         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38588         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38589         * math/libm-test.inc (sin_test): Add test case.
38591 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38593         [BZ #13337]
38594         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38595         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38597         * elf/chroot_canon.c (chroot_canon): Cleanups.
38599         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38601         [BZ #13335]
38602         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38603         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38605         * string/test-strchr.c: Make usable for strchrnul testing.
38606         * string/test-strchrnul.c: New file.
38607         * string/Makefile (strop-tests): Add strchrnul.
38609         * po/it.po: Update from translation team.
38610         * po/es.po: Likewise.
38612 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38614         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38615         the three constants needed as parameters.  Drop the others.
38616         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38617         __m128i_strloadu_tolower.
38618         Create and initialize variable zero and use it in all the places
38619         where _mm_setzero_si128 was used.
38621         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38622         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38623         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38624         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38625         anymore.
38626         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38627         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38628         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38629         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38630         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38631         __mpranred, __mptan.
38632         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38633         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38634         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38635         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38636         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38637         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38638         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38639         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38640         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38642 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38644         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38645         redefine if SHARED.
38646         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38648         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38649         wide char related routines to wcsmbs subdir.
38651 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38653         [BZ #13344]
38654         * misc/sys/cdefs.h (__THROWNL): Define.
38655         * posix/unistd.h: Use __THREADNL instead of __THREAD
38656         for memory synchronization functions.
38658 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38660         [BZ #13349]
38661         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38662         doesn't exist.
38663         * manual/stdio.texi (Obstack Streams): Node removed.
38665 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38667         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38668         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38669         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38671         * math/math_private.h (math_force_eval): Allow non-addressable
38672         arguments.
38673         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38675 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38677         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38678         file is not needed.
38680         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38681         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38682         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38683         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38684         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38685         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38686         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38687         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38688         Add AVX variants.
38689         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38690         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38691         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38692         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38693         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38694         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38695         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38696         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38697         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38698         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38699         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38700         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38701         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38702         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38703         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38704         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38705         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38706         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38707         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38709         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38710         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38712         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38713         place.  Use VEX encoding when compiling for AVX.
38715 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38717         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38718         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38720         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38722 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38724         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38725         useless if() expression.
38726         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38727         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38728         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38735         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38736         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38737         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38738         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38739         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38740         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38741         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38742         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38743         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38744         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38746         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38748 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38750         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38751         condition.
38752         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38754 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38756         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38757         .text section.  Avoid duplicate constants.
38758         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38759         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38760         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38761         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38762         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38763         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38764         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38765         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38766         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38767         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38768         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38769         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38770         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38771         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38772         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38773         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38774         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38775         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38776         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38777         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38778         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38779         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38780         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38781         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38782         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38783         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38784         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38785         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38786         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38787         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38788         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38789         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38790         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38791         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38792         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38793         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38794         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38795         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38796         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38797         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38798         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38799         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38800         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38801         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38802         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38804 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38806         * sysdeps/x86_64/dla.h: Move to ...
38807         * sysdeps/x86_64/fpu/dla.h: ...here.
38808         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38809         situations.  Use __builtin_fma only for gcc 4.6 and up.
38811         * config.make.in: Add have-mfma4 entry.
38812         * configure.in: Substitute libc_cv_cc_fma4.
38813         * math/Makefile (dbl-only-routines): Add sincostab.
38814         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38815         Use __sincostab not sincos.
38816         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38817         name is a macro.
38818         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38819         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38820         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38821         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38822         using __copysign.
38823         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38824         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38825         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38826         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38827         and __inv.
38828         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38829         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38830         __copysign.
38831         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38832         define aliases when function name is a macro.
38833         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38834         sysdeps/ieee754/dbl-64/sincos.tbl.
38835         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38836         fma4-enabled routines.
38837         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38838         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38839         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38840         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38841         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38842         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38843         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38844         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38845         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38846         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38847         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38848         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38849         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38850         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38851         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38852         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38853         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38854         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38855         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38856         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38857         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38858         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38859         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38860         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38861         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38862         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38863         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38864         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38865         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38866         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38868         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38869         rename.
38870         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38871         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38872         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38876         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38877         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38879 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38881         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38883 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38885         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38887         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38888         prediction.
38889         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38891         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38892         Remove unused variable magic_bits.
38893         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38895         * string/strnlen.c: Define and use STRNLEN macro.
38896         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38897         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38898         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38899         * wcsmbs/wcslen.c: Define and use WCSLEN.
38900         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38901         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38902         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38903         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38904         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38905         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38906         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38908 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38911         strnlen-sse2-no-bsf.
38912         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38913         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38914         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38915         Add strnlen support.
38916         (USE_AS_STRNLEN): New macro.
38917         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38918         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38919         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38920         * sysdeps/x86_64/wcslen.S: New file.
38922 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38924         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38925         XMM-moves are used for copying on small sizes.
38927 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38929         * wcsmbs/Makefile (strop-tests): Add wcschr.
38930         * wcsmbs/test-wcschr.c: New file.
38931         * string/test-strchr.c: Update.
38932         Add wcschr support.
38933         (WIDE): New macro.
38935 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38937         * wcsmbs/Makefile (strop-tests): Add wcslen.
38938         * wcsmbs/test-wcslen.c: New file.
38939         * string/test-strlen.c: Update.
38940         Add wcslen support.
38941         (WIDE): New macro.
38943 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38945         * po/it.po: Update from translation team.
38947 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38949         * sysdeps/x86_64/wcscmp.S: Update.
38950         Fix wrong comparison semantics.
38951         wcscmp shall use signed comparison not unsigned.
38952         Don't use substraction to avoid overflow bug.
38953         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38954         * wcsmbc/wcscmp.c: Likewise.
38955         * string/test-strcmp.c: Likewise.
38956         Add new tests to check cases with negative values.
38958 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38960         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38961         * sysdeps/x86_64/dla.h: ...here.  New file.
38962         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38963         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38964         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38966         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38969         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38970         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38972 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38974         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38975         __ynl_finite aliases.
38977 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38979         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38981         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38982         define DLA_FMA.
38983         [DLA_FMA] (EMULV): Use DLA_FMA.
38984         [DLA_FMA] (MUL12): Use EMULV.
38985         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38986         that are not needed.
38987         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38992         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38993         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38995 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38997         * math/s_nan.c: Undef __nan.
38998         * math/s_nanf.c: Undef __nanf.
38999         * math/s_nanl.c: Undef __nanl.
39000         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39001         "math_private.h".
39003 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39005         * math/s_catan.c: Add branch predictions.
39006         * math/s_catanf.c: Likewise.
39007         * math/s_catanh.c: Likewise.
39008         * math/s_catanhf.c: Likewise.
39009         * math/s_catanhl.c: Likewise.
39010         * math/s_catanl.c: Likewise.
39011         * math/s_cexp.c: Likewise.
39012         * math/s_cexpf.c: Likewise.
39013         * math/s_cexpl.c: Likewise.
39014         * math/s_clog.c: Likewise.
39015         * math/s_clog10.c: Likewise.
39016         * math/s_clog10f.c: Likewise.
39017         * math/s_clog10l.c: Likewise.
39018         * math/s_clogf.c: Likewise.
39019         * math/s_clogl.c: Likewise.
39020         * math/s_csqrt.c: Likewise.
39021         * math/s_csqrtf.c: Likewise.
39022         * math/s_csqrtl.c: Likewise.
39023         * math/s_ctanf.c: Likewise.
39024         * math/s_ctanh.c: Likewise.
39025         * math/s_ctanhf.c: Likewise.
39026         * math/s_ctanhl.c: Likewise.
39027         * math/s_ctanl.c: Likewise.
39029         * math/math_private.h: Define __nan, __nanf, __nanl.
39030         * math/s_cacosh.c: Include <math_private.h>.
39031         * math/s_cacoshl.c: Likewise.
39032         * math/s_casinh.c: Likewise.
39033         * math/s_casinhf.c: Likewise.
39034         * math/s_casinhl.c: Likewise.
39035         * math/s_ccos.c: Rely entire on ccosh.
39036         * math/s_ccosf.c: Rely entire on ccoshf.
39037         * math/s_ccosl.c: Rely entirely on ccoshl.
39038         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39039         Remove tests for FE_INVALID.
39040         * math/s_ccoshf.c: Likewise.
39041         * math/s_ccoshl.c: Likewise.
39042         * math/s_csin.c: Likewise.
39043         * math/s_csinf.c: Likewise.
39044         * math/s_csinh.c Likewise.
39045         * math/s_csinhf.c: Likewise.
39046         * math/s_csinhl.c: Likewise.
39047         * math/s_csinl.c: Likewise.
39048         * math/s_ctan.c: Likewise.
39049         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39050         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39051         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39053 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39055         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39056         compilation problems.
39058         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39059         __builtin_expect.
39061 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39063         * sysdeps/i386/configure.in: Test for -mfma4 option.
39064         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39065         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39066         COMMON_CPUID_INDEX_80000001.
39067         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39068         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39069         use it if FMA3 is not supported.
39070         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39072         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39073         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39075 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39077         [BZ #12892]
39078         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39079         it would create a cycle with a link time dependency.
39081 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39083         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39084         instruction.
39085         * string/Makefile (strop-tests): Add rawmemchr.
39086         * string/test-rawmemchr.c: New file.
39088         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39089         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39090         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39091         when compiling str{,n}casecmp and when AVX is available.  Hook up
39092         new optimized code in initializers.
39094 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39096         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39097         __feraiseexcept instead of feraiseexcept.
39099 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39101         * math/math_private.h: Define defaults for libc_fetestexcept and
39102         libc_feupdateenv.
39103         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39104         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39105         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39106         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39107         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39108         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39109         libc_fetestexcept and libc_feupdateenv.
39111         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39112         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39113         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39114         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39115         libc_feholdexcept_setround.
39117         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39118         Add s_nearbyint-c and s_nearbyintf-c.
39119         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39120         nearbyintf inlines.
39121         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39122         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39123         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39124         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39126         * math/math_private.h: Define defaults for libc_fegetround,
39127         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39128         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39129         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39130         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39131         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39132         standard functions.
39133         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39134         Remove comments and hacks for old compiler versions.
39135         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39136         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39137         libc_feholdexceptl.
39139 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39141         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39142         (__feraiseexcept_renamed): Add __NTH.
39143         (feraiseexcept): Add __NTH.  Rename local variables to fix
39144         namespace violations.
39146 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39148         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39150         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39152         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39153         recently added interfaces.
39154         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39156         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39157         about macro parameter expansion.
39159         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39160         __NO_MATH_INLINES is defined.  Cleanups.
39162         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39163         and __floorf is target has SSE4.1.
39164         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39165         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39166         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39167         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39169         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39170         name.
39171         (floorf): Likewise.
39173         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39175 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39177         * misc/sys/cdefs.h: Fix last change.
39179         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39180         database lookup.
39182 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39184         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39186         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39187         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39188         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39189         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39190         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39191         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39192         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39193         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39194         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39195         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39196         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39197         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39198         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39199         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39200         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39201         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39202         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39203         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39204         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39205         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39206         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39207         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39209         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39210         ceil, ceilf, floor, floorf.
39212         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39213         Perform IRELATIVE relocations last.
39215         * elf/do-rel.h: Add another parameter nrelative, replacing the
39216         local variable with the same name.  Change name of the function
39217         to end in Rel or Rela (uppercase).
39218         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39219         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39220         elf_dynamic_do_##reloc function.
39222 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39224         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39225         is sufficient, at least on modern CPUs.
39227         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39229         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39230         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39232         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39233         __expl_finite.
39234         * math/bits/math-finite.h: Add entries for exp.
39235         * math/e_expl.c: Add __*_finite alias.
39236         * sysdeps/i386/fpu/e_exp.S: Likewise.
39237         * sysdeps/i386/fpu/e_expf.S: Likewise.
39238         * sysdeps/i386/fpu/e_expl.c: Likewise.
39239         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39240         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39241         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39242         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39243         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39244         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39245         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39247         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39248         is sufficient, at least on modern CPUs.
39250         * ctype/ctype-info.c (__ctype_init): Define.
39251         * include/ctype.h (__ctype_init): Declare.
39252         (__ctype_b_loc): The variable is always initialized.
39253         (__ctype_toupper_loc): Likewise.
39254         (__ctype_tolower_loc): Likewise.
39255         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39256         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39258 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39260         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39262         * configure.in: Also look in $cxxmachine/include for C++ system
39263         headers.
39265 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39267         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39268         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39269         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39270         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39271         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39272         (USE_AS_WMEMCMP): New macro.
39273         Fixing indents.
39274         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39275         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39276         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39277         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39278         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39279         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39280         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39281         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39282         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39283         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39284         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39285         (USE_AS_WMEMCMP): New macro.
39286         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39287         * sysdeps/string/test-memcmp.c: Update.
39288         Fix simple_wmemcmp.
39289         Add new tests.
39290         * wcsmbs/wmemcmp.c: Update.
39291         (WMEMCMP): New macro.
39292         Fix overflow bug.
39294 2011-10-12  Andreas Jaeger  <aj@suse.de>
39296         [BZ #13268]
39297         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39299 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39301         * libio/iofwide.c (do_length): Avoid warning.
39303         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39305 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39307         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39309         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39310         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39311         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39312         * sysdeps/i386/i686/fpu/e_log.S: New file.
39313         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39314         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39316         * ctype/ctype.h: Add support for inlined isXXX functions when
39317         compiling C++ code.
39319 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39321         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39323         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39325 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39327         [BZ #13291]
39328         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39330 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39332         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39333         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39334         feraiseexcept.
39336         * sysdeps/x86_64/memrchr.S: Check for zero size.
39338         * string/stratcliff.c: Add memrchr tests.
39340 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39342         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39343         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39344         rawmemchr-sse2 rawmemchr-sse2-bsf.
39345         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39346         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39347         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39348         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39349         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39350         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39351         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39352         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39353         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39354         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39355         * string/memrchr.c (MEMRCHR): New macro.
39357 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39359         Add integration with gcc's -ffinite-math-only and optimize wrapper
39360         functions in libm.
39361         * Versions.def: Define GLIBC_2.15 version for libm.
39362         * math/Makefile (headers): Add bits/math-finite.h.
39363         * math/bits/math-finite.h: New file.
39364         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39365         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39366         * math/e_acoshl.c: Add __*_finite alias.
39367         * math/e_acosl.c: Likewise.
39368         * math/e_asinl.c: Likewise.
39369         * math/e_atan2l.c: Likewise.
39370         * math/e_atanhl.c: Likewise.
39371         * math/e_coshl.c: Likewise.
39372         * math/e_exp10.c: Likewise.
39373         * math/e_exp10f.c: Likewise.
39374         * math/e_exp10l.c: Likewise.
39375         * math/e_exp2l.c: Likewise.
39376         * math/e_fmodl.c: Likewise.
39377         * math/e_gammal_r.c: Likewise.
39378         * math/e_hypotl.c: Likewise.
39379         * math/e_j0l.c: Likewise.
39380         * math/e_j1l.c: Likewise.
39381         * math/e_jnl.c: Likewise.
39382         * math/e_lgammal_r.c: Likewise.
39383         * math/e_log10l.c: Likewise.
39384         * math/e_log2l.c: Likewise.
39385         * math/e_logl.c: Likewise.
39386         * math/e_powl.c: Likewise.
39387         * math/e_sinhl.c: Likewise.
39388         * math/e_sqrtl.c: Likewise.
39389         * math/e_scalb.c: Completely rewritten and optimized.
39390         * math/e_scalbf.c: Likewise.
39391         * math/e_scalbl.c: Likewise.
39392         * math/w_acos.c: Likewise.
39393         * math/w_acosf.c: Likewise.
39394         * math/w_acosl.c: Likewise.
39395         * math/w_acosh.c: Likewise.
39396         * math/w_acoshf.c: Likewise.
39397         * math/w_acoshl.c: Likewise.
39398         * math/w_asin.c: Likewise.
39399         * math/w_asinf.c: Likewise.
39400         * math/w_asinl.c: Likewise.
39401         * math/w_atan2.c: Likewise.
39402         * math/w_atan2f.c: Likewise.
39403         * math/w_atan2l.c: Likewise.
39404         * math/w_atanh.c: Likewise.
39405         * math/w_atanhf.c: Likewise.
39406         * math/w_atanhl.c: Likewise.
39407         * math/w_exp10.c: Likewise.
39408         * math/w_exp10f.c: Likewise.
39409         * math/w_exp10l.c: Likewise.
39410         * math/w_fmod.c: Likewise.
39411         * math/w_fmodf.c: Likewise.
39412         * math/w_fmodl.c: Likewise.
39413         * math/w_j0.c: Likewise.
39414         * math/w_j0f.c: Likewise.
39415         * math/w_j0l.c: Likewise.
39416         * math/w_j1.c: Likewise.
39417         * math/w_j1f.c: Likewise.
39418         * math/w_j1l.c: Likewise.
39419         * math/w_jn.c: Likewise.
39420         * math/w_jnf.c: Likewise.
39421         * math/w_log.c: Likewise.
39422         * math/w_logf.c: Likewise.
39423         * math/w_logl.c: Likewise.
39424         * math/w_log10.c: Likewise.
39425         * math/w_log10f.c: Likewise.
39426         * math/w_log10l.c: Likewise.
39427         * math/w_log2.c: Likewise.
39428         * math/w_log2f.c: Likewise.
39429         * math/w_log2l.c: Likewise.
39430         * math/w_pow.c: Likewise.
39431         * math/w_powf.c: Likewise.
39432         * math/w_powl.c: Likewise.
39433         * math/w_remainder.c: Likewise.
39434         * math/w_remainderf.c: Likewise.
39435         * math/w_remainderl.c: Likewise.
39436         * math/w_scalb.c: Likewise.
39437         * math/w_scalbf.c: Likewise.
39438         * math/w_scalbl.c: Likewise.
39439         * math/w_sqrt.c: Likewise.
39440         * math/w_sqrtf.c: Likewise.
39441         * math/w_sqrtl.c: Likewise.
39442         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39443         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39444         used.
39445         * math/math_private.h: Declare __kernel_standard_f.
39446         * math/w_cosh.c: Remove cruft and optimize a bit.
39447         * math/w_coshf.c: Likewise.
39448         * math/w_coshl.c: Likewise.
39449         * math/w_exp2.c: Likewise.
39450         * math/w_exp2f.c: Likewise.
39451         * math/w_exp2l.c: Likewise.
39452         * math/w_hypot.c: Likewise.
39453         * math/w_hypotf.c: Likewise.
39454         * math/w_hypotl.c: Likewise.
39455         * math/w_lgamma.c: Likewise.
39456         * math/w_lgamma_r.c: Likewise.
39457         * math/w_lgammaf.c: Likewise.
39458         * math/w_lgammaf_r.c: Likewise.
39459         * math/w_lgammal.c: Likewise.
39460         * math/w_lgammal_r.c: Likewise.
39461         * math/w_sinh.c: Likewise.
39462         * math/w_sinhf.c: Likewise.
39463         * math/w_sinhl.c: Likewise.
39464         * math/w_tgamma.c: Likewise.
39465         * math/w_tgammaf.c: Likewise.
39466         * math/w_tgammal.c: Likewise.
39467         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39468         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39469         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39470         Minor optimizations.  Pretty printing.  Remove cruft.
39471         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39472         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39473         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39474         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39475         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39476         * sysdeps/i386/fpu/e_asin.S: Likewise.
39477         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39478         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39479         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39480         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39481         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39482         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39483         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39484         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39485         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39486         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39487         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39488         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39489         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39490         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39491         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39492         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39493         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39494         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39495         * sysdeps/i386/fpu/e_log.S: Likewise.
39496         * sysdeps/i386/fpu/e_log10.S: Likewise.
39497         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39498         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39499         * sysdeps/i386/fpu/e_log2.S: Likewise.
39500         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39501         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39502         * sysdeps/i386/fpu/e_logf.S: Likewise.
39503         * sysdeps/i386/fpu/e_logl.S: Likewise.
39504         * sysdeps/i386/fpu/e_pow.S: Likewise.
39505         * sysdeps/i386/fpu/e_powf.S: Likewise.
39506         * sysdeps/i386/fpu/e_powl.S: Likewise.
39507         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39508         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39509         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39510         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39511         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39512         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39513         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39514         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39515         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39516         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39517         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39518         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39519         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39520         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39521         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39522         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39523         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39524         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39525         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39526         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39527         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39528         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39529         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39530         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39531         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39532         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39533         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39534         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39535         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39536         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39537         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39538         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39539         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39540         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39541         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39542         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39543         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39544         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39545         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39546         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39547         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39548         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39550         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39551         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39552         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39553         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39554         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39555         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39556         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39557         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39558         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39560         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39561         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39562         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39563         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39564         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39565         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39566         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39568         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39569         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39571         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39572         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39573         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39574         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39575         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39576         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39577         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39578         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39579         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39580         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39581         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39582         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39583         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39584         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39585         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39586         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39587         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39588         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39589         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39590         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39591         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39592         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39593         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39594         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39595         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39596         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39597         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39598         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39599         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39600         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39601         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39602         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39603         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39604         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39605         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39606         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39607         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39608         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39609         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39610         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39611         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39612         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39613         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39614         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39615         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39616         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39617         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39618         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39619         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39620         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39621         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39622         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39623         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39624         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39625         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39626         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39627         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39628         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39629         (__isnanf): Likewise.
39630         (__isinf_ns): Likewise.
39631         (__isinf_nsf): Likewise.
39632         (__finite): Likewise.
39633         (__finitef): Likewise.
39634         (__ieee754_sqrt): Define as macro.
39635         (__ieee754_sqrtf): Define as macro.
39636         (__ieee754_sqrtl): Define as macro.
39637         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39638         inlined copy.
39639         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39640         __FINITE_MATH_ONLY__ consistent.
39641         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39643 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39645         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39646         of rawmemchr.
39648         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39650 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39652         * po/ja.po: Update from translation team.
39654 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39656         * locale/programs/locarchive.c (prepare_address_space): New function.
39657         (create_archive, enlarge_archive, open_archive): Use it.
39659         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39660         inside [SHARED], where it is used.
39662         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39664         * nss/getent.c (netgroup_keys): Remove unused variable.
39665         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39667 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39669         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39670         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39671         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39672         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39673         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39674         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39675         * math/Makefile (libm-calls): Add s_isinf_ns.
39676         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39677         * math/multc3.c: Likewise.
39678         * math/s_casin.c: Likewise.
39679         * math/s_casinf.c: Likewise.
39680         * math/s_casinl.c: Likewise.
39681         * math/s_ccos.c: Likewise.
39682         * math/s_ccosf.c: Likewise.
39683         * math/s_ccosl.c: Likewise.
39684         * math/s_ctan.c: Likewise.
39685         * math/s_ctanf.c: Likewise.
39686         * math/s_ctanh.c: Likewise.
39687         * math/s_ctanhf.c: Likewise.
39688         * math/s_ctanhl.c: Likewise.
39689         * math/s_ctanl.c: Likewise.
39690         * math/w_fmod.c: Likewise.
39691         * math/w_fmodf.c: Likewise.
39692         * math/w_fmodl.c: Likewise.
39693         * math/w_remainder.c: Likewise.
39694         * math/w_remainderf.c: Likewise.
39695         * math/w_remainderl.c: Likewise.
39696         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39697         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39698         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39699         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39700         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39701         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39702         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39703         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39705         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39706         of the number.
39707         * stdio-common/printf_fphex.c: Likewise.
39708         * stdio-common/printf_size.c: Likewise.
39710         * math/e_exp10.c: Include math_private.h using <...> not "...".
39711         * math/e_exp10f.c: Likewise.
39712         * math/e_exp10l.c: Likewise.
39713         * math/e_exp2l.c: Likewise.
39714         * math/e_j0l.c: Likewise.
39715         * math/e_j1l.c: Likewise.
39716         * math/e_jnl.c: Likewise.
39717         * math/e_lgammal_r.c: Likewise.
39718         * math/e_rem_pio2l.c: Likewise.
39719         * math/e_scalb.c: Likewise.
39720         * math/e_scalbf.c: Likewise.
39721         * math/e_scalbl.c: Likewise.
39722         * math/k_cosl.c: Likewise.
39723         * math/k_sinl.c: Likewise.
39724         * math/k_tanl.c: Likewise.
39725         * math/s_cacoshf.c: Likewise.
39726         * math/s_catan.c: Likewise.
39727         * math/s_catanf.c: Likewise.
39728         * math/s_catanh.c: Likewise.
39729         * math/s_catanhf.c: Likewise.
39730         * math/s_catanhl.c: Likewise.
39731         * math/s_catanl.c: Likewise.
39732         * math/s_ccosh.c: Likewise.
39733         * math/s_ccoshf.c: Likewise.
39734         * math/s_ccoshl.c: Likewise.
39735         * math/s_cexp.c: Likewise.
39736         * math/s_cexpf.c: Likewise.
39737         * math/s_cexpl.c: Likewise.
39738         * math/s_clog.c: Likewise.
39739         * math/s_clog10.c: Likewise.
39740         * math/s_clog10f.c: Likewise.
39741         * math/s_clog10l.c: Likewise.
39742         * math/s_clogf.c: Likewise.
39743         * math/s_clogl.c: Likewise.
39744         * math/s_csin.c: Likewise.
39745         * math/s_csinf.c: Likewise.
39746         * math/s_csinh.c: Likewise.
39747         * math/s_csinhf.c: Likewise.
39748         * math/s_csinhl.c: Likewise.
39749         * math/s_csinl.c: Likewise.
39750         * math/s_csqrt.c: Likewise.
39751         * math/s_csqrtf.c: Likewise.
39752         * math/s_csqrtl.c: Likewise.
39753         * math/s_ctan.c: Likewise.
39754         * math/s_ctanf.c: Likewise.
39755         * math/s_ctanh.c: Likewise.
39756         * math/s_ctanhf.c: Likewise.
39757         * math/s_ctanhl.c: Likewise.
39758         * math/s_ctanl.c: Likewise.
39759         * math/s_ldexp.c: Likewise.
39760         * math/s_ldexpf.c: Likewise.
39761         * math/s_ldexpl.c: Likewise.
39762         * math/s_significand.c: Likewise.
39763         * math/s_significandf.c: Likewise.
39764         * math/s_significandl.c: Likewise.
39765         * math/w_acos.c: Likewise.
39766         * math/w_acosf.c: Likewise.
39767         * math/w_acosh.c: Likewise.
39768         * math/w_acoshf.c: Likewise.
39769         * math/w_acoshl.c: Likewise.
39770         * math/w_acosl.c: Likewise.
39771         * math/w_asin.c: Likewise.
39772         * math/w_asinf.c: Likewise.
39773         * math/w_asinl.c: Likewise.
39774         * math/w_atan2.c: Likewise.
39775         * math/w_atan2f.c: Likewise.
39776         * math/w_atan2l.c: Likewise.
39777         * math/w_atanh.c: Likewise.
39778         * math/w_atanhf.c: Likewise.
39779         * math/w_atanhl.c: Likewise.
39780         * math/w_cosh.c: Likewise.
39781         * math/w_coshf.c: Likewise.
39782         * math/w_coshl.c: Likewise.
39783         * math/w_dremf.c: Likewise.
39784         * math/w_exp10.c: Likewise.
39785         * math/w_exp10f.c: Likewise.
39786         * math/w_exp10l.c: Likewise.
39787         * math/w_exp2.c: Likewise.
39788         * math/w_exp2f.c: Likewise.
39789         * math/w_fmod.c: Likewise.
39790         * math/w_fmodf.c: Likewise.
39791         * math/w_fmodl.c: Likewise.
39792         * math/w_hypot.c: Likewise.
39793         * math/w_hypotf.c: Likewise.
39794         * math/w_hypotl.c: Likewise.
39795         * math/w_j0.c: Likewise.
39796         * math/w_j0f.c: Likewise.
39797         * math/w_j0l.c: Likewise.
39798         * math/w_j1.c: Likewise.
39799         * math/w_j1f.c: Likewise.
39800         * math/w_j1l.c: Likewise.
39801         * math/w_jn.c: Likewise.
39802         * math/w_jnf.c: Likewise.
39803         * math/w_jnl.c: Likewise.
39804         * math/w_lgamma.c: Likewise.
39805         * math/w_lgamma_r.c: Likewise.
39806         * math/w_lgammaf.c: Likewise.
39807         * math/w_lgammaf_r.c: Likewise.
39808         * math/w_lgammal.c: Likewise.
39809         * math/w_lgammal_r.c: Likewise.
39810         * math/w_log.c: Likewise.
39811         * math/w_log10.c: Likewise.
39812         * math/w_log10f.c: Likewise.
39813         * math/w_log10l.c: Likewise.
39814         * math/w_log2.c: Likewise.
39815         * math/w_log2f.c: Likewise.
39816         * math/w_log2l.c: Likewise.
39817         * math/w_logf.c: Likewise.
39818         * math/w_logl.c: Likewise.
39819         * math/w_pow.c: Likewise.
39820         * math/w_powf.c: Likewise.
39821         * math/w_powl.c: Likewise.
39822         * math/w_remainder.c: Likewise.
39823         * math/w_remainderf.c: Likewise.
39824         * math/w_remainderl.c: Likewise.
39825         * math/w_scalb.c: Likewise.
39826         * math/w_scalbf.c: Likewise.
39827         * math/w_scalbl.c: Likewise.
39828         * math/w_sinh.c: Likewise.
39829         * math/w_sinhf.c: Likewise.
39830         * math/w_sinhl.c: Likewise.
39831         * math/w_sqrt.c: Likewise.
39832         * math/w_sqrtf.c: Likewise.
39833         * math/w_sqrtl.c: Likewise.
39834         * math/w_tgamma.c: Likewise.
39835         * math/w_tgammaf.c: Likewise.
39836         * math/w_tgammal.c: Likewise.
39838         * po/ja.po: Update from translation team.
39840 2011-09-29  Andreas Jaeger  <aj@suse.de>
39842         [BZ #13179]
39843         * sunrpc/netname.c (netname2host): Fix logic.
39845         [BZ #6779]
39846         [BZ #6783]
39847         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39848         correctly.
39849         * math/w_remainder.c (__remainder): Likewise.
39850         * math/w_remainderf.c (__remainderf): Likewise.
39851         * math/libm-test.inc (remainder_test): Add test cases.
39853 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39855         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39856         sdiv_qrnnd.
39858 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39860         * string/test-memcmp.c: Avoid unncessary #defines.
39861         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39863 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39865         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39866         Use new sse2 version for core i3 - i7 as it's faster
39867         than sse42 version.
39868         (bit_Prefer_PMINUB_for_stringop): New.
39869         * sysdeps/x86_64/rawmemchr.S: Update.
39870         Replace with faster SSE2 version.
39871         * sysdeps/x86_64/memrchr.S: New file.
39872         * sysdeps/x86_64/memchr.S: Update.
39873         Replace with faster SSE2 version.
39875 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39877         * elf/dl-load.c (lose): Add cast to avoid warning.
39879 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39881         * po/ca.po: Update from translation team.
39883         * inet/getnetgrent_r.c: Hook up nscd.
39884         * nscd/Makefile (routines): Add nscd_netgroup.
39885         (nscd-modules): Add netgroupcache.
39886         (CFLAGS-netgroupcache.c): Define.
39887         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39888         (cache_search): Add const to second parameter.
39889         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39890         INNETGR.
39891         (dbs): Add netgrdb entry.
39892         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39893         (verify_persistent_db): Handle netgrdb.
39894         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39895         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39896         GETFDNETGR.
39897         (netgroup_response_header): Define.
39898         (innetgroup_response_header): Define.
39899         (datahead): Add netgroup_response_header and innetgroup_response_header
39900         elements.
39901         * nscd/nscd.conf: Add entries for netgroup cache.
39902         * nscd/nscd.h (dbtype): Add netgrdb.
39903         (_PATH_NSCD_NETGROUP_DB): Define.
39904         (netgroup_iov_disabled): Declare.
39905         (xmalloc, xcalloc, xrealloc): Move declarations here.
39906         (cache_search): Adjust prototype.
39907         Add netgroup-related prototypes.
39908         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39909         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39910         (__nscd_innetgr): Declare.
39911         * nscd/selinux.c (perms): Use access_vector_t as element type and
39912         add netgroup-related initializers.
39913         * nscd/netgroupcache.c: New file.
39914         * nscd/nscd_netgroup.c: New file.
39915         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39916         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39917         For four parameters use innetgr.
39918         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39919         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39920         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39921         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39923         * nscd/connections.c (register_traced_file): Don't register file
39924         for disabled databases.
39926 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39928         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39930         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39931         from tree and freeing node.
39933 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39935         * nss/nsswitch.c (__nss_database_lookup): Handle
39936         nss_parse_service_list out of memory case.
39938 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39940         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39941         out of memory case.
39943 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39945         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39946         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39947         pass it down.
39948         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39949         elf_machine_rela, elf_machine_lazy_rel.
39950         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39951         (ELF_DYNAMIC_DO_REL): Likewise.
39952         (ELF_DYNAMIC_DO_RELA): Likewise.
39953         (ELF_DYNAMIC_RELOCATE): Likewise.
39954         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39955         to ELF_DYNAMIC_DO_REL.
39956         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39957         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39958         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39959         elf_machine_rela.
39960         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39961         skip_ifunc, don't call ifunc function if non-zero.
39962         (elf_machine_rela): Likewise.
39963         (elf_machine_lazy_rel): Likewise.
39964         (elf_machine_lazy_rela): Likewise.
39965         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39966         (elf_machine_lazy_rel): Likewise.
39967         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39968         Likewise.
39969         (elf_machine_lazy_rel): Likewise.
39970         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39971         Likewise.
39972         (elf_machine_lazy_rel): Likewise.
39973         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39974         (elf_machine_lazy_rel): Likewise.
39975         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39976         (elf_machine_lazy_rel): Likewise.
39977         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39978         (elf_machine_lazy_rel): Likewise.
39979         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39980         (elf_machine_lazy_rel): Likewise.
39981         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39982         (elf_machine_lazy_rel): Likewise.
39983         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39984         (elf_machine_lazy_rel): Likewise.
39986 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39988         * nss/nss_files/files-init.c (_nss_files_init): Use static
39989         initialization for all the *_traced_file variables.
39991 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39993         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39995 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39997         [BZ #13226]
39998         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40000 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40002         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40003         Reread the line before reparsing it.
40005 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40007         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40009 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40010             Maxim Kuvyrkov  <maxim@codesourcery.com>
40011             Joseph Myers  <joseph@codesourcery.com>
40013         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40014         if needed for __stack_chk_guard.
40016 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40018         * sysdeps/posix/spawni.c (script_execute): Always define it.
40019         It will be optimized away if unused.
40020         (maybe_script_execute): New function.
40021         (__spawni): Call it.
40023         * Makerules: Don't include tls.make.
40024         (config-tls): Always set to thread.
40025         * tls.make.c: File removed.
40027 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40029         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40030         * config.make.in (CPPFLAGS-config): New substituted variable.
40032 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40034         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40036         [BZ #13192]
40037         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40038         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40040 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40042         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40043         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40044         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40045         (CALL_FAIL): Likewise.
40046         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40047         (CALL_FAIL): Macro removed.
40048         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40050 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40052         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40053         for __FINITE_MATH_ONLY__ == 1.
40055 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40057         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40058         __ieee754_sqrt instead of sqrt.
40059         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40060         __ieee754_sqrtf instead of sqrtf.
40061         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40062         __floorf instead of floorf.
40063         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40064         __floorf, __truncf instead of floorf, truncf.
40066 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40068         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40070         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40071         __extern_always_inline.
40072         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40073         32-bit.
40075 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40077         * elf/rtld.c (dl_main): Also relocate in dependency order when
40078         doing symbol dependency testing.
40080 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40082         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40083         Always define `refsym'.
40085 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40087         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40088         (__FD_ELT): Renamed from __FDELT.
40089         * misc/bits/select2.h (__FD_ELT): Likewise.
40090         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40091         __FD_MASK instead of __FDELT, __FDMASK.
40092         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40093         Likewise.
40094         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40095         Likewise.
40097         * elf/Makefile (gen-ldd): Fix pattern.
40099         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40100         (init_tls): Likewise.
40102 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40104         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40106 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40108         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40109         `struct cmsghdr *' instead of `void *'.
40110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40111         Likewise.
40113 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40115         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40116         if non-absolute.
40117         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40118         ldd_rewrite_script.
40120 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40122         * configure.in: Remove --with-tls option.
40123         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40124         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40125         out in case it is missing.
40126         * sysdeps/ia64/elf/configure.in: Likewise.
40127         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40128         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40129         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40130         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40131         * sysdeps/sh/elf/configure.in: Likewise.
40132         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40133         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40134         * sysdeps/x86_64/elf/configure.in: Likewise.
40135         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40136         * sysdeps/mach/hurd/tls.h: Likewise.
40138         [BZ #13067]
40139         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40141         [BZ #13090]
40142         * configure.in: Fix use of AC_INIT.
40144         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40146 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40148         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40149         __set_errno.
40150         * malloc/hooks.c: Likewise.
40152         [BZ #11929]
40153         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40154         variables statically.
40155         (narenas): Initialize.
40156         (list_lock): Initialize.
40157         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40158         initializtion of main_arena and list_lock.  Small cleanups.
40159         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40160         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40161         Add initializers to main_arena and mp_.
40162         (malloc_state): Remove pagesize member.  Change all users to use
40163         GLRO(dl_pagesize).
40165         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40166         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40167         is always initialized.
40169         * malloc/malloc.c: Removed unused configurations and dead code.
40170         * malloc/arena.c: Likewise.
40171         * malloc/hooks.c: Likewise.
40172         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40174         * include/tls.h: Removed.  USE___THREAD must always be defined.
40175         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40176         * elf/dl-libc.c: Likewise.
40177         * elf/dl-tsd.c: Likewise.
40178         * include/errno.h: Likewise.
40179         * include/netdb.h: Likewise.
40180         * include/resolv.h: Likewise.
40181         * inet/herrno-loc.c: Likewise.
40182         * inet/herrno.c: Likewise.
40183         * malloc/arena.c: Likewise.
40184         * malloc/hooks.c: Likewise.
40185         * malloc/malloc.c: Likewise.
40186         * resolv/res-state.c: Likewise.
40187         * resolv/res_libc.c: Likewise.
40188         * sysdeps/i386/dl-machine.h: Likewise.
40189         * sysdeps/ia64/dl-machine.h: Likewise.
40190         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40191         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40192         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40193         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40194         * sysdeps/sh/dl-machine.h: Likewise.
40195         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40196         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40197         * sysdeps/unix/i386/sysdep.S: Likewise.
40198         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40199         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40200         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40201         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40202         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40204         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40205         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40206         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40207         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40208         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40209         * sysdeps/x86_64/dl-machine.h: Likewise.
40210         * tls.make.c: Likewise.
40212         * configure.in: Remove --with-__thread option.  Make tests for
40213         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40214         tls_model attribute fail if no support is available.  Remove
40215         USE_IN_LIBIO.
40216         * Makeconfig: Adjust for dropped configure option.  All features are
40217         now mandatory.
40218         * Makerules: Likewise.
40219         * Versions.def: Likewise.
40220         * argp/argp-fmtstream.c: Likewise.
40221         * argp/argp-fmtstream.h: Likewise.
40222         * argp/argp-help.c: Likewise.
40223         * assert/assert.c: Likewise.
40224         * config.h.in: Likewise.
40225         * config.make.in: Likewise.
40226         * configure: Likewise.
40227         * configure.in: Likewise.
40228         * csu/Versions: Likewise.
40229         * csu/init.c: Likewise.
40230         * elf/tst-audit2.c: Likewise.
40231         * elf/tst-tls10.c: Likewise.
40232         * elf/tst-tls10.h: Likewise.
40233         * elf/tst-tls11.c: Likewise.
40234         * elf/tst-tls12.c: Likewise.
40235         * elf/tst-tls14.c: Likewise.
40236         * elf/tst-tlsmod11.c: Likewise.
40237         * elf/tst-tlsmod12.c: Likewise.
40238         * elf/tst-tlsmod13.c: Likewise.
40239         * elf/tst-tlsmod13a.c: Likewise.
40240         * elf/tst-tlsmod14a.c: Likewise.
40241         * elf/tst-tlsmod15b.c: Likewise.
40242         * elf/tst-tlsmod16a.c: Likewise.
40243         * elf/tst-tlsmod16b.c: Likewise.
40244         * elf/tst-tlsmod7.c: Likewise.
40245         * elf/tst-tlsmod8.c: Likewise.
40246         * elf/tst-tlsmod9.c: Likewise.
40247         * gmon/gmon.c: Likewise.
40248         * grp/fgetgrent_r.c: Likewise.
40249         * grp/putgrent.c: Likewise.
40250         * hurd/fopenport.c: Likewise.
40251         * include/libc-symbols.h: Likewise.
40252         * include/tls.h: Likewise.
40253         * intl/gettextP.h: Likewise.
40254         * intl/loadinfo.h: Likewise.
40255         * locale/global-locale.c: Likewise.
40256         * locale/localeinfo.h: Likewise.
40257         * mach/devstream.c: Likewise.
40258         * malloc/arena.c: Likewise.
40259         * malloc/set-freeres.c: Likewise.
40260         * misc/err.c: Likewise.
40261         * misc/getttyent.c: Likewise.
40262         * misc/mntent_r.c: Likewise.
40263         * posix/getopt.c: Likewise.
40264         * posix/wordexp.c: Likewise.
40265         * pwd/fgetpwent_r.c: Likewise.
40266         * resolv/Versions: Likewise.
40267         * resolv/res_hconf.c: Likewise.
40268         * shadow/fgetspent_r.c: Likewise.
40269         * shadow/putspent.c: Likewise.
40270         * stdio-common/printf_fphex.c: Likewise.
40271         * stdio-common/tmpfile.c: Likewise.
40272         * stdlib/abort.c: Likewise.
40273         * stdlib/fmtmsg.c: Likewise.
40274         * sunrpc/auth_unix.c: Likewise.
40275         * sunrpc/clnt_perr.c: Likewise.
40276         * sunrpc/clnt_tcp.c: Likewise.
40277         * sunrpc/clnt_udp.c: Likewise.
40278         * sunrpc/clnt_unix.c: Likewise.
40279         * sunrpc/openchild.c: Likewise.
40280         * sunrpc/svc_simple.c: Likewise.
40281         * sunrpc/svc_tcp.c: Likewise.
40282         * sunrpc/svc_udp.c: Likewise.
40283         * sunrpc/svc_unix.c: Likewise.
40284         * sunrpc/xdr.c: Likewise.
40285         * sunrpc/xdr_array.c: Likewise.
40286         * sunrpc/xdr_rec.c: Likewise.
40287         * sunrpc/xdr_ref.c: Likewise.
40288         * sunrpc/xdr_stdio.c: Likewise.
40290 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40292         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40294 2011-07-03  Andreas Jaeger  <aj@suse.de>
40296         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40297         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40298         regenerate with gen-libm-tests.pl.
40300 2010-05-12  Petr Baudis  <pasky@suse.cz>
40302         [BZ #11589]
40303         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40304         around j0() zero points by switching to j1().
40305         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40306         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40307         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40308         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40310 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40312         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40313         instead of 0.
40314         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40315         instead of 0.
40316         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40317         Patch in part by Pavel Roskin <proski@gnu.org>.
40319         [BZ #13138]
40320         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40321         realloc.
40322         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40323         Free memory block if necessary.
40325         [BZ #12847]
40326         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40327         be NULL.  Don't lock in this case.
40329 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40331         * elf/elf.h (ELFOSABI_GNU): New macro.
40332         (ELFOSABI_LINUX): Define to that.
40334 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40336         * string/strncat.c (strncat): Undef the symbol in case it has been
40337         defined in bits/string.h.
40339 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40341         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40343         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40344         link map.
40346 2011-08-17  Andreas Jaeger  <aj@suse.de>
40348         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40350 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40351             Ian Lance Taylor  <iant@google.com>
40353         * math/libm-test.inc (lround_test): New testcase.
40354         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40356 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40358         * Makefile: Remove support for automatic cvs check-ins.
40359         * Makerules: Likewise.
40360         * config.make.in: Likewise.
40361         * configure.in: Likewise.
40362         * intl/Makefile: Likewise.
40363         * locale/Makefile: Likewise.
40364         * po/Makefile: Likewise.
40365         * posix/Makefile: Likewise.
40366         * sysdeps/gnu/Makefile: Likewise.
40367         * sysdeps/mach/hurd/Makefile: Likewise.
40368         * sysdeps/sparc/sparc32/Makefile: Likewise.
40370         [BZ #13118]
40371         * posix/Makefile (bug-regex32-ENV): Define.
40372         Patch by John Stanley <jpsinthemix@verizon.net>.
40374         * misc/Makefile (headers): Add bits/select2.h.
40375         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40376         * misc/bits/select2.h: New file.
40377         * include/bits/select2.h: New file.
40378         * debug/Makefile (routines): Add fdelt_chk.
40379         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40380         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40381         FD_ISSET.
40382         * debug/fdelt_chk.c: New file.
40384         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40385         * wcsmbs/test-wmemcmp.c: Likewise.
40386         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40387         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40389 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40391         * string/Makefile (strop-tests): Add memcmp.
40392         * string/test-wmemcmp.c: New file.
40393         * string/test-memcmp.c: Add wmemcmp support.
40395 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40397         [BZ #13153]
40398         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40399         2011-07-19 change.
40401         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40402         garbage value in a __mach_port_mod_refs call in the cases of the
40403         task-self and thread-self ports.
40405 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40407         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40409 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40411         * elf/dl-load.c (lose): Check for non-null L.
40413 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40415         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40417         * elf/dl-libc.c (dlerror_run): Pass back error code from
40418         dl_catch_error.
40420         [BZ #13123]
40421         * elf/dl-load.c (lose): Free l_origin if it is valid.
40423         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40424         names.
40425         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40426         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40427         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40428         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40429         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40430         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40432 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40434         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40435         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40436         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40437         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40438         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40439         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40440         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40441         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40442         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40443         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40445 2011-08-15  Alan Modra  <amodra@gmail.com>
40447         [BZ #13092]
40448         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40449         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40450         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40451         ppc_mcount to static-only-routines.
40452         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40453         __mcount_internal.
40454         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40455         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40457 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40459         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40460         for finite and infinity parameters.
40462 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40464         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40465         and add nop instructions for throughput optimization.
40466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40468 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40470         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40471         aligned copy for power7 with vector-scalar instructions.
40472         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40474 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40476         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40477         AVX check.
40479 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40481         [BZ #13144]
40482         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40483         last change.
40485 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40487         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40488         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40489         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40490         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40491         clock_gettime.
40493 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40495         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40496         Forgot to demangle the pointer.
40498         * sysdeps/i386/sysdep.h: Define atom_text_section.
40499         * sysdeps/x86_64/sysdep.h: Likewise.
40500         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40501         section with atom_text_section.
40502         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40503         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40504         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40505         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40506         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40508         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40509         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40510         already be defined.  Change to take two parameters and don't assign
40511         result to variable.  Adjust all users.
40512         Define INTERNAL_GETTIME if not already defined.
40513         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40514         call.
40515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40516         HAVE_CLOCK_GETTIME_VSYSCALL.
40517         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40520         gettimeofday vsyscall, just use time.
40522 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40525         <errno.h>.
40527 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40529         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40530         syscall on x86-64.
40531         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40532         syscall.
40533         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40534         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40535         syscall if possible.
40537 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40539         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40540         e_ident.  Don't pass to find_mapsXX.
40541         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40543 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40546         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40547         * sysdeps/x86_64/multiarch/strchr.S: Update.
40548         Check bit_slow_BSF bit.
40549         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40550         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40551         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40553 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40555         [BZ #13134]
40556         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40557         before glibc 2.15.
40558         (tryshell): Define.
40559         (__spawni): Change last parameter to be flag.  Test
40560         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40561         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40562         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40563         * posix/spawni.c: Likewise.
40564         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40565         * posix/spawnp.c: Likewise.  Change normal version to use
40566         SPAWN_XFLAGS_USE_PATH.
40567         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40568         SPAWN_XFLAGS_TRY_SHELL.
40570         [BZ #13150]
40571         * posix/glob.h: Remove gcc 1.x support.
40573         [BZ #13068]
40574         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40576 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40578         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40579         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40580         strrchr-sse2-bsf
40581         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40582         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40583         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40584         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40585         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40586         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40588 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40590         * sysdeps/x86_64/wcscmp.S: New file.
40592         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40593         wcscmp-c wcscmp-sse2
40594         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40595         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40596         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40597         * wcsmbs/wcscmp.c: Allow renaming.
40599 2011-09-05  David S. Miller  <davem@davemloft.net>
40601         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40602         stack slot, rather than the struct return pointer slot.
40603         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40604         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40606         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40608 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40610         * po/ja.po: Update from translation team.
40612         [BZ #13144]
40613         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40614         kernel in 64-bit binaries.
40616 2011-09-01  David S. Miller  <davem@davemloft.net>
40618         * elf/elf.h (HWCAP_SPARC_*): Move to..
40619         * sysdeps/sparc/sysdep.h: this new file and add new values.
40620         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40621         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40622         _DL_HWCAP_COUNT to 24.
40623         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40624         entries.
40625         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40626         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40627         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40629         instead of magic constants.
40630         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40632 2011-08-31  David S. Miller  <davem@davemloft.net>
40634         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40635         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40636         Reimplement to do errno handling inline.
40637         (SYSCALL_ERROR_HANDLER): New macro.
40638         (__SYSCALL_STRING): Do not do errno handling in asm.
40639         (__CLONE_SYSCALL_STRING): Delete.
40640         (__INTERNAL_SYSCALL_STRING): Delete.
40641         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40642         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40643         (PSEUDO): Reimplement to do errno handling inline.
40644         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40645         (SYSCALL_ERROR_HANDLER): New macro.
40646         (__SYSCALL_STRING): Do not do errno handling in asm.
40647         (__CLONE_SYSCALL_STRING): Delete.
40648         (__INTERNAL_SYSCALL_STRING): Delete.
40649         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40650         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40651         i386.
40652         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40653         (inline_syscall*): Add 'err' argument.
40654         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40655         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40656         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40657         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40659         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40660         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40662 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40664         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40666 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40668         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40669         directive.
40671 2011-08-24  David S. Miller  <davem@davemloft.net>
40673         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40675 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40677         * elf/Makefile: Add rules to build and run unload8 test.
40678         * elf/unload8.c: New file.
40679         * elf/unload8mod1.c: New file.
40680         * elf/unload8mod1x.c: New file.
40681         * elf/unload8mod2.c: New file.
40682         * elf/unload8mod3.c: New file.
40684         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40685         it wasn't used.
40687 2011-08-23  David S. Miller  <davem@davemloft.net>
40689         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40690         subtract stack bias.
40691         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40692         %sp not %fp in calculations.
40693         (_JMPBUF_UNWINDS_ADJ): Likewise.
40695         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40696         (aio_suspend): Call it to force an exception region around the
40697         AIO_MISC_WAIT() invocation.
40699 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40701         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40702         backslash.
40704 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40706         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40707         protection macro.
40708         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40709         and <dl-machine.h>.
40710         (Elf64_FuncDesc): Remove.
40712 2011-08-22  David S. Miller  <davem@davemloft.net>
40714         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40715         sigaltstack check, add missing cfi directives.
40716         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40717         missing cfi directives, and sigaltstack handling.
40719 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40721         [BZ #11724]
40722         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40723         object is seen twice.
40724         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40726         * elf/Makefile (distribute): Add tst-initorder2.c.
40727         (tests): Add tst-initorder2.
40728         (modules-names): Add tst-initorder2a tst-initorder2b
40729         tst-initorder2c tst-initorder2d.  Add rules to build them.
40730         ($(objpfx)tst-initorder2.out): New rule.
40731         * elf/tst-initorder2.c: New file.
40732         * elf/tst-initorder2.exp: New file.
40734 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40736         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40738         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40739         dependencies back to end of function.
40741         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40742         $(elfobjdir)/ld.so.
40744 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40746         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40747         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40748         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40749         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40750         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40751         of __vdso_gettimeofday.
40752         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40753         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40754         attribute_hidden.
40755         (_libc_vdso_platform_setup): Remove initialization of
40756         __vdso_gettimeofday and __vdso_time.
40758 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40760         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40761         and fgetc_unlocked.
40762         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40763         getc_unlocked.
40765         * elf/dl-open.c (add_to_global): Report additions to the global scope
40766         for LD_DEBUG=scopes.
40767         (dl_open_worker): Also print scope of newly loaded dependencies.
40768         (_dl_show_scope): Indicate if there is no scope.
40770         [BZ #13114]
40771         * stdio-common/Makefile (tests): Add bug24.
40772         * stdio-common/bug24.c: New file.
40774 2011-08-19  Andreas Jaeger  <aj@suse.de>
40776         [BZ #13114]
40777         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40778         non-existant file when using close-on-exec mode.
40780 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40782         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40783         the very first instruction.
40785         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40786         the CFI state in the end.
40787         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40788         inclusion of dl-trampoline.h.
40789         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40791 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40793         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40794         expectations for long double.
40796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40797         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40799 2011-08-14  David S. Miller  <davem@davemloft.net>
40801         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40802         artificual limit depends upon the system page size.
40804 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40806         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40807         * resolv/Makefile: Define CFLAGS-libresolv.
40809 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40811         * nss/makedb.c (compute_tables): Make variables used in nested
40812         function static.
40814 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40816         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40817         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40818         if buffer was too small.
40820         * elf/pldd.c (main): Attach to all threads in the process.
40821         Rewrite /proc handling to use *at functions.
40823 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40825         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40826         specifies first scope to show.
40827         (dl_open_worker): Update callers.  Move printing scope of new
40828         object to before the relocation.
40829         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40830         * sysdeps/generic/ldsodefs.h: Update declaration.
40832         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40833         string for the scope number.
40835 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40837         * nscd/servicescache.c (cache_addserv): Make sure written is always
40838         initialized.
40840 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40842         * sysdeps/i386/i486/bits/atomic.h
40843         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40844         statement expression, so as to suppress "set but not used" warning.
40845         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40847         * string/strncat.c (STRNCAT): Use prototype definition.
40849         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40850         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40851         -Iprograms here.
40852         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40853         (localedef-modules): Add localedef.
40854         (locale-modules): Add locale.
40856         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40857         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40858         to avoid a warning.
40860 2011-08-14  David S. Miller  <davem@davemloft.net>
40862         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40863         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40865 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40867         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40868         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40869         * elf/rtld.c (dl_main): Set l_name of vDSO.
40870         Call _dl_show_scope when DL_DEBUG_SCOPES.
40871         (process_dl_debug): Recognize scopes flag and also set it for all.
40872         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40873         Declare _dl_show_scope.
40875         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40876         (do_dlopen): Pass caller_dlopen to dl_open.
40877         (__libc_dlopen_mode): Initialize caller_dlopen.
40879         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40880         of libc.  Make tolower call locale-independent.  Optimize a bit by
40881         using isdigit instead of isalnum.
40882         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40884 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40886         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40887         was a dependency or dynamically loaded.
40889 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40891         * intl/l10nflist.c: Allow architecture-specific pop function.
40892         * sysdeps/x86_64/l10nflist.c: New file.
40894         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40895         classification.
40897 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40899         * include/dirent.h: Add libc_hidden_proto for scandirat and
40900         scandirat64.  Don't declare __scandirat64.
40901         * dirent/scandirat.c: Add libc_hidden_def.
40902         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40903         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40905 2011-08-10  David S. Miller  <davem@davemloft.net>
40907         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40908         enum.
40909         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40910         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40911         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40913 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40915         * Versions.def [libc]: Add GLIBC_2.15.
40916         * dirent/Makefile (routines): Add scandirat and scandirat64.
40917         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40918         GLIBC_2.15.
40919         * dirent/dirent.h: Declare scandirat and scandirat64.
40920         * dirent/scandirat.c: New file.
40921         * dirent/scandirat64.c: New file.
40922         * sysdeps/wordsize-64/scandirat.c: New file.
40923         * sysdeps/wordsize-64/scandirat64.c: New file.
40924         * dirent/opendir.c: Define opendirat.
40925         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40926         using scandirat.
40927         * dirent/scandir64.c: Adjust for scandir.c change.
40928         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40929         __scandirat64, and __scandir_cancel_handler.
40930         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40931         additional parameter and use openat instead of open (outside of ld.so).
40932         Add new __opendir as wrapper around __opendirat.
40933         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40934         here without requiring old scandirat implementation.
40936 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40938         * dirent/scandir.c (cancel_handler): Renamed to
40939         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40940         defined.  Adjust users.
40941         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40942         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40944 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40946         * string/test-string.h (IMPL): Use __STRING to expand name and then
40947         stringify it.
40949         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40950         of cleanups.
40952 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40954         * string/Makefile: Update.
40955         (strop-tests): Append strncat.
40956         * string/test-wcscmp.c: New file.
40957         New comprehensive test for wcscmp.
40958         * string/test-strcmp.c: Update.
40959         (WIDE): New define.
40961 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40963         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40964         line.
40966 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40969         encoding to ACE if AI_IDN.
40971 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40973         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40974         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40976 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40978         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40979         Fix overflow bug in strncat.
40980         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40982         * string/test-strncat.c: Update.
40983         Add new tests for checking overflow bugs.
40985 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40987         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40988         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40989         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40990         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40991         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40992         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40993         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40994         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40995         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40997         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40998         (USE_AS_STRCAT): Define.
40999         Add strcat and strncat support.
41000         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41002 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41004         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41005         __n bigger than INT_MAX+1.
41006         (__strncmp_g): Likewise.
41008 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41010         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41011         * libio/stido.h: Likewise.
41013         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41014         (AF_NFC): Define.
41015         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41016         (AF_NFC): Define.
41018         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41019         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41020         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41021         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41022         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41024         [BZ #13021]
41025         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41026         installed.
41028         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41029         typo.
41030         (_dl_x86_64_save_sse): Likewise.
41032 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41034         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41035         OSXSAVE.
41036         (_dl_x86_64_save_sse): Likewise.
41038         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41040         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41042 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41044         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41045         change.
41046         (_dl_x86_64_save_sse): Use correct AVX check.
41048 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41050         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41051         bug in strncpy/strncat.
41052         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41054 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41056         * string/tester.c (test_strcat): Add tests for different alignments
41057         of source and destination.
41058         (test_strncat): Likewise.
41060 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41062         [BZ #12852]
41063         * posix/glob.c (glob): Check passed in values before using them in
41064         expressions to avoid some overflows.
41065         (glob_in_dir): Likewise.
41067         [BZ #13007]
41068         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41069         check for AVX enablement so that we don't crash with old kernels and
41070         new hardware.
41071         * elf/tst-audit4.c: Add same checks here.
41072         * elf/tst-audit6.c: Likewise.
41074         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41076 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41078         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41080 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41082         * po/cs.po: Update from translation team.
41083         * po/bg.po: Likewise.
41085 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41087         * misc/sys/cdefs.h: Add support for const attribute.
41088         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41089         to gnu_dev_{major,minor,makedev} functions.
41091 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41093         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41095 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41097         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41098         strlen results.
41100 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41102         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41103         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41104         register in order to avoid conflicts with the soft frame pointer
41105         being held in r11 when necessary.
41106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41107         (INTERNAL_VSYSCALL_NCS): Likewise.
41109 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41111         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41112         * elf/dl-fini.c (_dl_fini): Adjust caller.
41113         * elf/dl-close.c (_dl_close_worker): Likewise.
41114         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41116 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41118         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41119         "aux_cache->nlibs < 0".
41121         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41122         in the reload-count case.
41124 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41126         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41127         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41128         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41129         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41130         * sysdeps/x86_64/multiarch/strcat.S: New file.
41131         * sysdeps/x86_64/multiarch/strncat.S: New file.
41132         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41133         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41134         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41135         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41136         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41137         (USE_AS_STRCAT): Define.
41138         Add strcat and strncat support.
41139         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41140         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41141         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41142         * string/strncat.c: Update.
41143         (USE_AS_STRNCAT): Define.
41144         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41145         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41146         and i7.
41147         * sysdeps/x86_64/multiarch/init-arch.h
41148         (bit_Prefer_PMINUB_for_stringop): New.
41149         (index_Prefer_PMINUB_for_stringop): Likewise.
41150         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41151         bit_Prefer_PMINUB_for_stringop.
41153 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41155         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41156         buffer64.
41157         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41158         of casting of buffer.
41159         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41160         buffer32 and buffer64.
41161         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41162         writes instead of casting of buffer.
41163         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41164         buffer32.
41165         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41166         casting of buffer.
41168 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41170         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41172 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41174         * nscd/nscd.c (termination_handler): Don't do anything for a database
41175         if it has not yet been initialized.
41177 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41179         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41181 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41183         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41185 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41187         * po/nl.po: Update from translation team.
41188         * po/sv.po: Likewise.
41190 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41192         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41193         now disallowed by GCC.
41195         * configure.in (use-default-link): Default to yes if a test -shared
41196         link meets our qualifications.
41197         * configure: Regenerated.
41199         * config.make.in (output-format): New variable.
41200         * configure.in: Check for ld --print-output-format support.
41201         * configure: Regenerated.
41202         * Makerules ($(common-objpfx)format.lds)
41203         [$(output-format) != unknown]: Just use $(output-format),
41204         instead of the linker-script munging.
41206 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41208         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41209         of $(common-objpfx)shlib.lds.
41210         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41212         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41213         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41215         * configure.in (-z relro check): Adjust test code to add a large
41216         writable data section after it.
41217         * configure: Regenerated.
41219 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41221         * configure.in (-z relro check): Fix test code to make the variable
41222         truly const.
41223         * configure: Regenerated.
41225 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41227         * nscd/nscd.h (struct traced_file): Define.
41228         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41229         elements.  Add traced_files.
41230         (inotify_fd): Declare.
41231         (register_traced_file): Declare.
41232         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41233         (inotify_fd): Export.
41234         (resolv_conf_descr): Remove.
41235         (nscd_init): Move inotify descriptor creation to main.
41236         Don't register files for notification here.
41237         (register_traced_file): New function.
41238         (invalidate_cache): Don't use reset_res to determine whether to call
41239         res_init, go through the list of registered files.
41240         (main_loop_poll): The inotify descriptors are now stored in the
41241         structures for the traced files.
41242         (main_loop_epoll): Likewise
41243         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41244         to __nss_disable_nscd.
41245         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41246         for a database anymore.  Check the records for all the registered
41247         files instead.
41248         * nss/Makefile (libnss_files-routines): Add files-init.
41249         (libnss_db-routines): Add db-init.
41250         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41251         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41252         * nss/nss_db/db-init.c: New file.
41253         * nss/nss_files/files-init.c: New file.
41254         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41255         __nss_lookup_function.
41256         (__nss_lookup_function): Call nss_load_library.
41257         (nss_load_all_libraries): New function.
41258         (__nss_disable_nscd): Take parameter with callback function for files
41259         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41260         used for the cached services.
41261         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41262         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41263         options for features to all the files in nscd.
41265         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41267 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41269         * csu/elf-init.c (__libc_csu_init): Comment typo.
41271 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41273         * po/pl.po: Update from translation team.
41274         * po/ja.po: Likewise.
41275         * po/ru.po: Likewise.
41276         * po/ko.po: Likewise.
41277         * po/fr.po: Likewise.
41279 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41281         * configure.in (.ctors/.dtors header and trailer check):
41282         Use an empirical test on a built program.
41283         * configure: Regenerated.
41285         * configure.in (-z relro check): Use an empirical test on a built DSO.
41286         Detect, but do not require, on ia64.
41287         * configure: Regenerated.
41289         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41290         Update tests that use readelf to use $READELF instead.
41291         * configure: Regenerated.
41293 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41295         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41296         if the result is not used.
41298 2011-07-05  Andreas Jaeger  <aj@suse.de>
41300         [BZ#9696]
41301         * stdlib/tst-strtod.c: Add testcase.
41303 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41305         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41306         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41307         The latter has a higher limit.  Take additional parameter to pass to
41308         the new function.
41309         (__pathconf): Pass file to __statfs_link_max.
41310         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41311         __statfs_link_max.
41312         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41313         __statfs_link_max.
41315         [BZ #12868]
41316         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41317         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41318         Handle Lustre.
41319         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41320         (__statfs_filesize_max): Likewise.
41321         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41323 2011-07-05  Andreas Jaeger  <aj@suse.de>
41325         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41327 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41329         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41330         `status' variable.
41331         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41332         Likewise.
41334 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41336         * Makefile (strop-tests): Add strncat.
41337         * string/test-strncat.c: New file.
41339 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41341         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41343 2011-06-21  Andreas Jaeger  <aj@suse.de>
41345         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41346         Copy rule from iconvdata/Makefile.
41348 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41350         [BZ #12922]
41351         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41352         but no long options are defined, just return 'W'.
41354 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41356         [BZ #9696]
41357         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41359 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41361         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41362         netgroups to read.
41363         (innetgr): Likewise.
41365 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41367         * config.make.in (install_root): Default to $(DESTDIR).
41369 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41371         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41373 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41375         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41377         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41378         containing directory rather than embedding absolute directory names.
41380         * scripts/check-local-headers.sh: Rewritten using awk.
41381         Match by word, not by line.  Print error messages for matches.
41382         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41384         * Makerules [shlib-lds-flags empty]:
41385         ($(common-objpfx)libc_pic.opts): New target.
41386         ($(common-objpfx)libc_pic.os.clean): New target.
41387         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41389         * config.make.in (OBJCOPY): New variable.
41390         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41391         * configure: Regenerated.
41393         * config.make.in (use-default-link): New variable.
41394         * configure.in (use_default_link): Grok --with-default-link to set it.
41395         * configure: Regenerated.
41396         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41397         (shlib-lds, shlib-lds-flags): Define to empty.
41399         * Makerules (shlib-lds): New variable.
41400         (shlib-lds-flags): New variable.
41401         (build-shlib, build-moduile, build-module-asneeded): Use it.
41402         ($(common-objpfx)libc.so): Use $(shlib-lds).
41403         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41404         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41406         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41407         DT_FLAGS/DT_FLAGS_1 with zero flags.
41409         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41410         linker script munging.
41412 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41414         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41415         as 128-bit value.
41416         * crypt/sha512.c (sha512_process_block): Perform total addition using
41417         128-bit if possible.
41418         (__sha512_finish_ctx): Likewise.
41419         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41420         as 64-bit value.
41421         * crypt/sha256.c (SWAP64): Define.
41422         (sha256_process_block): Perform total addition using 64-bit if
41423         possible.
41424         (__sha256_finish_ctx): Likewise.
41426 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41428         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41429         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41430         * nscd/hstcache.c (cache_addhst): Likewise.
41431         * nscd/grpcache.c (cache_addgr): Likewise.
41432         * nscd/aicache.c (addhstaiX): Likewise
41433         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41435 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41437         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41438         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41439         * nscd/hstcache.c (cache_addhst): Likewise.
41440         * nscd/grpcache.c (cache_addgr): Likewise.
41441         * nscd/aicache.c (addhstaiX): Likewise
41443 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41445         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41446         domain only when needed.
41448 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41451         is always restored.
41453 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41455         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41456         are re-adding the entry.
41457         * nscd/servicescache.c (cache_addserv): Likewise.
41459 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41461         * sysdeps/generic/dl-irel.h: fix protection against multiple
41462         inclusions.
41463         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41465 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41467         [BZ #12935]
41468         * malloc/memusage.sh: Fix quoting in message.
41469         * debug/xtrace.sh: Likewise.
41471         * configure.in: Remove support for --experimental-malloc option, make
41472         it the default.
41473         * config.make.in: Likewise.
41474         * malloc/Makefile: Likewise.
41476 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41478         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41479         two-byte characters.
41481 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41483         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41484         AC_CACHE_CHECK invocation.
41485         * configure: Regenerated.
41487         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41489 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41491         [BZ #12350]
41492         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41493         bit from old_res_options.
41495         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41497         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41498         value type for setfct.
41500 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41502         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41503         __gettimeofday instead of gettimeofday.
41505 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41507         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41509 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41511         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41513         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41514         info.
41516 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41519         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41520         strcpy-sse2-unaligned strncpy-sse2-unaligned
41521         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41522         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41523         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41524         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41525         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41526         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41527         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41528         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41529         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41530         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41531         (STRCPY): Support SSE2 and SSSE3 versions.
41533 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41535         [BZ #12874]
41536         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41537         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41538         kernels which artificially limit size of requests.
41540 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41542         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41543         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41544         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41545         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41546         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41547         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41548         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41549         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41550         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41551         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41552         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41553         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41554         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41555         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41556         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41557         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41558         Enable unaligned load optimization for Intel Core i3, i5 and i7
41559         processors.
41560         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41561         Define.
41562         (index_Fast_Unaligned_Load): Define.
41563         (HAS_FAST_UNALIGNED_LOAD): Define.
41565 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41567         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41569 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41571         [BZ #12907]
41572         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41573         until it is clear that the information is realy needed.
41574         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41576 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41580 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41582         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41583         /sys/devices/system/cpu/online if it is usable.
41585         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41586         reading the information from the /proc filesystem to once a second.
41588 2011-06-21  Andreas Jaeger  <aj@suse.de>
41590         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41591         NULL after inclusion of kernel headers.
41593 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41595         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41596         calls to internal_setent.
41598         [BZ #12885]
41599         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41600         addresses using gethostbyname4_r ignore IPv4 addresses.
41602         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41603         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41605         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41607 2011-06-20  David S. Miller  <davem@davemloft.net>
41609         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41610         inclusions.
41611         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41613         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41614         (elf_irel): Use it.
41615         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41616         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41617         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41618         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41619         * sysdeps/x86_64/dl-irel.h: Likewise.
41621         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41622         * elf/dl-sym.c: Likewise.
41624 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41626         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41627         need to dereference resplen2.
41629 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41631         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41633 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41635         * Makeconfig: Define vardbdir and inst_vardbdir.
41636         * nss/Makefile: Add rules to install db-Makefile.
41638         * nss/nss_db/db-XXX.c: Cleanup.
41640         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41641         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41642         GLIBC_PRIVATE.
41643         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41644         * nss/makedb.c: Implement -g option to specify that value strings
41645         are generated and should not be added to table iterated over for
41646         get*ent calls.
41647         * nss/nss_db/db-initgroups.c: New file.
41649         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41650         interface.
41652         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41653         (internal_getgrouplist): Adjust to name change.
41654         Update use_initgroups_entry if this is not the first call.
41655         * nss/databases.def: Add initgroups entry.
41657         * nss/makedb.c (compute_tables): Check result of multiple hash table
41658         sizes to minimize maximum chain length.
41660 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41662         * Versions.def: Add entry for libnss_db.
41663         * shlib-versions: Likewise.
41664         * nss/Makefile: Add rules to build libnss_db.
41665         * nss/Versions: Add libnss_db information.  Organize libnss_files
41666         entries better.
41667         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41668         makedb progra.  Some minor improvements to generate smaller files.
41669         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41670         here from...
41671         * nss/makedb.c: ...here.
41672         Improve database format to be smaller and require less memory at
41673         runtime.
41674         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41675         db anymore.
41676         * nss/nss_db/db-netgrp.c: Likewise.
41677         * nss/nss_db/db-open.c: Likewise.
41678         * nss/nss_files/flies-XXX.x: Adjust comments.
41679         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41680         * nss/nss_files/files-grp.c: Likewise.
41681         * nss/nss_files/files-hosts.c: Likewise.
41682         * nss/nss_files/files-network.c: Likewise.
41683         * nss/nss_files/files-proto.c: Likewise.
41684         * nss/nss_files/files-pwd.c: Likewise.
41685         * nss/nss_files/files-rpc.c: Likewise.
41686         * nss/nss_files/files-service.c: Likewise.
41687         * nss/nss_files/files-sgrp.c: Likewise.
41688         * nss/nss_files/files-spwd.c: Likewise.
41689         * nss/nss_db/db-alias.c: Removed.
41690         * nss/nss_db/dummy-db.h: Removed.
41692 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41694         * nss/makedb.c: Rewritten to not use database library.
41695         * nss/Makefile: Update to build new makedb program.
41697 2011-06-14  Andreas Jaeger  <aj@suse.de>
41699         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41700         memset declaration.
41702 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41704         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41705         tmpbuf.
41707 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41709         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41710         * elf/Makefile ($(objpfx)ld.so): Likewise.
41712         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41713         Don't list ld.so twice in dependencies.
41715         * posix/bug-regex31.c: Include <stdlib.h>.
41717         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41719         * nis/nss_compat/compat-spwd.c
41720         (getspent_next_nss_netgr): Remove unused variable.
41721         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41723         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41724         nonmembers" output to use the right array.
41726         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41728         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41730         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41731         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41732         * catgets/gencat.c (read_input_file): Likewise.
41733         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41735         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41736         variable definition inside #if's controlling its use.
41738         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41740         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41742         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41744         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41745         unreachable code.
41747         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41749         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41750         * configure: Regenerated.
41752         * Makerules: Revert last change.
41753         * elf/Makefile: Likewise.
41755 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41757         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41758         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41759         (reloc-link): Likewise.
41761 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41763         * elf/Makefile: Add rules to build pldd.
41764         * elf/pldd.c: New file.
41765         * elf/pldd-xx.c: New file.
41767 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41769         * version.h: Update for 2.15 development version.
41771 2011-06-07  David S. Miller  <davem@davemloft.net>
41773         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41774         ifuncs.
41775         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41776         elf_machine_lazy_rel): Likewise.
41777         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41778         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41779         elf_machine_lazy_rel): Likewise.
41780         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41781         dl_hwcap via passed in argument.
41782         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41783         Likewise.
41785 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41787         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41789 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41791         [BZ #12849]
41792         * manual/fdl-1.1.texi: New file, verbatim from:
41793         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41794         * manual/lgpl-2.1.texi: New file, verbatim from:
41795         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41796         * manual/Makefile (licenses): New variable, list those new file names.
41797         (texis): Use it.
41798         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41800         * manual/fdl.texi: File removed.
41801         * manual/lesser.texi: File removed.
41802         * manual/libc.texinfo (Copying, Documentation License):
41803         Use new @include file names, put @appendix directive before @include.
41805 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41807         [BZ #12841]
41808         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41809         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41810         (mq_open): Add __NTH.
41812 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41815         Assume Intel Core i3/i5/i7 processor if AVX is available.
41817 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41819         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41820         typo.
41822 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41824         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41825         memory.  Use alloca_account.  Fix memory leak when retrying.
41827 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41829         * version.h (RELEASE): Bump for 2.14 release.
41830         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41832         * config.make.in (RANLIB): Remove entry.
41834 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41836         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41837         (libc.pot): Work around missing support for .ksh extension in xgettext.
41839         [BZ #12684]
41840         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41841         if both request failed.
41842         (send_dg): In case of server errors clear resplen or *resplen2.
41844         [BZ #12454]
41845         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41846         when there are multiple maps.
41847         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41848         (_dl_fini): Remove test here.
41850         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41852 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41854         [BZ #12350]
41855         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41856         bit from old_res_options.
41857         (gaih_inet): Likewise.
41859         [BZ #11099]
41860         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41861         as signed.
41863         * resolv/res_init.c (res_setoptions): Make the code more compact.
41865         [BZ #11558]
41866         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41867         set RES_USEVC.
41869         [BZ #11634]
41870         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41872         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41874         [BZ #11781]
41875         * malloc/malloc.h: Declare malloc hook variables as volatile.
41877         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41878         in last patch.
41880         [BZ #11799]
41881         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41882         raise in the comment.
41883         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41885         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41887 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41889         [BZ #12811]
41890         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41891         grow the buffers more if it already has to be sufficient.
41892         (build_wcs_upper_buffer): Likewise.
41893         * posix/regexec.c (check_matching): Likewise.
41894         (clean_state_log_if_needed): Likewise.
41895         (extend_buffers): Don't enlarge buffers beyond size of the input
41896         buffer.
41897         Patches mostly by Emil Wojak <emil@wojak.eu>.
41898         * posix/bug-regex32.c: New file.
41899         * posix/Makefile (tests): Add bug-regex32.
41901         * locale/findlocale.c (_nl_find_locale): Return right away if
41902         _nl_explode_name failed.
41903         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41905         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41907         * debug/xtrace.sh: Unify messages.
41908         * malloc/memusage.sh: Likewise.
41910         [BZ #12813]
41911         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41912         time symbol from vDSO.  Substitute with vsyscall if not available.
41913         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41914         __vdso_time.
41916         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41917         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41918         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41919         Add sendmmsg and internal_sendmmsg.
41920         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41921         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41922         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41924         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41925         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41926         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41928 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41930         [BZ #12813]
41931         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41932         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41933         available.
41934         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41935         __vdso_getcpu.
41937         [BZ #12814]
41938         * iconvdata/Makefile (tests): Add bug-iconv9.
41939         * iconvdata/bug-iconv9.c: New file.
41941 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41943         [BZ #12814]
41944         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41946 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41948         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41949         (struct user_regs_struct): Change intcs field back to cs.
41951 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41953         * po/ja.po: Update from translation team.
41955 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41957         [BZ #12795]
41958         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41959         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41961 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41963         * stdlib/longlong.h: Update from GCC.
41965 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41967         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41968         parameter name.
41969         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41970         Add parameter name.
41971         (__sysconf): Pass it down.
41973 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41975         [BZ #12671]
41976         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41977         some situations.
41978         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41979         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41980         add in in __libc_use_alloca calls.  Adjust callers.
41981         (glob): Use malloc in some situations.
41983         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41984         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41985         pltexit.
41987 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41989         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41990         and CLOCK_BOOTTIME_ALARM.
41992         [BZ #12782]
41993         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41994         is returned.
41996         * string/_strerror.c (__strerror_r): Print negative errors as signed
41997         numbers.
41999         [BZ #12777]
42000         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42001         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42002         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42004         * configure.in: Fix typo in redirection and correct removal of test
42005         files in two cases.
42007         [BZ #12788]
42008         * locale/setlocale.c (new_composite_name): Fix test to check for
42009         identical name of all categories.
42011         [BZ #12792]
42012         * libio/filedoalloc.c (local_isatty): New function.
42013         (_IO_file_doallocate): Use local_isatty.
42014         * stdio-common/perror.c (perror): In case a new stream is used
42015         forward the stream error.
42016         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42017         error flag.
42019 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42021         [BZ #11869]
42022         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42023         alloca.
42024         * include/alloca.h (extend_alloca_account): Define.
42026         [BZ #11857]
42027         * posix/regex.h: Fix comments with documentation of user-accessible
42028         fields after compilation and describe correct free'ing of pattern
42029         after re_compile_pattern.
42030         Patch by Reuben Thomas <rrt@sc3d.org>.
42032 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42034         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42035         and -mno-altivec to prevent the compiler from using Altivec and/or
42036         VSX instructions when the corresponding registers are not available.
42038 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42040         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42042 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42044         * libio/freopen.c (freopen): Use __dup2, not dup2.
42045         * libio/freopen64.c (freopen64): Likewise.
42047 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42049         [BZ #12775]
42050         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42051         * math/Makefile (tests): Add test-powl.
42052         (CFLAGS-test-powl.c): Define.
42053         * math/test-powl.c: New file.
42055 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42057         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42059 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42061         [BZ #11837]
42062         * iconvdata/gb18030.c: Update to GB18020-2005.
42064 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42066         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42067         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42068         Patch by Aharon Robbins <arnold@skeeve.com>.
42070         [BZ #11892]
42071         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42072         on the stack.
42074         [BZ #11895]
42075         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42076         through underflows.
42078         [BZ #12766]
42079         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42080         point to strings before performing equality test for error_one_per_line
42081         mode.
42083         [BZ #11697]
42084         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42086         [BZ #11820]
42087         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42088         (struct user_fpregs_struct): Avoid __uint*_t types.
42090         [BZ #6420]
42091         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42092         symbol info.  Use it instead of calling _dl_addr locally.
42093         (lock_and_info): New function.
42094         (tr_freehook): Call lock_and_info and pass symbol info as additional
42095         parameter to tr_where.
42096         (tr_mallochook): Likewise.
42097         (tr_reallochook): Likewise.
42098         (tr_memalignhook): Likewise.
42100         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42101         used and couldn't be at all thread-safe.
42103 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42105         * libio/freopen.c (freopen): Don't close old file descriptor
42106         before the new one is opened.  Instead dup the new file descriptor
42107         to the old one after the new stream is created.
42108         * libio/freopen64.c (freopen64): Likewise.
42109         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42110         * libio/fileops.c (_IO_new_file_close_it): Handle new
42111         _IO_FLAGS2_NOCLOSE flag.
42112         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42113         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42114         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42115         _IO_FLAGS2_NOCLOSE flag.
42116         * include/unistd.h: Add hidden_proto for dup3.
42117         Define __have_dup3.
42118         * io/dup3.c: Define hidden symbol.
42119         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42121         [BZ #7101]
42122         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42123         when an incomplete long option is used.
42124         * posix/tst-getopt_long1.c: New file.
42125         * posix/Makefile (tests): Add tst-getopt_long1.
42127         [BZ #10138]
42128         * scripts/config.guess: Update from autoconf-2.68.
42129         * scripts/config.sub: Likewise.
42131         [BZ #10157]
42132         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42133         tests into ...
42134         (has_cpuclock): ...this.  New function.
42135         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42136         macro here based on has_cpuclock code.
42138         [BZ #10149]
42139         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42140         First byte (not low byte) is now always NUL.
42141         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42143         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42144         Use non-cancelable interfaces.
42146         [BZ #9809]
42147         * locale/iso-639.def: Add entry for Sorani.
42149         [BZ #11901]
42150         * include/stdlib.h: Move include protection to the right place.
42151         Define abort_msg_s.  Declare __abort_msg with it.
42152         * stdlib/abort.c (__abort_msg): Adjust type.
42153         * assert/assert.c (__assert_fail_base): New function.  Majority
42154         of code from __assert_fail.  Allocate memory for __abort_msg with
42155         mmap.
42156         (__assert_fail): Now call __assert_fail_base.
42157         * assert/assert-perr.c: Remove bulk of implementation.  Use
42158         __assert_fail_base.
42159         * include/assert.hL Declare __assert_fail_base.
42160         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42161         mmap.
42162         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42164 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42166         [BZ #11952]
42167         [BZ #12453]
42168         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42169         until all modules are registered in the DTV.
42170         * elf/Makefile: Add rules to build and run tst-tls19.
42171         * elf/tst-tls19.c: New file.
42172         * elf/tst-tls19mod1.c: New file.
42173         * elf/tst-tls19mod2.c: New file.
42174         * elf/tst-tls19mod3.c: New file.
42175         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42177         [BZ #12083]
42178         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42179         correctly.
42181         [BZ #12601]
42182         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42183         two-byte sequence errors.
42184         * iconvdata/Makefile (tests): Add bug-iconv8.
42185         * iconvdata/bug-iconv8.c: New file.
42187         [BZ #12626]
42188         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42189         buf2 definition.
42191         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42193         [BZ #12432]
42194         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42195         (dummy_getcfa): New function.
42196         (init): Get _Unwind_GetCFA address, use dummy if not found.
42197         (backtrace_helper): In recursion check, also check whether CFA changes.
42198         (__backtrace): Completely initialize arg.
42200         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42201         storing incomplete byte sequence in state object.  Avoid testing for
42202         guaranteed too small input if we know there is enough data available.
42204 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42206         * Makeconfig (+link-pie): Indent.
42207         * Rules (binaries-pie): Define if $(have-fpie) and
42208         $(build-shared).
42209         (binaries-shared): Also filter out $(binaries-pie).
42210         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42211         * nscd/Makefile (others-pie): Add nscd.
42212         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42213         ($(objpfx)nscd): Remove command override.
42214         * login/Makefile (others-pie): Add pt_chown.
42215         ($(objpfx)pt_chown): Remove command override.
42216         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42217         remove command overrides.
42219 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42221         * libio/tst_putwc.c: Fix error messages.
42223         [BZ #12724]
42224         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42225         currently writing and seek to current position when not.
42226         * libio/Makefile (tests): Add bug-fclose1.
42227         * libio/bug-fclose1.c: New file.
42229 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42231         [BZ #12511]
42232         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42233         don't set DF_1_NODELETE here.
42234         (do_lookup_x): When entering new entry test for copy relocation
42235         and if necessary set DF_1_NODELETE flag.
42236         * elf/tst-unique4.cc: New file.
42237         * elf/tst-unique4.h: New file.
42238         * elf/tst-unique4lib.cc: New file.
42239         * elf/Makefile: Add rules to build and run tst-unique4.
42240         Patch by Piotr Bury <pbury@goahead.com>.
42242 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42244         [BZ #12052]
42245         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42247         [BZ #12625]
42248         * misc/mntent_r.c (addmntent): Flush the stream after the output
42250         [BZ #12393]
42251         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42252         (is_trusted_path_normalize): Skip initial colon.  Append slash
42253         to empty buffer.  Duplicate is_trusted_path code but allow
42254         constructed patch to be prefix.
42255         (is_dst): Allow $ORIGIN followed by /.
42256         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42257         Correct testing of result of is_trusted_path_normalize
42258         (decompose_rpath): Fix warning.
42260 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42262         [BZ #11257]
42263         * grp/initgroups.c (internal_getgrouplist): When we found the service
42264         list through the initgroups entry in nsswitch.conf do not always
42265         continue on a successful lookup.  Don't always use the
42266         __nss_group_database value if it is set.
42267         * nss/nsswitch.conf (initgroups): Change action for successful db
42268         lookup to continue for compatibility.
42270 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42272         [BZ #11532]
42273         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42274         and CP774 modules.
42275         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42276         and CP774 modules.
42277         * iconvdata/tst-tables.sh: Likewise.
42278         * iconvdata/cp770.c: New file.
42279         * iconvdata/cp771.c: New file.
42280         * iconvdata/cp772.c: New file.
42281         * iconvdata/cp773.c: New file.
42282         * iconvdata/cp774.c: New file.
42283         * iconvdata/testdata/CP770: New file.
42284         * iconvdata/testdata/CP770..UTF8: New file.
42285         * iconvdata/testdata/CP771: New file.
42286         * iconvdata/testdata/CP771..UTF8: New file.
42287         * iconvdata/testdata/CP772: New file.
42288         * iconvdata/testdata/CP772..UTF8: New file.
42289         * iconvdata/testdata/CP773: New file.
42290         * iconvdata/testdata/CP773..UTF8: New file.
42291         * iconvdata/testdata/CP774: New file.
42292         * iconvdata/testdata/CP774..UTF8: New file.
42294         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42295         END CHARMAP line.
42296         * iconvdata/gen-8bit-gap.sh: Likewise.
42297         * iconvdata/gen-8bit.sh: Likewise.
42299         * locale/iso-639.def: Add ary entry.
42301         [BZ #11258]
42302         * locale/C-translit.h.in: Add U20A1 transliteration.
42304         [BZ #12178]
42305         * locale/iso-639.def: Add wae entry.
42306         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42308         [BZ #12545]
42309         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42310         for n.
42312         [BZ #12711]
42313         * locale/C-translit.h.in: Add entry for U20B9.
42314         Patch by pravin.d.s@gmail.com.
42316 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42318         [BZ #12713]
42319         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42320         ENAMETOOLONG use generic getcwd.
42321         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42322         in rtld.  Use *stat64.
42323         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42324         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42325         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42326         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42327         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42328         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42329         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42330         __fstatat64 macros.
42331         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42332         * dirent/rewinddir.c: Add libc_hidden_def.
42333         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42334         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42336         * include/dirent.h (__alloc_dir): Add flags parameter.
42337         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42338         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42339         __alloc_dir.
42340         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42341         from fdopendir if O_CLOEXEC is already set.
42343 2011-03-15  Alan Modra  <amodra@gmail.com>
42345         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42346         l_tls_firstbyte_offset non-zero.  Save padding offset in
42347         l_tls_firstbyte_offset for later use.
42348         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42349         freeing static tls block.
42351 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42353         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42354         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42355         being defined by the kernel headers.
42357 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42359         [BZ #12734]
42360         * resolv/resolv.h: Define RES_NOTLDQUERY.
42361         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42362         no-tld-query and set RES_NOTLDQUERY.
42363         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42364         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42365         modern BIND to search name as TLD unless forbidden.
42367 2011-05-07  Petr Baudis  <pasky@suse.cz>
42368             Ulrich Drepper  <drepper@gmail.com>
42370         [BZ #12393]
42371         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42372         (is_trusted_path): ...to here.
42373         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42374         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42375         using is_trusted_path_normalize() in setuid scripts.
42377 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42379         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42380         __BEGIN/__END_DECLS.
42382 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42384         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42385         NSS_STATUS_NOTFOUND if no record was found.
42387 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42389         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42390         (headers-not-in-tirpc): Remove rpc/netdb.h
42391         * resolv/netdb.h: Revert last change.
42393 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42395         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42396         circular dependency between libgcc.a and libc.a.
42398 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42400         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42401         * nis/Makefile: Don't install rpcsvc/*.
42402         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42403         instead of <rpc/types.h>.
42404         (MAXHOSTNAMELEN): Define.
42406 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42408         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42410 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42412         [BZ #12714]
42413         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42414         gethostbyname4_r when IPv6 results are possible.
42416 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42418         [BZ #12723]
42419         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42420         _PC_PIPE_BUF handling.
42422 2011-04-30  Bruno Haible  <bruno@clisp.org>
42424         [BZ #12717]
42425         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42426         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42427         to 'int'.
42428         * inet/getnameinfo.c (getnameinfo): Likewise.
42430 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42432         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42433         to groups setting in database lookup.
42434         * nss/nsswitch.conf: Add initgroups entry.
42436 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42438         [BZ #12685]
42439         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42440         mode string.
42441         Patch by Eric Blake <eblake@redhat.com>.
42443 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42445         * sunrpc/Makefile (need-export-routines): Add svc_run.
42446         (routines): Remove svc_run.
42447         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42448         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42449         * sunrpc/svc_run.c (svc_run): Likewise.
42450         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42452 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42454         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42455         problem in reallocation in last patch.
42457 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42459         * sunrpc/Makefile: Move inclusion of Rules.
42461 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42463         * nss/nss_files/files-initgroups.c: New file.
42464         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42465         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42466         _nss_files_initgroups_dyn.
42468 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42470         * elf/elf.h (R_ARM_IRELATIVE): Define.
42472 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42474         * po/ru.po: Update from translation team.
42476 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42478         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42479         dependencies.
42481 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42483         [BZ #12653]
42484         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42485         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42486         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42487         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42488         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42490 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42492         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42493         differing bytes.
42494         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42495         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42496         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42498 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42500         [BZ #12420]
42501         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42502         storing it.
42503         * stdlib/bug-getcontext.c: New file.
42504         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42506 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42508         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42509         instructions into .machine "z9-109".
42510         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42511         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42513 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42515         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42516         between environment variables and auxiliary vector.
42518 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42520         * Makefile: Add rules to build linkobj/libc.so.
42521         * include/libc-symbols.h: Define libc_hidden_nolink.
42522         * include/rpc/auth.h: Mark functions which are to be hidden.
42523         * include/rpc/auth_des.h: Likewise.
42524         * include/rpc/auth_unix.h: Likewise.
42525         * include/rpc/clnt.h: Likewise.
42526         * include/rpc/des_crypt.h: Likewise.
42527         * include/rpc/key_prot.h: Likewise.
42528         * include/rpc/pmap_clnt.h: Likewise.
42529         * include/rpc/pmap_prot.h: Likewise.
42530         * include/rpc/pmap_rmt.h: Likewise.
42531         * include/rpc/rpc_msg.h: Likewise.
42532         * include/rpc/svc.h: Likewise.
42533         * include/rpc/svc_auth.h: Likewise.
42534         * include/rpc/xdr.h: Likewise.
42535         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42536         * nss/Makefile: Likewise.
42537         * sunrpc/Makefile: Don't install headers.  Build library with normal
42538         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42539         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42540         for the compat linking library.  Remove use of INTDEF/INTUSE.
42541         * sunrpc/auth_none.c: Likewise.
42542         * sunrpc/auth_unix.c: Likewise.
42543         * sunrpc/authdes_prot.c: Likewise.
42544         * sunrpc/authuxprot.c: Likewise.
42545         * sunrpc/clnt_gen.c: Likewise.
42546         * sunrpc/clnt_perr.c: Likewise.
42547         * sunrpc/clnt_raw.c: Likewise.
42548         * sunrpc/clnt_simp.c: Likewise.
42549         * sunrpc/clnt_tcp.c: Likewise.
42550         * sunrpc/clnt_udp.c: Likewise.
42551         * sunrpc/clnt_unix.c: Likewise.
42552         * sunrpc/des_crypt.c: Likewise.
42553         * sunrpc/des_soft.c: Likewise.
42554         * sunrpc/get_myaddr.c: Likewise.
42555         * sunrpc/key_call.c: Likewise.
42556         * sunrpc/key_prot.c: Likewise.
42557         * sunrpc/netname.c: Likewise.
42558         * sunrpc/pm_getmaps.c: Likewise.
42559         * sunrpc/pm_getport.c: Likewise.
42560         * sunrpc/pmap_clnt.c: Likewise.
42561         * sunrpc/pmap_prot.c: Likewise.
42562         * sunrpc/pmap_prot2.c: Likewise.
42563         * sunrpc/pmap_rmt.c: Likewise.
42564         * sunrpc/publickey.c: Likewise.
42565         * sunrpc/rpc_cmsg.c: Likewise.
42566         * sunrpc/rpc_common.c: Likewise.
42567         * sunrpc/rpc_dtable.c: Likewise.
42568         * sunrpc/rpc_prot.c: Likewise.
42569         * sunrpc/rpc_thread.c: Likewise.
42570         * sunrpc/rtime.c: Likewise.
42571         * sunrpc/svc.c: Likewise.
42572         * sunrpc/svc_auth.c: Likewise.
42573         * sunrpc/svc_authux.c: Likewise.
42574         * sunrpc/svc_raw.c: Likewise.
42575         * sunrpc/svc_run.c: Likewise.
42576         * sunrpc/svc_simple.c: Likewise.
42577         * sunrpc/svc_tcp.c: Likewise.
42578         * sunrpc/svc_udp.c: Likewise.
42579         * sunrpc/svc_unix.c: Likewise.
42580         * sunrpc/svcauth_des.c: Likewise.
42581         * sunrpc/xcrypt.c: Likewise.
42582         * sunrpc/xdr.c: Likewise.
42583         * sunrpc/xdr_array.c: Likewise.
42584         * sunrpc/xdr_float.c: Likewise.
42585         * sunrpc/xdr_intXX_t.c: Likewise.
42586         * sunrpc/xdr_mem.c: Likewise.
42587         * sunrpc/xdr_rec.c: Likewise.
42588         * sunrpc/xdr_ref.c: Likewise.
42589         * sunrpc/xdr_sizeof.c: Likewise.
42590         * sunrpc/xdr_stdio.c: Likewise.
42592 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42594         [BZ #12650]
42595         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42596         * sysdeps/ia64/dl-tls.h: Likewise.
42597         * sysdeps/powerpc/dl-tls.h: Likewise.
42598         * sysdeps/s390/dl-tls.h: Likewise.
42599         * sysdeps/sh/dl-tls.h: Likewise.
42600         * sysdeps/sparc/dl-tls.h: Likewise.
42601         * sysdeps/x86_64/dl-tls.h: Likewise.
42602         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42604 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42606         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42607         rpath element also skip the following colon.
42608         (expand_dynamic_string_token): Add is_path parameter and pass
42609         down to DL_DST_REQUIRED and _dl_dst_substitute.
42610         (decompose_rpath): Call expand_dynamic_string_token with
42611         non-zero is_path.  Ignore empty rpaths.
42612         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42613         with zero is_path.
42615 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42618         Make cancelable.
42620 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42622         [BZ #12655]
42623         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42624         Patch by Filipe David Manana <fdmanana@apache.org>.
42626 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42629         Maintain aligned stack.
42630         (CHECK_RSP): Remove unused macro.
42632 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42634         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42635         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42637 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42639         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42641         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42643 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42645         [BZ #12518]
42646         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42647         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42648         * sysdeps/x86_64/memmove.c: New file.
42649         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42650         (memcpy): Renamed to ...
42651         (__new_memcpy): This.
42652         (memcpy): Provide GLIBC_2_14 memcpy.
42653         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42654         (memcpy): Provide GLIBC_2_2_5 memcpy.
42656 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42658         [BZ #12631]
42659         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42661 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42663         * misc/syncfs.c: New file.
42664         * misc/Makefile (routines): Add syncfs.
42665         * posix/unistd.h: Declare syncfs.
42666         * sysdeps/unix/syscalls.list: Add syncfs.
42668 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42670         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42671         open_by_handle_at.
42672         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42673         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42674         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42675         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42676         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42677         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42678         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42680 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42682         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42683         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42684         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42685         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42686         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42687         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42688         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42690         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42691         sync_file_range.c with -fexceptions.
42692         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42693         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42694         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42695         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42696         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42697         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42698         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42699         sync_file_range as cancellation point
42700         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42701         now a wrapper around __call_sync_file_range with cancellation handling.
42702         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42703         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42704         function name to __call_sync_file_range.
42705         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42706         Add call_sync_file_range.
42708 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42710         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42711         bits/timex.h.
42713 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42715         * iconv/iconv.h: Fix typo in comment.
42716         * io/fcntl.h: Likewise.
42717         * libio/stdio.h: Likewise.
42718         * posix/spawn.h: Likewise.
42719         * posix/unistd.h: Likewise.
42720         * stdlib/stdlib.h: Likewise.
42721         * time/time.h: Likewise.
42722         * wcsmbs/wchar.h: Likewise.
42724         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42725         open_by_handle): Add.
42726         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42727         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42728         Augment a few comments.
42729         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42730         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42731         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42733         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42734         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42735         open_by_handle.
42737         * io/fcntl.h (AT_EMPTY_PATH): Define.
42739 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42741         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42742         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42743         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42744         to...
42745         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42746         * Versions.def: Add GLIBC_2.14.
42747         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42748         Export.
42750 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42752         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42753         round counter.
42754         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42756 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42758         [BZ #12597]
42759         * string/test-strncmp.c (do_page_test): New function.
42760         (check2): Likewise.
42761         (test_main): Call check2.
42762         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42764 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42766         [BZ #12587]
42767         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42768         Handle cache information in CPU leaf 4.
42769         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42771 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42773         [BZ #12583]
42774         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42775         character representation.
42776         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42778 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42780         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42781         END(__isnan) to END(__isnanf) to match function entry point/label
42782         EALIGN(__isnanf,...).
42784 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42786         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42788 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42790         [BZ #12510]
42791         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42792         copy from the symbol referenced in the relocation to initialize the
42793         used variable.
42794         Patch by Piotr Bury <pbury@goahead.com>.
42795         * elf/Makefile: Add rules to build and tst-unique3.
42796         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42797         * elf/tst-unique3.cc: New file.
42798         * elf/tst-unique3.h: New file.
42799         * elf/tst-unique3lib.cc: New file.
42800         * elf/tst-unique3lib2.cc: New file.
42802         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42804 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42806         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42807         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42808         to _start.
42810 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42812         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42813         to-be-loaded object along a path to loader is ld.so.
42815 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42816             Ulrich Drepper  <drepper@gmail.com>
42818         * sysdeps/x86_64/memset.S: After aligning destination, code
42819         branches to different locations depending on the value of
42820         misalignment, when multiarch is enabled. Fix this.
42822 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42824         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42825         Set _x86_64_preferred_memory_instruction for AMD processsors.
42826         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42827         Set bit_Prefer_SSE_for_memop for AMD processors.
42829 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42831         * libio/fmemopen.c (fmemopen): Optimize a bit.
42833 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42835         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42837 2011-03-03  Roland McGrath  <roland@redhat.com>
42839         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42841 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42843         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42844         __bzero_ultra1 instead of __memset_ultra1.
42846 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42847             Ulrich Drepper  <drepper@gmail.com>
42849         [BZ #12509]
42850         * include/link.h (struct link_map): Add l_orig_initfini.
42851         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42852         returning unsuccessfully.
42853         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42854         close of a file loaded at startup, restore the original l_initfini
42855         list.
42856         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42857         list, store the pointer.
42858         * elf/Makefile ($(objpfx)noload-mem): New rule.
42859         (noload-ENV): Define.
42860         (tests): Add $(objpfx)noload-mem.
42861         * elf/noload.c: Include <memcheck.h>.
42862         (main): Call mtrace.  Close all opened handles.
42864 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42866         [BZ #12454]
42867         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42868         dependencies are missing.
42870 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42872         Fix __if_freereq crash: Unlike the generic version which uses free,
42873         Hurd needs munmap.
42874         * sysdeps/mach/hurd/ifreq.h: New file.
42876 2011-01-27  Petr Baudis  <pasky@suse.cz>
42877             Ulrich Drepper  <drepper@gmail.com>
42879         [BZ 12445]#
42880         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42881         to extend_alloca().
42882         * stdio-common/bug23.c: New file.
42883         * stdio-common/Makefile (tests): Add bug23.
42885 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42886             Ulrich Drepper  <drepper@gmail.com>
42888         [BZ #12489]
42889         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42890         before performing relro protection.  At old place add assertion
42891         to make sure nothing changed.
42893 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42894             Glauber de Oliveira Costa  <glommer@gmail.com>
42896         * elf/elf.h: Add new ARM TLS relocs.
42898 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42901         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42902         cast from r3.
42903         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42904         'tests' variable.
42905         * sysdeps/wordsize-64/tst-writev.c: New file.
42907 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42909         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42910         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42911         insns in _dl_start to prevent a TOC reference before relocs are
42912         resolved.
42914 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42916         [BZ #12469]
42917         * Makeconfig: Remove RANLIB definition.
42918         * Makerules: Don't use RANLIB.
42919         * aclocal.m4: Remove ranlib test.
42920         * configure.in: No need to check for ranlib.
42921         * elf/rtld-Rules: Don't use RANLIB.
42923 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42925         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42926         protection macro.
42927         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42928         inclusion protection macro.
42930         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42931         SIGRTMIN and SIGRTMAX and print information in that case only when
42932         SIGRTMIN is defined.
42934 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42936         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42937         arginfo fn returning -1.
42939         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42940         and thousands string is zero terminated.
42942 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42944         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42945         sysdeps/unix/sysv/linux/bits/socket.h.
42947 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42949         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42950         (__CPU_COUNT): Remove old macros.
42951         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42952         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42953         (__CPU_ALLOC, __CPU_FREE): Add macros.
42954         (__sched_cpualloc, __sched_cpufree): Add declarations.
42956 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42958         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42959         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42960         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42961         (readdhstai): Return value of addhstaiX call.
42962         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42963         (addgrbyX): Return value returned by cache_addgr.
42964         (readdgrbyname): Return value returned by addgrbyX.
42965         (readdgrbygid): Likewise.
42966         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42967         (addpwbyX): Return value returned by cache_addpw.
42968         (readdpwbyname): Return value returned by addhstbyX.
42969         (readdpwbyuid): Likewise.
42970         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42971         (addservbyX): Return value returned by cache_addserv.
42972         (readdservbyname): Return value returned by addservbyX:
42973         (readdservbyport): Likewise.
42974         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42975         (addhstbyX): Return value returned by cache_addhst.
42976         (readdhstbyname): Return value returned by addhstbyX.
42977         (readdhstbyaddr): Likewise.
42978         (readdhstbynamev6): Likewise.
42979         (readdhstbyaddrv6): Likewise.
42980         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42981         (readdinitgroups): Return value returned by addinitgroupsX.
42982         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42983         (prune_cache): Keep track of timeout value of re-added entries.
42984         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42985         * nscd/nscd.h: Adjust prototypes of readd* functions.
42987 2011-02-04  Roland McGrath  <roland@redhat.com>
42989         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42990         (nis_stats): Likewise.
42991         * nis/nis_modify.c (nis_modify): Likewise.
42992         * nis/nis_remove.c (nis_remove): Likewise.
42993         * nis/nis_add.c (nis_add): Likewise.
42995         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42997         * posix/fnmatch_loop.c: Add some consts.
42999         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43001 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43003         [BZ #12460]
43004         * config.make.in (config-cflags-novzeroupper): Define.
43005         * configure.in: Substitute libc_cv_cc_novzeroupper.
43006         * elf/Makefile (AVX-CFLAGS): Define.
43007         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43008         (CFLAGS-tst-auditmod4a.c): Likewise.
43009         (CFLAGS-tst-auditmod4b.c): Likewise.
43010         (CFLAGS-tst-auditmod6b.c): Likewise.
43011         (CFLAGS-tst-auditmod6c.c): Likewise.
43012         (CFLAGS-tst-auditmod7b.c): Likewise.
43013         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43015 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43017         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43018         function to the callback.
43019         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43021 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43023         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43024         of errno.
43026 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43028         [BZ #11724]
43029         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43030         of constructors.
43031         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43032         of destructors.
43033         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43035         [BZ #11724]
43036         * elf/Makefile: Add rules to build and run new test.
43037         * elf/tst-initorder.c: New file.
43038         * elf/tst-initorder.exp: New file.
43039         * elf/tst-initordera1.c: New file.
43040         * elf/tst-initordera2.c: New file.
43041         * elf/tst-initordera3.c: New file.
43042         * elf/tst-initordera4.c: New file.
43043         * elf/tst-initorderb1.c: New file.
43044         * elf/tst-initorderb2.c: New file.
43045         * elf/tst-order-a1.c: New file.
43046         * elf/tst-order-a2.c: New file.
43047         * elf/tst-order-a3.c: New file.
43048         * elf/tst-order-a4.c: New file.
43049         * elf/tst-order-b1.c: New file.
43050         * elf/tst-order-b2.c: New file.
43051         * elf/tst-order-main.c: New file.
43052         New test case by George Gensure <werkt0@gmail.com>.
43054 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43056         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43057         decoding ACE if AI_CANONIDN.
43059 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43061         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43063 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43065         * version.h (RELEASE): Bump for 2.13 release.
43066         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43068         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43070         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43071         MADV_NOHUGEPAGE.
43072         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43073         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43074         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43075         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43076         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43077         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43079         * posix/getconf.c: Update copyright year.
43080         * catgets/gencat.c: Likewise.
43081         * csu/version.c: Likewise.
43082         * debug/catchsegv.sh: Likewise.
43083         * debug/xtrace.sh: Likewise.
43084         * elf/ldconfig.c: Likewise.
43085         * elf/ldd.bash.in: Likewise.
43086         * elf/sprof.c (print_version): Likewise.
43087         * iconv/iconv_prog.c: Likewise.
43088         * iconv/iconvconfig.c: Likewise.
43089         * locale/programs/locale.c: Likewise.
43090         * locale/programs/localedef.c: Likewise.
43091         * malloc/memusage.sh: Likewise.
43092         * malloc/mtrace.pl: Likewise.
43093         * nscd/nscd.c (print_version): Likewise.
43094         * nss/getent.c: Likewise.
43096         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43097         PF_CAIF, and PF_ALG.
43098         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43100 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43102         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43103         (modules-names): Use them.
43104         (ifunc-test-modules, ifunc-pie-tests): Define.
43105         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43106         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43107         (test-extras): Likewise.
43108         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43109         $(compile-command.c).
43110         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43111         (all-built-dso): Define.
43112         (check-textrel.out, check-execstack.out): Depend on it.
43114         * configure.in: Don't override --enable-multi-arch.
43116 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43118         [BZ #6812]
43119         * nscd/hstcache.c (tryagain): Define.
43120         (cache_addhst): Return tryagain not notfound for temporary errors.
43121         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43122         failed.
43124 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43126         [BZ #10563]
43127         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43128         to make the syscall.
43129         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43131         [BZ #12378]
43132         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43133         and fall back to matching as normal character if the string ends before
43134         the matching ']' is found.  This is what POSIX requires.
43135         * posix/testfnm.c: Adjust test result.
43136         * posix/globtest.sh: Adjust test result.  Add new test.
43137         * posix/tst-fnmatch.input: Likewise.
43138         * posix/tst-fnmatch2.c: Add new test.
43140 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43142         * elf/Makefile (check-execstack): Revert last change.  Depend on
43143         check-execstack.h.
43144         (check-execstack.h): New target.
43145         (generated): Add check-execstack.h.
43146         * elf/check-execstack.c: Include "check-execstack.h".
43147         (main): Revert last change.
43148         (handle_file): Return zero if GNU_STACK is absent and
43149         DEFAULT_STACK_PERMS doesn't include PF_X.
43151 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43153         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43154         in child fails because the descriptor is already closed.
43155         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43156         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43157         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43159         [BZ #12397]
43160         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43161         syscall.
43163         [BZ #10484]
43164         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43165         temporary buffer used to handle multi lookups locally.
43166         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43168 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43170         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43171         loader is ld.so.
43173 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43175         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43176         alignment for SSE2.
43178 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43180         [BZ #12394]
43181         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43182         characters.  When rounding increased number of integer digits recompute
43183         number of groups.
43184         * stdio-common/tst-grouping.c: New file.
43185         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43187 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43189         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43190         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43192         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43193         void.
43194         * bits/select.h: Likewise.
43196 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43198         * po/ja.po: Update from translation team.
43200 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43202         [BZ #11155]
43203         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43204         implementation just like for lxstat, fxstatat, et al.
43206 2010-12-27  Jim Meyering  <meyering@redhat.com>
43208         [BZ #12348]
43209         * posix/regexec.c (build_trtable): Return failure indication upon
43210         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43212 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43214         [BZ #12201]
43215         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43216         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43217         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43218         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43220         [BZ #12207]
43221         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43223         [BZ #12204]
43224         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43225         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43227 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43229         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43230         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43231         script has SORT_BY_INIT_PRIORITY.
43232         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43233         NO_CTORS_DTORS_SECTIONS is defined.
43234         * elf/soinit.c: Likewise.
43235         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43236         NO_CTORS_DTORS_SECTIONS is defined.
43237         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43238         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43239         * sysdeps/sh/init-first.c: Likewise.
43240         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43242 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43244         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43245         always use the slow path.
43247 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43249         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43250         similar rule which adds the sysdep directories to the header search in
43251         order to pick up the correct platform stackinfo.h.
43252         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43253         perform test if it is, otherwise return successfully without testing.
43254         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43255         DEFAULT_STACK_PERMS define in stackinfo.h.
43256         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43257         defined in stackinfo.h.
43258         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43259         DEFAULT_STACK_PERMS defined in stackinfo.h.
43260         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43261         * sysdeps/ia64/stackinfo.h: Likewise.
43262         * sysdeps/s390/stackinfo.h: Likewise.
43263         * sysdeps/sh/stackinfo.h: Likewise.
43264         * sysdeps/sparc/stackinfo.h: Likewise.
43265         * sysdeps/x86_64/stackinfo.h: Likewise.
43266         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43267         PF_X for powerpc64.  Retain PF_X for powerpc32.
43269 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43271         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43272         accurately.
43273         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43274         GETDENTS_64BIT_ALIGNED.
43276 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43278         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43280 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43282         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43283         _GNU_SOURCE.
43285         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43286         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43287         Remove __restrict.
43288         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43289         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43291 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43293         [BZ #11655]
43294         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43295         are initialized.
43297 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43299         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43301 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43303         * po/it.po: Update from translation team.
43305 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43308         unused codes.
43310 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43312         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43314 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43316         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43317         specially.
43318         (gaih_getanswer_slice): Likewise.
43320 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43322         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43324 2010-05-31  Petr Baudis  <pasky@suse.cz>
43326         [BZ #11149]
43327         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43328         silently even in the chroot mode.
43330 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43332         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43333         last patch a bit.  Pretty printing
43335 2010-05-31  Petr Baudis <pasky@suse.cz>
43337         [BZ #10085]
43338         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43339         initialization of skip_initgroups_dyn.
43341 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43343         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43344         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43346 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43348         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43350 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43352         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43353         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43354         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43355         ($(objpfx)tst-fnmatch-mem): New rule.
43356         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43357         * posix/tst-fnmatch.c (main): Call mtrace.
43359 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43361         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43362         Support Intel processor model 6 and model 0x2c.
43364 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43366         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43367           signed comparison.
43369 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43371         [BZ #12205]
43372         * string/test-strncasecmp.c (check_result): New function.
43373         (do_one_test): Use it.
43374         (check1): New function.
43375         (test_main): Use it.
43376         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43377         Support strcasecmp and strncasecmp.
43379 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43381         [BZ #12194]
43382         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43383         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43385 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43387         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43388         IFUNC support.
43389         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43390         memset-x86-64.
43391         * sysdeps/x86_64/multiarch/bzero.S: New file.
43392         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43393         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43394         * sysdeps/x86_64/multiarch/memset.S: New file.
43395         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43397         Set bit_Prefer_SSE_for_memop for Intel processors.
43398         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43399         Define.
43400         (index_Prefer_SSE_for_memop): Define.
43401         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43403 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43405         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43406         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43408 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43410         [BZ #12191]
43411         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43412         (__x86_64_raw_data_cache_size_half): Likewise.
43413         (__x86_64_raw_shared_cache_size): Likewise.
43414         (__x86_64_raw_shared_cache_size_half): Likewise.
43416         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43417         (__x86_64_raw_data_cache_size_half): Likewise.
43418         (__x86_64_raw_shared_cache_size): Likewise.
43419         (__x86_64_raw_shared_cache_size_half): Likewise.
43420         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43421         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43422         and __x86_64_raw_shared_cache_size_half.  Round
43423         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43424         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43425         to multiple of 256 bytes.
43427 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43429         [BZ #12167]
43430         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43431         of inacessible symlinks.  Verify result of symlink before returning it.
43432         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43433         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43435 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43437         * math/math.h (isinf): Fix typo in comment.
43439 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43441         * po/da.po: Update from translation team.
43443 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43445         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43446         is added to the list.
43448 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43449             Ulrich Drepper  <drepper@gmail.com>
43451         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43452         the global list here.  Move code to...
43453         (_dl_add_to_namespace_list): ...here.  New function.
43454         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43455         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43456         * elf/dl-load.c (lose): Don't remove the element from the list.
43457         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43458         (_dl_map_object): Likewise.
43460 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43462         [BZ #12159]
43463         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43464         into all bytes of SSE register.
43465         Patch by Richard Li <richardpku@gmail.com>.
43467 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43469         [BZ #12140]
43470         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43471         perturbing.
43473 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43475         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43476         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43477         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43478         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43480         submachine.
43481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43483 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43485         * include/dlfcn.h (__RTLD_SECURE): Define.
43486         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43487         mode & __RTLD_SECURE instead.
43488         (open_path): Rename preloaded parameter to secure.
43489         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43490         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43491         * elf/dl-deps.c (openaux): Likewise.
43492         * elf/rtld.c (struct map_args): Remove is_preloaded.
43493         (map_doit): Don't use it.
43494         (dl_main): Likewise.
43495         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43496         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43498 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43500         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43501         (sysd-rules-targets): Remove duplicates.
43502         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43503         rtld-%.$o dependency.
43505 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43507         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43508         _dl_map_object do it.
43510 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43512         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43513         fast fma builtins, define the macros in the C99 standard.
43514         (FP_FAST_FMAF): Likewise.
43515         (FP_FAST_FMAL): Likewise.
43516         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43518         * bits/mathdef.h: Update copyright year.
43519         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43521 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43523         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43524         builtins, define the macros in the C99 standard.
43525         (FP_FAST_FMAF): Likewise.
43526         (FP_FAST_FMAL): Likewise.
43527         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43528         multiply/add.
43529         (FP_FAST_FMAF): Likewise.
43531 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43533         [BZ #3268]
43534         * math/libm-test.inc (fma_test): Some new testcases.
43535         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43537         y and infinite z.  Do multiplication by C already in long double.
43538         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43539         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43540         y and infinite z.  Do bitwise or of inexact bit into u.d.
43541         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43542         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43543         * sysdeps/i386/fpu/s_fma.S: Removed.
43544         * sysdeps/i386/fpu/s_fmal.S: Removed.
43546 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43548         [BZ #3268]
43549         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43550         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43551         computation is not scheduled after fetestexcept.  Fix value
43552         of minimum denormal long double.
43554 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43556         [BZ #3268]
43557         * math/libm-test.inc (fma_test): Add some more tests.
43558         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43559         correctly.
43561 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43563         * scripts/data/localplt-s390-linux-gnu.data: New file.
43564         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43566 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43568         [BZ #3268]
43569         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43570         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43571         instead of dbl-64.
43572         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43573         inlines.
43574         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43575         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43576         if one of x and y is very large and the other is subnormal.
43577         * sysdeps/s390/fpu/s_fmaf.c: New file.
43578         * sysdeps/s390/fpu/s_fma.c: New file.
43579         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43580         * sysdeps/powerpc/fpu/s_fma.S: New file.
43581         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43582         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43583         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43585 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43587         [BZ #3268]
43588         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43589         fma tests.
43590         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43591         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43592         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43593         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43594         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43595         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43596         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43598 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43600         [BZ #12078]
43601         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43602         * posix/bug-regex31.input: Add test case.
43604 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43606         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43607         * posix/bug-regex31.input: New file.
43609         [BZ #12078]
43610         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43611         (parse_sub_exp): Fix last change, use postorder.
43613         * posix/bug-regex31.c: New file.
43614         * posix/Makefile: Add rules to build and run bug-regex31.
43616         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43618         [BZ #12078]
43619         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43621         [BZ #12108]
43622         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43623         to have entries in sys_siglist.
43625         [BZ #12093]
43626         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43627         be NULL.
43629 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43631         [BZ #3268]
43632         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43633         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43634         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43635         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43636         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43637         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43638         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43639         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43640         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43641         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43642         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43643         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43644         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43645         * math/ftestexcept.c (fetestexcept): Likewise.
43646         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43647         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43648         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43649         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43650         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43651         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43652         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43654 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43656         [BZ #12107]
43657         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43658         newline.
43660 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43662         * string/bug-strstr1.c: New file.
43663         * string/Makefile: Add rules to build and run bug-strstr1.
43665 2010-10-05  Eric Blake  <eblake@redhat.com>
43667         [BZ #12092]
43668         * string/str-two-way.h (two_way_long_needle): Always clear memory
43669         when skipping input due to the shift table.
43671 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43673         [BZ #12005]
43674         * malloc/mcheck.c: Handle large requests.
43676         [BZ #12077]
43677         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43678         for strncmp and strncasecmp.
43679         * string/stratcliff.c: Add tests for strcmp and strncmp.
43680         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43682 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43684         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43685         __set_fpscr.
43687 2010-09-30  Andreas Jaeger  <aj@suse.de>
43689         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43690         (CGROUP_SUPER_MAGIC): Define.
43691         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43692         Handle btrfs and cgroup file systems.
43693         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43694         Likewise.
43696 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43698         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43699         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43701 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43703         [BZ #12067]
43704         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43705         trying to locate the ELF header.
43707 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43709         [BZ #11611]
43710         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43711         Mask out sign-bit copies when constructing f_fsid.
43713 2010-09-24  Petr Baudis <pasky@suse.cz>
43715         * debug/stack_chk_fail_local.c: Add missing licence exception.
43716         * debug/warning-nop.c: Likewise.
43718 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43720         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43721         implementing getdents64 using getdents syscall, set d_type if
43722         __ASSUME_GETDENTS32_D_TYPE.
43724 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43726         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43727         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43729 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43731         [BZ #12037]
43732         * posix/unistd.h: Undo change of feature selection for ftruncate from
43733         2010-01-11.
43735 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43737         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43738         detection.
43740 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43742         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43743         fanotify_mark.
43744         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43746 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43748         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43749         variables after CHECK_SP call.
43750         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43752 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43753             Ulrich Drepper  <drepper@redhat.com>
43755         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43756         re-relocationg ld.so.
43757         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43758         _dl_init_paths call.
43759         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43760         here anymore.
43762 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43764         * resolv/res_init.c (__res_vinit): Count the default server we added.
43766 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43767             Ulrich Drepper  <drepper@redhat.com>
43769         [BZ #11968]
43770         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43771         (____longjmp_chk): Use %ebx for saving value across system call.
43772         Add unwind info.
43774 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43776         * manual/Makefile: Don't mix pattern rules with normal rules.
43778 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43780         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43781         operation.
43782         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43783         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43784         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43785         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43787         Likewise.
43789 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43791         [BZ #11979]
43792         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43793         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43795 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43797         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43798         * sysdeps/x86_64/addmul_1.S: Likewise.
43799         * sysdeps/x86_64/lshift.S: Likewise.
43800         * sysdeps/x86_64/mul_1.S: Likewise.
43801         * sysdeps/x86_64/rshift.S: Likewise.
43802         * sysdeps/x86_64/sub_n.S: Likewise.
43803         * sysdeps/x86_64/submul_1.S: Likewise.
43805 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43807         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43808         Define __sched_param instead of SCHED_* and sched_param when
43809         <bits/sched.h> is included with __need_schedparam defined.
43810         * bits/sched.h [__need_schedparam]
43811         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43812         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43813         (__defined_schedparam): Define to 1.
43814         (__sched_param): New structure, identical to sched_param.
43815         (__need_schedparam): Undefine.
43817 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43819         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43820         (epoll_create1): Declare.
43822         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43824 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43826         [BZ #7066]
43827         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43828         shifting retval into place.
43830 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43832         * nis/rpcsvc/nis.h: Update copyright notice.
43833         * nis/rpcsvc/nis.x: Likewise.
43834         * nis/rpcsvc/nis_callback.h: Likewise.
43835         * nis/rpcsvc/nis_callback.x: Likewise.
43836         * nis/rpcsvc/nis_object.x: Likewise.
43837         * nis/rpcsvc/nis_tags.h: Likewise.
43838         * nis/rpcsvc/yp.h: Likewise.
43839         * nis/rpcsvc/yp.x: Likewise.
43840         * nis/rpcsvc/ypupd.h: Likewise.
43841         * nis/yp_xdr.c: Likewise.
43842         * nis/ypupdate_xdr.c: Likewise.
43844         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43845         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43846         (pmap_getport): Use __libc_rpc_getport.
43847         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43848         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43849         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43851 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43854         fanotify_mark.
43856 2010-08-27  Roland McGrath  <roland@redhat.com>
43858         * sysdeps/i386/i686/multiarch/Makefile
43859         (CFLAGS-varshift.c): New variable.
43861 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43863         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43864         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43866         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43868         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43870 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43872         * sysdeps/x86_64/strlen.S: Unroll the loop.
43873         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43874         strlen-sse2 strlen-sse2-bsf.
43875         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43876         __strlen_no_bsf if bit_Slow_BSF is set.
43877         (__strlen_sse42): Removed.
43878         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43879         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43881 2010-08-25  Roland McGrath  <roland@redhat.com>
43883         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43884         * sysdeps/x86_64/multiarch/varshift.c: New file.
43885         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43886         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43887         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43888         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43890 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43892         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43893         strlen-sse2 strlen-sse2-bsf.
43894         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43895         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43896         (__strlen_sse2): Removed.
43897         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43898         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43900         bit_Slow_BSF for Atom.
43901         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43902         (index_Slow_BSF): Define.
43903         (HAS_SLOW_BSF): Define.
43905 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43907         [BZ #10851]
43908         * resolv/res_init.c (__res_vinit): When no server address at all
43909         is given default to loopback.
43911 2010-08-24  Roland McGrath  <roland@redhat.com>
43913         * configure.in: Remove config-name.h generation.
43914         * configure: Regenerated.
43915         * config-name.in: File removed.
43916         * scripts/config-uname.sh: New file.
43917         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43918         ($(objdir)config-name.h): New target.
43920         * sunrpc/rpc_parse.h: Avoid nested comment.
43922 2010-08-24  Richard Henderson  <rth@redhat.com>
43923             Ulrich Drepper  <drepper@redhat.com>
43924             H.J. Lu  <hongjiu.lu@intel.com>
43926         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43927         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43928         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43929         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43930         _mm_alignr_epi8 with _mm_loadu_si128.
43931         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43932         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43933         (__m128i_shift_right): Removed.
43934         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43935         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43936         * sysdeps/x86_64/multiarch/varshift.h: New file.
43937         * sysdeps/x86_64/multiarch/varshift.S: New file.
43939 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43941         * configure.in: Move assembler checks to before sysdep dir checking.
43943 2010-08-20  Petr Baudis  <pasky@suse.cz>
43945         * LICENSES: Sync the sunrpc license.
43947 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43949         * sunrpc/auth_des.c: Update copyright notice once again.
43950         * sunrpc/auth_none.c: Likewise.
43951         * sunrpc/auth_unix.c: Likewise.
43952         * sunrpc/authdes_prot.c: Likewise.
43953         * sunrpc/authuxprot.c: Likewise.
43954         * sunrpc/bindrsvprt.c: Likewise.
43955         * sunrpc/clnt_gen.c: Likewise.
43956         * sunrpc/clnt_perr.c: Likewise.
43957         * sunrpc/clnt_raw.c: Likewise.
43958         * sunrpc/clnt_simp.c: Likewise.
43959         * sunrpc/clnt_tcp.c: Likewise.
43960         * sunrpc/clnt_udp.c: Likewise.
43961         * sunrpc/clnt_unix.c: Likewise.
43962         * sunrpc/des_crypt.c: Likewise.
43963         * sunrpc/des_soft.c: Likewise.
43964         * sunrpc/get_myaddr.c: Likewise.
43965         * sunrpc/getrpcport.c: Likewise.
43966         * sunrpc/key_call.c: Likewise.
43967         * sunrpc/key_prot.c: Likewise.
43968         * sunrpc/openchild.c: Likewise.
43969         * sunrpc/pm_getmaps.c: Likewise.
43970         * sunrpc/pm_getport.c: Likewise.
43971         * sunrpc/pmap_clnt.c: Likewise.
43972         * sunrpc/pmap_prot.c: Likewise.
43973         * sunrpc/pmap_prot2.c: Likewise.
43974         * sunrpc/pmap_rmt.c: Likewise.
43975         * sunrpc/rpc/auth.h: Likewise.
43976         * sunrpc/rpc/auth_unix.h: Likewise.
43977         * sunrpc/rpc/clnt.h: Likewise.
43978         * sunrpc/rpc/des_crypt.h: Likewise.
43979         * sunrpc/rpc/key_prot.h: Likewise.
43980         * sunrpc/rpc/netdb.h: Likewise.
43981         * sunrpc/rpc/pmap_clnt.h: Likewise.
43982         * sunrpc/rpc/pmap_prot.h: Likewise.
43983         * sunrpc/rpc/pmap_rmt.h: Likewise.
43984         * sunrpc/rpc/rpc.h: Likewise.
43985         * sunrpc/rpc/rpc_des.h: Likewise.
43986         * sunrpc/rpc/rpc_msg.h: Likewise.
43987         * sunrpc/rpc/svc.h: Likewise.
43988         * sunrpc/rpc/svc_auth.h: Likewise.
43989         * sunrpc/rpc/types.h: Likewise.
43990         * sunrpc/rpc/xdr.h: Likewise.
43991         * sunrpc/rpc_clntout.c: Likewise.
43992         * sunrpc/rpc_cmsg.c: Likewise.
43993         * sunrpc/rpc_common.c: Likewise.
43994         * sunrpc/rpc_cout.c: Likewise.
43995         * sunrpc/rpc_dtable.c: Likewise.
43996         * sunrpc/rpc_hout.c: Likewise.
43997         * sunrpc/rpc_main.c: Likewise.
43998         * sunrpc/rpc_parse.c: Likewise.
43999         * sunrpc/rpc_parse.h: Likewise.
44000         * sunrpc/rpc_prot.c: Likewise.
44001         * sunrpc/rpc_sample.c: Likewise.
44002         * sunrpc/rpc_scan.c: Likewise.
44003         * sunrpc/rpc_scan.h: Likewise.
44004         * sunrpc/rpc_svcout.c: Likewise.
44005         * sunrpc/rpc_tblout.c: Likewise.
44006         * sunrpc/rpc_util.c: Likewise.
44007         * sunrpc/rpc_util.h: Likewise.
44008         * sunrpc/rpcinfo.c: Likewise.
44009         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44010         * sunrpc/rpcsvc/key_prot.x: Likewise.
44011         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44012         * sunrpc/rpcsvc/mount.x: Likewise.
44013         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44014         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44015         * sunrpc/rpcsvc/rex.x: Likewise.
44016         * sunrpc/rpcsvc/rstat.x: Likewise.
44017         * sunrpc/rpcsvc/rusers.x: Likewise.
44018         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44019         * sunrpc/rpcsvc/spray.x: Likewise.
44020         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44021         * sunrpc/rtime.c: Likewise.
44022         * sunrpc/svc.c: Likewise.
44023         * sunrpc/svc_auth.c: Likewise.
44024         * sunrpc/svc_authux.c: Likewise.
44025         * sunrpc/svc_raw.c: Likewise.
44026         * sunrpc/svc_run.c: Likewise.
44027         * sunrpc/svc_simple.c: Likewise.
44028         * sunrpc/svc_tcp.c: Likewise.
44029         * sunrpc/svc_udp.c: Likewise.
44030         * sunrpc/svc_unix.c: Likewise.
44031         * sunrpc/svcauth_des.c: Likewise.
44032         * sunrpc/xcrypt.c: Likewise.
44033         * sunrpc/xdr.c: Likewise.
44034         * sunrpc/xdr_array.c: Likewise.
44035         * sunrpc/xdr_float.c: Likewise.
44036         * sunrpc/xdr_mem.c: Likewise.
44037         * sunrpc/xdr_rec.c: Likewise.
44038         * sunrpc/xdr_ref.c: Likewise.
44039         * sunrpc/xdr_sizeof.c: Likewise.
44040         * sunrpc/xdr_stdio.c: Likewise.
44042         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44043         handling.
44045 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44047         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44049 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44051         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44052         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44053         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44054         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44055         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44056         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44057         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44058         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44060         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44061         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44062         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44063         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44064         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44066 2010-07-26  Anton Blanchard  <anton@samba.org>
44068         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44069         * malloc/arena.c (heap_trim): Likewise.
44071 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44073         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44074         here.  Not...
44075         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44076         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44078 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44080         * sysdeps/i386/elf/Makefile: New file.
44082 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44084         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44085         from fanotify_init.
44086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44087         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44089 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44091         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44092         of strncasecmp_l.
44093         * sysdeps/multiarch/strcmp.S: Likewise.
44095 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44097         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44098         strncase_l-nonascii.
44099         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44100         Add strncase_l-ssse3.
44101         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44102         * sysdeps/x86_64/strcmp.S: Likewise.
44103         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44104         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44105         * sysdeps/x86_64/strncase.S: New file.
44106         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44107         * sysdeps/x86_64/strncase_l.S: New file.
44108         * string/Makefile (strop-tests): Add strncasecmp.
44109         * string/test-strncasecmp.c: New file.
44111         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44112         warning.
44114         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44115         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44117 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44119         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44121 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44123         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44124         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44125         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44127 2010-05-01  Alan Modra  <amodra@gmail.com>
44129         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44130         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44131         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44132         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44133         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44134         tidying.  Don't tail-call __sigjmp_save for static lib.
44135         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44136         save location.
44137         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44138         (CALL_MCOUNT): Add eh info, and nop after bl.
44139         (TAIL_CALL_SYSCALL_ERROR): New macro.
44140         (PSEUDO_RET): Use it.
44141         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44142         Correct save location of integer regs and cr.
44143         (_dl_profile_resolve): Correct cr save location.  Delete nops
44144         after bl when SHARED.  Reduce cfi size a little by better
44145         placement of cfi directives.
44146         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44147         make a stack frame.  Instead use parm save area as a temp.
44148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44149         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44151         Don't make a stack frame for parent, use parm save area.
44152         Increase child stack frame to 112 bytes.  Don't save unused reg,
44153         and adjust reg usage.  Set up cfi on error recovery and
44154         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44156         (__makecontext): Add dummy nop after jump to exit.
44157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44158         Use correct parm save area and cr save, reduce stack frame.
44159         Correct cfi for possible PSEUDO_RET frame setup.
44160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44161         Branch to local label emitted by PSEUDO_RET rather than
44162         __syscall_error.
44164 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44166         [BZ #11904]
44167         * locale/programs/locale.c (print_assignment): New function.
44168         (show_locale_vars): Use it.
44170 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44172         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44173         field.
44174         (struct statfs64): Likewise.
44175         (_STATFS_F_FLAGS): Define.
44176         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44177         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44178         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44179         (ST_VALID): Define locally.
44180         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44181         __statvfs_getflags, use the provided value.
44182         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44183         __ASSUME_STATFS_F_FLAGS.
44185         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44187         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44188         Add sys/fanotify.h.
44189         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44190         fanotify_mask for GLIBC_2.13.
44191         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44192         fanotify_init and fanotify_mark.
44193         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44194         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44196         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44197         Add prlimit.
44198         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44199         prlimit64 for GLIBC_2.13.
44200         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44201         prlimit64.
44202         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44203         syscall.
44204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44205         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44206         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44207         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44208         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44209         add prlimit alias.
44210         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44212         [BZ #11903]
44213         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44214         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44216         * nss/Makefile: Add rules to build and run tst-nss-test1.
44217         * shlib-versions: Add entry for libnss_test1.
44218         * nss/nss_test1.c: New file.
44219         * nss/tst-nss-test1.c: New file.
44221         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44222         (__nss_configure_lookup): Set appropriate entry in
44223         __nss_configure_lookup to true.
44224         * nss/nsswitch.h: Define enum with indeces of databases in
44225         databases and __nss_database_custom arrays.  Declare
44226         __nss_database_custom.
44227         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44228         to avoid using nscd when custom rules are installed.
44229         * nss/getXXbyYY_r.c: Likewise.
44230         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44232         * nss/nss_files/files-parse.c: Whitespace fixes.
44234 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44236         [BZ #11883]
44237         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44238         * posix/fnmatch_loop.c: Likewise.
44240 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44242         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44243         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44244         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44245         * Versions.def [GLIBC_2.13]: Add.
44247 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44249         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44250         Also fail if tpwd after pwuid call is NULL.
44252 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44254         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44255         when converting to ms.
44257 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44259         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44260         EOPNOTSUPP errors with ENOTTY.
44261         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44262         EOPNOTSUPP errors with ENOTTY.
44264 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44266         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44267         Add strcasecmp_l-ssse3.
44268         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44269         strcasecmp.
44270         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44271         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44272         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44274 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44276         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44278         * string/Makefile (strop-tests): Add strcasecmp.
44279         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44280         strcasecmp_l-nonascii.
44281         (gen-as-const-headers): Add locale-defines.sym.
44282         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44283         * sysdeps/x86_64/strcasecmp.S: New file.
44284         * sysdeps/x86_64/strcasecmp_l.S: New file.
44285         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44286         * sysdeps/x86_64/locale-defines.sym: New file.
44287         * string/test-strcasecmp.c: New file.
44289         * string/test-strcasestr.c: Test both ends of the range of characters.
44290         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44292 2010-07-29  Roland McGrath  <roland@redhat.com>
44294         [BZ #11856]
44295         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44297 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44299         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44300         for ld.so.
44302 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44304         * manual/memory.texi (Malloc Tunable Parameters): Document
44305         M_PERTURB.
44307 2010-07-26  Roland McGrath  <roland@redhat.com>
44309         [BZ #11840]
44310         * configure.in (-fgnu89-inline check): Set and substitute
44311         gnu89_inline, not libc_cv_gnu89_inline.
44312         * configure: Regenerated.
44313         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44315 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44317         * string/test-strnlen.c: New file.
44318         * string/Makefile (strop-tests): Add strnlen.
44319         * string/tester.c (test_strnlen): Add a few more test cases.
44320         * string/tst-strlen.c: Better error reporting.
44322         * sysdeps/x86_64/strnlen.S: New file.
44324 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44326         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44327         lower-latency instructions.
44329 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44331         * string/test-strcasestr.c: New file.
44332         * string/test-strstr.c: New file.
44333         * string/Makefile (strop-tests): Add strstr and strcasestr.
44334         * string/str-two-way.h: Don't undefine MAX.
44335         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44337 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44339         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44340         strcasestr-nonascii.
44341         (CFLAGS-strcasestr-nonascii.c): Define.
44342         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44343         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44344         Remove unused attribute.
44346 2010-07-20  Roland McGrath  <roland@redhat.com>
44348         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44349         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44350         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44351         like LD_HWCAP_MASK can disable hwcaps.
44353 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44355         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44357 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44359         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44360         call in strcasestr.
44361         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44362         __strcasestr_sse42_nonascii.
44363         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44364         strcasestr-nonascii.c.
44365         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44367 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44369         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44370         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44371         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44372         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44374 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44376         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44377         fcntl.
44379 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44381         [BZ #11577]
44382         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44383         dl_signal_cerror.
44385 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44387         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44388         _PC_PIPE_BUF using F_GETPIPE_SZ.
44390 2010-07-05  Roland McGrath  <roland@redhat.com>
44392         * manual/arith.texi (Rounding Functions): Fix rint description
44393         implicit in round description.
44395 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44397         * elf/Makefile: Fix linking for a few tests to make recent linker
44398         happy.
44400 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44402         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44403         $(common-objpfx)libc_nonshared.a.
44405 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44407         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44408         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44409         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44410         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44411         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44412         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44413         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44414         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44429         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44430         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44431         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44432         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44433         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44434         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44435         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44436         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44437         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44438         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44439         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44440         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44456 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44458         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44459         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44460         * string/memmove.c (memmove): Renamed to ...
44461         (MEMMOVE): ...this.  Default to memmove.
44462         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44463         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44464         (END_CHK): Define.
44465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44466         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44467         mempcpy-ssse3-back memmove-ssse3-back.
44468         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44469         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44470         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44471         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44472         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44473         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44474         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44475         * sysdeps/x86_64/multiarch/memmove.c: New file.
44476         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44477         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44478         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44479         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44480         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44481         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44482         Define.
44483         (index_Fast_Copy_Backward): Define.
44484         (HAS_ARCH_FEATURE): Define.
44485         (HAS_FAST_REP_STRING): Define.
44486         (HAS_FAST_COPY_BACKWARD): Define.
44488 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44490         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44491         Restore proper fallback handling.
44493 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44495         [BZ #11701]
44496         * posix/group_member.c (__group_member): Correct checking loop.
44498         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44499         OOM in getpwuid_r correctly.  Return error number when the caller
44500         should return, otherwise -1.
44501         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44502         call returning > 0 value.
44503         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44505 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44507         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44508         libc_nonshared.a from targets in modules-names.
44510 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44512         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44513         requires it.
44515 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44517         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44518         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44519         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44520         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44522 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44524         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44526 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44528         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44529         and F_GETPIPE_SZ.
44530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44531         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44532         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44534         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44535         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44537 2010-06-14  Roland McGrath  <roland@redhat.com>
44539         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44541 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44543         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44544         __REDIRECT followed by __THROW.
44545         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44546         * posix/getopt.h (getopt): Likewise.
44548 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44550         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44551         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44552         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44553         in AT_FLAGS.
44554         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44555         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44557 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44559         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44561 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44563         [BZ #11640]
44564         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44565         Properly check family and model.
44567 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44569         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44571 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44573         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44575 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44577         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44578         symbol reference.
44580 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44582         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44583         symbol reference.
44585 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44587         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44588         and internal_recvmmsg.
44589         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44590         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44591         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44592         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44594         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44595         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44596         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44598 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44600         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44602 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44604         POWER7 optimizations.
44605         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44606         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44608 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44610         * version.h: Update for 2.13 development version.
44612 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44614         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44615         exceptions.  Return 0.
44617 2010-05-07  Roland McGrath  <roland@redhat.com>
44619         * elf/ldconfig.c (main): Add a const.
44621 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44623         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44624         (args_options): Add no-idn option.
44625         (ahosts_keys_int): Add idn_flags to ai_flags.
44626         (parse_option): Handle 'i' option to clear idn_flags.
44628         * malloc/malloc.c (_int_free): Possible race in the most recently
44629         added check.  Only act on the data if no current modification
44630         happened.
44632 See ChangeLog.17 for earlier changes.