Merge remote-tracking branch 'origin/roland/nptl-alpha'
[glibc.git] / ChangeLog
blob6223f79fe6ba4c322276a32fbb57f076e71f10de
1 2014-05-17  David S. Miller  <davem@davemloft.net>
3         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
4         Protect with __USE_GNU.
5         (TIOCSET_TEMPT): Likewise.
6         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8         these are already provided in bits/ioctl-types.h
10 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16         Use wait4 regardless of [__NR_waitpid].
18 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20         PR libgcc/60166
21         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22         (_FP_NANSIGN_Q): Set the quiet bit.
24 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
26         * benchtests/Makefile
27         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
28         not $(common-objpfx)math/libm.so.
29         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
30         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
32         $(common-objpfx)dlfcn/libdl.so.
33         ($(objpfx)tst-audit8): Depend on $(libm), not
34         $(common-objpfx)math/libm.so.
35         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
36         not $(common-objpfx)dlfcn/libdl.so.
37         * math/Makefile
38         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
39         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
40         [$(build-shared) = yes].
41         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
42         $(common-objpfx)nptl/libpthread.so.
43         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
44         $(common-objpfx)math/libm.so$(libm.so-version) or
45         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
46         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
47         $(common-objpfx)dlfcn/libdl.so.
48         * setjmp/Makefile (link-libm): Remove variable.
49         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
50         * stdio-common/Makefile (link-libm): Remove variable.
51         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52         * stdlib/Makefile (link-libm): Remove variable.
53         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
54         ($(objpfx)tst-strtod-round): Likewise.
55         ($(objpfx)tst-tininess): Likewise.
56         ($(objpfx)tst-strtod-underflow): Likewise.
57         ($(objpfx)tst-strtod6): Likewise.
58         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
59         $(libdl), not $(common-objpfx)nptl/libpthread.so and
60         $(common-objpfx)dlfcn/libdl.so.
62 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
65         BSD terminal modes definitions.
67 2014-05-16  Roland McGrath  <roland@hack.frob.com>
69         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
70         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
72         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
73         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
74         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
75         Don't do #include_next.
76         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
77         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
78         Don't do #include_next.
79         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
80         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
81         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
82         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
84 2014-05-16  Allan McRae  <allan@archlinux.org>
86         * po/sv.po: Update Swedish translation from translation project.
88         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
89         in sed expression.
91 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
93         [BZ #16917]
94         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
95         errno if the TIOCGPTN ioctl fails with an error different than
96         EINVAL.
97         * login/tst-ptsname.c: New file.
98         * login/Makefile (tests): Add tst-ptsname.
100         [BZ #16943]
101         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
102         and prlimit64.
104 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
106         [BZ #16849]
107         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
108         herrno to return EAI_AGAIN.
110 2014-05-14  Roland McGrath  <roland@hack.frob.com>
112         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
113         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
114         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
115         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
116         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
117         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
118         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
119         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
120         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
121         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
122         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
123         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
124         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
125         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
126         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
127         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
128         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
129         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
130         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
131         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
132         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
133         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
134         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
135         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
136         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
137         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
138         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
139         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
140         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
141         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
143         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
145         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
147         Moved ...
148         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
150         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
151         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
152         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
153         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
154         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
155         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
156         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
158         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
160         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
161         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
162         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
164         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
166         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
167         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
168         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
169         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
170         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
172         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
174         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
176         Moved ...
177         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
178         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
179         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
180         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
181         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
182         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
183         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
185         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
186         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
187         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
188         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
189         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
190         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
191         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
192         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
193         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
194         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
195         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
196         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
197         Moved ...
198         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
200         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
202         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
203         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
204         (libpthread-sysdep_routines): Add elision-related stuff here instead.
205         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
206         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
207         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
208         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
209         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
210         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
211         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
212         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
213         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
214         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
215         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
216         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
217         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
218         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
219         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
220         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
221         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
222         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
223         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
224         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
225         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
226         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
227         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
228         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
229         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
230         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
231         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
232         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
234         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
235         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
237         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
238         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
239         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
240         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
241         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
242         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
243         Moved ...
244         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
245         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
246         Moved ...
247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
248         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
249         Moved ...
250         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
251         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
252         Moved ...
253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
254         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
255         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
256         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
257         Moved ...
258         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
259         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
260         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
261         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
262         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
263         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
264         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
265         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
266         Moved ...
267         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
268         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
269         Moved ...
270         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
271         ... here.
272         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
273         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
274         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
275         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
276         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
277         Moved ...
278         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
279         ... here.
280         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
281         Moved ...
282         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
283         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
284         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
285         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
286         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
287         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
288         Moved ...
289         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
290         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
291         Moved ...
292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
293         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
294         Moved ...
295         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
296         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
297         Moved ...
298         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
299         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
300         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
301         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
302         Moved ...
303         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
304         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
305         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
306         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
307         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
308         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
309         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
310         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
311         Moved ...
312         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
313         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
314         Moved ...
315         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
316         ... here.
317         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
318         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
319         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
320         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
321         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
322         Moved ...
323         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
324         ... here.
325         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
326         Moved ...
327         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
328         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
329         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
330         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
331         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
332         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
333         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
334         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
335         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
336         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
337         Moved ...
338         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
339         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
340         Moved ...
341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
343         Moved ...
344         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
345         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
346         Moved ...
347         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
348         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
349         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
350         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
351         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
352         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
353         Moved ...
354         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
355         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
356         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
358         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
359         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
360         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
362         Moved ...
363         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
364         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
365         Moved ...
366         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
367         ... here.
368         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
369         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
370         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
371         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
372         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
373         Moved ...
374         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
375         ... here.
376         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
377         Moved ...
378         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
379         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
380         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
381         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
382         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
383         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
384         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
385         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
386         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
387         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
388         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
390         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
391         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
393         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
394         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
396         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
397         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
398         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
399         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
400         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
401         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
402         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
403         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
404         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
405         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
406         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
407         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
408         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
409         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
410         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
411         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
412         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
413         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
414         Moved ...
415         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
416         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
417         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
419         Moved ...
420         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
421         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
422         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
423         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
424         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
425         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
426         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
427         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
428         Moved ...
429         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
430         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
431         Moved ...
432         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
433         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
434         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
436         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
437         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
438         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
439         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
440         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
441         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
442         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
443         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
444         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
445         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
446         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
447         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
448         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
450         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
451         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
452         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
453         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
454         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
456         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
457         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
458         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
459         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
460         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
461         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
462         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
463         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
464         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
465         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
467         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
468         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
470         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
471         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
472         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
473         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
474         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
475         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
476         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
477         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
478         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
479         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
480         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
481         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
482         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
483         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
484         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
485         Update #include.
486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
487         Likewise.
488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
489         Likewise.
490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
491         Likewise.
492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
493         Likewise.
494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
495         Likewise.
496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
497         Likewise.
498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
499         Likewise.
500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
501         Likewise.
502         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
503         Likewise.
504         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
506         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
508         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
509         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
510         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
511         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
512         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
513         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
514         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
515         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
516         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
517         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
518         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
520         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
521         that was previously under [RESET_PID].
522         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
523         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
524         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
526         * sysdeps/i386/nptl/Implies: New file.
527         * sysdeps/x86_64/nptl/Implies: New file.
528         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
529         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
530         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
531         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
533         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
534         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
535         (__libc_vfork): New strong alias.
536         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
537         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
539         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
540         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
541         (__libc_vfork): New strong alias.
542         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
543         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
545         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
546         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
547         (__libc_vfork): New strong alias.
548         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
549         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
550         * nptl/pt-vfork.c: New file.
551         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
552         (libpthread: GLIBC_2.20): New version set (empty).
554 2014-05-14  Will Newton  <will.newton@linaro.org>
556         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
557         rather than #if.
559 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
561         [BZ #16564]
562         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
563         arguments with exponent 65 or above.
564         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
565         arguments 0x1p113L or above.
566         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
567         to arguments 0x1p107L or above.
568         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
569         positive arguments with exponent 65 or above.
570         * math/auto-libm-test-in: Add more tests of log1p.
571         * math/auto-libm-test-out: Regenerated.
573         [BZ #16928]
574         * math/s_cacos.c (__cacos): Ensure zero real part of result from
575         non-finite arguments is +0.
576         * math/s_cacosf.c (__cacosf): Likewise.
577         * math/s_cacosl.c (__cacosl): Likewise.
578         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
579         * sysdeps/i386/fpu/libm-test-ulps: Update.
580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
582         [BZ #16927]
583         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
584         value.
585         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
586         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
587         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
588         for explicit high bit of mantissa when testing for argument equal
589         to 1.
590         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
591         * sysdeps/i386/fpu/libm-test-ulps: Update.
592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
594         [BZ #16516]
595         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
596         (__erf): Scale by 16 instead of 8 in potentially underflowing
597         case.  Ensure exception if result actually underflows.
598         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
599         (__erff): Scale by 16 instead of 8 in potentially underflowing
600         case.  Ensure exception if result actually underflows.
601         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
602         (efx8): Remove variable.
603         (__erfl): Scale by 16 instead of 8 in potentially underflowing
604         case.  Ensure exception if result actually underflows.
605         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
606         (efx8): Remove variable.
607         (__erfl): Scale by 16 instead of 8 in potentially underflowing
608         case.  Ensure exception if result actually underflows.
609         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
610         (efx8): Remove variable.
611         (__erfl): Scale by 16 instead of 8 in potentially underflowing
612         case.  Ensure exception if result actually underflows.
613         * math/auto-libm-test-in: Add more tests of erf.
614         * math/auto-libm-test-out: Regenerated.
616 2014-05-14  Andreas Schwab  <schwab@suse.de>
618         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
619         Remove code conditionalized on USE___THREAD.
621         * config.h.in (HAVE_PT_CHOWN): Define as 0.
622         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
623         not definedness.
625 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
627         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
628         Define unconditionally.
629         (__ASSUME_O_CLOEXEC): Likewise.
630         (__ASSUME_SOCK_CLOEXEC): Likewise.
631         (__ASSUME_IN_NONBLOCK): Likewise.
632         (__ASSUME_PIPE2): Likewise.
633         (__ASSUME_EVENTFD2): Likewise.
634         (__ASSUME_SIGNALFD4): Likewise.
635         (__ASSUME_DUP3): Likewise.
636         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
637         (__ASSUME_DUP3): Do not define.
638         (__ASSUME_EVENTFD2): Likewise.
639         (__ASSUME_IN_NONBLOCK): Likewise.
640         (__ASSUME_O_CLOEXEC): Likewise.
641         (__ASSUME_PIPE2): Likewise.
642         (__ASSUME_SIGNALFD4): Likewise.
643         (__ASSUME_SOCK_CLOEXEC): Likewise.
644         (__ASSUME_UTIMES): Undefine.
645         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
646         (__ASSUME_UTIMES): Do not define.
647         (__ASSUME_O_CLOEXEC): Likewise.
648         (__ASSUME_SOCK_CLOEXEC): Likewise.
649         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
650         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
651         0x020621].
652         (__ASSUME_PIPE2): Likewise.
653         (__ASSUME_EVENTFD2): Likewise.
654         (__ASSUME_SIGNALFD4): Likewise.
655         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
656         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
657         Do not define.
658         (__ASSUME_EVENTFD2): Likewise.
659         (__ASSUME_SIGNALFD4): Likewise.
660         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
661         (__ASSUME_32BITUIDS): Likewise.
662         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
663         (__ASSUME_IPC64): Likewise.
664         (__ASSUME_ST_INO_64_BIT): Likewise.
665         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
666         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
667         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
668         (__ASSUME_UTIMES): Do not define.
669         (__ASSUME_PSELECT): Likewise.
670         (__ASSUME_PPOLL): Likewise.
671         (__ASSUME_O_CLOEXEC): Likewise.
672         (__ASSUME_SOCK_CLOEXEC): Likewise.
673         (__ASSUME_IN_NONBLOCK): Likewise.
674         (__ASSUME_PIPE2): Likewise.
675         (__ASSUME_EVENTFD2): Likewise.
676         (__ASSUME_SIGNALFD4): Likewise.
677         (__ASSUME_DUP3): Likewise.
678         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
679         (__ASSUME_UTIMES): Likewise.
680         (__ASSUME_O_CLOEXEC): Likewise.
681         (__ASSUME_SOCK_CLOEXEC): Likewise.
682         (__ASSUME_IN_NONBLOCK): Likewise.
683         (__ASSUME_PIPE2): Likewise.
684         (__ASSUME_EVENTFD2): Likewise.
685         (__ASSUME_SIGNALFD4): Likewise.
686         (__ASSUME_DUP3): Likewise.
687         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
688         (__ASSUME_UTIMES): Likewise.
689         (__ASSUME_O_CLOEXEC): Likewise.
690         (__ASSUME_SOCK_CLOEXEC): Likewise.
691         (__ASSUME_IN_NONBLOCK): Likewise.
692         (__ASSUME_PIPE2): Likewise.
693         (__ASSUME_EVENTFD2): Likewise.
694         (__ASSUME_SIGNALFD4): Likewise.
695         (__ASSUME_DUP3): Likewise.
696         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
697         Likewise.
698         (__ASSUME_UTIMES): Likewise.
699         (__ASSUME_EVENTFD2): Likewise.
700         (__ASSUME_SIGNALFD4): Likewise.
701         * sysdeps/unix/sysv/linux/tile/kernel-features.h
702         (__ASSUME_O_CLOEXEC): Likewise.
703         (__ASSUME_SOCK_CLOEXEC): Likewise.
704         (__ASSUME_IN_NONBLOCK): Likewise.
705         (__ASSUME_PIPE2): Likewise.
706         (__ASSUME_EVENTFD2): Likewise.
707         (__ASSUME_SIGNALFD4): Likewise.
708         (__ASSUME_DUP3): Likewise.
709         (__ASSUME_UTIMES): Undefine.
711         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
712         feclearexcept.  Remove symbol versioning code.
713         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
714         symbol versioning code.
715         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
716         symbol versioning code.
717         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
718         feupdateenv.  Remove symbol versioning code.
719         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
720         fegetexceptflag.  Remove symbol versioning code.
721         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
722         fesetexceptflag.  Remove symbol versioning code.
723         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
724         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
725         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
726         (__posix_fadvise64_l32): Remove prototype.
727         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
728         code.
730 2014-05-13  Roland McGrath  <roland@hack.frob.com>
732         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
733         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
734         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
735         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
737 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
739         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
740         current working directory
742 2014-05-13  Roland McGrath  <roland@hack.frob.com>
744         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
745         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
746         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
747         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
748         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
749         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
750         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
751         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
752         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
753         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
754         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
755         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
756         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
757         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
758         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
759         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
760         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
761         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
762         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
763         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
764         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
765         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
766         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
767         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
768         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
769         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
770         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
771         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
772         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
773         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
774         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
775         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
776         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
777         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
778         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
779         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
780         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
781         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
782         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
783         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
784         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
785         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
787         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
788         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
790         * sysdeps/unix/sysv/linux/arm/Makefile
791         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
792         Add rt-aeabi_unwind_cpp_pr1.
793         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
794         Add nptl-aeabi_unwind_cpp_pr1.
795         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
796         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
797         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
798         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
799         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
800         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
802         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
803         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
804         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
805         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
807         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
808         Deconditionalize the code that was previously under [RESET_PID].
809         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
811         * sysdeps/generic/exit-thread.h: New file.
812         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
813         * include/unistd.h (__exit_thread): Remove declaration.
814         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
815         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
816         * csu/libc-start.c: Include <exit-thread.h>.
817         (LIBC_START_MAIN): Pass no argument to __exit_thread.
818         * nptl/pthread_create.c: Include <exit-thread.h>.
819         (start_thread): Call __exit_thread in place of __exit_thread_inline.
820         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
821         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
822         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
823         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
824         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
825         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
826         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
827         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
828         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
829         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
830         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
831         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
832         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
833         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
834         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
835         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
837 2014-05-13  Andreas Schwab  <schwab@suse.de>
839         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
841 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
843         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
844         (__ASSUME_UTIMES): Do not condition on kernel version.
845         (__ASSUME_PSELECT): Define unconditionally.
846         (__ASSUME_PPOLL): Likewise.
847         (__ASSUME_ATFCTS): Likewise.
848         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
849         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
850         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
851         (__ASSUME_UTIMENSAT): Define unconditionally.
852         (__ASSUME_PRIVATE_FUTEX): Likewise.
853         (__ASSUME_FALLOCATE): Likewise.
854         (__ASSUME_O_CLOEXEC): Likewise.
855         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
856         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
857         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
858         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
859         (__ASSUME_IN_NONBLOCK): Likewise.
860         (__ASSUME_PIPE2): Likewise.
861         (__ASSUME_EVENTFD2): Likewise.
862         (__ASSUME_SIGNALFD4): Likewise.
863         (__ASSUME_DUP3): Likewise.
864         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
865         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
866         (__ASSUME_AT_RANDOM): Likewise.
867         (__ASSUME_PREADV): Likewise.
868         (__ASSUME_PWRITEV): Likewise.
869         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
870         (__ASSUME_F_GETOWN_EX): Define unconditionally.
871         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
872         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
873         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
874         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
875         (__ASSUME_O_CLOEXEC): Define unconditionally.
876         (__ASSUME_PSELECT): Do not undefine conditionally.
877         (__ASSUME_PPOLL): Likewise.
878         (__ASSUME_ATFCTS): Likewise.
879         (__ASSUME_SET_ROBUST_LIST): Likewise.
880         (__ASSUME_UTIMENSAT): Likewise.
881         (__ASSUME_FDATASYNC): Define unconditionally.
882         * sysdeps/unix/sysv/linux/arm/kernel-features.h
883         (__ASSUME_SIGFRAME_V2): Likewise.
884         )__ASSUME_EVENTFD2): Likewise.
885         (__ASSUME_SIGNALFD4): Likewise.
886         (__ASSUME_PSELECT): Do not undefine conditionally.
887         (__ASSUME_PPOLL): Likewise.
888         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
889         (__ASSUME_PSELECT): Define unconditionally.
890         (__ASSUME_PPOLL): Likewise.
891         (__ASSUME_O_CLOEXEC): Likewise.
892         (__ASSUME_SOCK_CLOEXEC): Likewise.
893         (__ASSUME_IN_NONBLOCK): Likewise.
894         (__ASSUME_PIPE2): Likewise.
895         (__ASSUME_EVENTFD2): Likewise.
896         (__ASSUME_SIGNALFD4): Likewise.
897         (__ASSUME_DUP3): Likewise.
898         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
899         (__ASSUME_O_CLOEXEC): Likewise.
900         (__ASSUME_SOCK_CLOEXEC): Likewise.
901         (__ASSUME_IN_NONBLOCK): Likewise.
902         (__ASSUME_PIPE2): Likewise.
903         (__ASSUME_EVENTFD2): Likewise.
904         (__ASSUME_SIGNALFD4): Likewise.
905         (__ASSUME_DUP3): Likewise.
906         * sysdeps/unix/sysv/linux/mips/kernel-features.h
907         (__ASSUME_EVENTFD2): Likewise.
908         (__ASSUME_SIGNALFD4): Likewise.
909         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
911 2014-05-12  Andreas Schwab  <schwab@suse.de>
913         [BZ #16932]
914         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
915         (_nss_nis_gethostbyname4_r): Return error if item length is larger
916         than maximum RPC packet size.
917         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
918         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
919         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
920         (_nss_nis_getservbyport_r): Likewise.
922 2014-05-12  Will Newton  <will.newton@linaro.org>
924         * malloc/Makefile (tests): Add tst-mallopt.
925         * malloc/tst-mallopt.c: New file.
927 2014-05-09  Roland McGrath  <roland@hack.frob.com>
929         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
930         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
932 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
934         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
935         (tst-tlsmod6.so): Likewise.
937 2014-05-09  Roland McGrath  <roland@hack.frob.com>
939         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
941 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
943         [BZ #16064]
944         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
945         and <dl-procinfo.h>.
946         (__fegetenv): Save SSE state in envp->__eip if supported.
947         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
948         envp->__eip if supported.
949         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
950         and <dl-procinfo.h>.
951         (__fesetenv): Always set __eip, __cs_selector, __opcode,
952         __data_offset and __data_selector in environment to 0.  Set SSE
953         state if supported.
954         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
955         test-fenv-sse.
956         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
957         -mfpmath=sse.
958         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
960 2014-05-09  Will Newton  <will.newton@linaro.org>
962         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
963         and libc_relro_required for ARM.
964         * sysdeps/arm/preconfigure: Regenerate.
966 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
967             Stefan Liebler  <stli@linux.vnet.ibm.com>
969         * config.make.in (enable-lock-elision): New Makefile variable.
970         * configure.ac: Likewise.
971         * configure: Regenerate.
972         * sysdeps/s390/configure.ac:
973         Add check for gcc transactions support.
974         * sysdeps/s390/configure: Regenerate.
975         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
976         Build elision files if enabled.
977         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
978         Add lock elision support for s390.
979         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
980         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
981         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
982         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
983         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
984         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
985         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
986         Likewise.
987         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
988         Likewise.
989         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
990         Likewise.
991         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
992         Likewise.
993         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
994         (__lll_timedlock_elision, __lll_lock_elision)
995         (__lll_unlock_elision, __lll_trylock_elision)
996         (lll_timedlock_elision, lll_lock_elision)
997         (lll_unlock_elision, lll_trylock_elision): Add.
998         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
999         (pthread_mutex_t): Add lock elision support for s390.
1001 2014-05-14  Wilco  <wdijkstr@arm.com>
1003         * sysdeps/arm/fclrexcpt.c: Optimize to avoid unnecessary FPSCR writes.
1004         * sysdeps/arm/fedisblxcpt.c: Likewise.
1005         * sysdeps/arm/feenablxcpt.c: Likewise.
1006         * sysdeps/arm/fegetround.c: Call (get_rounding_mode).
1007         * sysdeps/arm/feholdexcpt.c: Call optimized (libc_feholdexcept_vfp).
1008         * sysdeps/arm/fesetenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1009         Call optimized (libc_fesetenv_vfp).
1010         * sysdeps/arm/fesetround.c: Call optimized (libc_fesetround_vfp).
1011         * sysdeps/arm/feupdateenv.c: Special case FE_DFL_ENV and FE_NOMASK_ENV.
1012         Call optimized (libc_feupdateenv_vfp).
1013         * sysdeps/arm/fgetexcptflg.c: Call optimized (libc_fetestexcept_vfp).
1014         * sysdeps/arm/fsetexcptflg.c: Optimize to avoid unnecessary FPSCR
1015         writes.
1016         * sysdeps/arm/ftestexcept.c: Call optimized (libc_fetestexcept_vfp).
1017         * sysdeps/arm/setfpucw.c: Optimize to avoid unnecessary FPSCR writes.
1019 2014-05-14  Wilco  <wdijkstr@arm.com>
1021         * sysdeps/arm/fclrexcpt.c: Cleanup.
1022         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1023         * sysdeps/arm/feenablxcpt.c: Cleanup.
1024         * sysdeps/arm/fegetenv.c: Cleanup.
1025         * sysdeps/arm/fegetexcept.c: Cleanup.
1026         * sysdeps/arm/fegetround.c: Cleanup.
1027         * sysdeps/arm/feholdexcpt.c: Cleanup.
1028         * sysdeps/arm/fesetenv.c: Cleanup.
1029         * sysdeps/arm/fesetround.c: Cleanup.
1030         * sysdeps/arm/feupdateenv.c: Cleanup.
1031         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1032         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1033         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1034         * sysdeps/arm/ftestexcept.c: Cleanup.
1035         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1036         * sysdeps/arm/setfpucw.c: Cleanup.
1038 2014-05-09  Will Newton  <will.newton@linaro.org>
1040         * sysdeps/arm/armv7/strcmp.S: New file.
1041         * NEWS: Mention addition of ARMv7 optimized strcmp.
1043 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1045         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1046         look for %.ac rather than %.in.
1048         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1049         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1050         * sysdeps/mach/hurd/configure: Regenerated.
1051         * sysdeps/unix/sysv/linux/configure: Regenerated.
1053         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1055 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1057         [BZ# 16922]
1058         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1059         (LONG_SUB): Ditto.
1060         (PTR_SUB): Ditto.
1062 2014-05-07  Andreas Schwab  <schwab@suse.de>
1064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1065         when skipping over non-matching result from nscd.
1067 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1069         [BZ #16876]
1070         * nptl/sockperf.c (client): Check socket return value.
1072         [BZ #16877]
1073         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1074         nscd security class.
1076 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1078         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1079         * sysdeps/arm/unwind.h: ... here.
1081 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1083         [BZ# 16916]
1084         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1085         Define.
1087 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1089         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1090         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1091         multiarch strncpy for PPC64.
1092         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1093         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1095         multiarch optimizations.
1096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1097         (__libc_ifunc_impl_list): Likewise.
1098         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1099         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1100         multiarch stpncpy for PPC64.
1101         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1102         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1104 2014-05-06  Andreas Schwab  <schwab@suse.de>
1106         [BZ #16912]
1107         * gmon/mcount.c (_MCOUNT_DECL): Use
1108         atomic_compare_and_exchange_bool_acq instead of
1109         catomic_compare_and_exchange_bool_acq.
1111 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1113         * elf/Makefile (others, install-bin): Remove pldd.
1114         (pldd-modules): Variable removed.
1115         ($(objpfx)pldd): Target removed.
1116         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1117         (others, install-bin): Append pldd here.
1118         ($(objpfx)pldd): New target.
1120         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1121         to 0, so the first #if test emitted later doesn't see it undefined.
1122         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1123         * sysdeps/gnu/errlist.c: Regenerated.
1125 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1127         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1128         [libc_hidden_builtin_def]: Define to empty value.
1129         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1130         [libc_hidden_builtin_def]: Likewise.
1131         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1132         [libc_hidden_builtin_def]: Likewise.
1133         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1134         [libc_hidden_builtin_def]: Likewise.
1135         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1136         __redirect_memcpy and define ifunc as default hidden symbol.
1137         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1138         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1140 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1142         * locale/iso-4217.def: Reintroduce XDR currency.
1144 2014-05-04  Allan McRae  <allan@archlinux.org>
1146         * po/eo.po: Update Esperanto translation from translation project.
1148 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1150         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1151         and FEATURE_INDEX_MAX to 1.
1152         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1154 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1156         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1157         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1158         * iconvdata/big5.c (ONE_DIRECTION): Define.
1159         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1160         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1161         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1162         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1163         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1164         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1165         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1166         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1167         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1168         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1169         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1170         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1171         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1172         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1173         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1174         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1175         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1176         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1177         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1178         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1179         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1180         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1181         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1182         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1183         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1184         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1185         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1186         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1187         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1188         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1189         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1190         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1191         * iconvdata/johab.c (ONE_DIRECTION): Define.
1192         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1193         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1194         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1195         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1196         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1197         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1198         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1199         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1200         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1201         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1203 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1205         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1206         (_IO_JUMPS_OFFSET): Define to 0.
1208         * nptl/sysdeps/pthread/bits/libc-lock.h
1209         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1210         (__libc_lock_define_initialized_recursive): Always define using
1211         initializer.  Modern compilers treat uninitialized (implicit zero) and
1212         explicit zero initializers the same (i.e. put the datum in bss).
1214 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1216         * nscd/nscd-client.h: Include <string.h>.
1218 2014-05-01  David S. Miller  <davem@davemloft.net>
1220         [BZ #16885]
1221         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1222         multiple zero bytes exist at the end of a string.
1223         Reported by Aurelien Jarno <aurelien@aurel32.net>
1225         * string/test-strcmp.c (check): Add explicit test for situations where
1226         there are multiple zero bytes after the first.
1228 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1230         [BZ #16890]
1231         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1232         when compiling wprintf.
1233         * stdio-common/tstdiomisc.c (t3): New function.
1234         (main): Call it.
1236 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1238         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1239         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1240         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1241         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1243 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1245         * stdlib/longlong.h: Updated from GCC.
1247 2014-05-01  Will Newton  <will.newton@linaro.org>
1248             Bernard Ogden  <bernie.ogden@linaro.org>
1250         * NEWS: Update fixed bug list.
1252         [BZ #15119]
1253         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1255 2014-04-30  David S. Miller  <davem@davemloft.net>
1257         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1258         (libc_feholdexcept_setround_sparc_ctx): New function.
1259         (libc_fesetenv_sparc_ctx): Likewise.
1260         (libc_feupdateenv_sparc_ctx): Likewise.
1261         (libc_feholdsetround_sparc_ctx): Likewise.
1262         (libc_feholdexcept_setround_ctx): Define.
1263         (libc_feholdexcept_setroundf_ctx): Likewise.
1264         (libc_feholdexcept_setroundl_ctx): Likewise.
1265         (libc_fesetenv_ctx): Likewise.
1266         (libc_fesetenvf_ctx): Likewise.
1267         (libc_fesetenvl_ctx): Likewise.
1268         (libc_feupdateenv_ctx): Likewise.
1269         (libc_feupdateenvf_ctx): Likewise.
1270         (libc_feupdateenvl_ctx): Likewise.
1271         (libc_feresetround_ctx): Likewise.
1272         (libc_feresetroundf_ctx): Likewise.
1273         (libc_feresetroundl_ctx): Likewise.
1274         (libc_feholdsetround_ctx): Likewise.
1275         (libc_feholdsetroundf_ctx): Likewise.
1276         (libc_feholdsetroundl_ctx): Likewise.
1278         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1279         with __USE_GNU instead of XOPEN cpp guards.
1281         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1282         0.
1284         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1285         with XOPEN cpp guards.
1287 2014-04-30  Julian Brown  <julian@codesourcery.com>
1289         [BZ #16888]
1290         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1291         handling.
1293 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1295         [BZ #9894]
1296         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1297         Change to 2.6.32.
1298         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1299         * sysdeps/unix/sysv/linux/configure: Regenerated.
1300         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1301         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1302         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1303         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1304         * README: Update reference to required Linux kernel version.
1305         * manual/install.texi (Linux): Update reference to required Linux
1306         kernel headers version.
1307         * INSTALL: Regenerated.
1309         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1310         header inclusion.
1311         [POSIX] (limits.h): Likewise.
1312         [POSIX] (math.h): Likewise.
1313         [POSIX] (sys/wait.h): Likewise.
1314         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1315         function.
1316         [POSIX] (stddef.h): Do not allow header inclusion.
1318 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1320         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1322 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1324         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1325         Return immediately after lll_futex_wake.
1327 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1329         [BZ #16791]
1330         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1331         structure.
1332         (datahead_init_pos): Call datahead_init_common early.
1333         (datahead_init_neg): Likewise.
1335         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1336         datahead_init_neg): New functions.
1337         * nscd/aicache.c (addhstaiX): Use them.
1338         * nscd/grpcache.c (cache_addgr): Likewise.
1339         * nscd/hstcache.c (cache_addhst): Likewise.
1340         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1341         * nscd/netgroupcache.c (do_notfound): Likewise.
1342         (addgetnetgrentX): Likewise.
1343         (addinnetgrX): Likewise.
1344         * nscd/pwdcache.c (cache_addpw): Likewise.
1345         * nscd/servicescache.c (cache_addserv): Likewise.
1347 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1348             Atsushi Onoe  <atsushi@onoe.org>
1350         [BZ #14308]
1351         [BZ #12994]
1352         [BZ #13651]
1353         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1354         one response is valid.
1355         * resolv/res_send.c (send_dg): Check for validity of other
1356         response if the current response is a referral.
1358 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1360         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1362 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1364         [BZ #16823]
1365         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1366         Always divide by positive zero when computing -Inf result.
1367         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1368         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1370 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1372         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1373         FPSCR if value do not change.
1374         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1375         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1376         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1377         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1378         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1379         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1380         function.
1382 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1384         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1385         * sysdeps/unix/sysv/linux/hppa: Move directory from
1386         ports/systeps/unix/sysv/linux/hppa.
1387         * README: Update listing for hppa-*-linux-gnu.
1389 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1391         [BZ #16754]
1392         * manual/stdio.texi (Hook functions): Fix types of stream hook
1393         functions.
1394         [BZ #16854]
1395         * socket/sys/socket.h: Fix typo in comment.
1397 2014-04-28  Wilco  <wdijkstr@arm.com>
1399         * sysdeps/arm/fenv_private.h: New file.
1400         * sysdeps/arm/math_private.h: New file.
1401         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1403 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1405         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1406         with __int128_t.
1407         (La_x86_64_retval): Likewise.
1409 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1411         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1412         fpsr if value didn't change.
1413         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1414         to fpcr if value didn't change.
1415         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1416         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1417         fpsr or fpcr if value didn't change.
1418         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1419         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1420         fpcr if value didn't change.
1421         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1422         to fpsr if value didn't change.
1424 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1426         * nptl/tst-sem3.c: Use test-skeleton.c
1427         (main): Rename to do_test.  Use return instead of
1428         exit.
1429         * nptl/tst-sem4.c: Use test-skeleton.c
1430         (main): Rename to do_test.
1432 2014-04-22  David S. Miller  <davem@davemloft.net>
1434         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1435         (struct sigaction): New struct member __glibc_reserved0, change
1436         type of sa_flags to int.
1438 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1440         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1441         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1443 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1445         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1446         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1448 2014-04-22  Will Newton  <will.newton@linaro.org>
1449             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1451         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1452         (__longjmp): Add longjmp and longjmp_target SystemTap
1453         probes.
1454         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1455         (__sigsetjmp): Add setjmp SystemTap probe.
1457 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1459         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1460         match manual order.
1462 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1464         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1466         * sysdeps/powerpc/fpu/fenv_private.h
1467         (libc_feholdexcept_setroundl_ctx): Define to
1468         libc_feholdexcept_setround_ppc_ctx.
1469         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1470         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1471         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1472         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1474 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1476         * sysdeps/aarch64/math-tests.h: New file.
1478 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1480         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1481         New.
1482         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1483         Check and set bit_AVX2_Usable.
1484         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1485         macro.
1486         (bit_AVX2): Likewise.
1487         (index_AVX2_Usable): Likewise.
1488         (CPUID_AVX2): Likewise.
1489         (HAS_AVX2): Likewise.
1491 2014-04-17  Will Newton  <will.newton@linaro.org>
1493         * manual/setjmp.texi (System V contexts): Add note that
1494         calling setcontext on a context created by a call to a
1495         signal handler is undefined.  Update text to note that
1496         setcontext from a signal handler is possible but not
1497         recommended.
1499         [BZ #16629]
1500         * stdlib/tst-setcontext.c: Include signal.h.
1501         (main): Check that the signal stack before and
1502         after swapcontext is the same.
1504         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1505         Re-implement to restore registers in user code and avoid
1506         rt_sigreturn system call.
1508 2014-04-17  Wilco  <wdijkstr@arm.com>
1510         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1511         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1512         * math/test-fenv.c: Skip exception trap tests on targets which only
1513         support non-stop mode.
1515 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1516             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1518         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1519         (libc_feholdsetround_aarch64_ctx)
1520         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1521         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1522         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1523         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1524         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1525         (libc_feresetround_noexl_ctx): Define.
1527 2014-04-16  Richard Henderson  <rth@redhat.com>
1529         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1531         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1532         unwind tables.
1534         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1535         const from the non-libc, non-ldso copy.
1537         * sysdeps/alpha/libm-test-ulps: Regenerate.
1539 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1540             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1542         * sysdeps/aarch64/fpu/math_private.h: New file.
1544 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1546         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1548 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1550         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1551         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1552         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1553         Intel MPX bound registers before _dl_profile_fixup.
1554         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1555         registers after _dl_profile_fixup.  Save and restore bound
1556         registers bnd0/bnd1 when calling _dl_call_pltexit.
1557         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1558         (LR_BND_OFFSET): Likewise.
1559         (LRV_BND0_OFFSET): Likewise.
1560         (LRV_BND1_OFFSET): Likewise.
1562 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1564         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1565         to...
1566         * sysdeps/mach/hurd/i386/tls.h: ... here.
1567         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1568         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1569         fields.
1571 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1573         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1575 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1577         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1579 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1581         [BZ #14770]
1582         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1583         * sysdeps/s390/configure: Regenerate.
1585         [BZ #16824]
1586         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1587         Set round-to-nearest internally to reduce error accumulation.
1589 2014-04-16  Alan Modra  <amodra@gmail.com>
1591         [BZ #16740]
1592         [BZ #16619]
1593         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1594         * math/libm-test.inc (frexp_test_data): Add tests.
1595         * NEWS: Update fixed bug list.
1597 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1599         * benchtests/Makefile: Depend on libraries in build directory.
1600         (bench-math): Separate out math tests.
1601         (bench-pthread): Separate out pthread tests.
1602         (bench): Include math and pthread tests.
1604 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1606         [BZ #16831]
1607         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1608         _dl_debug_initialize.
1610         * configure.ac: Remove SELinux header check.
1611         * configure: Regenerate.
1612         * nscd/selinux.c (perms): Array of const char* to permission names.
1613         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1614         default policy. Call string_to_security_class and string_to_av_perm to
1615         translate strings. Enforce default policy and call avs_has_perm with
1616         results of translated strings.
1618 2014-04-13  David S. Miller  <davem@davemloft.net>
1620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1622 2014-04-12  Allan McRae  <allan@archlinux.org>
1624         [BZ #16838]
1625         * manual/string.texi (Collation Functions): Fix qsort argument
1626         order in example.
1627         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1629 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1631         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1632         Make the test a no-op if there are no exceptions defined.
1634 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1636         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1637         enable-hardcoded-path-in-tests
1639 2014-04-11  Will Newton  <will.newton@linaro.org>
1641         * benchtests/Makefile (extra-objs): Add json-lib.o.
1642         (bench-func): Tidy up JSON output.
1643         * benchtests/bench-skeleton.c: Include json-lib.h.
1644         (main): Use JSON library functions to do output of
1645         benchmark results.
1646         * benchtests/bench-timing-type.c (main): Output the
1647         timing type simply, leaving formatting to the user.
1648         * benchtests/json-lib.c: New file.
1649         * benchtests/json-lib.h: Likewise.
1651 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1653         [BZ #15215]
1654         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1655         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1656         memory barriers.  Add comments.
1657         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1658         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1659         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1660         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1661         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1662         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1664 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1666         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1667         * sysdeps/s390/s390-64/configure.ac: ... this ...
1668         * sysdeps/s390/configure.ac: ... to here.
1669         * sysdeps/s390/s390-32/configure: Delete file.
1670         * sysdeps/s390/s390-64/configure: Delete file.
1671         * sysdeps/s390/configure: Regenerate.
1673 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1675         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1677 2014-04-11  Will Newton  <will.newton@linaro.org>
1679         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1680         to zero if it is not defined elsewhere.  (mtrim): Test
1681         the value of MALLOC_DEBUG with #if rather than #ifdef.
1683 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1685         * benchtests/pthread_once-inputs: New file.
1686         * benchtests/pthread_once-source.c: New file.
1687         * benchtests/README: Update documentation.
1689 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1690             H.J. Lu  <hongjiu.lu@intel.com>
1692         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1693         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1694         * sysdeps/x86_64/configure: Regenerated.
1695         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1696         macro.
1697         (REGISTER_SAVE_RAX): Likewise.
1698         (REGISTER_SAVE_RCX): Likewise.
1699         (REGISTER_SAVE_RDX): Likewise.
1700         (REGISTER_SAVE_RSI): Likewise.
1701         (REGISTER_SAVE_RDI): Likewise.
1702         (REGISTER_SAVE_R8): Likewise.
1703         (REGISTER_SAVE_R9): Likewise.
1704         (REGISTER_SAVE_BND0): Likewise.
1705         (REGISTER_SAVE_BND1): Likewise.
1706         (REGISTER_SAVE_BND2): Likewise.
1707         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1708         bound registers when calling _dl_fixup.
1710 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1712         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1713         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1714         of its definition.
1715         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1716         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1717         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1718         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1719         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1720         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1721         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1723 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1725         [BZ #15514]
1726         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1727         pathconf(_PC_NAME_MAX).
1729 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1731         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1732         Remove macro usage.
1733         (__PTHREAD_SPINS): Move definition to ...
1734         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1735         (__PTHREAD_SPINS): ... here.
1736         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1737         (__PTHREAD_SPIN): Likewise.
1738         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1739         (__PTHREAD_SPIN): Likewise.
1740         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1741         (__PTHREAD_SPIN): Likewise.
1742         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1743         (__PTHREAD_SPIN): Likewise.
1744         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1745         (__PTHREAD_SPIN): Likewise.
1746         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1747         (__PTHREAD_SPIN): Likewise.
1748         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1749         (__PTHREAD_SPIN): Likewise.
1750         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1751         (__PTHREAD_SPIN): Likewise.
1752         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1753         (__PTHREAD_SPIN): Likewise.
1754         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1755         (__PTHREAD_SPIN): Likewise.
1756         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1757         (__PTHREAD_SPIN): Likewise.
1758         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1759         (__PTHREAD_SPIN): Likewise.
1761         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1762         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1763         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1764         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1765         imply folder.
1766         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1767         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1768         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1769         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1770         correct imply path.
1771         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1772         strlen symbol for non multi-arch builds.
1773         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1774         missing hidden_def and weak_alias.
1776 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1778         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1780 2014-04-07  Will Newton  <will.newton@linaro.org>
1782         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1783         and contents.  [!_LIBC] Remove #ifndef and contents.
1784         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1785         * string/memccpy.c (__memccpy): Use ANSI prototype.
1786         * string/memfrob.c (memfrob): Likewise.
1787         * string/strcoll.c (STRCOLL): Likewise.
1788         * string/strlen.c (strlen): Likewise.
1789         * string/strtok.c (STRTOK): Likewise.
1790         * string/strcat.c: Remove unused #include of memcopy.h.
1791         (strcat): Use ANSI prototype.
1792         * string/strchr.c: Remove unused #include of memcopy.h.
1793         (strchr): Use ANSI prototype.
1794         * string/strcmp.c: Remove unused #include of memcopy.h.
1795         (strcmp): Use ANSI prototype.
1796         * string/strcpy.c: Remove unused #include of memcopy.h.
1797         (strcpy): Use ANSI prototype.
1799 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1801         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1802         * config.make.in (config-extra-cppflags): Set it from
1803         libc_extra_cppflags.
1804         * configure.ac (libc_extra_cflags): Make it accumulate over
1805         configure fragments.
1806         (libc_extra_cppflags): New flag.
1807         * configure. Regenerate.
1808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1809         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1810         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1813         [BZ #16815]
1814         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1815         result for FE_DOWNWARD rounding mode.
1816         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1817         Likewise.
1818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1820 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1822         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1823         in function argument name.
1825 2014-04-03  David Svoboda  <svoboda@cert.org>
1827         [BZ #5666]
1828         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1829         explicitly.
1831 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1833         * elf/dl-unmap-segments.h: New file.
1834         * sysdeps/generic/ldsodefs.h
1835         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1836         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1837         * elf/dl-fptr.c: Likewise.
1838         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1839         * sysdeps/aarch64/tlsdesc.c: Likewise.
1840         * sysdeps/arm/tlsdesc.c: Likewise.
1841         * sysdeps/i386/tlsdesc.c: Likewise.
1842         * sysdeps/tile/dl-runtime.c: Likewise.
1843         * sysdeps/x86_64/tlsdesc.c: Likewise.
1844         * elf/dl-load.h: New file.
1845         * elf/dl-load.c: Include it.
1846         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
1847         Macros moved to dl-load.h.
1848         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
1849         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
1850         Use _dl_unmap_segments in place of __munmap.
1851         Break out segment-mapping loop into ...
1852         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
1854 2014-04-03  Will Newton  <will.newton@linaro.org>
1856         * elf/dl-lookup.c (do_lookup_x): Remove comment
1857         referring to nested function and move variable
1858         declarations down to before first use.
1860 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
1862         [BZ #16799]
1863         [BZ #16800]
1864         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
1865         with 0 numerator.
1866         * math/s_catanf.c (__catanf): Likewise.
1867         * math/s_catanh.c (__catanh): Likewise.
1868         * math/s_catanhf.c (__catanhf): Likewise.
1869         * math/s_catanhl.c (__catanhl): Likewise.
1870         * math/s_catanl.c (__catanl): Likewise.
1871         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
1872         by positive zero when computing -Inf result.
1873         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
1874         (catanh_test): Likewise.
1875         * sysdeps/i386/fpu/libm-test-ulps: Update.
1876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1878         [BZ #16789]
1879         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
1880         instead of using underflowing value in computing result.
1881         * math/s_clog10.c (__clog10): Likewise.
1882         * math/s_clog10f.c (__clog10f): Likewise.
1883         * math/s_clog10l.c (__clog10l): Likewise.
1884         * math/s_clogf.c (__clogf): Likewise.
1885         * math/s_clogl.c (__clogl): Likewise.
1886         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
1887         (clog10_test): Likewise.
1888         * sysdeps/i386/fpu/libm-test-ulps: Update.
1889         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1891 2014-04-02  Alan Modra  <amodra@gmail.com>
1893         [BZ #16739]
1894         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
1895         output when value is near a power of two.  Use int64_t for lx and
1896         remove casts.  Use decimal rather than hex exponent constants.
1897         Don't use long double multiplication when double will suffice.
1898         * math/libm-test.inc (nextafter_test_data): Add tests.
1899         * NEWS: Add 16739 and 16786 to bug list.
1901         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
1903         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
1905 2014-04-01  Will Newton  <will.newton@linaro.org>
1907         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
1908         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
1910 2014-04-01  Florian Weimer  <fweimer@redhat.com>
1912         [BZ #13347]
1913         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
1914         * nptl/tst-setuid2.c: New file.
1915         * nptl/Makefile (xtests): Add tst-setuid2.
1917 2014-04-01  Alan Modra  <amodra@gmail.com>
1919         [BZ #16786]
1920         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
1922 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1924         [BZ #6803]
1925         [BZ #6804]
1926         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
1927         set errno as appropriate.
1928         * math/w_scalbf.c (__scalbf): Likewise.
1929         * math/w_scalbl.c (__scalbl): Likewise.
1930         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
1931         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
1932         * math/libm-test.inc (scalb_test_data): Add errno expectations.
1933         Add more NaN tests.
1935         [BZ #16349]
1936         * math/w_atan2.c: Include <errno.h>.
1937         (__atan2): Set errno for result underflowing to zero.
1938         * math/w_atan2f.c: Include <errno.h>.
1939         (__atan2f): Set errno for result underflowing to zero.
1940         * math/w_atan2l.c: Include <errno.h>.
1941         (__atan2l): Set errno for result underflowing to zero.
1942         * math/auto-libm-test-in: Don't allow missing errno for some atan2
1943         tests.
1944         * math/auto-libm-test-out: Regenerated.
1946 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1948         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1949         Encode instruction correctly in little endian.
1950         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1951         Likewise.
1952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1953         Likewise.
1954         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1955         Likewise.
1956         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1957         Likewise.
1959 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
1961         [BZ #9894]
1962         * sysdeps/unix/sysv/linux/kernel-features.h
1963         [__sparc__ && !__arch64__ && !__sparc_v9__]
1964         (__ASSUME_SET_ROBUST_LIST): Do not define.
1965         [__sparc__ && !__arch64__ && !__sparc_v9__]
1966         (__ASSUME_FUTEX_LOCK_PI): Likewise.
1967         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
1968         Likewise.
1969         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1970         (__ASSUME_FUTEX_LOCK_PI): Undefine.
1971         (__ASSUME_REQUEUE_PI): Likewise.
1972         (__ASSUME_SET_ROBUST_LIST): Likewise.
1973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1974         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
1975         Undefine.
1976         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1977         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
1978         Likewise.
1979         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
1980         Likewise.
1981         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
1982         Likewise.
1983         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1984         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
1985         Undefine.
1986         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
1987         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
1988         Likewise.
1990         [BZ #16648]
1991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1992         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
1993         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
1995 2014-03-31  Will Newton  <will.newton@linaro.org>
1997         * benchtests/Makefile (bench): Add ffs and ffsll to list
1998         of tests.
1999         * benchtests/ffs-inputs: New file.
2000         * benchtests/ffsll-inputs: Likewise.
2002 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2004         [BZ #16770]
2005         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2006         too large before casting to int.
2007         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2008         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2009         * math/libm-test.inc (scalb_test_data): Add more tests.
2011 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2013         * benchtests/Makefile (DETAILED_OPT): New make option.
2014         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2015         set.
2016         * benchtests/bench-skeleton.c: Include stdbool.h.
2017         (main): Store and print timings per input.
2018         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2019         member to each argument value.
2020         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2021         (_print_arg_data): Initialize per-input timing to 0.
2023         * benchtests/Makefile (timing-type): New binary.
2024         (bench-clean): Also remove bench-timing-type.
2025         (bench): New target for timing-type.
2026         (bench-func): Print output in JSON format.
2027         * benchtests/bench-skeleton.c (main): Print output in JSON
2028         format.
2029         * benchtests/bench-timing-type.c: New file.
2030         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2031         (TIMING_PRINT_STATS): Remove.
2032         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2033         name separately.
2035         * benchtests/bench-modf.c: Remove.
2036         * benchtests/modf-inputs: New inputs file.
2038 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2040         [BZ #16362]
2041         * math/s_clog10.c (M_PI_LOG10E): New macro.
2042         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2043         imaginary parts are 0.
2044         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2045         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2046         imaginary parts are 0.
2047         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2048         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2049         imaginary parts are 0.
2050         * math/libm-test.inc (clog10_test_data): Update expected results
2051         for when real and imaginary parts are 0.
2053 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2055         * elf/dl-load.c: Finish conversion of __builtin_expect into
2056         __glibc_{un}likely.
2058 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2060         [BZ #16348]
2061         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2062         1+x for argument with exponent below -67.
2063         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2064         Likewise.
2065         * math/auto-libm-test-in: Add more tests of exp.
2066         * math/auto-libm-test-out: Regenerated.
2068 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2070         [BZ #16759]
2071         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2072         (nscd_getnetgrent): Use it.
2074         [BZ #16760]
2075         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2076         of stpcpy.
2078 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2080         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2081         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2082         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2083         (lll_robust_unlock): Remove out of line section. Use cfi
2084         intrinsics.
2085         (LLL_STUB_UNWIND_INFO*): Remove.
2086         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2087         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2088         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2089         (lll_robust_unlock): Remove out of line section. Use cfi
2090         intrinsics.
2091         (LLL_STUB_UNWIND_INFO*): Remove.
2093 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2095         [BZ #16758]
2096         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2097         blank values.
2099 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2101         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2103 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2105         [BZ #16198]
2106         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2107         fnstenv.
2108         * math/test-fenv-preserve.c: New file.
2109         * math/Makefile (tests): Add test-fenv-preserve.
2111 2014-03-26  Will Newton <will.newton@linaro.org>
2113         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2115 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2117         * scripts/versionlist.awk: Partition the version sets and emit all
2118         GLIBC_* (sorted) before all others (sorted).
2120 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2122         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2123         GLIBC_2.2.5 version.
2125 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2127         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2128         calls.
2130         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2131         previous change.
2133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2135 2014-03-25  Andreas Schwab  <schwab@suse.de>
2137         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2138         label to be used after in6ailist is initialized.
2140 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2142         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2143         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2145 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2147         [BZ #16357]
2148         [BZ #16599]
2149         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2150         min_plus_half.
2151         (fp_formats): Update initializers.
2152         (init_fp_formats): Initialize new field.
2153         (output_for_one_input_case): Allow underflow for results up to
2154         min_plus_half.
2155         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2156         * math/auto-libm-test-in: Don't mark some underflows from asin and
2157         atanh as spurious.
2158         * math/auto-libm-test-out: Regenerated.
2159         * sysdeps/i386/fpu/libm-test-ulps: Update.
2160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2162 2014-03-25  Andreas Schwab  <schwab@suse.de>
2164         * libio/Makefile (tst-ftell-partial-wide-ENV)
2165         (tst-ftell-active-handler-ENV): Define.
2167 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2169         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2171 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2173         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2175 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2177         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2178         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2179         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2181 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2183         [BZ #16634]
2184         * elf/dl-load.c (open_verify): Add mode parameter.
2185         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2186         (open_path): Change from boolean 'secure' to complete flag 'mode'
2187         (_dl_map_object): Adjust.
2188         * elf/Makefile (tests): Add tst-dlopen-aout.
2189         * elf/tst-dlopen-aout.c: New test.
2191 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2193         [BZ #16714]
2194         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2195         (struct stat): Rename member pad0 to __glibc_reserved0.
2197         [BZ #16712]
2198         * sysdeps/s390/s390-32/bits/wordsize.h
2199         (__WORDSIZE32_SIZE_ULONG): New define.
2200         * sysdeps/s390/s390-64/bits/wordsize.h
2201         (__WORDSIZE32_SIZE_ULONG): Likewise.
2202         * sysdeps/generic/stdint.h (SIZE_MAX):
2203         Define as UL if __WORDSIZE32_SIZE_ULONG.
2205         [BZ #16713]
2206         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2207         (__glibc_reserved0): New variable.
2208         (sa_flags): Change type to int.
2210         * posix/Makefile (before-compile): Use += before-compile instead
2211         of a :=.
2213         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2214         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2216 2014-03-20  Andreas Schwab  <schwab@suse.de>
2218         [BZ #16743]
2219         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2220         non-matching result from nscd.
2222 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2224         * scripts/bench.py: Moved to ...
2225         * benchtests/scripts/bench.py: ... here.
2226         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2228 2014-03-24  Andreas Schwab  <schwab@suse.de>
2230         [BZ #16002]
2231         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2232         alloca_account and account alloca use for struct in6ailist.
2234 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2236         [BZ #16284]
2237         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2238         rounding mode to recompute results that overflow to infinity or
2239         underflow to zero.
2240         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2241         bug 16284.
2242         * math/auto-libm-test-out: Regenerated.
2243         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2244         (ccosh_test): Likewise.
2245         (csin_test_data): Use plus_oflow.
2246         (csin_test): Use ALL_RM_TEST.
2247         (csinh_test_data): Use plus_oflow.
2248         (csinh_test): Use ALL_RM_TEST.
2249         * sysdeps/i386/fpu/libm-test-ulps: Update.
2250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2254         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2255         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2256         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2258         [BZ #16731]
2259         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2260         when x - 1 is zero.
2261         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2262         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2263         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2264         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2265         argument is 1.
2266         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2267         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2268         zero.
2269         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2270         * sysdeps/i386/fpu/libm-test-ulps: Update.
2271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2273 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2275         * scripts/bench.pl: Remove file.
2276         * scripts/bench.py: New benchmark script.
2277         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2278         * benchtests/README: Mention python dependency.
2279         * scripts/pylintrc: New file.
2280         * scripts/pylint: New file.
2282         * bits/mathdef.h: Use #ifdef instead of #if.
2283         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2284         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2285         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2286         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2287         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2288         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2290 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2291             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2293         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2294         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2295         and strpbrk-ppc64 objects.
2296         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2297         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2298         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2299         multiarch strpbrk for POWER7.
2300         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2301         multiarch strpbrk for PPC64.
2302         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2303         ifunc selector.
2304         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2305         strpbrk for POWER7.
2307 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2309         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2310         (atan_test): Likewise.
2311         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2312         (atanh_test): Use ALL_RM_TEST.
2313         (atan2_test_data): Likewise.
2314         (cabs_test): Likewise.
2315         (cacosh_test): Likewise.
2316         (carg_test): Likewise.
2317         (casin_test): Likewise.
2318         (casinh_test): Likewise.
2319         (cbrt_test): Likewise.
2320         (csqrt_test): Likewise.
2321         (erf_test): Likewise.
2322         (erfc_test): Likewise.
2323         (pow10_test): Likewise.
2324         (exp2_test): Likewise.
2325         (hypot_test): Likewise.
2326         (j0_test): Likewise.
2327         (j1_test): Likewise.
2328         (lgamma_test): Likewise.
2329         (gamma_test): Likewise.
2330         (sincos_test): Likewise.
2331         (tanh_test): Likewise.
2332         (y0_test): Likewise.
2333         (y1_test): Likewise.
2334         * sysdeps/i386/fpu/libm-test-ulps: Update.
2335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2337 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2339         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2341         and strcspn-ppc64 objects.
2342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2343         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2344         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2345         multiarch strcspn for POWER7.
2346         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2347         multiarch strcspn for PPC64.
2348         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2349         ifunc selector.
2350         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2351         strcspn for POWER7.
2353 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2355         * math/gen-libm-test.pl (generate_testfile): Expect only function
2356         name as argument to AUTO_TESTS_* and pass results for all rounding
2357         modes to parse_args.
2358         (parse_auto_input): Separate inputs of automatic tests from
2359         outputs before storing in %auto_tests.
2360         * math/libm-test.inc (acos_test_data): Update call to
2361         AUTO_TESTS_f_f.
2362         (acos_test): Use ALL_RM_TEST.
2363         (acos_tonearest_test_data): Remove.
2364         (acos_test_tonearest): Likewise.
2365         (acos_towardzero_test_data): Likewise.
2366         (acos_test_towardzero): Likewise.
2367         (acos_downward_test_data): Likewise.
2368         (acos_test_downward): Likewise.
2369         (acos_upward_test_data): Likewise.
2370         (acos_test_upward): Likewise.
2371         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2372         (asin_test_data): Likewise.
2373         (asin_test): Use ALL_RM_TEST.
2374         (asin_tonearest_test_data): Remove.
2375         (asin_test_tonearest): Likewise.
2376         (asin_towardzero_test_data): Likewise.
2377         (asin_test_towardzero): Likewise.
2378         (asin_downward_test_data): Likewise.
2379         (asin_test_downward): Likewise.
2380         (asin_upward_test_data): Likewise.
2381         (asin_test_upward): Likewise.
2382         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2383         (atan_test_data): Likewise.
2384         (atanh_test_data): Likewise.
2385         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2386         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2387         (carg_test_data): Likewise.
2388         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2389         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2390         (ccosh_test_data): Likewise.
2391         (cexp_test_data): Likewise.
2392         (clog_test_data): Likewise.
2393         (clog10_test_data): Likewise.
2394         (cos_test_data): Update call to AUTO_TESTS_f_f.
2395         (cos_test): Use ALL_RM_TEST.
2396         (cos_tonearest_test_data): Remove.
2397         (cos_test_tonearest): Likewise.
2398         (cos_towardzero_test_data): Likewise.
2399         (cos_test_towardzero): Likewise.
2400         (cos_downward_test_data): Likewise.
2401         (cos_test_downward): Likewise.
2402         (cos_upward_test_data): Likewise.
2403         (cos_test_upward): Likewise.
2404         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2405         (cosh_test): Use ALL_RM_TEST.
2406         (cosh_tonearest_test_data): Remove.
2407         (cosh_test_tonearest): Likewise.
2408         (cosh_towardzero_test_data): Likewise.
2409         (cosh_test_towardzero): Likewise.
2410         (cosh_downward_test_data): Likewise.
2411         (cosh_test_downward): Likewise.
2412         (cosh_upward_test_data): Likewise.
2413         (cosh_test_upward): Likewise.
2414         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2415         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2416         (ctan_test_data): Likewise.
2417         (ctan_test): Use ALL_RM_TEST.
2418         (ctan_tonearest_test_data): Remove.
2419         (ctan_test_tonearest): Likewise.
2420         (ctan_towardzero_test_data): Likewise.
2421         (ctan_test_towardzero): Likewise.
2422         (ctan_downward_test_data): Likewise.
2423         (ctan_test_downward): Likewise.
2424         (ctan_upward_test_data): Likewise.
2425         (ctan_test_upward): Likewise.
2426         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2427         (ctanh_test): Use ALL_RM_TEST.
2428         (ctanh_tonearest_test_data): Remove.
2429         (ctanh_test_tonearest): Likewise.
2430         (ctanh_towardzero_test_data): Likewise.
2431         (ctanh_test_towardzero): Likewise.
2432         (ctanh_downward_test_data): Likewise.
2433         (ctanh_test_downward): Likewise.
2434         (ctanh_upward_test_data): Likewise.
2435         (ctanh_test_upward): Likewise.
2436         (erf_test_data): Update call to AUTO_TESTS_f_f.
2437         (erfc_test_data): Likewise.
2438         (exp_test_data): Likewise.
2439         (exp_test): Use ALL_RM_TEST.
2440         (exp_tonearest_test_data): Remove.
2441         (exp_test_tonearest): Likewise.
2442         (exp_towardzero_test_data): Likewise.
2443         (exp_test_towardzero): Likewise.
2444         (exp_downward_test_data): Likewise.
2445         (exp_test_downward): Likewise.
2446         (exp_upward_test_data): Likewise.
2447         (exp_test_upward): Likewise.
2448         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2449         (exp10_test): Use ALL_RM_TEST.
2450         (exp10_tonearest_test_data): Remove.
2451         (exp10_test_tonearest): Likewise.
2452         (exp10_towardzero_test_data): Likewise.
2453         (exp10_test_towardzero): Likewise.
2454         (exp10_downward_test_data): Likewise.
2455         (exp10_test_downward): Likewise.
2456         (exp10_upward_test_data): Likewise.
2457         (exp10_test_upward): Likewise.
2458         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2459         (expm1_test_data): Likewise.
2460         (expm1_test): Use ALL_RM_TEST.
2461         (expm1_tonearest_test_data): Remove.
2462         (expm1_test_tonearest): Likewise.
2463         (expm1_towardzero_test_data): Likewise.
2464         (expm1_test_towardzero): Likewise.
2465         (expm1_downward_test_data): Likewise.
2466         (expm1_test_downward): Likewise.
2467         (expm1_upward_test_data): Likewise.
2468         (expm1_test_upward): Likewise.
2469         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2470         (fma_test): Use ALL_RM_TEST.
2471         (fma_towardzero_test_data): Remove.
2472         (fma_test_towardzero): Likewise.
2473         (fma_downward_test_data): Likewise.
2474         (fma_test_downward): Likewise.
2475         (fma_upward_test_data): Likewise.
2476         (fma_test_upward): Likewise.
2477         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2478         (j0_test_data): Update call to AUTO_TESTS_f_f.
2479         (j1_test_data): Likewise.
2480         (jn_test_data): Update call to AUTO_TESTS_if_f.
2481         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2482         (log_test_data): Update call to AUTO_TESTS_f_f.
2483         (log10_test_data): Likewise.
2484         (log1p_test_data): Likewise.
2485         (log2_test_data): Likewise.
2486         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2487         (pow_tonearest_test_data): Likewise.
2488         (sin_test_data): Update call to AUTO_TESTS_f_f.
2489         (sin_test): Use ALL_RM_TEST.
2490         (sin_tonearest_test_data): Remove.
2491         (sin_test_tonearest): Likewise.
2492         (sin_towardzero_test_data): Likewise.
2493         (sin_test_towardzero): Likewise.
2494         (sin_downward_test_data): Likewise.
2495         (sin_test_downward): Likewise.
2496         (sin_upward_test_data): Likewise.
2497         (sin_test_upward): Likewise.
2498         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2499         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2500         (sinh_test): Use ALL_RM_TEST.
2501         (sinh_tonearest_test_data): Remove.
2502         (sinh_test_tonearest): Likewise.
2503         (sinh_towardzero_test_data): Likewise.
2504         (sinh_test_towardzero): Likewise.
2505         (sinh_downward_test_data): Likewise.
2506         (sinh_test_downward): Likewise.
2507         (sinh_upward_test_data): Likewise.
2508         (sinh_test_upward): Likewise.
2509         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2510         (sqrt_test): Use ALL_RM_TEST.
2511         (sqrt_tonearest_test_data): Remove.
2512         (sqrt_test_tonearest): Likewise.
2513         (sqrt_towardzero_test_data): Likewise.
2514         (sqrt_test_towardzero): Likewise.
2515         (sqrt_downward_test_data): Likewise.
2516         (sqrt_test_downward): Likewise.
2517         (sqrt_upward_test_data): Likewise.
2518         (sqrt_test_upward): Likewise.
2519         (tan_test_data): Update call to AUTO_TESTS_f_f.
2520         (tan_test): Use ALL_RM_TEST.
2521         (tan_tonearest_test_data): Remove.
2522         (tan_test_tonearest): Likewise.
2523         (tan_towardzero_test_data): Likewise.
2524         (tan_test_towardzero): Likewise.
2525         (tan_downward_test_data): Likewise.
2526         (tan_test_downward): Likewise.
2527         (tan_upward_test_data): Likewise.
2528         (tan_test_upward): Likewise.
2529         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2530         (tgamma_test_data): Likewise.
2531         (y0_test_data): Likewise.
2532         (y1_test_data): Likewise.
2533         (yn_test_data): Update call to AUTO_TESTS_if_f.
2534         (main): Do not call removed functions.
2536 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2538         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2539         (ldexp_test_data): Remove.
2540         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2541         scalbn_test_data.
2542         (scalb_test): Use ALL_RM_TEST.
2544 2014-03-19  Andreas Schwab  <schwab@suse.de>
2546         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2548 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2550         [BZ #16649]
2551         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2552         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2553         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2554         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2555         (__ASSUME_PREADV): Undefine.
2556         (__ASSUME_PWRITEV): Likewise.
2558 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2560         * bits/mman-linux.h: Add comment about non-Linux use.
2561         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2562         bits/mman-linux.h resting place.
2564         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2565         * bits/mman-linux.h: ... here.
2567 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2569         * conform/conformtest.pl: Add standard definition when calling C
2570         preprocessor on data files.
2571         (checknamespace): Remove unused variable.
2573 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2575         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2576         minus_oflow, plus_uflow and minus_uflow in expected results.
2577         * math/libm-test.inc (scalbn_test_data): Add more tests of
2578         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2579         minus_uflow.
2580         (scalbn_test): Use ALL_RM_TEST.
2581         (scalbln_test_data): Add more tests of negative arguments.  Use
2582         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2583         (scalbln_test): Use ALL_RM_TEST.
2585 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2587         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2589 2014-03-18  Will Newton  <will.newton@linaro.org>
2591         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2592         inaccurate comment.
2594 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2596         * Makerules [!subdir] (check-abi): Exit with error status if a
2597         test failed.
2599 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2601         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2602         for rint.  Include results for all rounding modes.
2603         (nearbyint_test): Use ALL_RM_TEST.
2604         (rint_test_data): Include all tests used for nearbyint.
2606 2014-03-17  Will Newton  <will.newton@linaro.org>
2608         * nptl/sysdeps/pthread/pthread.h: Revert previous
2609         change.
2611         * sysdeps/generic/ldsodefs.h: Revert previous
2612         change.
2614         * libio/genops.c: Revert previous change.
2615         * libio/libioP.h: Likewise.
2616         * stdio-common/vfprintf.c: Likewise.
2618         * sysdeps/generic/math_private.h: Revert previous
2619         change.
2621         * sysdeps/generic/math_private.h: Check whether
2622         HAVE_RM_CTX is defined with #ifdef rather
2623         than #if.
2625         * argp/argp-fmtstream.h: Check whether
2626         __STRICT_ANSI__ is defined with #ifdef rather
2627         than #if.
2628         * argp/argp.h: Likewise.
2630         * libio/genops.c: Check whether
2631         _IO_JUMPS_OFFSET is defined with #ifdef rather
2632         than #if.
2633         * libio/libioP.h: Likewise.
2634         * stdio-common/vfprintf.c: Likewise.
2636         * sysdeps/generic/ldsodefs.h: Check whether
2637         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2638         than #if.
2640         * nptl/sysdeps/pthread/pthread.h: Check
2641         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2642         its value.
2644 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2646         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2647         setting O_APPEND.
2648         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2649         test case.
2651         [BZ #16680]
2652         * libio/fileops.c (_IO_file_open): Seek to end of file but
2653         don't cache the offset.
2654         (get_file_offset): Remove function.
2655         (do_ftell): Use cached offset when available.
2656         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2657         don't cache the offset.
2658         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2659         case.
2660         (do_one_test): Call it.
2661         (do_ftell_test): Fix up expected old offset for a+ mode.
2662         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2663         available.
2665         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2666         up test status with function return status.
2667         (do_write_test): Likewise.
2668         (do_append_test): Likewise.
2670         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2671         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2672         Remove.
2674 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2676         * math/gen-libm-test.pl (parse_args): Handle results specified for
2677         each rounding mode separately.
2678         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2679         tests and results from lrint_tonearest_test_data,
2680         lrint_towardzero_test_data, lrint_downward_test_data and
2681         lrint_upward_test_data.
2682         (lrint_test): Use ALL_RM_TEST.
2683         (lrint_tonearest_test_data): Remove.
2684         (lrint_test_tonearest): Likewise.
2685         (lrint_towardzero_test_data): Likewise.
2686         (lrint_test_towardzero): Likewise.
2687         (lrint_downward_test_data): Likewise.
2688         (lrint_test_downward): Likewise.
2689         (lrint_upward_test_data): Likewise.
2690         (lrint_test_upward): Likewise.
2691         (llrint_test_data): Merge in per-rounding-mode tests and results
2692         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2693         llrint_downward_test_data and llrint_upward_test_data.
2694         (llrint_test): Use ALL_RM_TEST.
2695         (llrint_tonearest_test_data): Remove.
2696         (llrint_test_tonearest): Likewise.
2697         (llrint_towardzero_test_data): Likewise.
2698         (llrint_test_towardzero): Likewise.
2699         (llrint_downward_test_data): Likewise.
2700         (llrint_test_downward): Likewise.
2701         (llrint_upward_test_data): Likewise.
2702         (llrint_test_upward): Likewise.
2703         (rint_test_data): Merge in per-rounding-mode tests and results
2704         from rint_tonearest_test_data, rint_towardzero_test_data,
2705         rint_downward_test_data and rint_upward_test_data.  Add
2706         per-rounding-mode results for tests not in those arrays.
2707         (rint_test): Use ALL_RM_TEST.
2708         (rint_tonearest_test_data): Remove.
2709         (rint_test_tonearest): Likewise.
2710         (rint_towardzero_test_data): Likewise.
2711         (rint_test_towardzero): Likewise.
2712         (rint_downward_test_data): Likewise.
2713         (rint_test_downward): Likewise.
2714         (rint_upward_test_data): Likewise.
2715         (rint_test_upward): Likewise.
2716         (main): Don't call removed functions.
2718 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2720         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2721         "Compiled on ..." crapola.  It is anti-useful.
2723 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2725         * scripts/evaluate-test.sh: Handle fourth argument to determine
2726         whether test run should stop on failure.
2727         * Makeconfig (stop-on-test-failure): New variable.
2728         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2729         $(stop-on-test-failure).
2730         * Makefile (tests): Give a summary of results from testing and
2731         exit with failure status if they include an ERROR or FAIL.
2732         (xtests): Likewise.
2733         * manual/install.texi (Configuring and compiling): Mention
2734         stop-on-test-failure=y.
2735         * INSTALL: Regenerated.
2737 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2739         * scripts/versionlist.awk: New file.
2740         * Makerules [$(build-shared) = yes]
2741         (postclean-generated): Add Versions.def, not Versions.def.v and
2742         Versions.def.v.i.
2743         ($(common-objpfx)Versions.def.v.i): Target removed.
2744         ($(common-objpfx)Versions.def): New target.
2745         ($(common-objpfx)Versions.all): Depend on that rather that
2746         $(common-objpfx)Versions.def.v.
2747         * Versions.def: File removed.
2749         * Makeconfig (+gccwarn): Add -Wundef.
2750         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2751         a dl-sysdep.h breaking its contract.
2752         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2753         * include/stackinfo.h: New file.
2754         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2755         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2756         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2757         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2758         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2759         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2760         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2761         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2762         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2763         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2764         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2765         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2766         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2767         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2768         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2770 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2772         [BZ #16707]
2773         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2774         implementation.
2775         * math/libm-test.inc (round_test_data): Add more tests.
2777         [BZ #16706]
2778         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2779         implementation.
2780         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2782         [BZ #16701]
2783         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2784         implementation.
2785         * math/libm-test.inc (ceil_test_data): Add more tests.
2787         * math/libm-test.inc (trunc_test_data): Add more tests related to
2788         BZ#16414.
2790 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2792         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2793         with #if rather than #ifdef.
2794         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2796 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2798         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2799         first.  Disable AVX-512 GCC support if assembler doesn't support
2800         it.
2801         * sysdeps/x86_64/configure: Regenerated.
2803 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2805         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2806         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2807         (__old_pthread_attr_setstack): Likewise.
2808         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2809         [!_STACK_GROWS_DOWN]: Likewise.
2811 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2813         * config.make.in (have-bash2): Delete.
2814         * configure.ac (libc_cv_have_bash2): Delete.
2815         * configure: Regenerate.
2816         * elf/Makefile (common-ldd-rewrite): Rename to ...
2817         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2818         (sh-ldd-rewrite): Delete.
2819         (bash-ldd-rewrite): Delete.
2820         (have-bash2): Delete checks.
2821         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2822         ldd-rewrite.
2824         * config.make.in (have-ksh): Delete.
2825         (KSH): Delete.
2826         * configure.ac (libc_cv_have_ksh): Delete.
2827         * configure: Regenerate.
2829         * elf/Makefile: Delete $(have-ksh) check.
2830         ($(objpfx)sotruss): Change KSH to BASH.
2831         * elf/sotruss.ksh: Rename to ...
2832         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2833         function style to match POSIX.  Drop ksh vim mode setting.
2835         * manual/time.texi (Specifying the Time Zone with TZ): Change
2836         Tuesday to Thursday.
2838         * debug/tst-longjmp_chk2.c: Update header comment.
2839         (stackoverflow_handler): Add comment.  Call assert on pass value.
2841 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
2843         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
2844         (HAVE_AVX512_ASM_SUPPORT): Likewise.
2845         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
2846         (La_x86_64_vector): Add zmm.
2847         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
2848         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
2849         ($(objpfx)tst-audit10): New target.
2850         ($(objpfx)tst-audit10.out): Likewise.
2851         (tst-audit10-ENV): New.
2852         (AVX512-CFLAGS): Likewise.
2853         (CFLAGS-tst-audit10.c): Likewise.
2854         (CFLAGS-tst-auditmod10a.c): Likewise.
2855         (CFLAGS-tst-auditmod10b.c): Likewise.
2856         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
2857         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
2858         * sysdeps/x86_64/configure: Regenerated.
2859         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
2860         AVX-512 zmm register support.
2861         (_dl_x86_64_save_sse): Likewise.
2862         (_dl_x86_64_restore_sse): Likewise.
2863         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
2864         size vector registers.
2865         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
2866         (ZMM_SIZE): Likewise.
2867         * sysdeps/x86_64/tst-audit10.c: New file.
2868         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
2869         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
2871 2014-03-13  Roland McGrath  <roland@hack.frob.com>
2873         * configure.ac (HAVE_EHDR_START): New check.
2874         * configure: Regenerated.
2875         * config.h.in (HAVE_EHDR_START): New #undef.
2876         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
2877         assuming the lowest-addressed segment maps the start of the file.
2879 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
2881         * INSTALL: Regenerated.
2883 2014-03-13  Will Newton  <will.newton@linaro.org>
2885         * manual/setjmp.texi (System V contexts): Improve
2886         clarity and grammar of documentation.
2888 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2890         [BZ #16381]
2891         * elf/Makefile (tests): Add tst-pie2.
2892         (tests-pie): Add tst-pie2.
2893         * elf/tst-pie2.c: New file.
2894         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
2895         for ET_EXEC.
2896         * elf/rtld.c (map_doit): Load executable as lt_executable.
2897         (dl_main): Likewise.
2899 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
2901         [BZ #16642]
2902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2903         (__ASSUME_PSELECT): Undefine.
2905 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2907         [BZ #16689]
2908         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
2909         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
2910         static build.
2911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
2912         selector for static builds.
2914 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2916         [BZ #16695]
2917         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
2918         key in the buffer.
2920 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2922         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
2923         IFUNC selector for static builds.
2925 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
2927         * sysdeps/mips/math_private.h [__mips_hard_float]
2928         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
2929         libc_feresetround_mips_ctx.
2930         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
2931         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
2932         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
2934         [BZ #16677]
2935         * math/s_nextafter.c (__nextafter): Do not return value from
2936         overflowing computation.
2937         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
2938         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
2939         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
2940         Likewise.
2941         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
2942         Likewise.
2943         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
2944         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
2946 2014-03-11  Roland McGrath  <roland@hack.frob.com>
2948         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
2949         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
2950         Move sfi_sp use from the load-multiple (that no longer sets sp) to
2951         the new mov targetting sp.
2953 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2955         [BZ #16683]
2956         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
2957         Define it for static builds as well.
2958         (NO_BZERO_IMPL): Likewise.
2960 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2962         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
2963         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
2964         multiarch strspn for PPC64.
2965         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
2966         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
2967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2968         (__libc_ifunc_impl_list): Likewise.
2969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
2970         multiarch optimizations
2971         * string/strspn.c (strspn): Using macro to redefine symbol name.
2973 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2974             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2976         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
2977         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
2978         multiarch strncat for PPC64.
2979         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
2980         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
2981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2982         (__libc_ifunc_impl_list): Likewise.
2983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
2984         multiarch optimizations
2986 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
2988         [BZ #16639]
2989         * nscd/nscd.service: Make service type forking.
2991 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2993         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
2994         sign in non default rounding modes.
2995         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
2997 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
2999         * math/libm-test.inc (ALL_RM_TEST): New macro.
3000         (ceil_test): Use ALL_RM_TEST.
3001         (cimag_test): Likewise.
3002         (conj_test): Likewise.
3003         (copysign_test): Likewise.
3004         (cproj_test): Likewise.
3005         (creal_test): Likewise.
3006         (fabs_test): Likewise.
3007         (floor_test): Likewise.
3008         (fmax_test): Likewise.
3009         (fmin_test): Likewise.
3010         (fmod_test): Likewise.
3011         (fpclassify_test): Likewise.
3012         (frexp_test): Likewise.
3013         (ilogb_test): Likewise.
3014         (isfinite_test): Likewise.
3015         (finite_test): Likewise.
3016         (isgreater_test): Likewise.
3017         (isgreaterequal_test): Likewise.
3018         (isinf_test): Likewise.
3019         (isless_test): Likewise.
3020         (islessequal_test): Likewise.
3021         (islessgreater_test): Likewise.
3022         (isnan_test): Likewise.
3023         (isnormal_test): Likewise.
3024         (issignaling_test): Likewise.
3025         (isunordered_test): Likewise.
3026         (logb_test): Likewise.
3027         (logb_downward_test_data): Remove.
3028         (logb_test_downward): Likewise.
3029         (lround_test): Use ALL_RM_TEST.
3030         (llround_test): Likewise.
3031         (modf_test): Likewise.
3032         (nexttoward_test): Likewise.
3033         (remainder_test): Likewise.
3034         (drem_test): Likewise.
3035         (remainder_tonearest_test_data): Likewise.
3036         (remainder_test_tonearest): Likewise.
3037         (drem_test_tonearest): Likewise.
3038         (remainder_towardzero_test_data): Likewise.
3039         (remainder_test_towardzero): Likewise.
3040         (drem_test_towardzero): Likewise.
3041         (remainder_downward_test_data): Likewise.
3042         (remainder_test_downward): Likewise.
3043         (drem_test_downward): Likewise.
3044         (remainder_upward_test_data): Likewise.
3045         (remainder_test_upward): Likewise.
3046         (drem_test_upward): Likewise.
3047         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3048         (round_test): Use ALL_RM_TEST.
3049         (signbit_test): Likewise.
3050         (trunc_test): Likewise.
3051         (significand_test): Likewise.
3052         (main): Don't call removed functions.
3054 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3056         [BZ #16674]
3057         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3058         || __USE_XOPEN2K8].
3059         (ILL_ILLOPN): Likewise.
3060         (ILL_ILLADR): Likewise.
3061         (ILL_ILLTRP): Likewise.
3062         (ILL_PRVOPC): Likewise.
3063         (ILL_PRVREG): Likewise.
3064         (ILL_COPROC): Likewise.
3065         (ILL_BADSTK): Likewise.
3066         (FPE_INTDIV): Likewise.
3067         (FPE_INTOVF): Likewise.
3068         (FPE_FLTDIV): Likewise.
3069         (FPE_FLTOVF): Likewise.
3070         (FPE_FLTUND): Likewise.
3071         (FPE_FLTRES): Likewise.
3072         (FPE_FLTINV): Likewise.
3073         (FPE_FLTSUB): Likewise.
3074         (SEGV_MAPERR): Likewise.
3075         (SEGV_ACCERR): Likewise.
3076         (BUS_ADRALN): Likewise.
3077         (BUS_ADRERR): Likewise.
3078         (BUS_OBJERR): Likewise.
3079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3080         (TRAP_TRACE): Likewise.
3081         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3082         __USE_XOPEN2K8].
3083         (CLD_KILLED): Likewise.
3084         (CLD_DUMPED): Likewise.
3085         (CLD_TRAPPED): Likewise.
3086         (CLD_STOPPED): Likewise.
3087         (CLD_CONTINUED): Likewise.
3088         (POLL_IN): Likewise.
3089         (POLL_OUT): Likewise.
3090         (POLL_MSG): Likewise.
3091         (POLL_ERR): Likewise.
3092         (POLL_PRI): Likewise.
3093         (POLL_HUP): Likewise.
3094         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3095         Likewise.
3096         (ILL_ILLOPN): Likewise.
3097         (ILL_ILLADR): Likewise.
3098         (ILL_ILLTRP): Likewise.
3099         (ILL_PRVOPC): Likewise.
3100         (ILL_PRVREG): Likewise.
3101         (ILL_COPROC): Likewise.
3102         (ILL_BADSTK): Likewise.
3103         (FPE_INTDIV): Likewise.
3104         (FPE_INTOVF): Likewise.
3105         (FPE_FLTDIV): Likewise.
3106         (FPE_FLTOVF): Likewise.
3107         (FPE_FLTUND): Likewise.
3108         (FPE_FLTRES): Likewise.
3109         (FPE_FLTINV): Likewise.
3110         (FPE_FLTSUB): Likewise.
3111         (SEGV_MAPERR): Likewise.
3112         (SEGV_ACCERR): Likewise.
3113         (BUS_ADRALN): Likewise.
3114         (BUS_ADRERR): Likewise.
3115         (BUS_OBJERR): Likewise.
3116         (BUS_MCEERR_AR): Likewise.
3117         (BUS_MCEERR_AO): Likewise.
3118         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3119         (TRAP_TRACE): Likewise.
3120         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3121         __USE_XOPEN2K8].
3122         (CLD_KILLED): Likewise.
3123         (CLD_DUMPED): Likewise.
3124         (CLD_TRAPPED): Likewise.
3125         (CLD_STOPPED): Likewise.
3126         (CLD_CONTINUED): Likewise.
3127         (POLL_IN): Likewise.
3128         (POLL_OUT): Likewise.
3129         (POLL_MSG): Likewise.
3130         (POLL_ERR): Likewise.
3131         (POLL_PRI): Likewise.
3132         (POLL_HUP): Likewise.
3133         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3134         (ILL_ILLOPN): Likewise.
3135         (ILL_ILLADR): Likewise.
3136         (ILL_ILLTRP): Likewise.
3137         (ILL_PRVOPC): Likewise.
3138         (ILL_PRVREG): Likewise.
3139         (ILL_COPROC): Likewise.
3140         (ILL_BADSTK): Likewise.
3141         (FPE_INTDIV): Likewise.
3142         (FPE_INTOVF): Likewise.
3143         (FPE_FLTDIV): Likewise.
3144         (FPE_FLTOVF): Likewise.
3145         (FPE_FLTUND): Likewise.
3146         (FPE_FLTRES): Likewise.
3147         (FPE_FLTINV): Likewise.
3148         (FPE_FLTSUB): Likewise.
3149         (SEGV_MAPERR): Likewise.
3150         (SEGV_ACCERR): Likewise.
3151         (BUS_ADRALN): Likewise.
3152         (BUS_ADRERR): Likewise.
3153         (BUS_OBJERR): Likewise.
3154         (BUS_MCEERR_AR): Likewise.
3155         (BUS_MCEERR_AO): Likewise.
3156         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3157         (TRAP_TRACE): Likewise.
3158         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3159         __USE_XOPEN2K8].
3160         (CLD_KILLED): Likewise.
3161         (CLD_DUMPED): Likewise.
3162         (CLD_TRAPPED): Likewise.
3163         (CLD_STOPPED): Likewise.
3164         (CLD_CONTINUED): Likewise.
3165         (POLL_IN): Likewise.
3166         (POLL_OUT): Likewise.
3167         (POLL_MSG): Likewise.
3168         (POLL_ERR): Likewise.
3169         (POLL_PRI): Likewise.
3170         (POLL_HUP): Likewise.
3171         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3172         Likewise.
3173         (ILL_ILLOPN): Likewise.
3174         (ILL_ILLADR): Likewise.
3175         (ILL_ILLTRP): Likewise.
3176         (ILL_PRVOPC): Likewise.
3177         (ILL_PRVREG): Likewise.
3178         (ILL_COPROC): Likewise.
3179         (ILL_BADSTK): Likewise.
3180         (ILL_BADIADDR): Likewise.
3181         (ILL_BREAK): Likewise.
3182         (FPE_INTDIV): Likewise.
3183         (FPE_INTOVF): Likewise.
3184         (FPE_FLTDIV): Likewise.
3185         (FPE_FLTOVF): Likewise.
3186         (FPE_FLTUND): Likewise.
3187         (FPE_FLTRES): Likewise.
3188         (FPE_FLTINV): Likewise.
3189         (FPE_FLTSUB): Likewise.
3190         (FPE_DECOVF): Likewise.
3191         (FPE_DECDIV): Likewise.
3192         (FPE_DECERR): Likewise.
3193         (FPE_INVASC): Likewise.
3194         (FPE_INVDEC): Likewise.
3195         (SEGV_MAPERR): Likewise.
3196         (SEGV_ACCERR): Likewise.
3197         (SEGV_PSTKOVF): Likewise.
3198         (BUS_ADRALN): Likewise.
3199         (BUS_ADRERR): Likewise.
3200         (BUS_OBJERR): Likewise.
3201         (BUS_MCEERR_AR): Likewise.
3202         (BUS_MCEERR_AO): Likewise.
3203         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3204         (TRAP_TRACE): Likewise.
3205         (TRAP_BRANCH): Likewise.
3206         (TRAP_HWBKPT): Likewise.
3207         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3208         __USE_XOPEN2K8].
3209         (CLD_KILLED): Likewise.
3210         (CLD_DUMPED): Likewise.
3211         (CLD_TRAPPED): Likewise.
3212         (CLD_STOPPED): Likewise.
3213         (CLD_CONTINUED): Likewise.
3214         (POLL_IN): Likewise.
3215         (POLL_OUT): Likewise.
3216         (POLL_MSG): Likewise.
3217         (POLL_ERR): Likewise.
3218         (POLL_PRI): Likewise.
3219         (POLL_HUP): Likewise.
3220         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3221         (ILL_ILLOPN): Likewise.
3222         (ILL_ILLADR): Likewise.
3223         (ILL_ILLTRP): Likewise.
3224         (ILL_PRVOPC): Likewise.
3225         (ILL_PRVREG): Likewise.
3226         (ILL_COPROC): Likewise.
3227         (ILL_BADSTK): Likewise.
3228         (FPE_INTDIV): Likewise.
3229         (FPE_INTOVF): Likewise.
3230         (FPE_FLTDIV): Likewise.
3231         (FPE_FLTOVF): Likewise.
3232         (FPE_FLTUND): Likewise.
3233         (FPE_FLTRES): Likewise.
3234         (FPE_FLTINV): Likewise.
3235         (FPE_FLTSUB): Likewise.
3236         (SEGV_MAPERR): Likewise.
3237         (SEGV_ACCERR): Likewise.
3238         (BUS_ADRALN): Likewise.
3239         (BUS_ADRERR): Likewise.
3240         (BUS_OBJERR): Likewise.
3241         (BUS_MCEERR_AR): Likewise.
3242         (BUS_MCEERR_AO): Likewise.
3243         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3244         (TRAP_TRACE): Likewise.
3245         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3246         __USE_XOPEN2K8].
3247         (CLD_KILLED): Likewise.
3248         (CLD_DUMPED): Likewise.
3249         (CLD_TRAPPED): Likewise.
3250         (CLD_STOPPED): Likewise.
3251         (CLD_CONTINUED): Likewise.
3252         (POLL_IN): Likewise.
3253         (POLL_OUT): Likewise.
3254         (POLL_MSG): Likewise.
3255         (POLL_ERR): Likewise.
3256         (POLL_PRI): Likewise.
3257         (POLL_HUP): Likewise.
3258         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3259         (ILL_ILLOPN): Likewise.
3260         (ILL_ILLADR): Likewise.
3261         (ILL_ILLTRP): Likewise.
3262         (ILL_PRVOPC): Likewise.
3263         (ILL_PRVREG): Likewise.
3264         (ILL_COPROC): Likewise.
3265         (ILL_BADSTK): Likewise.
3266         (FPE_INTDIV): Likewise.
3267         (FPE_INTOVF): Likewise.
3268         (FPE_FLTDIV): Likewise.
3269         (FPE_FLTOVF): Likewise.
3270         (FPE_FLTUND): Likewise.
3271         (FPE_FLTRES): Likewise.
3272         (FPE_FLTINV): Likewise.
3273         (FPE_FLTSUB): Likewise.
3274         (SEGV_MAPERR): Likewise.
3275         (SEGV_ACCERR): Likewise.
3276         (BUS_ADRALN): Likewise.
3277         (BUS_ADRERR): Likewise.
3278         (BUS_OBJERR): Likewise.
3279         (BUS_MCEERR_AR): Likewise.
3280         (BUS_MCEERR_AO): Likewise.
3281         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3282         (TRAP_TRACE): Likewise.
3283         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3284         __USE_XOPEN2K8].
3285         (CLD_KILLED): Likewise.
3286         (CLD_DUMPED): Likewise.
3287         (CLD_TRAPPED): Likewise.
3288         (CLD_STOPPED): Likewise.
3289         (CLD_CONTINUED): Likewise.
3290         (POLL_IN): Likewise.
3291         (POLL_OUT): Likewise.
3292         (POLL_MSG): Likewise.
3293         (POLL_ERR): Likewise.
3294         (POLL_PRI): Likewise.
3295         (POLL_HUP): Likewise.
3296         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3297         (ILL_ILLOPN): Likewise.
3298         (ILL_ILLADR): Likewise.
3299         (ILL_ILLTRP): Likewise.
3300         (ILL_PRVOPC): Likewise.
3301         (ILL_PRVREG): Likewise.
3302         (ILL_COPROC): Likewise.
3303         (ILL_BADSTK): Likewise.
3304         (FPE_INTDIV): Likewise.
3305         (FPE_INTOVF): Likewise.
3306         (FPE_FLTDIV): Likewise.
3307         (FPE_FLTOVF): Likewise.
3308         (FPE_FLTUND): Likewise.
3309         (FPE_FLTRES): Likewise.
3310         (FPE_FLTINV): Likewise.
3311         (FPE_FLTSUB): Likewise.
3312         (SEGV_MAPERR): Likewise.
3313         (SEGV_ACCERR): Likewise.
3314         (BUS_ADRALN): Likewise.
3315         (BUS_ADRERR): Likewise.
3316         (BUS_OBJERR): Likewise.
3317         (BUS_MCEERR_AR): Likewise.
3318         (BUS_MCEERR_AO): Likewise.
3319         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3320         (TRAP_TRACE): Likewise.
3321         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3322         __USE_XOPEN2K8].
3323         (CLD_KILLED): Likewise.
3324         (CLD_DUMPED): Likewise.
3325         (CLD_TRAPPED): Likewise.
3326         (CLD_STOPPED): Likewise.
3327         (CLD_CONTINUED): Likewise.
3328         (POLL_IN): Likewise.
3329         (POLL_OUT): Likewise.
3330         (POLL_MSG): Likewise.
3331         (POLL_ERR): Likewise.
3332         (POLL_PRI): Likewise.
3333         (POLL_HUP): Likewise.
3334         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3335         (ILL_ILLOPN): Likewise.
3336         (ILL_ILLADR): Likewise.
3337         (ILL_ILLTRP): Likewise.
3338         (ILL_PRVOPC): Likewise.
3339         (ILL_PRVREG): Likewise.
3340         (ILL_COPROC): Likewise.
3341         (ILL_BADSTK): Likewise.
3342         (ILL_DBLFLT): Likewise.
3343         (ILL_HARDWALL): Likewise.
3344         (FPE_INTDIV): Likewise.
3345         (FPE_INTOVF): Likewise.
3346         (FPE_FLTDIV): Likewise.
3347         (FPE_FLTOVF): Likewise.
3348         (FPE_FLTUND): Likewise.
3349         (FPE_FLTRES): Likewise.
3350         (FPE_FLTINV): Likewise.
3351         (FPE_FLTSUB): Likewise.
3352         (SEGV_MAPERR): Likewise.
3353         (SEGV_ACCERR): Likewise.
3354         (BUS_ADRALN): Likewise.
3355         (BUS_ADRERR): Likewise.
3356         (BUS_OBJERR): Likewise.
3357         (BUS_MCEERR_AR): Likewise.
3358         (BUS_MCEERR_AO): Likewise.
3359         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3360         (TRAP_TRACE): Likewise.
3361         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3362         __USE_XOPEN2K8].
3363         (CLD_KILLED): Likewise.
3364         (CLD_DUMPED): Likewise.
3365         (CLD_TRAPPED): Likewise.
3366         (CLD_STOPPED): Likewise.
3367         (CLD_CONTINUED): Likewise.
3368         (POLL_IN): Likewise.
3369         (POLL_OUT): Likewise.
3370         (POLL_MSG): Likewise.
3371         (POLL_ERR): Likewise.
3372         (POLL_PRI): Likewise.
3373         (POLL_HUP): Likewise.
3374         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3375         (ILL_ILLOPN): Likewise.
3376         (ILL_ILLADR): Likewise.
3377         (ILL_ILLTRP): Likewise.
3378         (ILL_PRVOPC): Likewise.
3379         (ILL_PRVREG): Likewise.
3380         (ILL_COPROC): Likewise.
3381         (ILL_BADSTK): Likewise.
3382         (FPE_INTDIV): Likewise.
3383         (FPE_INTOVF): Likewise.
3384         (FPE_FLTDIV): Likewise.
3385         (FPE_FLTOVF): Likewise.
3386         (FPE_FLTUND): Likewise.
3387         (FPE_FLTRES): Likewise.
3388         (FPE_FLTINV): Likewise.
3389         (FPE_FLTSUB): Likewise.
3390         (SEGV_MAPERR): Likewise.
3391         (SEGV_ACCERR): Likewise.
3392         (BUS_ADRALN): Likewise.
3393         (BUS_ADRERR): Likewise.
3394         (BUS_OBJERR): Likewise.
3395         (BUS_MCEERR_AR): Likewise.
3396         (BUS_MCEERR_AO): Likewise.
3397         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3398         (TRAP_TRACE): Likewise.
3399         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3400         __USE_XOPEN2K8].
3401         (CLD_KILLED): Likewise.
3402         (CLD_DUMPED): Likewise.
3403         (CLD_TRAPPED): Likewise.
3404         (CLD_STOPPED): Likewise.
3405         (CLD_CONTINUED): Likewise.
3406         (POLL_IN): Likewise.
3407         (POLL_OUT): Likewise.
3408         (POLL_MSG): Likewise.
3409         (POLL_ERR): Likewise.
3410         (POLL_PRI): Likewise.
3411         (POLL_HUP): Likewise.
3412         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3413         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3415         [BZ #16670]
3416         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3417         before #include of <time.h>.
3418         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3419         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3420         (test-xfail-UNIX98/sched.h/conform): Likewise.
3422 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3424         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3425         error absence of trapping exception support.
3426         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3428 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3430         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3431         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3432         * timezone/Makefile (testdata): Move definition above include of
3433         Rules.
3434         (test-zones): New variable.
3435         (tests-special): Add zone files.
3436         (build-testdata): Use $(evaluate-test).
3438         * elf/Makefile (tests-special): Rename tests to end with .out.
3439         ($(objpfx)noload-mem): Likewise.
3440         ($(objpfx)tst-leaks1-mem): Likewise.
3441         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3442         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3443         $(objpfx)test-iconvconfig.out.
3444         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3445         set -e inside subshell and redirect output to file.
3446         * iconvdata/Makefile (generated): Rename tests to end with .out.
3447         Correct type.
3448         (tests-special): Rename tests to end with .out.
3449         ($(objpfx)mtrace-tst-loading): Likewise.
3450         * intl/Makefile (generated): Likewise.
3451         (tests-special): Likewise.
3452         ($(objpfx)mtrace-tst-gettext): Likewise.
3453         * misc/Makefile (generated): Likewise.
3454         (tests-special): Likewise.
3455         ($(objpfx)tst-error1-mem): Likewise.
3456         * nptl/Makefile (tests-special): Likewise.
3457         ($(objpfx)tst-stack3-mem): Likewise.
3458         (generated): Likewise.
3459         * posix/Makefile (generated): Likewise.
3460         (tests-special): Likewise.
3461         (xtests-special): Likewise.
3462         ($(objpfx)tst-fnmatch-mem): Likewise.
3463         ($(objpfx)bug-regex2-mem): Likewise.
3464         ($(objpfx)bug-regex14-mem): Likewise.
3465         ($(objpfx)bug-regex21-mem): Likewise.
3466         ($(objpfx)bug-regex31-mem): Likewise.
3467         ($(objpfx)tst-vfork3-mem): Likewise.
3468         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3469         ($(objpfx)tst-pcre-mem): Likewise.
3470         ($(objpfx)tst-boost-mem): Likewise.
3471         ($(objpfx)bug-ga2-mem): Likewise.
3472         ($(objpfx)bug-glob2-mem): Likewise.
3473         * resolv/Makefile (generate): Likewise.
3474         (tests-special): Likewise.
3475         (xtests-special): Likewise.
3476         (generated): Likewise.
3477         ($(objpfx)mtrace-tst-leaks): Likewise.
3478         ($(objpfx)mtrace-tst-leaks2): Likewise.
3480         * scripts/merge-test-results.sh: New file.
3481         * Makefile (tests-special-notdir): New variable.
3482         (tests): Run merge-test-results.sh.
3483         (xtests): Likewise.
3484         * Rules (tests-special-notdir): New variable.
3485         (xtests-special-notdir): Likewise.
3486         (tests): Run merge-test-results.sh
3487         (xtests): Likewise.
3489         * Makeconfig (test-xfail-name): New variable.
3490         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3491         compute variable name for expected failures.
3492         * conform/Makefile (conformtest-headers-data): New variable.
3493         (conformtest-standards): Likewise.
3494         (conformtest-headers-ISO): Likewise.
3495         (conformtest-headers-ISO99): Likewise.
3496         (conformtest-headers-ISO11): Likewise.
3497         (conformtest-headers-POSIX): Likewise.
3498         (conformtest-headers-XPG3): Likewise.
3499         (conformtest-headers-XPG4): Likewise.
3500         (conformtest-headers-UNIX98): Likewise.
3501         (conformtest-headers-XOPEN2K): Likewise.
3502         (conformtest-headers-POSIX2008): Likewise.
3503         (conformtest-headers-XOPEN2K8): Likewise.
3504         (conformtest-header-list-base): Likewise.
3505         (conformtest-header-list-tests): Likewise.
3506         (conformtest-header-base): Likewise.
3507         (conformtest-header-tests): Likewise.
3508         (tests-special): Add $(conformtest-header-list-tests).  If
3509         [$(fast-check) && !$(cross-compiling)], add
3510         $(conformtest-header-tests) instead of
3511         $(objpfx)run-conformtest.out.
3512         (generated): Add $(conformtest-header-list-base).  If
3513         [$(fast-check) && !$(cross-compiling)], add
3514         $(conformtest-header-base).  Remove previous setting.
3515         ($(conformtest-header-list-tests)): New target.
3516         (test-xfail-run-conformtest): Remove variable.
3517         ($(objpfx)run-conformtest.out): Remove target.
3518         (test-xfail-ISO11/complex.h/conform): New variable.
3519         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3520         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3521         (test-xfail-XPG3/varargs.h/conform): Likewise.
3522         (test-xfail-XPG4/varargs.h/conform): Likewise.
3523         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3524         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3525         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3526         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3527         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3528         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3529         (test-xfail-XPG3/ftw.h/conform): Likewise.
3530         (test-xfail-XPG3/grp.h/conform): Likewise.
3531         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3532         (test-xfail-XPG3/limits.h/conform): Likewise.
3533         (test-xfail-XPG3/pwd.h/conform): Likewise.
3534         (test-xfail-XPG3/search.h/conform): Likewise.
3535         (test-xfail-XPG3/signal.h/conform): Likewise.
3536         (test-xfail-XPG3/stdio.h/conform): Likewise.
3537         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3538         (test-xfail-XPG3/string.h/conform): Likewise.
3539         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3540         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3541         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3542         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3543         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3544         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3545         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3546         (test-xfail-XPG3/termios.h/conform): Likewise.
3547         (test-xfail-XPG3/time.h/conform): Likewise.
3548         (test-xfail-XPG3/unistd.h/conform): Likewise.
3549         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3550         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3551         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3552         (test-xfail-XPG4/netdb.h/conform): Likewise.
3553         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3554         (test-xfail-XPG4/signal.h/conform): Likewise.
3555         (test-xfail-XPG4/stdio.h/conform): Likewise.
3556         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3557         (test-xfail-XPG4/stropts.h/conform): Likewise.
3558         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3559         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3560         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3561         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3562         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3563         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3564         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3565         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3566         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3567         (test-xfail-XPG4/termios.h/conform): Likewise.
3568         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3569         (test-xfail-XPG4/unistd.h/conform): Likewise.
3570         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3571         (test-xfail-POSIX/sched.h/conform): Likewise.
3572         (test-xfail-POSIX/signal.h/conform): Likewise.
3573         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3574         (test-xfail-POSIX/tar.h/conform): Likewise.
3575         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3576         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3577         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3578         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3579         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3580         (test-xfail-UNIX98/sched.h/conform): Likewise.
3581         (test-xfail-UNIX98/signal.h/conform): Likewise.
3582         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3583         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3584         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3585         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3586         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3587         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3588         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3589         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3590         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3591         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3592         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3593         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3594         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3595         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3596         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3597         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3598         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3599         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3600         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3601         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3602         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3603         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3604         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3605         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3606         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3607         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3608         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3609         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3610         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3611         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3612         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3613         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3614         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3615         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3616         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3617         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3618         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3619         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3620         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3621         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3622         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3623         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3624         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3625         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3626         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3627         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3628         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3629         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3630         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3631         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3632         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3633         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3634         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3635         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3636         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3637         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3638         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3639         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3640         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3641         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3642         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3643         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3644         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3645         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3646         (conformtest-cc-flags): Likewise.
3647         ($(conformtest-header-tests): New target.
3648         * conform/check-header-lists.sh: New file.
3649         * conform/run-conformtest.sh: Remove.
3651         * conform/conformtest.pl: Allow ' and \ in values given for
3652         constants.
3653         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3654         inclusion.
3655         [POSIX] (sys/types.h): Likewise.
3656         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3657         inclusion.
3658         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3659         inclusion.
3660         * conform/data/signal.h-data (SIGIO): Remove expectation.
3661         [XPG3] (SIGBUS): Do not expect.
3662         [POSIX || XPG3] (SIGPOLL): Likewise.
3663         [POSIX || XPG3] (SIGPROF): Likewise.
3664         [POSIX || XPG3] (SIGSYS): Likewise.
3665         [XPG3] (SIGTRAP): Likewise.
3666         [POSIX || XPG3] (SIGURG): Likewise.
3667         [POSIX || XPG3] (SIGVTALRM): Likewise.
3668         [POSIX || XPG3] (SIGXCPU): Likewise.
3669         [POSIX || XPG3] (SIGXFSZ): Likewise.
3670         [POSIX] (SA_SIGINFO): Expect.
3671         [XPG3] (siginfo_t): Do not expect type or contents.
3672         [POSIX] (si_pid): Do not expect element.
3673         [POSIX] (si_uid): Likewise.
3674         [POSIX] (si_addr): Likewise.
3675         [POSIX] (si_status): Likewise.
3676         [POSIX] (si_band): Likewise.
3677         [XPG4] (si_value): Likewise.
3678         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3679         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3680         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3681         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3682         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3683         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3684         [POSIX || XPG3] (ILL_COPROC): Likewise.
3685         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3686         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3687         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3688         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3689         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3690         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3691         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3692         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3693         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3694         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3695         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3696         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3697         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3698         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3699         [POSIX || XPG3] (CLD_EXITED): Likewise.
3700         [POSIX || XPG3] (CLD_KILLED): Likewise.
3701         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3702         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3703         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3704         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3705         [POSIX || XPG3] (POLL_IN): Likewise.
3706         [POSIX || XPG3] (POLL_OUT): Likewise.
3707         [POSIX || XPG3] (POLL_MSG): Likewise.
3708         [POSIX || XPG3] (POLL_ERR): Likewise.
3709         [POSIX || XPG3] (POLL_PRI): Likewise.
3710         [POSIX || XPG3] (POLL_HUP): Likewise.
3711         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3712         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3713         (SIG*): Do not allow.
3714         [XPG3] (si_*): Likewise.
3715         [XPG3] (SI_*): Likewise.
3716         [XPG3 || XPG4] (sigev_*): Likewise.
3717         [XPG3 || XPG4] (SIGEV_*): Likewise.
3718         [XPG3 || XPG4] (sival_*): Likewise.
3719         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3720         [POSIX || XPG3] (BUS_*): Likewise.
3721         [POSIX || XPG3] (CLD_*): Likewise.
3722         [POSIX || XPG3] (FPE_*): Likewise.
3723         [POSIX || XPG3] (ILL_*): Likewise.
3724         [POSIX || XPG3] (POLL_*): Likewise.
3725         [POSIX || XPG3] (SEGV_*): Likewise.
3726         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3727         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3728         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3729         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3730         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3731         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3732         Specify type and value.
3733         (TVERSLEN): Likewise.
3734         (REGTYPE): Likewise.
3735         (AREGTYPE): Likewise.
3736         (LNKTYPE): Likewise.
3737         (SYMTYPE): Likewise.
3738         (CHRTYPE): Likewise.
3739         (BLKTYPE): Likewise.
3740         (DIRTYPE): Likewise.
3741         (FIFOTYPE): Likewise.
3742         (CONTTYPE): Likewise.
3743         (TSUID): Likewise.
3744         (TSGID): Likewise.
3745         (TSVTX): Likewise.
3746         (TUREAD): Likewise.
3747         (TUWRITE): Likewise.
3748         (TUEXEC): Likewise.
3749         (TGREAD): Likewise.
3750         (TGWRITE): Likewise.
3751         (TGEXEC): Likewise.
3752         (TOREAD): Likewise.
3753         (TOWRITE): Likewise.
3754         (TOEXEC): Likewise.
3755         [POSIX] (TSVTX): Expect constant.
3757 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3759         * Makefile (tests): Change dependencies to ....
3760         (tests-special): ... additions to this variable.
3761         (tests): Depend on $(tests-special).
3762         * Makerules (check-abi-list): New variable.
3763         (check-abi): Depend on $(check-abi-list).
3764         [$(subdir) = elf] (tests-special): Add
3765         $(objpfx)check-abi-libc.out.
3766         [$(build-shared) = yes && subdir] (tests-special): Add
3767         $(check-abi-list).
3768         [$(build-shared) = yes && subdir] (tests): Do not depend on
3769         check-abi.
3770         * Rules (tests): Depend on $(tests-special).
3771         (xtests): Depend on $(xtests-special).
3772         * catgets/Makefile (tests): Change dependencies to ....
3773         (tests-special): ... additions to this variable.
3774         * conform/Makefile (tests): Change dependencies to ....
3775         (tests-special): ... additions to this variable.
3776         * elf/Makefile (tests): Change dependencies to ....
3777         (tests-special): ... additions to this variable.
3778         * grp/Makefile (tests): Change dependencies to ....
3779         (tests-special): ... additions to this variable.
3780         * iconv/Makefile (xtests): Change dependencies to ....
3781         (xtests-special): ... additions to this variable.
3782         * iconvdata/Makefile (tests): Change dependencies to ....
3783         (tests-special): ... additions to this variable.
3784         * intl/Makefile (tests): Change dependencies to ....
3785         (tests-special): ... additions to this variable.  Also add
3786         $(objpfx)tst-gettext.out.
3787         * io/Makefile (tests): Change dependencies to ....
3788         (tests-special): ... additions to this variable.
3789         * libio/Makefile (tests): Change dependencies to ....
3790         (tests-special): ... additions to this variable.
3791         * malloc/Makefile (tests): Change dependencies to ....
3792         (tests-special): ... additions to this variable.
3793         * misc/Makefile (tests): Change dependencies to ....
3794         (tests-special): ... additions to this variable.
3795         * nptl/Makefile (tests): Change dependencies to ....
3796         (tests-special): ... additions to this variable.
3797         * nptl_db/Makefile (tests): Change dependencies to ....
3798         (tests-special): ... additions to this variable.
3799         * posix/Makefile (tests): Change dependencies to ....
3800         (tests-special): ... additions to this variable.
3801         (xtests): Change dependencies to ....
3802         (xtests-special): ... additions to this variable.
3803         * resolv/Makefile (tests): Change dependencies to ....
3804         (tests-special): ... additions to this variable.
3805         (xtests): Change dependencies to ....
3806         (xtests-special): ... additions to this variable.
3807         * stdio-common/Makefile (tests): Change dependencies to ....
3808         (tests-special): ... additions to this variable.
3809         (do-tst-unbputc): Remove target.
3810         (do-tst-printf): Likewise.
3811         * stdlib/Makefile (tests): Change dependencies to ....
3812         (tests-special): ... additions to this variable.
3813         * string/Makefile (tests): Change dependencies to ....
3814         (tests-special): ... additions to this variable.
3815         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3816         (tests-special): ... additions to this variable.
3818         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3819         whole file.
3820         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3821         whole file.
3822         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3823         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3825         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3826         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3827         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3828         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3829         * conform/data/libgen.h-data [XPG3]: Likewise.
3830         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3831         * conform/data/ndbm.h-data [XPG3]: Likewise.
3832         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3833         * conform/data/netdb.h-data [XPG3]: Likewise.
3834         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3835         * conform/data/poll.h-data [XPG3]: Likewise.
3836         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3837         * conform/data/strings.h-data [XPG3]: Likewise.
3838         * conform/data/stropts.h-data [XPG3]: Likewise.
3839         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3840         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3841         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
3842         Likewise.
3843         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
3844         * conform/data/sys/time.h-data [XPG3]: Likewise.
3845         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
3846         * conform/data/sys/uio.h-data [XPG3]: Likewise.
3847         * conform/data/sys/un.h-data [XPG3]: Likewise.
3848         * conform/data/syslog.h-data [XPG3]: Likewise.
3849         * conform/data/ucontext.h-data [XPG3]: Likewise.
3850         * conform/data/utmpx.h-data [XPG3]: Likewise.
3851         * conform/data/varargs.h-data [UNIX98]: Enable file.
3853         * manual/Makefile (INSTALL_INFO): Remove variable setting.
3855         * math/libm-test.inc (struct test_f_f_data): Move expected results
3856         into structure for each rounding mode.
3857         (struct test_ff_f_data): Likewise.
3858         (struct test_ff_f_data_nexttoward): Likewise.
3859         (struct test_fi_f_data): Likewise.
3860         (struct test_fl_f_data): Likewise.
3861         (struct test_if_f_data): Likewise.
3862         (struct test_fff_f_data): Likewise.
3863         (struct test_c_f_data): Likewise.
3864         (struct test_f_f1_data): Likewise.
3865         (struct test_fF_f1_data): Likewise.
3866         (struct test_ffI_f1_data): Likewise.
3867         (struct test_c_c_data): Likewise.
3868         (struct test_cc_c_data): Likewise.
3869         (struct test_f_i_data): Likewise.
3870         (struct test_ff_i_data): Likewise.
3871         (struct test_f_l_data): Likewise.
3872         (struct test_f_L_data): Likewise.
3873         (struct test_fFF_11_data): Likewise.
3874         (RM_): New macro.
3875         (RM_FE_DOWNWARD): Likewise.
3876         (RM_FE_TONEAREST): Likewise.
3877         (RM_FE_TOWARDZERO): Likewise.
3878         (RM_FE_UPWARD): Likewise.
3879         (RUN_TEST_LOOP_f_f): Update references to expected results.
3880         (RUN_TEST_LOOP_2_f): Likewise.
3881         (RUN_TEST_LOOP_fff_f): Likewise.
3882         (RUN_TEST_LOOP_c_f): Likewise.
3883         (RUN_TEST_LOOP_f_f1): Likewise.
3884         (RUN_TEST_LOOP_fF_f1): Likewise.
3885         (RUN_TEST_LOOP_fI_f1): Likewise.
3886         (RUN_TEST_LOOP_ffI_f1): Likewise.
3887         (RUN_TEST_LOOP_c_c): Likewise.
3888         (RUN_TEST_LOOP_cc_c): Likewise.
3889         (RUN_TEST_LOOP_f_i): Likewise.
3890         (RUN_TEST_LOOP_f_i_tg): Likewise.
3891         (RUN_TEST_LOOP_ff_i_tg): Likewise.
3892         (RUN_TEST_LOOP_f_b): Likewise.
3893         (RUN_TEST_LOOP_f_b_tg): Likewise.
3894         (RUN_TEST_LOOP_f_l): Likewise.
3895         (RUN_TEST_LOOP_f_L): Likewise.
3896         (RUN_TEST_LOOP_fFF_11): Likewise.
3897         * math/gen-libm-test.pl (parse_args): Output four copies of
3898         expected results for each test.
3900         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3901         (__ASSUME_UTIMES): Remove.
3902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3903         (__ASSUME_UTIMES): Likewise.
3905         * math/gen-auto-libm-tests.c: Update comment on output format.
3906         (output_for_one_input_case): Generate before-rounding and
3907         after-rounding information as conditions on output flags not
3908         floating-point format.
3909         * math/auto-libm-test-out: Regenerated.
3910         * math/gen-libm-test.pl (cond_value): New function.
3911         (or_cond_value): Use cond_value.
3912         (generate_testfile): Handle conditional exceptions.
3914 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
3916         * math/libm-test.inc (max_valid_error): New variable.
3917         (init_max_error): Take new argument specifying whether function
3918         results are exactly determined.  Set max_valid_error and bound
3919         other variables for errors based on this argument.
3920         (set_max_error): Do not record results above max_valid_error.
3921         (check_float_internal): Only accept errors of up to 0.5ulps if
3922         also at most max_valid_error.
3923         (START): Take new argument EXACT and pass it to init_max_error.
3924         (acos_test): Update call to START.
3925         (acos_test_tonearest): Likewise.
3926         (acos_test_towardzero): Likewise.
3927         (acos_test_downward): Likewise.
3928         (acos_test_upward): Likewise.
3929         (acosh_test): Likewise.
3930         (asin_test): Likewise.
3931         (asin_test_tonearest): Likewise.
3932         (asin_test_towardzero): Likewise.
3933         (asin_test_downward): Likewise.
3934         (asin_test_upward): Likewise.
3935         (asinh_test): Likewise.
3936         (atan_test): Likewise.
3937         (atanh_test): Likewise.
3938         (atan2_test): Likewise.
3939         (cabs_test): Likewise.
3940         (cacos_test): Likewise.
3941         (cacosh_test): Likewise.
3942         (carg_test): Likewise.
3943         (casin_test): Likewise.
3944         (casinh_test): Likewise.
3945         (catan_test): Likewise.
3946         (catanh_test): Likewise.
3947         (cbrt_test): Likewise.
3948         (ccos_test): Likewise.
3949         (ccosh_test): Likewise.
3950         (ceil_test): Likewise.
3951         (cexp_test): Likewise.
3952         (cimag_test): Likewise.
3953         (clog_test): Likewise.
3954         (clog10_test): Likewise.
3955         (conj_test): Likewise.
3956         (copysign_test): Likewise.
3957         (cos_test): Likewise.
3958         (cos_test_tonearest): Likewise.
3959         (cos_test_towardzero): Likewise.
3960         (cos_test_downward): Likewise.
3961         (cos_test_upward): Likewise.
3962         (cosh_test): Likewise.
3963         (cosh_test_tonearest): Likewise.
3964         (cosh_test_towardzero): Likewise.
3965         (cosh_test_downward): Likewise.
3966         (cosh_test_upward): Likewise.
3967         (cpow_test): Likewise.
3968         (cproj_test): Likewise.
3969         (creal_test): Likewise.
3970         (csin_test): Likewise.
3971         (csinh_test): Likewise.
3972         (csqrt_test): Likewise.
3973         (ctan_test): Likewise.
3974         (ctan_test_tonearest): Likewise.
3975         (ctan_test_towardzero): Likewise.
3976         (ctan_test_downward): Likewise.
3977         (ctan_test_upward): Likewise.
3978         (ctanh_test): Likewise.
3979         (ctanh_test_tonearest): Likewise.
3980         (ctanh_test_towardzero): Likewise.
3981         (ctanh_test_downward): Likewise.
3982         (ctanh_test_upward): Likewise.
3983         (erf_test): Likewise.
3984         (erfc_test): Likewise.
3985         (exp_test): Likewise.
3986         (exp_test_tonearest): Likewise.
3987         (exp_test_towardzero): Likewise.
3988         (exp_test_downward): Likewise.
3989         (exp_test_upward): Likewise.
3990         (exp10_test): Likewise.
3991         (exp10_test_tonearest): Likewise.
3992         (exp10_test_towardzero): Likewise.
3993         (exp10_test_downward): Likewise.
3994         (exp10_test_upward): Likewise.
3995         (pow10_test): Likewise.
3996         (exp2_test): Likewise.
3997         (expm1_test): Likewise.
3998         (expm1_test_tonearest): Likewise.
3999         (expm1_test_towardzero): Likewise.
4000         (expm1_test_downward): Likewise.
4001         (expm1_test_upward): Likewise.
4002         (fabs_test): Likewise.
4003         (fdim_test): Likewise.
4004         (floor_test): Likewise.
4005         (fma_test): Likewise.
4006         (fma_test_towardzero): Likewise.
4007         (fma_test_downward): Likewise.
4008         (fma_test_upward): Likewise.
4009         (fmax_test): Likewise.
4010         (fmin_test): Likewise.
4011         (fmod_test): Likewise.
4012         (fpclassify_test): Likewise.
4013         (frexp_test): Likewise.
4014         (hypot_test): Likewise.
4015         (ilogb_test): Likewise.
4016         (isfinite_test): Likewise.
4017         (finite_test): Likewise.
4018         (isgreater_test): Likewise.
4019         (isgreaterequal_test): Likewise.
4020         (isinf_test): Likewise.
4021         (isless_test): Likewise.
4022         (islessequal_test): Likewise.
4023         (islessgreater_test): Likewise.
4024         (isnan_test): Likewise.
4025         (isnormal_test): Likewise.
4026         (issignaling_test): Likewise.
4027         (isunordered_test): Likewise.
4028         (j0_test): Likewise.
4029         (j1_test): Likewise.
4030         (jn_test): Likewise.
4031         (ldexp_test): Likewise.
4032         (lgamma_test): Likewise.
4033         (gamma_test): Likewise.
4034         (lrint_test): Likewise.
4035         (lrint_test_tonearest): Likewise.
4036         (lrint_test_towardzero): Likewise.
4037         (lrint_test_downward): Likewise.
4038         (lrint_test_upward): Likewise.
4039         (llrint_test): Likewise.
4040         (llrint_test_tonearest): Likewise.
4041         (llrint_test_towardzero): Likewise.
4042         (llrint_test_downward): Likewise.
4043         (llrint_test_upward): Likewise.
4044         (log_test): Likewise.
4045         (log10_test): Likewise.
4046         (log1p_test): Likewise.
4047         (log2_test): Likewise.
4048         (logb_test): Likewise.
4049         (logb_test_downward): Likewise.
4050         (lround_test): Likewise.
4051         (llround_test): Likewise.
4052         (modf_test): Likewise.
4053         (nearbyint_test): Likewise.
4054         (nextafter_test): Likewise.
4055         (nexttoward_test): Likewise.
4056         (pow_test): Likewise.
4057         (pow_test_tonearest): Likewise.
4058         (pow_test_towardzero): Likewise.
4059         (pow_test_downward): Likewise.
4060         (pow_test_upward): Likewise.
4061         (remainder_test): Likewise.
4062         (drem_test): Likewise.
4063         (remainder_test_tonearest): Likewise.
4064         (drem_test_tonearest): Likewise.
4065         (remainder_test_towardzero): Likewise.
4066         (drem_test_towardzero): Likewise.
4067         (remainder_test_downward): Likewise.
4068         (drem_test_downward): Likewise.
4069         (remainder_test_upward): Likewise.
4070         (drem_test_upward): Likewise.
4071         (remquo_test): Likewise.
4072         (rint_test): Likewise.
4073         (rint_test_tonearest): Likewise.
4074         (rint_test_towardzero): Likewise.
4075         (rint_test_downward): Likewise.
4076         (rint_test_upward): Likewise.
4077         (round_test): Likewise.
4078         (scalb_test): Likewise.
4079         (scalbn_test): Likewise.
4080         (scalbln_test): Likewise.
4081         (signbit_test): Likewise.
4082         (sin_test): Likewise.
4083         (sin_test_tonearest): Likewise.
4084         (sin_test_towardzero): Likewise.
4085         (sin_test_downward): Likewise.
4086         (sin_test_upward): Likewise.
4087         (sincos_test): Likewise.
4088         (sinh_test): Likewise.
4089         (sinh_test_tonearest): Likewise.
4090         (sinh_test_towardzero): Likewise.
4091         (sinh_test_downward): Likewise.
4092         (sinh_test_upward): Likewise.
4093         (sqrt_test): Likewise.
4094         (sqrt_test_tonearest): Likewise.
4095         (sqrt_test_towardzero): Likewise.
4096         (sqrt_test_downward): Likewise.
4097         (sqrt_test_upward): Likewise.
4098         (tan_test): Likewise.
4099         (tan_test_tonearest): Likewise.
4100         (tan_test_towardzero): Likewise.
4101         (tan_test_downward): Likewise.
4102         (tan_test_upward): Likewise.
4103         (tanh_test): Likewise.
4104         (tgamma_test): Likewise.
4105         (trunc_test): Likewise.
4106         (y0_test): Likewise.
4107         (y1_test): Likewise.
4108         (yn_test): Likewise.
4109         (significand_test): Likewise.
4111         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4112         individual tests in comment.
4113         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4114         (prev_max_error): New variable.
4115         (prev_real_max_error): Likewise.
4116         (prev_imag_max_error): Likewise.
4117         (compare_ulp_data): Don't refer to test names in comment.
4118         (find_test_ulps): Remove function.
4119         (find_function_ulps): Likewise.
4120         (find_complex_function_ulps): Likewise.
4121         (init_max_error): Take function name as argument.  Look up ulps
4122         for that function.
4123         (print_ulps): Remove function.
4124         (print_max_error): Use prev_max_error instead of calling
4125         find_function_ulps.
4126         (print_complex_max_error): Use prev_real_max_error and
4127         prev_imag_max_error instead of calling find_complex_function_ulps.
4128         (check_float_internal): Take max_ulp parameter instead of calling
4129         find_test_ulps.  Don't call print_ulps.
4130         (check_float): Update call to check_float_internal.
4131         (check_complex): Update calls to check_float_internal.
4132         (START): Pass argument to init_max_error.
4133         * math/gen-libm-test.pl (%results): Don't include "kind"
4134         information.
4135         (parse_ulps): Don't handle ulps of individual tests.
4136         (print_ulps_file): Likewise.
4137         (output_ulps): Likewise.
4138         * math/README.libm-test: Update.
4139         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4140         individual tests.
4141         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4142         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4143         * sysdeps/arm/libm-test-ulps: Likewise.
4144         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4145         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4146         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4147         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4148         * sysdeps/microblaze/libm-test-ulps: Likewise.
4149         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4150         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4151         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4152         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4153         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4154         * sysdeps/sh/libm-test-ulps: Likewise.
4155         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4156         * sysdeps/tile/libm-test-ulps: Likewise.
4157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4159 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4161         * math/libm-test.inc (print_complex_max_error): Check separately
4162         whether real and imaginary errors are within allowed range and
4163         pass 0 to print_complex_function_ulps instead of value within
4164         allowed range.
4166 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4168         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4169         formatting.
4170         (get_handles_fopen): Likewise.
4171         (do_write_test): Likewise.
4173         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4175         * libio/fileops.c (do_ftell): Use cached offset when
4176         available.
4177         * libio/iofwide.c (do_ftell_wide): Likewise.
4178         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4179         _IO_file_attach.
4180         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4182         [BZ #16532]
4183         * libio/libioP.h (get_file_offset): New function.
4184         * libio/fileops.c (get_file_offset): Likewise.
4185         (do_ftell): Likewise.
4186         (_IO_new_file_seekoff): Split out ftell logic.
4187         * libio/wfileops.c (do_ftell_wide): Likewise.
4188         (_IO_wfile_seekoff): Split out ftell logic.
4189         * libio/tst-ftell-active-handler.c: New test case.
4190         * libio/Makefile (tests): Add it.
4192 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4194         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4195         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4197 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4199         [BZ #16639]
4200         * nscd/connections.c (nscd_init): Call do_exit.
4201         (start_threads): Call do_exit and notify_parent.
4202         (begin_drop_privileges): Call do_exit.
4203         (finish_drop_privileges): Likewise.
4204         * nscd/selinux.c (preserve_capabilities): Likewise.
4205         (install_real_capabilities): Likewise.
4206         (nscd_selinux_enabled): Likewise.
4207         (avc_create_thread): Likewise.
4208         (avc_alloc_lock): Likewise.
4209         (nscd_avc_init): Likewise.
4210         * nscd/nscd.c (parent_fd): New static variable.
4211         (main): Create a pipe between parent and child processes.
4212         Skip closing parent_fd.
4213         (monitor_child): New function.
4214         (do_exit): Likewise.
4215         (notify_parent): Likewise.
4216         * nscd/nscd.h (notify_parent): Likewise.
4217         (do_exit): Likewise.
4219 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4221         * malloc/malloc.c (__libc_calloc): Revert last change.
4223 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4225         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4227 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4229         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4231         implementation.
4232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4233         (__libc_ifunc_impl_list): Likewise.
4234         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4235         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4236         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4237         * string/strrchr.c: Define STRRCHR.
4239 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4241         * benchtest/bench-strtok.c (simple_strtok): Delete.
4242         (strtok_string): Use as benchmark.
4243         * string/strtok (STRTOK): New macro.
4245 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4247         * manual/threads.texi: Add header and standard comments to all
4248         functions.
4250         * elf/dl-lookup.c (check_match): New function.
4251         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4252         (do_lookup_x): Remove nested function check_match. Use non-nested
4253         function check_match.
4255 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4257         * csu/Makefile (generated, before-compile): Use += rather than =.
4258         * catgets/Makefile (generated, generated-dirs): Likewise.
4259         * debug/Makefile (generated): Likewise.
4260         * dlfcn/Makefile (generated): Likewise.
4261         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4262         * iconvdata/Makefile (before-compile, generated): Likewise.
4263         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4264         * libio/Makefile (generated): Likewise.
4265         * malloc/Makefile (generated): Likewise.
4266         * manual/Makefile (generated, generated-dirs): Likewise.
4267         * misc/Makefile (generated): Likewise.
4268         * posix/Makefile (generated): Likewise.
4269         * resolv/Makefile (generated): Likewise.
4270         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4271         * timezone/Makefile (generated, generated-dirs): Likewise.
4273         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4275 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4278         power8 implementation.
4279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4280         file: POWER8 llround ifunc implementation.
4281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4282         (__lllround): Add POWER8 implementation.
4283         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4284         POWER8 llround implementation.
4286         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4287         power8 implementation.
4288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4289         file: POWER8 llrint ifunc implementation.
4290         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4291         Add POWER8 implementation.
4292         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4293         POWER8 llrint implementation.
4295         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4296         power8 implementation.
4297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4298         file: POWER8 finite ifunc implementation.
4299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4300         Add POWER8 implementation.
4301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4302         Likewise.
4303         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4304         POWER8 finite implementation.
4305         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4307         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4308         power8 implementation.
4309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4310         file: POWER8 isinf ifunc implementation.
4311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4312         POWER8 implementation.
4313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4314         Likewise.
4315         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4316         isinf implementation.
4317         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4319         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4320         (INIT_ARCH): Add hwcap2 initialization.
4321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4322         power8 implementation.
4323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4324         file: POWER8 isnan ifunc implementation.
4325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4326         POWER8 implementation.
4327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4328         Likewise.
4329         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4330         isnan implementation.
4331         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4333 2014-02-27  Joey Ye  <joey.ye@arm.com>
4335         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4336         (_FP_NANFRAC_Q): Set to zero.
4338 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4340         [BZ #16623]
4341         * math/auto-libm-test-in: New test inputs.
4342         * math/auto-libm-test-out: Regenerate.
4343         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4344         and DA.
4345         (__cos): Likewise.
4346         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4348 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4350         * scripts/evaluate-test.sh: Take new argument indicating whether
4351         failure is expected.
4352         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4353         indicating whether failure is expected.
4354         * conform/Makefile (test-xfail-run-conformtest): New variable.
4355         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4356         level.
4357         * posix/Makefile (test-xfail-annexc): New variable.
4358         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4360 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4362         * argp/Makefile: Include Makeconfig immediately after defining
4363         subdir.
4364         * assert/Makefile: Likewise.
4365         * benchtests/Makefile: Likewise.
4366         * catgets/Makefile: Likewise.
4367         * conform/Makefile: Likewise.
4368         * crypt/Makefile: Likewise.
4369         * csu/Makefile: Likewise.
4370         (all): Remove target.
4371         * ctype/Makefile: Include Makeconfig immediately after defining
4372         subdir.
4373         * debug/Makefile: Likewise.
4374         * dirent/Makefile: Likewise.
4375         * dlfcn/Makefile: Likewise.
4376         * gmon/Makefile: Likewise.
4377         * gnulib/Makefile: Likewise.
4378         * grp/Makefile: Likewise.
4379         * gshadow/Makefile: Likewise.
4380         * hesiod/Makefile: Likewise.
4381         * hurd/Makefile: Likewise.
4382         (all): Remove target.
4383         * iconvdata/Makefile: Include Makeconfig immediately after
4384         defining subdir.
4385         * inet/Makefile: Likewise.
4386         * intl/Makefile: Likewise.
4387         * io/Makefile: Likewise.
4388         * libio/Makefile: Likewise.
4389         (all): Remove target.
4390         * locale/Makefile: Include Makeconfig immediately after defining
4391         subdir.
4392         * login/Makefile: Likewise.
4393         * mach/Makefile: Likewise.
4394         (all): Remove target.
4395         * malloc/Makefile: Include Makeconfig immediately after defining
4396         subdir.
4397         (all): Remove target.
4398         * manual/Makefile: Include Makeconfig immediately after defining
4399         subdir.
4400         * math/Makefile: Likewise.
4401         * misc/Makefile: Likewise.
4402         * nis/Makefile: Likewise.
4403         * nss/Makefile: Likewise.
4404         * po/Makefile: Likewise.
4405         (all): Remove target.
4406         * posix/Makefile: Include Makeconfig immediately after defining
4407         subdir.
4408         * pwd/Makefile: Likewise.
4409         * resolv/Makefile: Likewise.
4410         * resource/Makefile: Likewise.
4411         * rt/Makefile: Likewise.
4412         * setjmp/Makefile: Likewise.
4413         * shadow/Makefile: Likewise.
4414         * signal/Makefile: Likewise.
4415         * socket/Makefile: Likewise.
4416         * soft-fp/Makefile: Likewise.
4417         * stdio-common/Makefile: Likewise.
4418         * stdlib/Makefile: Likewise.
4419         * streams/Makefile: Likewise.
4420         * string/Makefile: Likewise.
4421         * sunrpc/Makefile: Likewise.
4422         (all): Remove target.
4423         * sysvipc/Makefile: Include Makeconfig immediately after defining
4424         subdir.
4425         * termios/Makefile: Likewise.
4426         * time/Makefile: Likewise.
4427         * timezone/Makefile: Likewise.
4428         (all): Remove target.
4429         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4430         subdir.
4431         * wctype/Makefile: Likewise.
4433 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4435         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4436         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4437         (libc_feholdexcept_setround_mips): Ditto.
4438         (libc_feholdsetround): New.
4439         (libc_feholdsetroundf): New.
4440         (libc_feholdsetroundl): New.
4441         (libc_feupdateenv_test_mips): New.
4442         (libc_feupdateenv_test): New.
4443         (libc_feupdateenv_testf): New.
4444         (libc_feupdateenv_testl): New.
4445         (libc_feresetround): New.
4446         (libc_feresetroundf): New.
4447         (libc_feresetroundl): New.
4448         (libc_fetestexcept_mips): New.
4449         (libc_fetestexcept): New.
4450         (libc_fetestexceptf): New.
4451         (libc_fetestexceptl): New.
4452         (HAVE_RM_CTX): New.
4453         (libc_feholdexcept_setround_mips_ctx): New.
4454         (libc_feholdexcept_setround_ctx): New.
4455         (libc_feholdexcept_setroundf_ctx): New.
4456         (libc_feholdexcept_setroundl_ctx): New.
4457         (libc_fesetenv_mips_ctx): New.
4458         (libc_fesetenv_ctx): New.
4459         (libc_fesetenv_ctxf): New.
4460         (libc_fesetenv_ctxl): New.
4461         (libc_feupdateenv_mips_ctx): New.
4462         (libc_feupdateenv_ctx): New.
4463         (libc_feupdateenvf_ctx): New.
4464         (libc_feupdateenvl_ctx): New.
4465         (libc_feholdsetround_mips_ctx): New.
4466         (libc_feholdsetround_ctx): New.
4467         (libc_feholdsetroundf_ctx): New.
4468         (libc_feholdsetroundl_ctx): New.
4469         (libc_feresetround_mips_ctx): New.
4470         (libc_feresetround_ctx): New.
4471         (libc_feresetroundf_ctx): New.
4472         (libc_feresetroundl_ctx): New.
4474 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4476         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4478         * manual/ipc.texi: New file.
4479         * manual/Makefile (chapters): Add ipc.
4480         * manual/job.texi: Add "Inter-Process Communication" to next.
4481         * manual/process.texi: Add "Inter-Process Communication" to prev.
4483 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4485         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4487 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4489         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4491         * manual/arith.texi: Fix spaces after sentences.
4492         * manual/charset.texi: Likewise.
4493         * manual/errno.texi: Likewise.
4494         * manual/install.texi: Likewise.
4495         * manual/llio.texi: Likewise.
4496         * manual/locale.texi: Likewise.
4497         * manual/maint.texi: Likewise.
4498         * manual/math.texi: Likewise.
4499         * manual/memory.texi: Likewise.
4500         * manual/message.texi: Likewise.
4501         * manual/probes.texi: Likewise.
4502         * manual/resource.texi: Likewise.
4503         * manual/signal.texi: Likewise.
4504         * manual/socket.texi: Likewise.
4505         * manual/stdio.texi: Likewise.
4506         * manual/string.texi: Likewise.
4507         * manual/time.texi: Likewise.
4508         * manual/users.texi: Likewise.
4510 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4512         [BZ #16632]
4513         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4514         _DEFAULT_SOURCE is defined.
4516 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4517             Carlos O'Donell  <carlos@redhat.com>
4519         [BZ #16613]
4520         * elf/dl-tls.c (_dl_count_modids): New function.
4521         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4522         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4523         audit library and increment generation counter.
4524         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4525         * elf/tst-audit9.c: New file.
4526         * elf/tst-auditmod9a.c: New file.
4527         * elf/tst-auditmod9b.c: New file.
4528         * elf/Makefile: Add rules to build and run tst-audit9.
4530 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4532         [BZ #15347]
4533         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4535 2014-02-25  Will Newton  <will.newton@linaro.org>
4537         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4538         (__longjmp): Restore sp and lr before restoring callee
4539         saved registers.  Add longjmp and longjmp_target
4540         SystemTap probe point.
4541         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4542         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4543         Define to zero to match jmpbuf layout.
4544         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4545         (__sigsetjmp): Save sp and lr before saving callee
4546         saved registers.  Add setjmp SystemTap probe point.
4548 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4550         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4552 2014-02-24  Andreas Schwab  <schwab@suse.de>
4554         [BZ #15804]
4555         * elf/pldd.c (wait_for_ptrace_stop): New function.
4556         (main): Call it after attaching.
4558 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4560         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4561         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4562         Versions files is now verboten.
4563         * hurd/Versions (libc: GLIBC_2.0):
4564         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4565         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4566         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4567         * mach/Versions: Likewise.
4569         * csu/Versions: Remove unused %include.
4570         * resolv/Versions: Likewise.
4572 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4574         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4575         ($(objpfx)check-local-headers.out): Likewise.
4576         ($(objpfx)begin-end-check.out): Likewise.
4577         * Makerules (check-abi-%.out): Likewise.
4578         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4579         ($(objpfx)test2.cat): Likewise.
4580         ($(objpfx)de/libc.cat): Likewise.
4581         ($(objpfx)test-gencat.out): Likewise.
4582         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4583         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4584         ($(objpfx)noload-mem): Likewise.
4585         ($(objpfx)tst-pathopt.out): Likewise.
4586         ($(objpfx)tst-rtld-load-self.out): Likewise.
4587         ($(objpfx)tst-array1-cmp.out): Likewise.
4588         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4589         ($(objpfx)tst-array2-cmp.out): Likewise.
4590         ($(objpfx)tst-array3-cmp.out): Likewise.
4591         ($(objpfx)tst-array4-cmp.out): Likewise.
4592         ($(objpfx)tst-array5-cmp.out): Likewise.
4593         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4594         ($(objpfx)check-textrel.out): Likewise.
4595         ($(objpfx)check-execstack.out): Likewise.
4596         ($(objpfx)check-localplt.out): Likewise.
4597         ($(objpfx)order2-cmp.out): Likewise.
4598         ($(objpfx)tst-leaks1-mem): Likewise.
4599         ($(objpfx)tst-leaks1-static-mem): Likewise.
4600         ($(objpfx)tst-initorder-cmp.out): Likewise.
4601         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4602         ($(objpfx)tst-unused-dep.out): Likewise.
4603         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4604         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4605         * iconv/Makefile (test-iconvconfig): Likewise.
4606         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4607         ($(objpfx)iconv-test.out): Likewise.
4608         ($(objpfx)tst-tables.out): Likewise.
4609         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4610         ($(objpfx)tst-gettext.out): Likewise.
4611         ($(objpfx)tst-translit.out): Likewise.
4612         ($(objpfx)tst-gettext2.out): Likewise.
4613         ($(objpfx)tst-gettext4.out): Likewise.
4614         ($(objpfx)tst-gettext6.out): Likewise.
4615         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4616         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4617         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4618         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4619         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4620         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4621         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4622         ($(objpfx)wordexp-tst.out): Likewise.
4623         ($(objpfx)annexc.out): Likewise.
4624         ($(objpfx)tst-fnmatch-mem): Likewise.
4625         ($(objpfx)bug-regex2-mem): Likewise.
4626         ($(objpfx)bug-regex14-mem): Likewise.
4627         ($(objpfx)bug-regex21-mem): Likewise.
4628         ($(objpfx)bug-regex31-mem): Likewise.
4629         ($(objpfx)tst-vfork3-mem): Likewise.
4630         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4631         ($(objpfx)tst-pcre-mem): Likewise.
4632         ($(objpfx)tst-boost-mem): Likewise.
4633         ($(objpfx)tst-getconf.out): Likewise.
4634         ($(objpfx)bug-ga2-mem): Likewise.
4635         ($(objpfx)bug-glob2-mem): Likewise.
4636         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4637         ($(objpfx)mtrace-tst-leaks2): Likewise.
4638         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4639         ($(objpfx)tst-printf.out): Likewise.
4640         ($(objpfx)tst-setvbuf1.out): Likewise.
4641         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4642         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4643         ($(objpfx)tst-fmtmsg.out): Likewise.
4644         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4645         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4647         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4648         * bits/sigaction.h [__USE_MISC]: Likewise.
4649         * bits/waitstatus.h: Update #endif comments.
4650         * ctype/ctype.h: Likewise.
4651         * dirent/dirent.h: Likewise.
4652         [__USE_MISC]: Remove redundant conditionals.
4653         * grp/grp.h: Update #endif comments.
4654         [__USE_GNU]: Remove redundant conditionals.
4655         [__USE_MISC]: Likewise.
4656         * inet/netinet/in.h [__USE_GNU]: Likewise.
4657         * io/sys/stat.h [__USE_MISC]: Likewise.
4658         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4659         * libio/bits/stdio.h: Update #endif comments.
4660         [__USE_MISC]: Remove redundant conditionals.
4661         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4662         * libio/stdio.h: Update #endif comments.
4663         [__USE_MISC]: Remove redundant conditionals.
4664         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4665         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4666         * math/math.h: Update #else and #endif comments.
4667         [__USE_MISC]: Remove redundant conditionals.
4668         * misc/sys/uio.h: Update #endif comments.
4669         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4670         * posix/glob.h [__USE_MISC]: Likewise.
4671         * posix/sys/types.h: Update #endif comments.
4672         [__USE_MISC]: Remove redundant conditionals.
4673         * posix/sys/wait.h: Update #endif comments.
4674         [__USE_MISC]: Remove redundant conditionals.
4675         * posix/unistd.h: Update #endif comments.
4676         [__USE_MISC]: Remove redundant conditionals.
4677         * pwd/pwd.h [__USE_GNU]: Likewise.
4678         [__USE_MISC]: Likewise.
4679         * resolv/netdb.h [__USE_GNU]: Likewise.
4680         * signal/signal.h: Update #endif comments.
4681         [__USE_MISC]: Remove redundant conditionals.
4682         * stdlib/stdlib.h: Update #else and #endif comments.
4683         [__USE_MISC]: Remove redundant conditionals.
4684         [__USE_GNU]: Likewise.
4685         * string/bits/string2.h [__USE_MISC]: Likewise.
4686         * string/string.h: Update #endif comments.
4687         [__USE_MISC]: Remove redundant conditionals.
4688         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4689         Likewise.
4690         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4691         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4692         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4693         Likewise.
4694         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4695         Likewise.
4696         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4697         comments.
4698         [__USE_MISC]: Remove redundant conditionals.
4699         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4700         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4701         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4702         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4703         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4704         Likewise.
4705         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4706         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4707         Likewise.
4708         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4709         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4710         Likewise.
4711         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4712         Likewise.
4713         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4714         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4715         Likewise.
4716         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4717         Likewise.
4718         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4719         * sysdeps/x86/bits/string.h: Update #endif comments.
4720         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4721         conditionals.
4722         * time/sys/time.h: Update #endif comments.
4723         * time/time.h: Likewise.
4724         [__USE_MISC]: Remove redundant conditionals.
4726 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4728         [BZ #16600]
4729         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4731 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4733         * Versions.def (librt): Add GLIBC_2.17.
4735 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4737         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4738         synonym for _SYS_AUXV_H to allow direct inclusion.
4739         * sysdeps/sparc/bits/hwcap.h: Likewise.
4740         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4741         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4742         * sysdeps/sparc/sysdep.h: Likewise.
4744 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4746         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4748 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4750         * benchtests/bench-strrchr.c: Print length instead of position.
4752 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4754         [BZ #16611]
4755         * sysdeps/unix/sysv/linux/kernel-features.h
4756         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4757         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4758         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4759         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4760         Likewise.
4761         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4762         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4763         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4764         (__ASSUME_SENDMMSG): Define instead of using previous
4765         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4766         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4767         (__ASSUME_SENDMMSG_SYSCALL): Define.
4768         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4769         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4770         Likewise.
4771         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4772         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4773         Likewise.
4774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4775         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4776         Likewise.
4777         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4778         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4779         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4780         [__ASSUME_SENDMMSG]: Change conditionals to
4781         [__ASSUME_SENDMMSG_SOCKETCALL].
4782         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4783         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4784         Define.
4785         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4786         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4787         Likewise.
4788         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4789         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4790         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4791         [!__ASSUME_SENDMMSG]: Change conditional to
4792         [!__ASSUME_SENDMMSG_SOCKETCALL].
4793         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4794         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4795         Define.
4797         [BZ #16610]
4798         * sysdeps/unix/sysv/linux/kernel-features.h
4799         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4800         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4801         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4802         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4803         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4804         [__i386__ || __sparc__]
4805         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4806         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4807         (__ASSUME_RECVMMSG): Define instead of using previous
4808         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4809         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4810         (__ASSUME_RECVMMSG_SYSCALL): Define.
4811         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4812         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4813         Likewise.
4814         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4815         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4816         Likewise.
4817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4818         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4819         Likewise.
4820         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4821         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4822         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4823         [__ASSUME_RECVMMSG]: Change condition to
4824         [__ASSUME_RECVMMSG_SOCKETCALL].
4825         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4826         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4827         Define.
4828         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4829         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4830         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4831         Likewise.
4832         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4833         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4834         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4835         [!__ASSUME_RECVMMSG]: Change condition to
4836         [!__ASSUME_RECVMMSG_SOCKETCALL].
4837         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4838         (__ASSUME_RECVMMSG_SYSCALL): Define.
4840         [BZ #16609]
4841         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
4842         __powerpc__ || __s390__ || __sh__ || __sparc__]
4843         (__ASSUME_SOCKETCALL): Define.
4844         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
4845         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
4846         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
4847         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
4848         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4849         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4850         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
4851         (__ASSUME_ACCEPT4): Define instead of using previous
4852         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
4853         __powerpc__ || __sparc__ || __s390__)] condition.
4854         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4855         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4856         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
4857         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4858         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4859         [!__ASSUME_ACCEPT4]: Change condition to
4860         [!__ASSUME_ACCEPT4_SOCKETCALL].
4861         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4862         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
4863         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
4864         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4865         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
4866         __ASSUME_ACCEPT4_SYSCALL.
4867         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
4868         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
4869         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4870         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
4871         __ASSUME_ACCEPT4_SYSCALL.
4872         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
4873         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
4874         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
4875         [__ASSUME_ACCEPT4]: Change condition to
4876         [__ASSUME_ACCEPT4_SOCKETCALL].
4877         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4878         (__ASSUME_SOCKETCALL): Define.
4879         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
4880         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4881         (__ASSUME_SOCKETCALL): Define.
4882         (__ASSUME_ACCEPT4): Remove.
4883         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
4884         Define.
4885         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4886         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
4887         Likewise.
4888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4889         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
4891         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
4892         macro.
4893         (HWCAP_ARM_LPAE): Likewise.
4894         (HWCAP_ARM_EVTSTRM): Likewise.
4895         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
4896         Add vpfd32, lpae and evtstrm.
4897         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4898         Increase to 22.
4900 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
4902         * math/auto-libm-test-in: Add tests of clog10.
4903         * math/auto-libm-test-out: Regenerated.
4904         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
4905         * sysdeps/i386/fpu/libm-test-ulps: Update.
4906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4908 2014-02-18  Andreas Schwab  <schwab@suse.de>
4910         [BZ #16574]
4911         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
4912         Store non-zero if the second buffer was newly allocated.
4913         (send_dg): Likewise.
4914         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
4915         to send_vc and send_dg.
4916         (res_nsend): Pass NULL for ansp2_malloced.
4917         * resolv/res_query.c (__libc_res_nquery): Add parameter
4918         answerp2_malloced and pass it down to __libc_res_nsend.
4919         (res_nquery): Pass additional NULL to __libc_res_nquery.
4920         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
4921         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
4922         second answer buffer if answerp2_malloced was set.
4923         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
4924         (__libc_res_nquerydomain): Add parameter
4925         answerp2_malloced and pass it down to __libc_res_nquery.
4926         (res_nquerydomain): Pass additional NULL to
4927         __libc_res_nquerydomain.
4928         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
4929         additional NULL to __libc_res_nsend and __libc_res_nquery.
4930         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
4931         additional NULL to __libc_res_nsearch.
4932         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
4933         parameter of __libc_res_nsearch to check for separately allocated
4934         second buffer.
4935         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
4936         __libc_res_nquery.
4937         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
4938         additional NULL to __libc_res_nquery.
4939         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
4940         __libc_res_nsearch.
4941         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
4942         * include/resolv.h: Update prototypes of __libc_res_nquery,
4943         __libc_res_nsearch, __libc_res_nsend.
4945 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
4947         * math/auto-libm-test-in: Add tests of fma.
4948         * math/auto-libm-test-out: Regenerated.
4949         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
4950         (fma_towardzero_test_data): Likewise.
4951         (fma_downward_test_data): Likewise.
4952         (fma_upward_test_data): Likewise.
4953         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
4954         mpc_mode.
4955         (rounding_modes): Add values for new field.
4956         (func_calc_method): Add value mpfr_fff_f.
4957         (func_calc_desc): Add mpfr_fff_f union field.
4958         (test_function): Add field exact_args.
4959         (FUNC): Add macro argument EXACT_ARGS.
4960         (FUNC_mpfr_f_f): Update call to FUNC.
4961         (FUNC_mpfr_f_f): Likewise.
4962         (FUNC_mpfr_ff_f): Likewise.
4963         (FUNC_mpfr_if_f): Likewise.
4964         (FUNC_mpc_c_f): Likewise.
4965         (FUNC_mpc_c_c): Likewise.
4966         (test_functions): Add fma.  Update calls to FUNC.
4967         (handle_input_arg): Add argument exact_args.
4968         (add_test): Update call to handle_input_arg.
4969         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
4970         (output_for_one_input_case): Update call to calc_generic_results.
4971         Recalculate exact zero results in each rounding mode.
4973         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
4974         non-negative before setting low bit.
4975         * math/auto-libm-test-in: Mark one asin test possibly having
4976         spurious underflow.
4977         * math/auto-libm-test-out: Regenerated.
4978         * sysdeps/i386/fpu/libm-test-ulps: Update.
4979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4981 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
4983         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
4984         * sysdeps/unix/sysv/linux/microblaze: Move directory from
4985         ports/sysdeps/unix/sysv/linux/microblaze.
4986         * README: Add missing listing for microblaze*-*-linux-gnu.
4988 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
4990         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
4991         * sysdeps/unix/sysv/linux/ia64: Move directory from
4992         ports/sysdeps/unix/sysv/linux/ia64.
4993         * README: Update listing for ia64-*-linux-gnu.
4995 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
4996             Joseph Myers  <joseph@codesourcery.com>
4998         * Makeconfig (test-name): New variable.
4999         (evaluate-test): Likewise.
5000         * Makerules (do-test-clean): Remove .test-result files.
5001         (common-mostlyclean): Likewise.
5002         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5003         * scripts/evaluate-test.sh: New file.
5005 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5007         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5008         separate $(objpfx)tst-fopenloc-cmp.out and
5009         $(objpfx)tst-fopenloc-mem.out targets.
5010         (tests): Update dependencies.
5011         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5012         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5013         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5014         (tst-rxspencer-no-utf8-ARGS): New variable.
5015         (tst-rxspencer-no-utf8-ENV): Likewise.
5016         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5017         instead of $(objpfx)tst-rxspencer-mem.
5018         ($(objpfx)tst-rxspencer-mem): Change target to
5019         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5020         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5021         * posix/tst-rxspencer-no-utf8.c: New file.
5023         * elf/Makefile ($(objpfx)order.out): Remove rule.
5024         [$(run-built-tests) = yes] (tests): Depend on
5025         $(objpfx)order-cmp.out.
5026         ($(objpfx)order-cmp.out): New rule.
5027         [$(run-built-tests) = yes] (tests): Depend on
5028         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5029         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5030         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5031         $(objpfx)tst-array5-static-cmp.out.
5032         ($(objpfx)tst-array1.out): Remove rule.
5033         ($(objpfx)tst-array1-cmp.out): New rule.
5034         ($(objpfx)tst-array1-static.out): Remove rule.
5035         ($(objpfx)tst-array1-static-cmp.out): New rule.
5036         ($(objpfx)tst-array2.out): Remove rule.
5037         ($(objpfx)tst-array2-cmp.out): New rule.
5038         ($(objpfx)tst-array3.out): Remove rule.
5039         ($(objpfx)tst-array3-cmp.out): New rule.
5040         ($(objpfx)tst-array4.out): Remove rule.
5041         ($(objpfx)tst-array4-cmp.out): New rule.
5042         ($(objpfx)tst-array5.out): Remove rule.
5043         ($(objpfx)tst-array5-cmp.out): New rule.
5044         ($(objpfx)tst-array5-static.out): Remove rule.
5045         ($(objpfx)tst-array5-static-cmp.out): New rule.
5046         [$(run-built-tests) = yes] (tests): Depend on
5047         $(objpfx)order2-cmp.out.
5048         ($(objpfx)order2.out): Remove rule.
5049         ($(objpfx)order2-cmp.out): New rule.
5050         ($(objpfx)tst-initorder.out): Remove rule.
5051         [$(run-built-tests) = yes] (tests): Depend on
5052         $(objpfx)tst-initorder-cmp.out.
5053         ($(objpfx)tst-initorder-cmp.out): New rule.
5054         ($(objpfx)tst-initorder2.out): Remove rule.
5055         [$(run-built-tests) = yes] (tests): Depend on
5056         $(objpfx)tst-initorder2-cmp.out.
5057         ($(objpfx)tst-initorder2-cmp.out): New rule.
5058         [$(run-built-tests) = yes] (tests): Depend on
5059         $(objpfx)tst-unused-dep-cmp.out.
5060         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5061         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5062         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5063         on $(objpfx)tst-setvbuf1-cmp.out.
5064         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5065         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5066         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5067         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5068         ($(objpfx)tst-svc.out): Remove rule.
5069         ($(objpfx)tst-svc-cmp.out): New rule.
5071 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5073         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5074         * ctype/ctype.h [__USE_MISC]: Likewise.
5075         * dirent/dirent.h [__USE_MISC]: Likewise.
5076         * grp/grp.h [__USE_MISC]: Likewise.
5077         * io/fcntl.h [__USE_MISC]: Likewise.
5078         * io/sys/stat.h [__USE_MISC]: Likewise.
5079         * libio/stdio.h [__USE_MISC]: Likewise.
5080         * posix/unistd.h [__USE_MISC]: Likewise.
5081         * pwd/pwd.h [__USE_MISC]: Likewise.
5082         * stdlib.h [__USE_MISC]: Likewise.
5083         * string/bits/string2.h [__USE_MISC]: Likewise.
5084         * string/string.h [__USE_MISC]: Likewise.
5085         * time/time.h [__USE_MISC]: Likewise.
5087 2014-02-13  Andreas Schwab  <schwab@suse.de>
5089         [BZ #16574]
5090         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5091         second answer buffer if it was separately allocated.
5093 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5095         * sysdeps/mips/math-tests.h: Include <features.h>.
5096         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5097         (ROUNDING_TESTS_long_double): Do not define.
5098         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5099         (EXCEPTION_TESTS_long_double): Likewise.
5100         * sysdeps/mips/mips64/libm-test-ulps: Update.
5102         * include/features.h (__USE_BSD): Remove macro definitions.
5103         (__USE_SVID): Likewise.
5104         (_BSD_SOURCE): Likewise.
5105         (_SVID_SOURCE): Likewise.
5106         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5107         from definition of _DEFAULT_SOURCE.
5108         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5109         [_DEFAULT_SOURCE].
5110         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5111         * bits/mman.h [__USE_BSD]: Likewise.
5112         * bits/termios.h [__USE_BSD]: Likewise.
5113         * bits/waitstatus.h [__USE_BSD]: Likewise.
5114         * ctype/ctype.h [__USE_SVID]: Likewise.
5115         * dirent/dirent.h [__USE_BSD]: Likewise.
5116         * grp/grp.h [__USE_SVID]: Likewise.
5117         [__USE_BSD]: Likewise.
5118         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5119         * io/fcntl.h [__USE_BSD]: Likewise.
5120         * io/ftw.h [__USE_BSD]: Likewise.
5121         * io/sys/stat.h [__USE_BSD]: Likewise.
5122         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5123         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5124         * libio/stdio.h [__USE_SVID]: Likewise.
5125         [__USE_BSD]: Likewise.
5126         * math/math.h [__USE_SVID]: Likewise.
5127         [__USE_BSD]: Likewise.
5128         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5129         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5130         * misc/search.h [__USE_SVID]: Likewise.
5131         * misc/sys/mman.h [__USE_BSD]: Likewise.
5132         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5133         * misc/sys/uio.h [__USE_BSD]: Likewise.
5134         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5135         * posix/glob.h [__USE_BSD]: Likewise.
5136         * posix/regex.h [__USE_BSD]: Likewise.
5137         * posix/sys/types.h [__USE_BSD]: Likewise.
5138         [__USE_SVID]: Likewise.
5139         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5140         * posix/sys/wait.h [__USE_BSD]: Likewise.
5141         [__USE_SVID]: Likewise.
5142         * posix/unistd.h [__USE_BSD]: Likewise.
5143         [__USE_SVID]: Likewise.
5144         * pwd/pwd.h [__USE_SVID]: Likewise.
5145         * resolv/netdb.h [__USE_BSD]: Likewise.
5146         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5147         * signal/signal.h [__USE_BSD]: Likewise.
5148         [__USE_SVID]: Likewise.
5149         * socket/sys/socket.h [__USE_BSD]: Likewise.
5150         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5151         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5152         [__USE_SVID]: Likewise.
5153         * string/bits/string2.h [__USE_BSD]: Likewise.
5154         [__USE_SVID]: Likewise.
5155         * string/bits/string3.h [__USE_BSD]: Likewise.
5156         * string/endian.h [__USE_BSD]: Likewise.
5157         * string/string.h [__USE_SVID]: Likewise.
5158         [__USE_BSD]: Likewise.
5159         * string/strings.h [__USE_BSD]: Likewise.
5160         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5161         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5162         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5163         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5164         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5165         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5166         Likewise.
5167         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5168         Likewise.
5169         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5170         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5171         Likewise.
5172         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5173         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5174         Likewise.
5175         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5176         Likewise.
5177         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5178         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5179         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5180         Likewise.
5181         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5182         Likewise.
5183         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5184         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5185         * termios/termios.h [__USE_BSD]: Likewise.
5186         * time/sys/time.h [__USE_BSD]: Likewise.
5187         * time/time.h [__USE_BSD]: Likewise.
5188         [__USE_SVID]: Likewise.
5190         * Makefile (subdir_targets): Remove subdir_lint.out.
5192         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5193         (do-tst-printf): Likewise.
5194         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5195         $(objpfx)tst-printf.out.
5197         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5199         * Makerules (check-abi-%): Change target to
5200         $(objpfx)check-abi-%.out.
5201         (check-abi target): Update dependencies.
5202         (check-abi-pattern variable): Redirect output of diff to $@.
5203         (check-abi variable): Likewise.
5204         * elf/Makefile (check-abi): Update dependencies.
5206         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5207         unused.
5208         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5209         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5210         subnormal range.
5211         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5212         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5213         value has largest subnormal exponent.
5214         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5215         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5216         * sysdeps/aarch64/soft-fp/sfp-machine.h
5217         (_FP_TININESS_AFTER_ROUNDING): New macro.
5218         * sysdeps/alpha/soft-fp/sfp-machine.h
5219         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5220         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5221         Likewise.
5222         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5223         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5224         * sysdeps/mips/soft-fp/sfp-machine.h
5225         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5226         * sysdeps/powerpc/soft-fp/sfp-machine.h
5227         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5228         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5229         Likewise.
5230         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5231         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5232         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5233         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5234         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5235         Likewise.
5237 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5239         [BZ #16545]
5240         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5241         model 1.
5243 2014-02-12  Richard Henderson  <rth@redhat.com>
5245         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5246         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5247         * sysdeps/unix/sysv/linux/alpha: Move directory from
5248         ports/sysdeps/unix/sysv/linux/alpha.
5249         * README: Update listing for alpha-*-linux-gnu.
5251 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5253         * include/features.h: Update comment documenting feature test
5254         macros.
5255         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5256         _DEFAULT_SOURCE.
5257         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5258         (_SVID_SOURCE): Likewise.
5259         (_DEFAULT_SOURCE): Update description of default features.
5260         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5261         with _GNU_SOURCE.
5262         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5263         (S_ISVTX): Likewise.
5264         * manual/math.texi (Mathematical Constants): Likewise.
5265         * manual/signal.texi (Interrupted Primitives): Likewise.
5266         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5267         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5268         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5269         Don't refer to _SVID_SOURCE in warning text.
5271         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5273         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5274         already defined.
5275         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5276         * sysdeps/mips/dl-lookup.c: Remove.
5277         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5279 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5281         [BZ #16447]
5282         * math/auto-libm-test-in: Add testcase for expl.
5283         * math/auto-libm-test-out: Regenerate.
5284         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5285         calculation of unsafe.
5286         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5288 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5290         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5291         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5292         ports/sysdeps/unix/sysv/linux/aarch64.
5293         * README: Update listing for aarch64*-*-linux-gnu.
5295 2014-02-11  Will Newton  <will.newton@linaro.org>
5297         * manual/probes.texi (Mathematical Function Probes): Use
5298         "triggered" instead of "hit".
5300         * manual/probes.texi (Internal Probes): Add documentation
5301         of setjmp, longjmp and longjmp_target probes.
5303         * include/stap-probe.h: Add comment about probe argument
5304         format.
5306         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5307         definition.  (tr_where, tr_freehook, tr_mallochook,
5308         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5310 2014-02-11  David S. Miller  <davem@davemloft.net>
5312         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5313         processing int_tests.
5315 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5317         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5318         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5319         * sysdeps/unix/sysv/linux/mips: Move directory from
5320         ports/sysdeps/unix/sysv/linux/mips.
5321         * README: Update listing for mips-*-linux-gnu and
5322         mips64-*-linux-gnu.
5324 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5326         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5327         * sysdeps/unix/sysv/linux/m68k: Move directory from
5328         ports/sysdeps/unix/sysv/linux/m68k.
5329         * README: Update listing for m68k-*-linux-gnu.
5331 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5333         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5334         * sysdeps/unix/sysv/linux/generic: Move directory from
5335         ports/sysdeps/unix/sysv/linux/generic.
5336         * sysdeps/unix/sysv/linux/tile: Move directory from
5337         ports/sysdeps/unix/sysv/linux/tile.
5338         * README: Update listing for tile*-*-linux-gnu.
5340 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5342         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5343         __builtin_expect.
5344         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5345         * catgets/open_catalog.c (__open_catalog): Likewise.
5346         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5347         * debug/confstr_chk.c: Likewise.
5348         * debug/fread_chk.c (__fread_chk): Likewise.
5349         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5350         * debug/getgroups_chk.c: Likewise.
5351         * debug/mbsnrtowcs_chk.c: Likewise.
5352         * debug/mbsrtowcs_chk.c: Likewise.
5353         * debug/mbstowcs_chk.c: Likewise.
5354         * debug/memcpy_chk.c: Likewise.
5355         * debug/memmove_chk.c: Likewise.
5356         * debug/mempcpy_chk.c: Likewise.
5357         * debug/memset_chk.c: Likewise.
5358         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5359         * debug/strcat_chk.c (__strcat_chk): Likewise.
5360         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5361         * debug/strncat_chk.c (__strncat_chk): Likewise.
5362         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5363         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5364         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5365         * debug/wcpncpy_chk.c: Likewise.
5366         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5367         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5368         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5369         * debug/wcsncpy_chk.c: Likewise.
5370         * debug/wcsnrtombs_chk.c: Likewise.
5371         * debug/wcsrtombs_chk.c: Likewise.
5372         * debug/wcstombs_chk.c: Likewise.
5373         * debug/wmemcpy_chk.c: Likewise.
5374         * debug/wmemmove_chk.c: Likewise.
5375         * debug/wmempcpy_chk.c: Likewise.
5376         * debug/wmemset_chk.c: Likewise.
5377         * dirent/scandirat.c (SCANDIRAT): Likewise.
5378         * dlfcn/dladdr1.c (dladdr1): Likewise.
5379         * dlfcn/dladdr.c (dladdr): Likewise.
5380         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5381         * dlfcn/dlerror.c (__dlerror): Likewise.
5382         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5383         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5384         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5385         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5386         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5387         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5388         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5389         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5390         Likewise.
5391         * elf/dl-conflict.c: Likewise.
5392         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5393         * elf/dl-dst.h: Likewise.
5394         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5395         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5396         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5397         * elf/dl-init.c (call_init, _dl_init): Likewise.
5398         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5399         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5400         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5401         Likewise.
5402         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5403         Likewise.
5404         * elf/dl-minimal.c (__libc_memalign): Likewise.
5405         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5406         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5407         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5408         * elf/dl-sym.c (do_sym): Likewise.
5409         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5410         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5411         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5412         * elf/dl-writev.h (_dl_writev): Likewise.
5413         * elf/ldconfig.c (search_dir): Likewise.
5414         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5415         (dl_main): Likewise.
5416         * elf/setup-vdso.h (setup_vdso): Likewise.
5417         * grp/compat-initgroups.c (compat_call): Likewise.
5418         * grp/fgetgrent.c (fgetgrent): Likewise.
5419         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5420         * grp/putgrent.c (putgrent): Likewise.
5421         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5422         Likewise.
5423         * hurd/hurdinit.c: Likewise.
5424         * iconvdata/8bit-gap.c (struct): Likewise.
5425         * iconvdata/ansi_x3.110.c : Likewise.
5426         * iconvdata/big5.c : Likewise.
5427         * iconvdata/big5hkscs.c : Likewise.
5428         * iconvdata/cp1255.c: Likewise.
5429         * iconvdata/cp1258.c : Likewise.
5430         * iconvdata/cp932.c : Likewise.
5431         * iconvdata/euc-cn.c: Likewise.
5432         * iconvdata/euc-jisx0213.c : Likewise.
5433         * iconvdata/euc-jp.c: Likewise.
5434         * iconvdata/euc-jp-ms.c : Likewise.
5435         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5436         * iconvdata/gb18030.c : Likewise.
5437         * iconvdata/gbbig5.c (const): Likewise.
5438         * iconvdata/gbgbk.c: Likewise.
5439         * iconvdata/gbk.c : Likewise.
5440         * iconvdata/ibm1364.c : Likewise.
5441         * iconvdata/ibm930.c : Likewise.
5442         * iconvdata/ibm932.c: Likewise.
5443         * iconvdata/ibm933.c : Likewise.
5444         * iconvdata/ibm935.c : Likewise.
5445         * iconvdata/ibm937.c : Likewise.
5446         * iconvdata/ibm939.c : Likewise.
5447         * iconvdata/ibm943.c: Likewise.
5448         * iconvdata/iso_11548-1.c: Likewise.
5449         * iconvdata/iso-2022-cn.c : Likewise.
5450         * iconvdata/iso-2022-cn-ext.c : Likewise.
5451         * iconvdata/iso-2022-jp-3.c: Likewise.
5452         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5453         * iconvdata/iso-2022-kr.c : Likewise.
5454         * iconvdata/iso646.c (gconv_end): Likewise.
5455         * iconvdata/iso_6937-2.c : Likewise.
5456         * iconvdata/iso_6937.c : Likewise.
5457         * iconvdata/iso8859-1.c: Likewise.
5458         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5459         * iconvdata/shift_jisx0213.c : Likewise.
5460         * iconvdata/sjis.c : Likewise.
5461         * iconvdata/t.61.c : Likewise.
5462         * iconvdata/tcvn5712-1.c : Likewise.
5463         * iconvdata/tscii.c: Likewise.
5464         * iconvdata/uhc.c : Likewise.
5465         * iconvdata/unicode.c (gconv_end): Likewise.
5466         * iconvdata/utf-16.c (gconv_end): Likewise.
5467         * iconvdata/utf-32.c (gconv_end): Likewise.
5468         * iconvdata/utf-7.c (base64): Likewise.
5469         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5470         * iconv/gconv_close.c (__gconv_close): Likewise.
5471         * iconv/gconv_open.c (__gconv_open): Likewise.
5472         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5473         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5474         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5475         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5476         (ucs4le_internal_loop_single): Likewise.
5477         * iconv/iconv.c (iconv): Likewise.
5478         * iconv/iconv_close.c: Likewise.
5479         * iconv/loop.c (SINGLE): Likewise.
5480         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5481         * include/atomic.h: Likewise.
5482         * inet/inet6_option.c (option_alloc): Likewise.
5483         * intl/bindtextdom.c (set_binding_values): Likewise.
5484         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5485         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5486         * intl/localealias.c (read_alias_file): Likewise.
5487         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5488         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5489         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5490         * libio/fmemopen.c (fmemopen): Likewise.
5491         * libio/iofgets.c (_IO_fgets): Likewise.
5492         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5493         * libio/iofgetws.c (fgetws): Likewise.
5494         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5495         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5496         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5497         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5498         * locale/findlocale.c (_nl_find_locale): Likewise.
5499         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5500         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5501         Likewise.
5502         * locale/setlocale.c (setlocale): Likewise.
5503         * login/programs/pt_chown.c (main): Likewise.
5504         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5505         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5506         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5507         (mmap, mmap64, mremap, munmap): Likewise.
5508         * math/e_exp2l.c: Likewise.
5509         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5510         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5511         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5512         * math/s_catan.c (__catan): Likewise.
5513         * math/s_catanf.c (__catanf): Likewise.
5514         * math/s_catanh.c (__catanh): Likewise.
5515         * math/s_catanhf.c (__catanhf): Likewise.
5516         * math/s_catanhl.c (__catanhl): Likewise.
5517         * math/s_catanl.c (__catanl): Likewise.
5518         * math/s_ccosh.c (__ccosh): Likewise.
5519         * math/s_ccoshf.c (__ccoshf): Likewise.
5520         * math/s_ccoshl.c (__ccoshl): Likewise.
5521         * math/s_cexp.c (__cexp): Likewise.
5522         * math/s_cexpf.c (__cexpf): Likewise.
5523         * math/s_cexpl.c (__cexpl): Likewise.
5524         * math/s_clog10.c (__clog10): Likewise.
5525         * math/s_clog10f.c (__clog10f): Likewise.
5526         * math/s_clog10l.c (__clog10l): Likewise.
5527         * math/s_clog.c (__clog): Likewise.
5528         * math/s_clogf.c (__clogf): Likewise.
5529         * math/s_clogl.c (__clogl): Likewise.
5530         * math/s_csin.c (__csin): Likewise.
5531         * math/s_csinf.c (__csinf): Likewise.
5532         * math/s_csinh.c (__csinh): Likewise.
5533         * math/s_csinhf.c (__csinhf): Likewise.
5534         * math/s_csinhl.c (__csinhl): Likewise.
5535         * math/s_csinl.c (__csinl): Likewise.
5536         * math/s_csqrt.c (__csqrt): Likewise.
5537         * math/s_csqrtf.c (__csqrtf): Likewise.
5538         * math/s_csqrtl.c (__csqrtl): Likewise.
5539         * math/s_ctan.c (__ctan): Likewise.
5540         * math/s_ctanf.c (__ctanf): Likewise.
5541         * math/s_ctanh.c (__ctanh): Likewise.
5542         * math/s_ctanhf.c (__ctanhf): Likewise.
5543         * math/s_ctanhl.c (__ctanhl): Likewise.
5544         * math/s_ctanl.c (__ctanl): Likewise.
5545         * math/w_pow.c: Likewise.
5546         * math/w_powf.c: Likewise.
5547         * math/w_powl.c: Likewise.
5548         * math/w_scalb.c (sysv_scalb): Likewise.
5549         * math/w_scalbf.c (sysv_scalbf): Likewise.
5550         * math/w_scalbl.c (sysv_scalbl): Likewise.
5551         * misc/error.c (error_tail): Likewise.
5552         * misc/pselect.c (__pselect): Likewise.
5553         * nis/nis_callback.c (__nis_create_callback): Likewise.
5554         * nis/nis_call.c (__nisfind_server): Likewise.
5555         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5556         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5557         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5558         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5559         * nis/nis_lookup.c (nis_lookup): Likewise.
5560         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5561         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5562         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5563         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5564         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5565         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5566         * nis/nss_compat/compat-initgroups.c (add_group)
5567         (internal_getgrent_r): Likewise.
5568         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5569         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5570         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5571         (internal_getspnam_r): Likewise.
5572         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5573         (_nss_nis_getaliasbyname_r): Likewise.
5574         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5575         (_nss_nis_getntohost_r): Likewise.
5576         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5577         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5578         (_nss_nis_getgrgid_r): Likewise.
5579         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5580         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5581         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5582         (_nss_nis_gethostbyname4_r): Likewise.
5583         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5584         (initgroups_netid): Likewise.
5585         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5586         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5587         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5588         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5589         (_nss_nis_getprotobynumber_r): Likewise.
5590         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5591         (_nss_nis_getsecretkey): Likewise.
5592         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5593         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5594         (_nss_nis_getpwuid_r): Likewise.
5595         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5596         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5597         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5598         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5599         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5600         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5601         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5602         Likewise.
5603         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5604         (_nss_nisplus_getntohost_r): Likewise.
5605         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5606         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5607         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5608         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5609         Likewise.
5610         * nis/nss_nisplus/nisplus-initgroups.c
5611         (_nss_nisplus_initgroups_dyn): Likewise.
5612         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5613         (_nss_nisplus_getnetbyaddr_r): Likewise.
5614         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5615         (_nss_nisplus_getprotobynumber_r): Likewise.
5616         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5617         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5618         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5619         Likewise.
5620         * nis/nss_nisplus/nisplus-service.c
5621         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5622         (_nss_nisplus_getservbyport_r): Likewise.
5623         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5624         (_nss_nisplus_getspnam_r): Likewise.
5625         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5626         Likewise.
5627         * nscd/aicache.c (addhstaiX): Likewise.
5628         * nscd/cache.c (cache_search, prune_cache): Likewise.
5629         * nscd/connections.c (register_traced_file, send_ro_fd)
5630         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5631         (main_loop_epoll): Likewise.
5632         * nscd/grpcache.c (addgrbyX): Likewise.
5633         * nscd/hstcache.c (addhstbyX): Likewise.
5634         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5635         * nscd/mem.c (gc, mempool_alloc): Likewise.
5636         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5637         (addinnetgrX): Likewise.
5638         * nscd/nscd-client.h (__nscd_acquire_maplock)
5639         (__nscd_drop_map_ref): Likewise.
5640         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5641         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5642         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5643         Likewise.
5644         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5645         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5646         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5647         (__nscd_get_map_ref): Likewise.
5648         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5649         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5650         Likewise.
5651         * nscd/pwdcache.c (addpwbyX): Likewise.
5652         * nscd/selinux.c (preserve_capabilities): Likewise.
5653         * nscd/servicescache.c (addservbyX): Likewise.
5654         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5655         * posix/fnmatch.c (fnmatch): Likewise.
5656         * posix/getopt.c (_getopt_internal_r): Likewise.
5657         * posix/glob.c (glob, glob_in_dir): Likewise.
5658         * posix/wordexp.c (exec_comm_child): Likewise.
5659         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5660         (getanswer_r, gaih_getanswer_slice): Likewise.
5661         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5662         * resolv/res_init.c: Likewise.
5663         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5664         * resolv/res_query.c (__libc_res_nquery): Likewise.
5665         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5666         Likewise.
5667         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5668         * stdio-common/perror.c (perror): Likewise.
5669         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5670         * stdio-common/tmpnam.c (tmpnam): Likewise.
5671         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5672         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5673         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5674         Likewise.
5675         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5676         * stdlib/putenv.c (putenv): Likewise.
5677         * stdlib/setenv.c (__add_to_environ): Likewise.
5678         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5679         * stdlib/strtol_l.c (INTERNAL): Likewise.
5680         * string/memmem.c (memmem): Likewise.
5681         * string/strerror.c (strerror): Likewise.
5682         * string/strnlen.c (__strnlen): Likewise.
5683         * string/test-memmem.c (simple_memmem): Likewise.
5684         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5685         * sunrpc/pm_getport.c (__get_socket): Likewise.
5686         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5687         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5688         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5689         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5690         Likewise.
5691         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5692         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5693         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5694         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5695         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5696         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5697         Likewise.
5698         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5699         Likewise.
5700         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5701         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5702         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5703         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5704         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5706         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5707         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5708         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5709         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5710         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5711         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5712         Likewise.
5713         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5714         Likewise.
5715         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5716         Likewise.
5717         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5718         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5719         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5720         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5721         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5722         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5723         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5724         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5725         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5726         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5727         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5728         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5729         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5730         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5731         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5732         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5733         Likewise.
5734         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5735         Likewise.
5736         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5737         Likewise.
5738         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5739         Likewise.
5740         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5741         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5742         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5743         Likewise.
5744         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5745         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5746         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5747         * sysdeps/posix/sleep.c: Likewise.
5748         * sysdeps/posix/tempname.c: Likewise.
5749         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5750         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5751         Likewise.
5752         * sysdeps/powerpc/powerpc32/dl-machine.h
5753         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5754         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5755         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5756         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5757         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5758         Likewise.
5759         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5760         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5761         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5762         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5763         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5764         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5765         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5766         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5767         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5768         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5769         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5770         (elf_machine_lazy_rel): Likewise.
5771         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5772         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5773         (elf_machine_lazy_rel): Likewise.
5774         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5775         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5776         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5777         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5778         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5779         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5780         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5781         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5782         Likewise.
5783         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5784         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5785         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5786         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5787         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5788         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5789         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5790         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5791         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5792         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5793         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5794         Likewise.
5795         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5796         (__posix_fallocate64_l64): Likewise.
5797         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5798         (posix_fallocate): Likewise.
5799         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5800         Likewise.
5801         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5802         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5803         (getifaddrs_internal): Likewise.
5804         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5805         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5806         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5807         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5808         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5809         (__posix_fallocate64_l64): Likewise.
5810         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5811         Likewise.
5812         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5813         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5814         (__get_clockfreq): Likewise.
5815         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5816         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5817         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5818         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5819         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5820         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5821         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5822         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5823         Likewise.
5824         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5825         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5826         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5827         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5828         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5829         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5830         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5831         Likewise.
5832         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5833         (posix_fallocate): Likewise.
5834         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5835         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5836         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5837         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5838         (elf_machine_rela, elf_machine_rela_relative)
5839         (elf_machine_lazy_rel): Likewise.
5840         * time/asctime.c (asctime_internal): Likewise.
5841         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
5842         * time/tzset.c (__tzset_parse_tz): Likewise.
5843         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5844         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5845         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
5846         * wcsmbs/wcsmbsload.h: Likewise.
5848         [BZ #15894]
5849         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
5851         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
5852         (arena_get2): Remove THREAD_STATS conditionals.
5853         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
5854         (__malloc_stats, int): Likewise.
5856 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
5858         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
5859         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
5861         * manual/setjmp.texi: Fix typos/grammar errors.
5863         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
5864         Only return early when n is <= 0.  Delete unused return statement.
5866         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
5867         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
5868         * debug/tst-longjmp_chk3.c: New file.
5870         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
5871         (test_main): Replace code with set_fortify_handler call.
5872         * debug/test-strcpy_chk.c: Likewise.
5873         * debug/tst-chk1.c: Likewise.
5874         * debug/tst-longjmp_chk.c: Likewise.
5875         * test-skeleton.c: Include fcntl.h & paths.h
5876         (set_fortify_handler): Define.
5878         * debug/tst-longjmp_chk.c: Add header comment and include
5879         ../test-skeleton.c.
5880         (do_test): Mark static.
5881         (TEST_FUNCTION): Define.
5883         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
5884         (IP_PMTUDISC_INTERFACE): Likewise.
5885         (IP_MULTICAST_IF): Likewise.
5886         (IP_MULTICAST_TTL): Likewise.
5887         (IP_MULTICAST_LOOP): Likewise.
5888         (IP_ADD_MEMBERSHIP): Likewise.
5889         (IP_DROP_MEMBERSHIP): Likewise.
5890         (IP_UNBLOCK_SOURCE): Likewise.
5891         (IP_BLOCK_SOURCE): Likewise.
5892         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
5893         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
5894         (IP_MSFILTER): Likewise.
5895         (MCAST_JOIN_GROUP): Likewise.
5896         (MCAST_BLOCK_SOURCE): Likewise.
5897         (MCAST_UNBLOCK_SOURCE): Likewise.
5898         (MCAST_LEAVE_GROUP): Likewise.
5899         (MCAST_JOIN_SOURCE_GROUP): Likewise.
5900         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
5901         (MCAST_MSFILTER): Likewise.
5902         (IP_MULTICAST_ALL): Likewise.
5903         (IP_UNICAST_IF): Likewise.
5905         * timezone/Makefile: Delete $(have-ksh) check.
5906         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
5907         * timezone/tzselect.ksh: Add +x mode bits.
5909         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
5910         (ANON_INODE_FS_MAGIC): Likewise.
5911         (BDEVFS_MAGIC): Likewise.
5912         (BINFMTFS_MAGIC): Likewise.
5913         (BTRFS_TEST_MAGIC): Likewise.
5914         (CRAMFS_MAGIC_WEND): Likewise.
5915         (DEBUGFS_MAGIC): Likewise.
5916         (ECRYPTFS_SUPER_MAGIC): Likewise.
5917         (EXT3_SUPER_MAGIC): Likewise.
5918         (EXT4_SUPER_MAGIC): Likewise.
5919         (FUTEXFS_SUPER_MAGIC): Likewise.
5920         (HOSTFS_SUPER_MAGIC): Likewise.
5921         (HUGETLBFS_MAGIC): Likewise.
5922         (MINIX3_SUPER_MAGIC): Likewise.
5923         (MTD_INODE_FS_MAGIC): Likewise.
5924         (NILFS_SUPER_MAGIC): Likewise.
5925         (OPENPROM_SUPER_MAGIC): Likewise.
5926         (PIPEFS_MAGIC): Likewise.
5927         (PSTOREFS_MAGIC): Likewise.
5928         (QNX6_SUPER_MAGIC): Likewise.
5929         (RAMFS_MAGIC): Likewise.
5930         (REISERFS_SUPER_MAGIC_STRING): Likewise.
5931         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
5932         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
5933         (SECURITYFS_MAGIC): Likewise.
5934         (SELINUX_MAGIC): Likewise.
5935         (SMACK_MAGIC): Likewise.
5936         (SOCKFS_MAGIC): Likewise.
5937         (SQUASHFS_MAGIC): Likewise.
5938         (STACK_END_MAGIC): Likewise.
5939         (TMPFS_MAGIC): Likewise.
5940         (USBDEVICE_SUPER_MAGIC): Likewise.
5941         (V9FS_MAGIC): Likewise.
5942         (XENFS_SUPER_MAGIC): Likewise.
5943         (CRAMFS_MAGIC): Fix typo in comment.
5944         (EXT2_SUPER_MAGIC): Update comment.
5945         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
5947 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
5949         * sysdeps/arm: Move directory from ports/sysdeps/arm.
5950         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
5951         * sysdeps/unix/sysv/linux/arm: Move directory from
5952         ports/sysdeps/unix/sysv/linux/arm.
5953         * README: Update listing for arm-*-linux-gnueabi.
5955         * README: Remove mention of am33.
5957 2014-02-07  Roland McGrath  <roland@hack.frob.com>
5959         * bits/sigset.h (__sigemptyset): Use a statement expression rather
5960         than the comma operator, to avoid "rhs of comma has no effect"
5961         compiler warnings.
5962         (__sigfillset, __sigandset, __sigorset): Likewise.
5963         * include/signal.h (__sigemptyset): Likewise.
5964         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
5966 2014-02-07  Allan McRae  <allan@archlinux.org>
5968         * version.h (RELEASE): Set to "development".
5969         (VERSION): Set to "2.19.90"
5970         * NEWS: Add 2.20 section.
5972 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
5974         [BZ #16529]
5975         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
5977 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5979         * manual/contrib.texi: Update entry for Carlos O'Donell,
5980         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
5982 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
5984         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
5986         * sysdeps/unix/sysv/linux/kernel-features.h
5987         [__LINUX_KERNEL_VERSION >= 0x020621]
5988         (__ASSUME_PROC_PID_TASK_COMM): Define.
5990 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5992         [BZ #16398]
5993         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
5994         conversion when destination buffer does not have enough space.
5995         * libio/tst-ftell-partial-wide.c: New test case.
5996         * libio/Makefile (tests): Add tst-ftell-partial-wide.
5998         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
5999         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6000         Leonard and Allan McRae.
6002 2014-02-04  David S. Miller  <davem@davemloft.net>
6004         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6005         32-bit.
6007 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6010         New file
6011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6012         New file
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6014         New file.
6015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6016         New file.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6018         New file.
6019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6020         New file.
6021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6022         New file.
6023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6024         New file.
6025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6026         New file.
6027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6028         New file.
6029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6030         New file.
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6032         New file.
6033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6034         New file.
6036 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6038         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6039         * shlib-versions: Likewise.
6041 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6042             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6044         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6045         (abilist-pattern): New variable, set to %-le.abilist.
6047         * Makerules (abilist-pattern): New variable.
6048         (vpath): Use $(abilist-pattern) in place of %.abilist.
6049         (check-abi-% pattern rule): Likewise.
6050         (check-abi, update-abi): Likewise.
6052 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6054         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6056 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6058         * manual/startup.texi: Add next, previous, and top entries for
6059         the `Program Arguments' and `Environment Variables' nodes.
6061 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6063         * manual/macros.texi: Add comments before MTASC-safety macros.
6065         * manual/users.texi: Document MTASC-safety properties.
6067         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6068         (pthread_getspecific, pthread_setspecific): Format with
6069         @deftypefun, and add @safety note.
6070         * manual/signal.texi: Move comments that analyze the above
6071         functions to their home place.
6073 2014-02-03  Allan McRae  <allan@archlinux.org>
6075         * po/sl.po: Update Slovenian translation from translation project.
6077 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6079         * manual/time.texi (timegm): Add missing blank after @c.
6080         Reported by Joseph Myers <joseph@codesourcery.com>.
6082 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6084         * manual/check-safety.sh: New.
6085         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6087         * manual/terminal.texi: Document MTASC-safety properties.
6089         * manual/filesys.texi: Document MTASC-safety properties.
6091         * manual/errno.texi: Document MTASC-safety properties.
6093         * manual/intro.texi: Document safety identifiers and
6094         conditionals.
6096         * manual/string.texi (wcstok): Fix prototype.
6097         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6099         * manual/time.texi: Document MTASC-safety properties.
6101         * manual/string.texi: Document MTASC-safety properties.
6103         * manual/threads.texi: Document MTASC-safety properties.
6105         * manual/stdio.texi: Document MTASC-safety properties.
6107         * manual/syslog.texi: Document MTASC-safety properties.
6109         * manual/sysinfo.texi: Document MTASC-safety properties.
6111         * manual/startup.texi: Document MTASC-safety properties.
6113         * manual/socket.texi: Document MTASC-safety properties.
6115         * manual/signal.texi: Document MTASC-safety properties.
6117 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6119         * manual/setjmp.texi: Document MTASC-safety properties.
6121         * manual/search.texi: Document MTASC-safety properties.
6123         * manual/resource.texi: Document MTASC-safety properties.
6125         * manual/process.texi: Document MTASC-safety properties.
6127         * manual/platform.texi: Document MTASC-safety properties.
6129         * manual/pipe.texi: Document MTASC-safety properties.
6131         * manual/pattern.texi: Document MTASC-safety properties.
6133         * manual/message.texi: Document MTASC-safety properties.
6135         [BZ #12751]
6136         * manual/memory.texi: Document MTASC-safety properties.
6138         * manual/math.texi: Document MTASC-safety properties.
6140         * manual/locale.texi: Document MTASC-safety properties.
6142         * manual/llio.texi: Document MTASC-safety properties.
6144         * manual/libdl.texi: New.
6146         * manual/lang.texi: Document MTASC-safety properties.
6148         * manual/job.texi: Document MTASC-safety properties.
6150         * manual/getopt.texi: Document MTASC-safety properties.
6152         * manual/ctype.texi: Document MTASC-safety properties.
6154 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6156         [BZ #16046]
6157         * csu/libc-tls.c (static_map): Remove variable.
6158         (__libc_setup_tls): Use main executable's link map for TLS data.
6159         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6160         casing for LM_ID_BASE and GL(dl_nns).
6161         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6162         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6163         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6164         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6165         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6166         member.
6167         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6168         l_phnum members.
6170 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6172         * manual/debug.texi: Document MTASC-safety properties.
6174 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6176         [BZ #16510]
6177         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6178         of __x86_64__ when disabling x87 inline functions.
6180 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6182         * manual/charset.texi: Document MTASC-safety properties.
6184         * manual/crypt.texi: Document MTASC-safety properties.
6186         * manual/conf.texi: Document MTASC-safety properties.
6188         * manual/arith.texi: Document MTASC-safety properties.
6190         * manual/argp.texi: Document MTASC-safety properties.
6192         * manual/macros.texi: Introduce macros to document multi
6193         thread, asynchronous signal and asynchronous cancellation
6194         safety properties.
6195         * manual/intro.texi: Introduce the properties themselves.
6197 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6199         * sysdeps/sh/sh4/Makefile: New file.
6201 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6203         * math/gen-libm-test.pl ($srcdir): New variable.
6204         ($auto_input): Use it.
6206 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6208         [BZ #16506]
6209         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6210         access beyond array bounds when parsing netgroups file.
6212         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6213         the old buffer before realloc.
6215 2014-01-27  Allan McRae  <allan@archlinux.org>
6217         * po/fr.po: Update French translation from translation project.
6219 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6221         * sysdeps/sh/libm-test-ulps: Regenerate.
6223 2014-01-24  David S. Miller  <davem@davemloft.net>
6225         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6227 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6229         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6230         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6232 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6234         [BZ #16474]
6235         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6236         string pointers after reallocation.
6238 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6240         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6241         __SH4A__ instead of __SH_FPU_ANY__.
6243 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6245         * sysdeps/sh/fpu_control.h: New file.
6246         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6247         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6248         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6249         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6250         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6251         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6252         * sysdeps/sh/sys/ucontext.h: Remove.
6253         * sysdeps/sh/sys: Remove directory.
6255 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6257         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6258         s390/sys/ucontext.h.
6259         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6260         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6262 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6264         [BZ #15605]
6265         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6267 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6269         [BZ#16431]
6270         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6271         Adjust the vDSO correctly for internal calls.
6272         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6274 2014-01-20  Allan McRae  <allan@archlinux.org>
6276         * po/ca.po: Update Catalan translation from translation project.
6278 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6280         * sysdeps/s390/sotruss-lib.c: New file.
6282 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6284         [BZ#16430]
6285         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6286         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6287         local calls issues by not having a PLT stub required for IFUNC calls.
6288         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6290 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6292         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6293         * math/test-fpucw-static.c: Likewise.
6295 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6297         [BZ #16453]
6298         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6300 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6302         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6303         implementation for powerpc.
6305 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6307         [BZ #14782]
6308         * sysdeps/posix/system.c (__libc_system): Do not enable
6309         asynchronous cancellation.
6311 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6313         [BZ #16427]
6314         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6315         handling only for numbers special also in the IEEE case.
6317 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6319         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6321 2014-01-11  Allan McRae  <allan@archlinux.org>
6323         * po/bg.po: Update Bulgarian translation from translation project.
6325         * po/de.po: Update German translation from translation project.
6327 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6329         * sysdeps/generic/gcc-compat.h: New file.
6331 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6333         * benchtests/asin-inputs: Correct slow inputs.
6334         * benchtests/acos-inputs: Likewise.
6336 2014-01-10  Allan McRae  <allan@archlinux.org>
6338         * po:sv.po: Update Swedish translation from translation project.
6340         * po/vi.po: Update Vietnamese translation from translation project.
6342         * po/eo.po: Update Esperanto translation from translation project.
6344         * po/cs.po: Update Czech translation from translation project.
6346         * po/nl.po: Update Dutch translation from translation project.
6348         * po/pl.po: Update Polish translation from translation project.
6350         * po/ru.po: Update Russian translation from translation project.
6352         * po/uk.po: Update Ukrainian translation from translation project.
6354 2014-01-08  Brooks Moses  <bmoses@google.com>
6356         * elf/dl-load.c: Fix comment typo.
6358 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6360         * po/header.pot: Rename to...
6361         * po/pot.header: ... this.
6362         * po/Makefile: Use pot.header.
6364 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6365             Maxim Kuvyrkov  <maxim@kugelworks.com>
6367         [BZ #16394]
6368         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6369         SRC and DEST against LEN.
6371 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6373         [BZ #16414]
6374         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6375         implementation.
6376         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6378 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6382 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6384         [BZ #16408]
6385         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6386         for large positive arguments.
6388 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6390         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6392         * math/auto-libm-test-in: Mark various tests with
6393         xfail-rounding:ldbl-128ibm.
6394         * math/auto-libm-test-out: Regenerated.
6396         [BZ #16407]
6397         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6398         Increase overflow threshold.
6400 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6402         [BZ #14286]
6403         * stdio-common/vfprintf.c: Check for integer overflow.
6405 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6407         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6408         the first argument and return value of __tls_get_addr_internal.
6410 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6412         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6413         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6415 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6417         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6418         * sysdeps/s390/rtld-global-offsets.sym: New file.
6419         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6420         GLIBC_2.19 symbol.
6421         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6422         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6423         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6424         ... this.
6425         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6426         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6427         ... this.
6428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6429         Regenerate.
6430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6431         Regenerate.
6432         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6433         halfs of GPRs for high_gprs contexts.
6434         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6435         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6436         field.
6437         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6438         uc_flags field.
6439         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6440         64 bit versions:
6441         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6442         for high GPRs (uc_high_gprs) and for future extensions
6443         (__reserved).
6444         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6445         for future extensions (__reserved).
6446         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6447         64 bit versions:
6448         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6449         SC_HIGHGPRS offset definition.
6450         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6451         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6453         * Versions.def: Add GLIBC_2.19 for libpthread.
6454         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6455         siglongjmp for libpthread with GLIBC_2.19 symver.
6456         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6457         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6458         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6459         * sysdeps/s390/__longjmp.c: New file.
6460         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6461         * sysdeps/s390/longjmp.c: New file.
6462         * sysdeps/s390/setjmp.S: New file.
6463         * sysdeps/s390/sigjmp.S: New file.
6464         * sysdeps/s390/v1-longjmp.c: New file.
6465         * sysdeps/s390/v1-setjmp.h: New file.
6466         * sysdeps/s390/v1-sigjmp.c: New file.
6467         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6468         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6469         GLIBC_2.19 version.
6470         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6471         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6472         versioned symbols for ____longjmp_chk.
6473         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6474         Likewise.
6475         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6476         Regenerate.
6477         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6478         Regenerate.
6479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6480         Regenerate.
6481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6482         Regenerate.
6483         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6484         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6485         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6486         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6487         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6488         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6489         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6490         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6491         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6492         * sysdeps/s390/rtld-__longjmp.c: New file.
6493         * sysdeps/s390/rtld-setjmp.S: New file.
6495 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6497         [BZ #16400]
6498         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6499         Return -__logl (x) for small positive arguments without evaluating
6500         a polynomial.
6502 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6504         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6505         Rename to ...
6506         (__ptrace_peeksiginfo_args): ... this.
6507         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6508         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6509         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6511 2014-01-06  Allan McRae  <allan@archlinux.org>
6513         * inet/netinet/in.h: Fix typo in comment.
6515 2014-01-05  Andreas Jaeger  <aj@suse.de>
6517         * sysdeps/i386/fpu/libm-test-ulps: Update.
6519 2014-01-05  Allan McRae  <allan@archlinux.org>
6521         * po/libc.pot: Regenerated.
6523         * malloc/memusagestat.c: Fix gettext call formatting.
6525 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6527         * nscd/nscd.c: Improve usage() output.
6529 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6531         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6532         * sysdeps/unix/sysv/linux/configure: Regenerated.
6533         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6534         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6536 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #16390]
6539         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6540         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6542 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6544         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6545         extra tokens at end of #undef directive.
6546         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6547         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6548         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6550 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6552         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6554         * math/auto-libm-test-in: Mark various tests with
6555         xfail-rounding:ldbl-128ibm.
6556         * math/auto-libm-test-out: Regenerated.
6558 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6560         [BZ #16386]
6561         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6562         numbers with subnormal high part when calculating exponent.
6564         [BZ #16385]
6565         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6566         fabs.
6568         [BZ #16384]
6569         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6570         M_LN2l.
6571         (__ieee754_acoshl): Use __log1pl not __log1p.
6573 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6575         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6576         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6577         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6578         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6579         (reused_arena, arena_get2): Convert to GNU style.
6580         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6581         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6582         (memalign_check, __malloc_set_state): Likewise.
6583         * malloc/mallocbug.c (main): Likewise.
6584         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6585         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6586         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6587         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6588         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6589         (__posix_memalign, malloc_info): Likewise.
6590         * malloc/malloc.h: Likewise.
6591         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6592         (mallochook, memalignhook, reallochook, mabort): Likewise.
6593         * malloc/mcheck.h: Likewise.
6594         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6595         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6596         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6597         * malloc/morecore.c (__default_morecore): Likewise.
6598         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6599         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6600         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6601         (print_and_abort): Likewise.
6602         * malloc/obstack.h: Likewise.
6603         * malloc/set-freeres.c (__libc_freeres): Likewise.
6604         * malloc/tst-mallocstate.c (main): Likewise.
6605         * malloc/tst-mtrace.c (main): Likewise.
6606         * malloc/tst-realloc.c (do_test): Likewise.
6608 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6610         [BZ #16366]
6611         * nscd/netgroupcache.c (do_notfound): New function.
6612         (addgetnetgrentX): Use it.
6614         [BZ # 16365]
6615         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6616         NSS_STATUS_NOTFOUND.
6618 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6620         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6623 2014-01-01  Allan McRae  <allan@archlinux.org>
6625         * scripts/update-copyrights: Update configure input file suffix.
6627         * NEWS: Update copyright year.
6628         * catgets/gencat.c: Likewise.
6629         * csu/version.c: Likewise.
6630         * debug/catchsegv.sh: Likewise.
6631         * debug/pcprofiledump.c: Likewise.
6632         * debug/xtrace.sh: Likewise.
6633         * elf/ldconfig.c: Likewise.
6634         * elf/ldd.bash.in: Likewise.
6635         * elf/pldd.c: Likewise.
6636         * elf/sotruss.ksh: Likewise.
6637         * elf/sprof.c: Likewise.
6638         * iconv/iconv_prog.c: Likewise.
6639         * iconv/iconvconfig.c: Likewise.
6640         * locale/programs/locale.c: Likewise.
6641         * locale/programs/localedef.c: Likewise.
6642         * login/programs/pt_chown.c: Likewise.
6643         * malloc/memusage.sh: Likewise.
6644         * malloc/memusagestat.c: Likewise.
6645         * malloc/mtrace.pl: Likewise.
6646         * manual/libc.texinfo: Likewise.
6647         * nscd/nscd.c: Likewise.
6648         * nss/getent.c: Likewise.
6649         * nss/makedb.c: Likewise.
6650         * posix/getconf.c: Likewise.
6651         * scripts/test-installation.pl: Likewise.
6653         * All files with FSF copyright notices: Update copyright dates
6654         using scripts/update-copyrights.
6655         * intl/plural.c: Regenerated.
6656         * locale/programs/charmap-kw.h: Likewise.
6657         * locale/programs/locfile-kw.h: Likewise.
6659 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6661         * sysdeps/unix/sysv/linux/configure: Regenerated.
6662         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6663         the linux/fanotify.h header.
6664         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6665         HAVE_LINUX_FANOTIFY_H is defined.
6667 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6669         * benchtests/cos-inputs: New inputs.
6670         * benchtests/sin-inputs: Likewise.
6672         * benchtests/atan-inputs: New inputs. Fix name of multiple
6673         precision fallback inputs.
6675         * benchtests/atanh-inputs: New inputs.
6676         * benchtests/tanh-inputs: Likewise.
6678         * benchtests/acosh-inputs: New inputs.
6679         * benchtests/asinh-inputs: Likewise.
6681         * benchtests/cosh-inputs: New inputs.
6682         * benchtests/sinh-inputs: Likewise.
6684         * benchtests/acos-inputs: Add more inputs.
6685         * benchtests/asin-inputs: Likewise.
6687 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6689         [BZ #16375]
6690         * manual/arith.texi: Fix spelling.
6691         * manual/charset.texi: Likewise.
6692         * manual/errno.texi: Likewise.
6693         * manual/filesys.texi: Likewise.
6694         * manual/lang.texi: Likewise.
6695         * manual/llio.texi: Likewise.
6696         * manual/locale.texi: Likewise.
6697         * manual/message.texi: Likewise.
6698         * manual/resource.texi: Likewise.
6699         * manual/search.texi: Likewise.
6700         * manual/setjmp.texi: Likewise.
6701         * manual/stdio.texi: Likewise.
6702         * manual/string.texi: Likewise.
6703         * manual/sysinfo.texi: Likewise.
6704         * manual/time.texi: Likewise.
6706 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6708         * po/sl.po: New file.
6710 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6712         * .gitignore: Add core/.gdbinit/.gdb_history.
6714 2013-12-27  Allan McRae  <allan@archlinux.org>
6716         [BZ #16369]
6717         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6718         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6720 2013-12-24  Brooks Moses  <bmoses@google.com>
6722         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6723         all compilers that claim C++98 compliance, not just GCC.
6724         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6725         Likewise.
6727 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6729         * NEWS: Restore accidentally deleted bug-fix entries.
6731 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6732             Ondřej Bílka  <neleai@seznam.cz>
6734         [BZ #15073]
6735         * malloc/malloc.c (_int_free): Perform sanity check only if we
6736         have_lock.
6738 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6740         [BZ #12986]
6741         * manual/stdio.texi (String Input Conversions): Clarify that character
6742         classes are not supported.
6744 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6748 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6750         [BZ #16337]
6751         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6752         Calculate results for small negative arguments directly rather
6753         than using reflection formula with special underflow handling.
6755         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6756         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6757         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6758         (fchflags): Likewise.
6759         (revoke): Likewise.
6760         (setlogin): Likewise.
6761         (sigaltstack): Likewise.
6762         (wait4): Likewise.
6763         (sigblock): Remove.
6764         (sigsetmask): Likewise.
6765         (wait3): Likewise.
6766         (waitpid): Likewise.
6767         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6768         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6769         file.
6770         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6771         * sysdeps/unix/bsd/Makefile: ... here.
6772         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6773         * sysdeps/unix/bsd/Versions: ... here.
6774         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6775         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6776         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6777         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6778         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6779         * sysdeps/unix/bsd/sigblock.c: ... here.
6780         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6781         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6782         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6783         * sysdeps/unix/bsd/sigvec.c: ... here.
6784         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6785         * sysdeps/unix/bsd/tcdrain.c: ... here.
6786         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6787         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6788         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6789         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6790         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6791         * sysdeps/unix/bsd/wait.c: ... here.
6792         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6793         * sysdeps/unix/bsd/wait3.c: ... here.
6794         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6795         * sysdeps/unix/bsd/waitpid.c: ... here.
6797 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6799         [BZ #16356]
6800         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6801         round-to-nearest for [!USE_AS_EXPM1L].
6802         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6803         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6804         more tests of exp and exp10.  Expect some exp10 tests to miss
6805         exceptions or fail in directed rounding modes.
6806         * math/auto-libm-test-out: Regenerated.
6807         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6808         (exp10_test_tonearest): New function.
6809         (exp10_towardzero_test_data): New array.
6810         (exp10_test_towardzero): New function.
6811         (exp10_downward_test_data): New array.
6812         (exp10_test_downward): New function.
6813         (exp10_upward_test_data): New array.
6814         (exp10_test_upward): New function.
6815         (main): Call the new functions.
6816         * sysdeps/i386/fpu/libm-test-ulps: Update.
6817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6821         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6822         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6823         * math/auto-libm-test-out: Regenerated.
6824         * math/libm-test.inc (acosh_test_data): Add more tests.
6825         (atanh_test_data): Likewise.
6826         (ceil_test_data): Likewise.
6827         (copysign_test_data): Likewise.
6828         * sysdeps/i386/fpu/libm-test-ulps: Update.
6829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6831         * timezone/checktab.awk: Update from tzcode 2013i.
6832         * timezone/private.h: Likewise.
6833         * timezone/scheck.c: Likewise.
6834         * timezone/tzfile.h: Likewise.
6835         * timezone/tzselect.ksh: Likewise.
6836         * timezone/zdump.c: Likewise.
6837         * timezone/zic.c: Likewise.
6839         * math/auto-libm-test-in: Add tests of cpow.
6840         * math/auto-libm-test-out: Regenerated.
6841         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
6842         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6843         mpc_cc_c.
6844         (func_calc_desc): Add mpc_cc_c union field.
6845         (test_functions): Add cpow.
6846         (special_fill_2pi): New function.
6847         (special_real_inputs): Add 2pi.
6848         (calc_generic_results): Handle mpc_cc_c.
6849         * sysdeps/i386/fpu/libm-test-ulps: Update.
6850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6852         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
6853         csqrt, ctan and ctanh.
6854         * math/auto-libm-test-out: Regenerated.
6855         * math/libm-test.inc (TEST_COND_x86_64): New macro.
6856         (TEST_COND_x86): Likewise.
6857         (ccos_test_data): Use AUTO_TESTS_c_c.
6858         (ccosh_test_data): Likewise.
6859         (cexp_test_data): Likewise.
6860         (clog_test_data): Likewise.
6861         (csqrt_test_data): Likewise.
6862         (ctan_test_data): Likewise.
6863         (ctan_tonearest_test_data): Likewise.
6864         (ctan_towardzero_test_data): Likewise.
6865         (ctan_downward_test_data): Likewise.
6866         (ctan_upward_test_data): Likewise.
6867         (ctanh_test_data): Likewise.
6868         (ctanh_tonearest_test_data): Likewise.
6869         (ctanh_towardzero_test_data): Likewise.
6870         (ctanh_downward_test_data): Likewise.
6871         (ctanh_upward_test_data): Likewise.
6872         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6873         mpc_c_c.
6874         (func_calc_desc): Add mpc_c_c union field.
6875         (FUNC_mpc_c_c): New macro.
6876         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
6877         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
6878         ctanh.
6879         (special_fill_min_subnorm_p120): New function.
6880         (special_real_inputs): Add min_subnorm_p120.
6881         (calc_generic_results): Handle mpc_c_c.
6882         * sysdeps/i386/fpu/libm-test-ulps: Update.
6883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6885 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6887         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
6888         (do_sin_slow): New functions.
6889         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
6890         (cslow2, csloww1, csloww2): Use the new functions.
6892         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
6893         Use M to change sign of result instead of X.  Assume X is
6894         positive.
6895         (csloww1): Likewise.
6896         (__sin): Adjust.
6897         (__cos): Adjust.
6899         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
6900         arguments A and DA.
6901         (__sin): Adjust.
6902         (__cos): Likewise.
6904         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
6905         (__cos): Likewise.
6906         (sloww1): Don't adjust sign of DX.
6907         (csloww1): Likewise.
6908         (sloww2): Use X directly and don't adjust sign of DX.
6909         (csloww2): Likewise.
6911 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6913         * math/auto-libm-test-in: Add tests of cabs and carg.
6914         * math/auto-libm-test-out: Regenerated.
6915         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
6916         (carg_test_data): Likewise.
6917         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6918         mpc_c_f.
6919         (func_calc_desc): Add mpc_c_f union field.
6920         (test_functions): Add cabs and carg.
6921         (calc_generic_results): Handle mpc_c_f.
6923         * sysdeps/powerpc/powerpc32/libgcc-compat.S
6924         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
6925         as a macro and a compat symbol.
6926         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6927         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6928         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6929         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6930         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
6931         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
6932         not use .hidden.
6933         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
6934         Likewise.
6935         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
6936         Likewise.
6937         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
6938         Likewise.
6939         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
6940         Likewise.
6941         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
6942         Likewise.
6943         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
6944         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
6945         from GLIBC_2.3.2.
6947 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6951 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6953         * manual/texinfo.tex: Update to version 2013-11-26.10 with
6954         trailing whitespace removed.
6955         * scripts/config.guess: Update to version 2013-11-29.
6956         * scripts/config.sub: Update to version 2013-10-01.
6958         * math/auto-libm-test-in: Add tests of sincos.
6959         * math/auto-libm-test-out: Regenerated.
6960         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
6961         * math/gen-auto-libm-tests.c (func_calc_method): Add value
6962         mpfr_f_11.
6963         (func_calc_desc): Add mpfr_f_11 union field.
6964         (test_functions): Add sincos.
6965         (calc_generic_results): Handle mpfr_f_11.
6966         * sysdeps/i386/fpu/libm-test-ulps: Update.
6967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6969 2013-12-19  Andreas Schwab  <schwab@suse.de>
6971         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
6972         CALL_MCOUNT.
6973         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6974         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
6975         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
6977 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
6979         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
6980         * sysdeps/i386/fpu/libm-test-ulps: Update.
6981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6983         [BZ #16293]
6984         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
6985         round-to-nearest mode when using frndint.
6986         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
6987         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
6988         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6989         Likewise.
6990         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
6991         sinh test to fail.
6992         * math/auto-libm-test-out: Regenerated.
6993         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
6994         (TEST_COND_x86): Likewise.
6995         (expm1_tonearest_test_data): New array.
6996         (expm1_test_tonearest): New function.
6997         (expm1_towardzero_test_data): New array.
6998         (expm1_test_towardzero): New function.
6999         (expm1_downward_test_data): New array.
7000         (expm1_test_downward): New function.
7001         (expm1_upward_test_data): New array.
7002         (expm1_test_upward): New function.
7003         (main): Run the new test functions.
7004         * sysdeps/i386/fpu/libm-test-ulps: Update.
7005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7007         * include/features.h: Update comment documenting feature test
7008         macros.  Mention _DEFAULT_SOURCE in comment.
7009         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7010         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7011         _BSD_SOURCE and _SVID_SOURCE.
7012         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7013         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7014         !_SVID_SOURCE]: Likewise.
7015         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7016         (__USE_POSIX_IMPLICITLY): Define.
7017         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7018         (_POSIX_SOURCE): Undefine and redefine.
7019         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7020         (_POSIX_C_SOURCE): Likewise.
7021         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7022         (Feature Test Macros): Update documentation of default features.
7024 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7026         * benchtests/Makefile: Add bench-strtok.
7027         * benchtests/bench-strtok.c: New file: strtok benchtest.
7029 2013-12-19  Allan McRae  <allan@archlinux.org>
7031         * manual/install.texi: Suppress menu for plain text output.
7032         * INSTALL: Regenerated.
7034 2013-12-18  Brooks Moses  <bmoses@google.com>
7036         [BZ #15846]
7037         * misc/getauxval.c: Include errno.h.
7038         (__getauxval): Set errno to ENOENT if the requested type is not
7039         found.
7040         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7041         don't declare with __attribute_const__.
7042         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7043         * manual/startup.texi: Document that getauxval sets errno.
7045 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7047         * math/auto-libm-test-in: Add tests of jn and yn.
7048         * math/auto-libm-test-out: Regenerated.
7049         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7050         (yn_test_data): Likewise.
7051         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7052         mpfr_if_f.
7053         (func_calc_desc): Add mpfr_if_f union field.
7054         (FUNC_mpfr_if_f): New macro.
7055         (test_functions): Add jn and yn.
7056         (calc_generic_results): Assert type of second input for
7057         mpfr_ff_f.  Handle mpfr_if_f.
7058         (output_for_one_input_case): Disable all checking for arguments
7059         fitting floating-point types in case of an integer argument.
7060         * sysdeps/i386/fpu/libm-test-ulps: Update.
7061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7064         Don't expect fegetround reference in libm.so.
7066 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7068         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7069         $(config-cflags-nofma).
7071 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7073         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7074         * math/auto-libm-test-out: Regenerated.
7076         [BZ #16338]
7077         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7078         to determine exponent and adjust argument to have exponent of -1.
7079         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7080         log2.
7081         * math/auto-libm-test-out: Regenerated.
7082         * sysdeps/i386/fpu/libm-test-ulps: Update.
7083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7085 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7087         * manual/probes.texi: Remove cases when per-thread arenas are
7088         disabled.
7090 2013-12-18  Andreas Schwab  <schwab@suse.de>
7092         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7093         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7094         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7095         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7096         * sysdeps/i386/i686/multiarch/Makefile: Update.
7097         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7099 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7101         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7102         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7104 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7106         [BZ #15968]
7107         Support TZ transition times < 00:00:00.
7108         This is needed for version-3 tz-format files; it supports time
7109         stamps past 2037 for America/Godthab (the only entry in the tz
7110         database for which this change is relevant).
7111         * manual/time.texi (TZ Variable): Document transition times
7112         from -167:59:59 through -00:00:01.
7113         * time/tzset.c (tz_rule): Time of day is now signed.
7114         (__tzset_parse_tz): Parse negative time of day.
7116         Document TZ transition times >= 25:00:00.
7117         * manual/time.texi (TZ Variable): Document transition times from
7118         25:00:00 through 167:59:59.  These are already supported, and this
7119         support will help with version-3 tz-format files.
7121         * manual/time.texi (TZ Variable): Modernize North America example
7122         to reflect current (i.e., 2007-and-later) daylight saving rules.
7124         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7126 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7128         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7129         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7130         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7131         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7132         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7133         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7134         * sysdeps/unix/bsd/clock.c: Likewise.
7135         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7136         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7137         * sysdeps/unix/bsd/init-posix.c: Likewise.
7138         * sysdeps/unix/bsd/poll.c: Likewise.
7139         * sysdeps/unix/bsd/ptsname.c: Likewise.
7140         * sysdeps/unix/bsd/seekdir.c: Likewise.
7141         * sysdeps/unix/bsd/setegid.c: Likewise.
7142         * sysdeps/unix/bsd/seteuid.c: Likewise.
7143         * sysdeps/unix/bsd/setgid.c: Likewise.
7144         * sysdeps/unix/bsd/setrgid.c: Likewise.
7145         * sysdeps/unix/bsd/setruid.c: Likewise.
7146         * sysdeps/unix/bsd/setsid.c: Likewise.
7147         * sysdeps/unix/bsd/setuid.c: Likewise.
7148         * sysdeps/unix/bsd/sigaction.c: Likewise.
7149         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7150         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7151         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7152         * sysdeps/unix/bsd/telldir.c: Likewise.
7153         * sysdeps/unix/bsd/times.c: Likewise.
7154         * sysdeps/unix/bsd/usleep.c: Likewise.
7156         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7157         ($(objpfx)libbsd-compat.a): Remove rule.
7159         * include/features.h (__FAVOR_BSD): Do not define.
7160         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7161         features conflicting with POSIX.
7162         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7163         (_BSD_SOURCE): Remove description of not being a subset of other
7164         feature test macros.
7165         * manual/job.texi (getpgrp): Do not document BSD version.
7166         (getpgid): Do not document by reference to BSD getpgrp.
7167         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7168         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7169         * signal/signal.h [__FAVOR_BSD]: Likewise.
7170         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7171         instead of making contents conditional on [__FAVOR_BSD].
7172         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7174 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7178 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7180         [BZ #16314]
7181         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7182         values below 2**-450, not 2**-500.
7183         * math/auto-libm-test-in: Don't allow spurious underflow from
7184         hypot.
7185         * math/auto-libm-test-out: Regenerated.
7187         [BZ #16316]
7188         [BZ #16330]
7189         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7190         values of ha and hb and sort them after adjusting subnormal
7191         arguments.
7192         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7193         Likewise.
7194         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7195         values of ea and eb and sort them after adjusting subnormal
7196         arguments.
7197         * math/auto-libm-test-in: Do not expect some hypot tests of
7198         subnormals to fail.  Add more hypot tests.
7199         * math/auto-libm-test-out: Regenerated.
7201 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7203         [BZ #13304]
7204         * sysdeps/sh/s_fma.c: New file.
7205         * sysdeps/sh/s_fmaf.c: New file.
7206         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7207         version.
7208         * sysdeps/sh/Implies: Add sh/soft-fp.
7210 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7212         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7213         level of indirection to members `objname', `errstring', `malloced'.
7214         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7215         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7216         it as the __longjmp argument (just pass 1 instead).
7217         (_dl_catch_error): Initialize C with argument pointers and address of
7218         volatile local ERRCODE rather than copying values out of C at return.
7220 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7222         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7223         * math/auto-libm-test-out: Regenerated.
7224         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7225         (hypot_test_data): Likewise.
7226         (pow_test_data): Likewise.
7227         (pow_tonearest_test_data): Likewise.
7228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7229         mpfr_ff_f.
7230         (func_calc_desc): Add mpfr_ff_f union field.
7231         (FUNC_mpfr_ff_f): New macro.
7232         (test_functions): Add atan2, hypot and pow.
7233         (special_fill_min): New function.
7234         (special_fill_minus_min): Likewise.
7235         (special_fill_min_subnorm): Likewise.
7236         (special_fill_minus_min_subnorm): Likewise.
7237         (special_real_inputs): Add min, -min, min_subnorm and
7238         -min_subnorm.
7239         (calc_generic_results): Handle mpfr_ff_f.
7240         * sysdeps/i386/fpu/libm-test-ulps: Update.
7241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243 2013-12-16  Will Newton  <will.newton@linaro.org>
7245         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7246         (Aligned Memory Blocks): Add documentation for aligned_alloc
7247         and suggest it as an alternative to posix_memalign.
7248         (Hooks for Malloc): Document __memalign_hook is also called
7249         for aligned_alloc.  (Summary of Malloc): Add summary for
7250         aligned alloc.  Document __memalign_hook is also called
7251         for aligned_alloc.
7253 2013-12-16  Will Newton  <will.newton@linaro.org>
7255         * manual/memory.texi (Malloc Examples): Clarify default
7256         alignment documentation.  Suggest posix_memalign rather
7257         than memalign or valloc.
7258         (Aligned Memory Blocks): Remove suggestion to use memalign
7259         or valloc.  Remove obsolete comment about BSD.
7260         Document memalign errno values and mark the function obsolete.
7261         Document posix_memalign returned error codes.  Mark valloc
7262         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7263         called for posix_memalign and valloc.
7264         (Summary of Malloc): Add posix_memalign to function summary.
7265         __memalign_hook is also called for posix_memalign and valloc.
7267 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7269         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7270         TAYLOR_SIN.
7271         (__sin): Adjust.
7272         (__cos): Likewise.
7273         (sloww): Use mynumber union.  Expand ternary operator into
7274         if-else statements.
7275         (cslow): use mynumber union.
7277 2013-12-16  Allan McRae  <allan@archlinux.org>
7279         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7280         * configure: Regenerated.
7282         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7284         [BZ #14120]
7285         * configure.ac: Added --enable-maintainer-mode. Check for
7286         autoconf when enabled.
7287         * configure: Regenerated.
7289         * nscd/nscd.service: New file.
7290         * nscd/nscd.tmpfiles: New file.
7292 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7294         [BZ #12100]
7295         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7296         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7297         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7298         (strstr): Add __strstr_sse2_unaligned ifunc.
7299         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7300         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7301         (strcasestr): Remove __strcasestr_sse42 ifunc.
7302         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7303         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7304         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7306 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7308         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7309         * sysdeps/sh/bits/fenv.h: ... here.
7310         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7312 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7314         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7317         hypotf multiarch implementations.
7318         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7319         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7320         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7321         multiarch hypot for PPC64.
7322         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7323         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7324         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7325         multiarch hypotf for PPC64.
7327         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7328         modff multiarch implementations.
7329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7332         multiarch modf for PPC64.
7333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7334         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7336         multiarch modff for PPC64.
7338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7339         and logl multiarch implementations.
7340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7341         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7343         multiarch logb for PPC64.
7344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7347         multiarch logb for PPC64.
7348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7350         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7351         multiarch logb for PPC64.
7353         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7354         isinff multiarch implementation.
7355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7356         file.
7357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7359         multiarch isinf for PPC64.
7360         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7361         file.
7362         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7363         multiarch isinff for PPC64.
7365         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7366         finitef multiarch implementation.
7367         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7368         file.
7369         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7371         multiarch finite for PPC64.
7372         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7373         file.
7374         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7375         multiarch finitef for PPC64.
7377         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7378         lrint multiarch implementation.
7379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7380         file.
7381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7382         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7383         multiarch llrint for PPC64.
7384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7385         multiarch lrint for PPC64.
7387         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7388         copysignf multiarch implementation.
7389         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7390         file.
7391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7392         file.
7393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7394         multiarch copysign for PPC64.
7395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7396         multiarch copysignf for PPC64.
7398         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7399         multiarch implementation.
7400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7401         file.
7402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7403         file.
7404         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7405         file.
7406         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7407         file.
7408         multiarch llround for PPC64.
7409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7410         multiarch trunc for PPC64.
7411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7412         multiarch truncf for PPC64.
7414         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7415         multiarch implementation.
7416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7417         file.
7418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7419         file.
7420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7421         file.
7422         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7423         file.
7424         multiarch llround for PPC64.
7425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7426         multiarch round for PPC64.
7427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7428         multiarch roundf for PPC64.
7430         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7431         multiarch implementation.
7432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7433         file.
7434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7435         file.
7436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7437         file.
7438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7439         file.
7440         multiarch llround for PPC64.
7441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7442         multiarch floor for PPC64.
7443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7444         multiarch floorf for PPC64.
7446         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7447         multiarch implementation.
7448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7449         file.
7450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7451         file.
7452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7453         file.
7454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7455         file.
7456         multiarch llround for PPC64.
7457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7458         multiarch ceil for PPC64.
7459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7460         multiarch ceilf for PPC64.
7462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7463         multiarch implementation.
7464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7465         file.
7466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7467         file.
7468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7469         file.
7470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7471         multiarch llround for PPC64.
7472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7473         multiarch lround for PPC64.
7475         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7476         multiarch implementation.
7477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7480         file.
7481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7484         multiarch isnan for PPC64.
7485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7486         multiarch isnanf for PPC64.
7488         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7489         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7490         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7491         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7492         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7495         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7496         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7497         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7498         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7501         multiarch implementations.
7502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7503         (__libc_ifunc_impl_list): Likewise.
7504         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7506         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7507         multiarch stpcpy for PPC64.
7509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7510         multiarch implementations.
7511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7512         (__libc_ifunc_impl_list): Likewise.
7513         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7514         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7515         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7516         multiarch strcpy for PPC64.
7518         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7519         redefine function name.
7520         (_wordcopy_fwd_dest_aligned): Likewise.
7521         (_wordcopy_bwd_aligned): Likewise.
7522         (_wordcopy_bwd_dest_aligned): Likewise.
7523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7524         multiarch implementations.
7525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7526         (__libc_ifunc_impl_list): Likewise.
7527         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7529         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7530         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7531         multiarch wcscpy for PPC64.
7533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7534         multiarch implementations.
7535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7536         (__libc_ifunc_impl_list): Likewise.
7537         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7538         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7539         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7540         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7541         multiarch wcscpy for PPC64.
7543         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7544         multiarch implementations.
7545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7546         (__libc_ifunc_impl_list): Likewise.
7547         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7548         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7549         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7550         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7551         multiarch wcsrchr for PPC64.
7553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7554         multiarch implementations.
7555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7556         (__libc_ifunc_impl_list): Likewise.
7557         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7558         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7559         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7560         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7561         multiarch wcschr for PPC64.
7563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7564         multiarch implementations.
7565         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7566         (__libc_ifunc_impl_list): Likewise.
7567         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7568         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7569         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7570         multiarch strchrnul for PPC64.
7572         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7573         implementations.
7574         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7575         (__libc_ifunc_impl_list): Likewise.
7576         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7577         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7578         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7579         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7580         strchr for PPC64.
7582         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7583         implementations.
7584         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7585         (__libc_ifunc_impl_list): Likewise.
7586         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7587         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7588         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7589         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7590         strncmp for PPC64.
7592         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7593         multiarch implementations.
7594         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7595         (__libc_ifunc_impl_list): Likewise.
7596         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7597         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7598         strncasecmp for PPC64.
7599         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7600         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7601         multiarch strncasecmp_l for PPC64.
7603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7604         multiarch implementations.
7605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7606         (__libc_ifunc_impl_list): Likewise.
7607         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7608         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7609         multiarch strcasecmp for PPC64.
7610         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7611         file.
7612         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7613         multiarch strcasecmp_l for PPC64.
7615         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7616         implementations.
7617         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7618         (__libc_ifunc_impl_list): Likewise.
7619         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7620         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7621         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7622         strnlen for PPC64.
7624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7625         implementations.
7626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7627         (__libc_ifunc_impl_list): Likewise.
7628         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7629         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7630         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7631         strlen for PPC64.
7633         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7634         implementations.
7635         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7636         (__libc_ifunc_impl_list): Likewise.
7637         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7638         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7639         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7640         rawmemrchr for PPC64.
7642         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7643         implementation.
7644         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7645         (__libc_ifunc_impl_list): Likewise.
7646         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7647         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7648         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7649         memrchr for PPC64.
7651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7652         implementation.
7653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7654         (__libc_ifunc_impl_list): Likewise.
7655         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7656         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7657         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7658         memchr for PPC64.
7660         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7661         implementation.
7662         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7663         (__libc_ifunc_impl_list): Likewise.
7664         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7665         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7666         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7667         mempcpy for PPC64.
7669         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7670         avoid cretion of __bzero symbol.
7671         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7672         Likewise.
7673         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7674         Likewise.
7675         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7676         Likewise.
7677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7678         multiarch implementations.
7679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7680         (__libc_ifunc_impl_list): Likewise.
7681         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7682         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7683         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7684         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7685         bzero for PPC32.
7686         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7687         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7688         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7689         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7690         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7691         memset for PPC64.
7692         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7694         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7695         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7696         implementations.
7697         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7698         (__libc_ifunc_impl_list): Likewise.
7699         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7700         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7701         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7702         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7703         memcmp for PPC64.
7705         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7706         multiarch for POWER/PPC64.
7707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7708         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7709         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7710         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7711         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7712         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7713         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7714         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7715         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7716         memcpy for PPC64.
7718         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7719         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7720         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7721         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7722         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7723         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7724         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7725         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7726         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7727         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7728         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7729         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7730         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7731         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7732         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7741 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7743         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7745 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7747         * benchtests/Makefile (bench): Add exp2 and log2.
7748         (LDLIBS-bench-exp2): Add -lm.
7749         (LDLIBS-bench-log2): Likewise.
7750         * benchtests/exp2-inputs: New inputs file.
7751         * benchtests/log2-inputs: New inputs file.
7752         * benchtests/log-inputs: Add new inputs.
7753         * benchtests/tan-inputs: Likewise.
7755 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7757         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7758         definition...
7759         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7760         (csloww2): ... from here.
7762         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7763         instead of structures.
7764         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7765         (POLYNOMIAL): Likewise.
7766         (TAYLOR_SLOW): Likewise.
7767         (__sin): Likewise.
7768         (__cos): Likewise.
7769         (slow1): Likewise.
7770         (slow2): Likewise.
7771         (sloww): Likewise.
7772         (sloww1); Likewise.
7773         (sloww2): Likewise.
7774         (bsloww1): Likewise.
7775         (bsloww2): Likewise.
7776         (cslow2): Likewise.
7777         (csloww): Likewise.
7778         (csloww1): Likewise.
7779         (csloww2): Likewise.
7781 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7783         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7784         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7785         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7786         * malloc/hooks.c (realloc_check): Likewise.
7788         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7789         * malloc/arena.c: Remove PER_THREAD conditional.
7790         [!PER_THREAD]: Remove code.
7791         (ptmalloc_unlock_all2): Likewise.
7792         (ptmalloc_init): Likewise.
7793         (_int_new_arena): Likewise.
7794         (arena_get2): Likewise.
7795         * malloc/hooks.c (__malloc_get_state): Likewise.
7796         (__malloc_set_state): Likewise.
7797         * malloc/malloc.c: Likewise.
7798         (struct malloc_state): Likewise.
7799         (struct malloc_par): Likewise.
7800         (__libc_realloc): Likewise.
7801         (__libc_mallopt): Likewise.
7803 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7805         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7807 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7809         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7810         macro to a function.  Check for zero perturb_byte.
7811         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7813         * malloc/malloc.c: (force_reg): Remove.
7814         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7815         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7816         force_reg by atomic_forced_read.
7817         * malloc/arena.c (ptmalloc_init): Likewise.
7818         * malloc/hooks.c (top_check): Likewise.
7820 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7824 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7826         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7828 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7830         * math/auto-libm-test-in: Add tests of lgamma.
7831         * math/auto-libm-test-out: Regenerated.
7832         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7833         (M_LOG_2_SQRT_PIl): Likewise.
7834         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7835         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7836         mpfr_f_f1.
7837         (func_calc_desc): Add mpfr_f_f1 union field.
7838         (ARGS1): New macro.
7839         (ARGS2): Likewise.
7840         (ARGS3): Likewise.
7841         (ARGS4): Likewise.
7842         (RET1): Likewise.
7843         (RET2): Likewise.
7844         (CALC): Likewise.
7845         (FUNC): Likewise.
7846         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
7847         (test_functions): Add lgamma.
7848         (calc_generic_results): Handle mpfr_f_f1.
7849         * sysdeps/i386/fpu/libm-test-ulps: Update.
7850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7854         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
7855         __mpn_add_n for PowerPC64/POWER7.
7856         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
7857         __mpn_sub_n for PowerPC64/POWER7.
7859         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
7860         __mpn_addmul_1 for PowerPC64.
7861         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
7862         __mpn_submul_1 for PowerPC64.
7863         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
7864         for PowerPC64.
7865         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
7866         for PowerPC64.
7868 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
7870         [BZ #15089]
7871         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
7873 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7875         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
7877         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
7878         add multiarch folders.
7879         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
7880         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
7881         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
7882         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
7883         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
7884         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
7885         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
7886         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
7887         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
7888         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
7889         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
7890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
7895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
7897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7898         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
7899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
7900         New file.
7901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
7902         New file.
7903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
7904         multiarch __ieee754_hypot for PowerPC32.
7905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
7906         New file.
7907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
7908         New file.
7909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
7910         multiarch __ieee754_hypotf for PowerPC32.
7912         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
7913         long_double_symbol only if __logbl is defined.
7914         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
7915         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
7916         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
7917         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
7918         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
7919         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
7920         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
7921         path for implementation.
7922         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
7923         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
7924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
7925         logb, and logbl multiarch implementations for PowerPC32.
7926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
7927         file.
7928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
7929         file.
7930         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
7931         multiarch logb for PowerPC32.
7932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
7933         file.
7934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
7935         file.
7936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
7937         multiarch logbf for PowerPC32.
7938         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
7939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
7940         file.
7941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
7942         multiarch logbl implementation for PowerPC32.
7944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
7945         and modff multiarch implementations.
7946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
7947         New file.
7948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
7949         New file.
7950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
7951         multiarch modf for PowerPC32.
7952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
7953         New file.
7954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
7955         New file.
7956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
7957         multiarch modff for PowerPC32.
7959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
7960         and lrintf multiarch implementations.
7961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
7962         New file.
7963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
7964         New file.
7965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
7966         multiarch lrint for PowerPC32.
7967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
7968         file: multiarch lrintf for PowerPC32.
7970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
7971         and lroundf multiarch implementations.
7972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
7973         New file.
7974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
7975         New file.
7976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
7977         New file.
7978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
7979         multiarch lround for PowerPC32.
7980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
7981         file: multiarch lroundf for PowerPC32.
7983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
7984         copysign and copysignf multiarch implementations.
7985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
7986         New file.
7987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
7988         New file.
7989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
7990         file: multiarch copysign for PowerPC32.
7991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
7992         file: multiarch copysignf for PowerPC32.
7994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
7995         and truncf multiarch implementations.
7996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
7997         New file.
7998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
7999         file.
8000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8001         multiarch trunc for PowerPC32.
8002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8003         New file.
8004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8005         New file.
8006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8007         multiarch truncf for PowerPC32.
8009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8010         and roundf multiarch implementations.
8011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8012         New file.
8013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8014         file.
8015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8016         multiarch round for PowerPC32.
8017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8018         New file.
8019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8020         New file.
8021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8022         multiarch roundf for PowerPC32.
8024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8025         and floorf multiarch implementations.
8026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8027         New file.
8028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8029         file.
8030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8031         multiarch floor for PowerPC32.
8032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8033         New file.
8034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8035         New file.
8036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8037         multiarch floorf for PowerPC32.
8039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8040         and ceilf multiarch implementations.
8041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8042         New file.
8043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8044         file.
8045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8046         multiarch ceil for PowerPC32.
8047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8048         New file.
8049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8050         file.
8051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8052         multiarch ceilf for PowerPC32.
8054         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8055         is defined.
8056         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8057         FINITEF is defined.
8058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8059         and finitef multiarch implementations.
8060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8061         New file.
8062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8063         file.
8064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8065         multiarch finite for PowerPC32.
8066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8067         New file.
8068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8069         file: multiarch finitef for PowerPC32.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8072         and isinff multiarch implementations.
8073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8074         file.
8075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8076         file.
8077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8078         multiarch isinf for PowerPC32.
8079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8080         New file.
8081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8082         multiarch isinff for PowerPC32.
8084         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8085         alias when __isnan is defined.
8086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8087         and isnanf multiarch implementations.
8088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8089         file.
8090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8091         file.
8092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8093         file.
8094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8095         file.
8096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8097         multiarch isnan for PowerPC32.
8098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8099         New file.
8100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8101         New file.
8102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8103         multiarch isnanf for PowerPC32.
8105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8106         and sqrtf multiarch implementations.
8107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8108         file.
8109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8110         file.
8111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8112         multiarch sqrt for PowerPC32.
8113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8114         file.
8115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8116         file.
8117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8118         multiarch sqrtf for PowerPC32.
8120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8121         and llroundf multiarch implementations.
8122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8123         New file.
8124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8125         New file.
8126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8127         New file.
8128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8129         file: multiarch llround for PowerPC32.
8130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8131         file: multiarch llroundf for PowerPC32.
8133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8134         multiarch PowerPC32 fpu implementations.
8135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8136         New file.
8137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8138         New file.
8139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8140         multiarch llrint for PowerPC32.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8142         New file.
8143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8144         New file.
8145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8146         file.
8148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8151         file.
8152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8153         file.
8154         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8155         file.
8156         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8157         multiarch wordcopy for PPC32.
8158         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8159         wordcopy objects.
8160         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8161         (__libc_ifunc_impl_list): Likewise.
8162         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8163         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8164         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8165         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8166         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8167         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8169         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8170         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8171         file.
8172         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8173         file.
8174         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8175         file.
8176         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8177         multiarch wcscpy for PPC32.
8178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8179         multiarch objects.
8180         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8181         (__libc_ifunc_impl_list): Likewise.
8182         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8183         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8184         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8185         sysdeps/powerpc/power6/wcscpy.c.
8187         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8188         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8189         file.
8190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8191         file.
8192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8193         file.
8194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8195         multiarch wcsrchr for PPC32.
8196         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8197         multiarch objects.
8198         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8199         (__libc_ifunc_impl_list): Likewise.
8200         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8201         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8202         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8203         sysdeps/powerpc/power6/wcsrchr.c.
8205         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8206         file.
8207         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8208         file.
8209         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8210         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8211         multiarch wcschr for PPc32.
8212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8213         multiarch objects.
8214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8215         (__libc_ifunc_impl_list): Likewise.
8216         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8217         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8218         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8219         sysdeps/powerpc/power6/wcschr.c.
8221         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8222         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8223         file.
8224         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8225         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8226         file: multiarch strchr for PPC32.
8227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8228         multiarch objects.
8229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8230         (__libc_ifunc_impl_list): Likewise.
8232         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8233         name.
8234         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8235         file.
8236         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8237         file.
8238         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8239         multiarch strchrnul for PPC32.
8240         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8241         multiarch objects.
8242         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8243         (__libc_ifunc_impl_list): Likewise.
8245         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8246         file.
8247         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8248         multiarch strncasecmp for PPC32.
8249         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8250         file.
8251         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8252         multiarch strncasecmp_l for PPC32.
8253         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8254         strncasecmp multiarch objects.
8255         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8256         (__libc_ifunc_impl_list): Likewise.
8258         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8259         file.
8260         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8261         multiarch strncasecmp for PPC32.
8262         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8263         New file.
8264         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8265         multiarch strcasecmp_l for PPC32.
8266         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8267         multiarch objects.
8268         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8269         (__libc_ifunc_impl_list): Likewise.
8271         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8272         file.
8273         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8274         file.
8275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8276         multiarch strncmp for PPC32.
8277         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8278         multiarch objects.
8279         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8280         (__libc_ifunc_impl_list): Likewise.
8282         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8283         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8284         file.
8285         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8286         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8287         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8288         multiarch objects.
8289         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8290         (__libc_ifunc_impl_list): Likewise.
8292         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8293         file.
8294         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8295         file.
8296         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8298         multiarch objects.
8299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8300         (__libc_ifunc_impl_list): Likewise.
8302         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8303         file.
8304         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8305         file.
8306         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8307         multiarch rawmemchr for PPC32.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8309         multiarch objects.
8310         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8311         (__libc_ifunc_impl_list): Likewise.
8313         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8314         file.
8315         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8316         file.
8317         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8318         file: memrchr multiarch for PPC32.
8319         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8320         multiarch objects.
8321         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8322         (__libc_ifunc_impl_list): Likewise.
8324         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8325         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8326         file.
8327         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8328         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8329         multiarch memchr for PPC32.
8330         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8331         multiarch objects.
8332         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8333         (__libc_ifunc_impl_list): Likewise.
8335         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8336         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8337         file.
8338         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8339         file.
8340         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8341         file: multiarch mempcpy for PPC32.
8342         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8343         multiarch objects.
8344         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8345         (__libc_ifunc_impl_list): Likewise.
8347         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8348         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8349         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8350         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8351         multiarch bzero for PPC32.
8352         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8353         file.
8354         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8355         file.
8356         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8357         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8358         file: multiarch memset for PPC32.
8359         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8361         memset multiarch objects.
8362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8363         (__libc_ifunc_impl_list): Likewise.
8365         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8366         file.
8367         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8368         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8369         memcmp for PPC32.
8370         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8372         multiarch objects.
8373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8374         (__libc_ifunc_impl_list): Likewise.
8376         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8377         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8378         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8379         file.
8380         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8381         file.
8382         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8383         file.
8384         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8385         multiarch memcpy for PPC32.
8386         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8387         multiarch objects.
8388         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8389         (__libc_ifunc_impl_list): Likewise.
8391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8392         support multiarch for POWER/PPC32.
8393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8394         Likewise.
8395         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8397         Implies file to make multiarch folder appers before the fpu and
8398         default folder for power4 configuration.
8400 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8402         * scripts/bench.pl: Append volatile keyword to type.
8404 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8406         * sysdeps/sh/sotruss-lib.c: New file.
8407         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8409 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8413 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8415         [BZ #6810]
8416         * math/w_tgamma.c: Include <errno.h>.
8417         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8418         * math/w_tgammaf.c: Include <errno.h>.
8419         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8420         * math/w_tgammal.c: Include <errno.h>.
8421         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8422         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8423         underflow.  Add more tgamma tests.
8424         * math/auto-libm-test-out: Regenerated.
8425         * sysdeps/i386/fpu/libm-test-ulps: Update.
8426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8428         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8429         sin, sinh, tan, tanh, tgamma, y0 and y1.
8430         * math/auto-libm-test-out: Regenerated.
8431         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8432         (TEST_COND_x86): Likewise.
8433         (M_E2l): Remove macro.
8434         (M_E3l): Likewise.
8435         (M_2_SQRT_PIl): Likewise.
8436         (M_SQRT_PIl): Likewise.
8437         (M_1_DIV_El): Likewise.
8438         (log_test_data): Use AUTO_TESTS_f_f.
8439         (log10_test_data): Likewise.
8440         (log1p_test_data): Likewise.
8441         (log2_test_data): Likewise.
8442         (sin_test_data): Likewise.
8443         (sin_tonearest_test_data): Likewise.
8444         (sin_towardzero_test_data): Likewise.
8445         (sin_downward_test_data): Likewise.
8446         (sin_upward_test_data): Likewise.
8447         (sinh_test_data): Likewise.
8448         (sinh_tonearest_test_data): Likewise.
8449         (sinh_towardzero_test_data): Likewise.
8450         (sinh_downward_test_data): Likewise.
8451         (sinh_upward_test_data): Likewise.
8452         (tan_test_data): Likewise.
8453         (tan_tonearest_test_data): Likewise.
8454         (tan_towardzero_test_data): Likewise.
8455         (tan_downward_test_data): Likewise.
8456         (tan_upward_test_data): Likewise.
8457         (tanh_test_data): Likewise.
8458         (tgamma_test_data): Likewise.
8459         (y0_test_data): Likewise.
8460         (y1_test_data): Likewise.
8461         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8462         (special_real_inputs): Add pi/4.
8463         * sysdeps/i386/fpu/libm-test-ulps: Update.
8464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8466 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8468         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8469         "longjmp_target" static probes.
8470         (__longjmp): Rename to __longjmp_symbol.
8471         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8472         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8473         on which longjmp to generate.
8474         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8475         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8476         probe.
8477         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8478         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8479         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8480         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8481         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8482         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8484         __longjmp_symbol based on which __longjmp to generate.
8485         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8486         probe.
8487         (setjmp): Rename to setjmp_symbol.
8488         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8489         (_setjmp): Rename to _setjmp_symbol.
8490         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8491         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8492         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8493         which setjmp to generate.
8494         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8495         "longjmp_target" static probes.
8497 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8499         * benchtests/README: Add note about output arguments.
8500         * benchtests/bench-sincos.c: Remove file.
8501         * benchtests/sincos-inputs: New file.
8502         * scripts/bench.pl: Identify output arguments and define
8503         static variables for them.
8505         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8507         [BZ #15941]
8508         * Makefile (INSTALL): Add install-plain.texi as the primary
8509         dependency.
8510         * manual/install-plain.texi: New file.
8511         * manual/install.texi: Include node directive only for
8512         non-plaintext output.
8514 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8516         * stdlib/longlong.h: Update from GCC.
8518         [BZ #6807]
8519         [BZ #15901]
8520         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8521         * math/w_j0f.c (y0f): Likewise.
8522         * math/w_j0l.c (__y0l): Likewise.
8523         * math/w_j1.c (y1): Likewise.
8524         * math/w_j1f.c (y1f): Likewise.
8525         * math/w_j1l.c (__y1l): Likewise
8526         * math/w_jn.c (yn): Likewise.
8527         * math/w_jnf.c (ynf): Likewise.
8528         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8529         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8530         value for Bessel function domain errors outside _SVID_ mode.
8531         Adjust sign of return value for yn (negative integer, 0).
8532         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8533         by zero in return for negative x and set sign appropriately for
8534         negative n.
8535         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8536         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8537         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8538         expectations in error cases.
8539         (y1_test_data): Likewise.
8540         (yn_test_data): Likewise.
8541         * sysdeps/i386/fpu/libm-test-ulps: Update.
8542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8544 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8546         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8547         "64" to "64-v1".  Add "64-v2".
8548         (abi-64-options): Rename to ...
8549         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8550         (abi-64-condition): Rename to ...
8551         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8552         (abi-64-ld-soname): Rename to ...
8553         (abi-64-v1-ld-soname): ... this.
8554         (abi-64-v2-options): Define.
8555         (abi-64-v2-condition): Likewise.
8556         (abi-64-v2-ld-soname): Likewise.
8557         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8558         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8563 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8564             Alan Modra  <amodra@gmail.com>
8566         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8567         New versions for use with the ELFv2 ABI.
8568         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8569         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8570         declaration.
8571         (struct La_ppc64v2_retval): Likewise.
8572         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8573         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8574         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8575         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8576         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8577         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8578         Do not save or restore CR.
8579         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8580         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8581         return values for ELFv2 ABI.  Fix location of FPR return registers.
8582         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8583         updated values for _CALL_ELF == 2.
8584         (La_regs, La_retval, int_retval): Likewise.
8586 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8588         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8589         (FRAME_MIN_SIZE_PARM): Likewise.
8590         (FRAME_BACKCHAIN): Likewise.
8591         (FRAME_CR_SAVE): Likewise.
8592         (FRAME_LR_SAVE): Likewise.
8593         (FRAME_TOC_SAVE): Likewise.
8594         (FRAME_PARM_SAVE): Likewise.
8595         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8596         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8597         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8598         (call_mcount_parm_offset): New macro.
8599         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8600         (PROF): Use symbolic stack frame offsets.
8601         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8602         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8603         Redefine in terms of FRAME_MIN_SIZE.
8604         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8605         (_dl_profile_resolve): Likewise.  Update comment.
8606         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8607         symbols stack frame offsets.
8608         (__sigsetjmp): Likewise.
8609         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8610         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8611         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8612         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8615         (FRAME_BACKCHAIN): Remove.
8616         (FRAME_CR_SAVE): Likewise.
8617         (FRAME_LR_SAVE): Likewise.
8618         (FRAME_COMPILER_DW): Likewise.
8619         (FRAME_LINKER_DW): Likewise.
8620         (FRAME_TOC_SAVE): Likewise.
8621         (FRAME_PARM_SAVE): Likewise.
8622         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8623         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8624         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8626         (CHECK_SP): Use symbolic stack frame offsets.
8627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8628         zone" instead of caller's parameter save area for temp storage.
8629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8630         Likewise.  Also, use symbolic stack frame offsets.
8631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8632         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8633         our own stack frame instead of the caller's.
8634         (__socket): Use symbolic stack frame offsets.
8636 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8637             Alan Modra  <amodra@gmail.com>
8639         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8640         Define.
8641         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8642         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8643         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8644         New function.
8645         (elf_machine_fixup_plt): Call it.
8646         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8647         reloc arguments.
8648         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8649         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8650         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8651         r2 before calling target.
8653 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8654             Alan Modra  <amodra@gmail.com>
8656         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8657         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8658         versions of macros to support ELFv2 ABI.
8659         (LOCALENTRY): New macro.
8660         (ENTRY, EALIGN): Use it.
8661         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8662         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8663         fall through into ENTRY entry point.
8664         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8665         Only define if _CALL_ELF != 2.
8667         (elf_machine_matches_host): Verify ABI version matches.
8668         (RTLD_START): Use LOCALENTRY.
8669         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8670         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8671         (PLT_ENTRY_WORDS): New macro.
8672         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8673         (elf_machine_runtime_setup): Support ELFv2 ABI.
8674         (elf_machine_fixup_plt): Likewise.
8675         (elf_machine_plt_conflict): Likewise.
8676         (resolve_ifunc): Likewise.
8677         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8678         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8681         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8683         (makecontext): Support ELFv2 ABI.
8684         * elf/elf.h (EF_PPC64_ABI): Define.
8686 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8688         * sysdeps/powerpc/powerpc64/sysdep.h
8689         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8690         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8691         (ENTRY) [ASSEMBLER]: ... but instead here ...
8692         (EALIGN) [ASSEMBLER]: ... and here.
8693         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8694         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8695         (ENTRY_2) [!ASSEMBLER]: Use it.
8696         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8697         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8698         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8699         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8700         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8702         Use PPC64_LOAD_FUNCPTR.
8704         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8706 2013-12-04  Alan Modra  <amodra@gmail.com>
8708         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8709         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8710         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8711         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8713         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8714         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8715         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8716         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8717         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8718         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8720 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8723         (__makecontext): Fix incorrect CFI when backtracing out of
8724         context created via makecontext.
8725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8726         (__setcontext): Fix incorrect CFI during switch to new context.
8727         (__novec_setcontext): Likewise.
8729 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8731         [BZ #4772]
8732         * time/strptime_l.c (__strptime_internal): Allow modifiers
8733         in strptime.
8734         * time/tst-strptime.c (day_tests): Add testcase.
8736 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8738         * scripts/bench.pl: Skip over blank lines.
8740 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8742         [BZ #926]
8743         * manual/time.texi (Calendar Time): Clarify what timezone functions
8744         use.
8746 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8750 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8752         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8753         implementation.
8754         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8755         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8756         * debug/memset_chk.c (__memset_chk): Likewise.
8757         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8758         * debug/strncpy_chk.c: Likewise.
8760 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8762         [BZ #15268]
8763         [BZ #15425]
8764         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8765         (__ieee754_exp): For possibly underflowing results, check size of
8766         result and force underflow exception if required.
8767         * math/auto-libm-test-in: Add more tests of exp.
8768         * math/auto-libm-test-out: Regenerated.
8769         * sysdeps/i386/fpu/libm-test-ulps: Update.
8770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8772         [BZ #16283]
8773         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8774         * math/w_exp2f.c (__exp2f): Likewise.
8775         * math/w_exp2l.c (__exp2l): Likewise.
8776         * math/auto-libm-test-in: Do not allow missing errno on exp2
8777         underflow.
8778         * math/auto-libm-test-out: Regenerated.
8780 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8782         [BZ #16274]
8783         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8784         handle filename validation.
8785         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8786         (do_open): Delete.
8788 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8790         [BZ #6786]
8791         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8792         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8793         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8794         <float.h>.
8795         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8796         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8797         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8798         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8799         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8800         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8801         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8802         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8803         Add more erfc tests.
8804         * math/auto-libm-test-out: Regenerated.
8805         * sysdeps/i386/fpu/libm-test-ulps: Update.
8806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8808         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8809         exp2, expm1, j0 and j1.
8810         * math/auto-libm-test-out: Regenerated.
8811         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8812         (erfc_test_data): Likewise.
8813         (exp_test_data): Likewise.
8814         (exp_tonearest_test_data): Likewise.
8815         (exp_towardzero_test_data): Likewise.
8816         (exp_downward_test_data): Likewise.
8817         (exp_upward_test_data): Likewise.
8818         (exp10_test_data): Likewise.
8819         (exp2_test_data): Likewise.
8820         (expm1_test_data): Likewise.
8821         (j0_test_data): Likewise.
8822         (j1_test_data): Likewise.
8823         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8824         (input_flag_type): Add flag_xfail_rounding.
8825         (input_flags): Add xfail-rounding.
8826         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8827         (output_for_one_input_case): Handle flag_xfail_rounding.
8828         * sysdeps/i386/fpu/libm-test-ulps: Update.
8829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8831 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8833         [BZ #16289]
8834         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8835         division by 0.
8837 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8839         [BZ #16195]
8840         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8841         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
8842         (STAP_PROBE0): New macro.
8843         (STAP_PROBE1): Likewise.
8844         (STAP_PROBE2): Likewise.
8845         (STAP_PROBE3): Likewise.
8846         (STAP_PROBE4): Likewise.
8848 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
8850         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
8852 2013-12-02  Steve Ellcey  <sellcey@mips.com>
8854         * benchtests/Makefile (bench): Add sqrt.
8855         (LDLIBS-bench-sqrt): New.
8856         * benchtests/sqrt-input: New.
8858 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
8860         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
8861         (GAIH_EAI): Likewise.
8862         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
8863         (gaih_inet): Likewise.
8864         (getaddrinfo): Don't use GAIH_EAI.
8866         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
8867         (struct gaih): Remove definition.
8869 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8871         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
8872         Use HERRNOP directly.
8874 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8878 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
8880         * math/gen-auto-libm-tests.c (test_functions): Add more
8881         single-argument functions.
8882         (special_fill_pi_2): New function.
8883         (special_fill_minus_pi_2): Likewise.
8884         (special_fill_pi_6): Likewise.
8885         (special_fill_minus_pi_6): Likewise.
8886         (special_fill_pi_3): Likewise.
8887         (special_fill_2pi_3): Likewise.
8888         (special_fill_e): Likewise.
8889         (special_fill_1_e): Likewise.
8890         (special_fill_e_minus_1): Likewise.
8891         (special_real_inputs): Add more special inputs.
8892         (output_for_one_input_case): Do not require ERANGE on underflow to
8893         zero if round-to-nearest result does not underflow to zero, unless
8894         exact results required.
8895         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
8896         atan, atanh, cbrt, cos and cosh.
8897         * math/auto-libm-test-out: Regenerated.
8898         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
8899         (acos_tonearest_test_data): Likewise.
8900         (acos_towardzero_test_data): Likewise.
8901         (acos_downward_test_data): Likewise.
8902         (acos_upward_test_data): Likewise.
8903         (acosh_test_data): Likewise.
8904         (asin_test_data): Likewise.
8905         (asin_tonearest_test_data): Likewise.
8906         (asin_towardzero_test_data): Likewise.
8907         (asin_upward_test_data): Likewise.
8908         (asinh_test_data): Likewise.
8909         (atan_test_data): Likewise.
8910         (atanh_test_data): Likewise.
8911         (cbrt_test_data): Likewise.
8912         (cos_test_data): Likewise.
8913         (cos_tonearest_test_data): Likewise.
8914         (cos_towardzero_test_data): Likewise.
8915         (cos_downward_test_data): Likewise.
8916         (cos_upward_test_data): Likewise.
8917         (cosh_test_data): Likewise.
8918         (cosh_tonearest_test_data): Likewise.
8919         (cosh_towardzero_test_data): Likewise.
8920         (cosh_downward_test_data): Likewise.
8921         (cosh_upward_test_data): Likewise.
8922         * sysdeps/i386/fpu/libm-test-ulps: Update.
8923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8925 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
8927         [BZ #6787]
8928         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
8929         * math/w_exp10f.c (__exp10f): Likewise.
8930         * math/w_exp10l.c (__exp10l): Likewise.
8931         * math/libm-test.inc (exp10_test_data): Add more tests and expect
8932         errno settings in existing tests.
8934         [BZ #14032]
8935         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
8936         precision control set to double precision.
8937         * sysdeps/i386/fpu/w_sqrt.c: New file.
8938         * math/auto-libm-test-in: Add more tests.
8939         * math/auto-libm-test-out: Update.
8941         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
8942         (sqrt_test_tonearest): New function.
8943         (sqrt_towardzero_test_data): New variable.
8944         (sqrt_test_towardzero): New function.
8945         (sqrt_downward_test_data): New variable.
8946         (sqrt_test_downward): New function.
8947         (sqrt_upward_test_data): New variable.
8948         (sqrt_test_upward): New function.
8949         (main): Call the new functions.
8951         * math/gen-auto-libm-tests.c: New file.
8952         * math/auto-libm-test-in: Likewise.
8953         * math/auto-libm-test-out: New generated file.
8954         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
8955         variables.
8956         (%beautify): Add generated representations of zero.
8957         (top level): Set $auto_input and call parse_auto_input.
8958         (beautify): Remove trailing "f" from hex float constants.
8959         (parse_args): Handle XFAIL_TEST.
8960         (convert_condition): New function.
8961         (or_value): Likewise.
8962         (or_cond_value): Likewise.
8963         (generate_testfile): Handle AUTO_TESTS_* lines.
8964         (parse_auto_input): New function.
8965         * math/libm-test.inc (XFAIL_TEST): New macro.
8966         (ERRNO_UNCHANGED): Update value.
8967         (ERRNO_EDOM): Likewise.
8968         (ERRNO_ERANGE): Likewise.
8969         (IGNORE_RESULT): Likewise.
8970         (TEST_COND_flt_32): New macro.
8971         (TEST_COND_dbl_64): Likewise.
8972         (TEST_COND_ldbl_96_intel): Likewise.
8973         (TEST_COND_ldbl_96_m68k): Likewise.
8974         (TEST_COND_ldbl_128): Likewise.
8975         (TEST_COND_ldbl_128ibm): Likewise.
8976         (TEST_COND_long32): Likewise.
8977         (TEST_COND_long64): Likewise.
8978         (TEST_COND_before_rounding): Likewise.
8979         (TEST_COND_after_rounding): Likewise.
8980         (enable_test): Handle XFAIL_TEST flag.
8981         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
8982         with finite results.
8983         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
8984         auto-libm-test-out.
8986 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
8987             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8989         [BZ #16214]
8990         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
8991         __tls_get_addr_internal instead of __tls_get_offset in order to
8992         avoid GOT pointer dependency.  Make rtld export
8993         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
8994         __tls_get_addr since we are a __tls_get_offset platform.
8995         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
8996         GOT pointer being set up before.
8997         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
8999 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9001         * manual/math.texi (Errors in Math Functions): Document accuracy
9002         goals.
9004         [BZ #15004]
9005         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9006         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9007         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9008         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9009         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9010         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9011         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9012         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9013         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9014         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9015         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9016         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9017         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9018         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9019         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9020         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9022         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9023         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9024         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9025         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9026         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9027         Likewise.
9028         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9029         Likewise.
9030         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9031         Likewise.
9032         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9033         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9034         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9035         atomic-feupdateenv and flt-rounds.
9036         * sysdeps/powerpc/nofpu/Versions (libc): Add
9037         __atomic_feholdexcept, __atomic_feclearexcept,
9038         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9039         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9040         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9041         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9042         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9043         here.
9044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9045         Update.
9047         * manual/arith.texi (FP Exceptions): Document that exceptions may
9048         not be raised when matherr is used.
9049         (Math Error Reporting): Document overflow in directed rounding
9050         modes.  Document that errno may not be set when finite values are
9051         returned on overflow.  Document intent to set errno on underflow
9052         only for underflow to zero.
9054         [BZ #16271]
9055         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9056         round-to-nearest then adjust result for other rounding modes.
9057         * include/fenv.h (fegetround): Use libm_hidden_proto.
9058         * math/fegetround.c (fegetround): Use libm_hidden_def.
9059         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9060         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9061         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9062         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9063         Likewise.
9064         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9065         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9066         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9067         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9069 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9071         [BZ #16077]
9072         * nss/Versions (libnss_files): Add
9073         _nss_files_gethostbyname3_r.
9074         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9075         New function.
9076         (HOST_DB_LOOKUP): Remove macro.
9077         (_nss_files_gethostbyname_r): Implement function without the
9078         HOST_DB_LOOKUP macro.
9079         (_nss_files_gethostbyname2_r): Likewise.
9081 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9083         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9085 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9087         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9088         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9089         warning.
9091 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9093         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9094         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9095         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9096         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9097         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9098         __fe_nomask_env_priv and attribute_hidden.
9099         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9100         (libc_feupdateenv_test_ppc): Likewise.
9101         (libc_feresetround_ppc): Likewise.
9102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9103         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9104         compat_symbol macro.
9105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9106         (__fe_nomask_env): Likewise.
9107         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9109 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9111         * string/Makefile: Remove ifunc tests.
9112         * string/test-string.h: Define TEST_IFUNC.
9113         * string/test-bcopy-ifunc.c: Remove.
9114         * string/test-bzero-ifunc.c: Likewise.
9115         * string/test-memccpy-ifunc.c: Likewise.
9116         * string/test-memchr-ifunc.c: Likewise.
9117         * string/test-memcmp-ifunc.c: Likewise.
9118         * string/test-memcpy-ifunc.c: Likewise.
9119         * string/test-memmem-ifunc.c: Likewise.
9120         * string/test-memmove-ifunc.c: Likewise.
9121         * string/test-mempcpy-ifunc.c: Likewise.
9122         * string/test-memrchr-ifunc.c: Likewise.
9123         * string/test-memset-ifunc.c: Likewise.
9124         * string/test-rawmemchr-ifunc.c: Likewise.
9125         * string/test-stpcpy-ifunc.c: Likewise.
9126         * string/test-stpncpy-ifunc.c: Likewise.
9127         * string/test-strcasecmp-ifunc.c: Likewise.
9128         * string/test-strcasestr-ifunc.c: Likewise.
9129         * string/test-strcat-ifunc.c: Likewise.
9130         * string/test-strchr-ifunc.c: Likewise.
9131         * string/test-strchrnul-ifunc.c: Likewise.
9132         * string/test-strcmp-ifunc.c: Likewise.
9133         * string/test-strcpy-ifunc.c: Likewise.
9134         * string/test-strcspn-ifunc.c: Likewise.
9135         * string/test-strlen-ifunc.c: Likewise.
9136         * string/test-strncasecmp-ifunc.c: Likewise.
9137         * string/test-strncat-ifunc.c: Likewise.
9138         * string/test-strncmp-ifunc.c: Likewise.
9139         * string/test-strncpy-ifunc.c: Likewise.
9140         * string/test-strnlen-ifunc.c: Likewise.
9141         * string/test-strpbrk-ifunc.c: Likewise.
9142         * string/test-strrchr-ifunc.c: Likewise.
9143         * string/test-strspn-ifunc.c: Likewise.
9144         * string/test-strstr-ifunc.c: Likewise.
9146 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9148         * benchtests/Makefile: Remove ifunc tests.
9149         * benchtests/bench-string.h: Define TEST_IFUNC.
9150         * benchtests/bench-bcopy-ifunc.c: Remove.
9151         * benchtests/bench-bzero-ifunc.c: Likewise.
9152         * benchtests/bench-memccpy-ifunc.c: Likewise.
9153         * benchtests/bench-memchr-ifunc.c: Likewise.
9154         * benchtests/bench-memcmp-ifunc.c: Likewise.
9155         * benchtests/bench-memcpy-ifunc.c: Likewise.
9156         * benchtests/bench-memmem-ifunc.c: Likewise.
9157         * benchtests/bench-memmove-ifunc.c: Likewise.
9158         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9159         * benchtests/bench-memrchr-ifunc.c: Likewise.
9160         * benchtests/bench-memset-ifunc.c: Likewise.
9161         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9162         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9163         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9164         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9165         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9166         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9167         * benchtests/bench-strcat-ifunc.c: Likewise.
9168         * benchtests/bench-strchr-ifunc.c: Likewise.
9169         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9170         * benchtests/bench-strcmp-ifunc.c: Likewise.
9171         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9172         * benchtests/bench-strcpy-ifunc.c: Likewise.
9173         * benchtests/bench-strcspn-ifunc.c: Likewise.
9174         * benchtests/bench-strlen-ifunc.c: Likewise.
9175         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9176         * benchtests/bench-strncat-ifunc.c: Likewise.
9177         * benchtests/bench-strncmp-ifunc.c: Likewise.
9178         * benchtests/bench-strncpy-ifunc.c: Likewise.
9179         * benchtests/bench-strnlen-ifunc.c: Likewise.
9180         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9181         * benchtests/bench-strrchr-ifunc.c: Likewise.
9182         * benchtests/bench-strsep-ifunc.c: Likewise.
9183         * benchtests/bench-strspn-ifunc.c: Likewise.
9184         * benchtests/bench-strstr-ifunc.c: Likewise.
9186 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9188         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9190 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9192         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9193         * rt/aio.h: Likewise.
9194         * sysdeps/gnu/bits/utmp.h: Likewise.
9195         * sysdeps/gnu/bits/utmpx.h: Likewise.
9196         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9197         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9198         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9199         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9200         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9201         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9202         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9203         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9204         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9205         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9206         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9207         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9208         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9210         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9211         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9212         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9213         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9214         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9215         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9216         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9217         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9218         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9219         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9220         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9221         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9222         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9223         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9224         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9225         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9226         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9227         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9228         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9229         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9230         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9231         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9232         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9233         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9234         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9235         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9236         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9237         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9239 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9241         [BZ #16245]
9242         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9243         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9245 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9247         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9248         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9249         Likewise.
9251 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9253         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9254         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9255         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9256         (__fesetround): Remove define.
9257         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9258         rounding and exceptions handling.
9259         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9260         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9261         (__fe_nomask_env): Likewise.
9262         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9263         __fegetround instead of fegetround.
9264         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9265         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9267 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9269         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9270         it's there.
9272         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9274 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9276         [BZ #11157]
9277         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9278         (encrypt_r): Likewise.
9279         * malloc/obstack.h (obstack_free): Likewise.
9280         * posix/unistd.h (encrypt): Likewise.
9282 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9284         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9285         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9286         DL_CALL_DT_FINI() that call the functions directly.
9287         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9288         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9289         * elf/dl-fini.c: Likewise.
9291 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9293         * malloc/hooks.c (memalign_check): Add alignment rounding.
9294         * malloc/malloc.c (_mid_memalign): New function.
9295         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9296         Implement by calling _mid_memalign.
9297         * manual/probes.texi (Memory Allocation Probes): Remove
9298         memory_valloc_retry and memory_pvalloc_retry.
9300 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9302         * locale/programs/locarchive.c (open_archive): Add const
9303         qualifier to ARCHIVEFNAME and copy default fname to
9304         DEFAULT_FNAME.
9306         [BZ #15601]
9307         * libio/tst-widetext.input: Rename Oriya to Odia.
9308         * locale/iso-639.def: Likewise.
9310         * manual/probes.texi (Mathematical Function Probes): Add
9311         documentation for sin, cos, asin and acos probes.
9312         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9313         (__sin32): Add slowasin probe.
9314         (__cos32): Add slowacos probe.
9315         (__mpsin): Add slowsin probe.
9316         (__mpcos): Add slowcos probe.
9318 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9320         [BZ #15483]
9321         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9322         thread-local __sim_exceptions_thread and global
9323         __sim_exceptions_global.
9324         (__sim_disabled_exceptions): Change to thread-local
9325         __sim_disabled_exceptions_thread and global
9326         __sim_disabled_exceptions_global.
9327         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9328         and global __sim_round_mode_global.
9329         (__simulate_exceptions): Use thread-local floating-point state and
9330         set global state from it as needed.
9331         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9332         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9333         __sim_round_mode_thread.
9334         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9335         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9336         and global __sim_exceptions_global.
9337         (__sim_disabled_exceptions): Change to thread-local
9338         __sim_disabled_exceptions_thread and global
9339         __sim_disabled_exceptions_global.
9340         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9341         and global __sim_round_mode_global.
9342         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9343         (SIM_SET_GLOBAL): Likewise.
9344         * sysdeps/powerpc/soft-fp/sfp-machine.h
9345         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9346         __sim_round_mode_thread.
9347         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9348         __sim_disabled_exceptions_thread.
9349         (__sim_exceptions): Change to __sim_exceptions_thread.
9350         (__sim_disabled_exceptions): Change to
9351         __sim_disabled_exceptions_thread.
9352         (__sim_round_mode): Change to __sim_round_mode_thread.
9353         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9354         thread-local floating-point state and set global state from it as
9355         needed.
9356         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9357         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9358         (__sim_disabled_exceptions): Remove extern declaration.
9359         (feenableexcept): Use thread-local floating-point state and set
9360         global state from it as needed.
9361         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9362         extern declaration.
9363         (__sim_disabled_exceptions): Likewise.
9364         (__sim_round_mode): Likewise.
9365         (__fegetenv): Use thread-local floating-point state.
9366         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9367         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9368         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9369         floating-point state and set global state from it as needed.
9370         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9371         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9372         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9373         Likewise.
9374         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9375         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9376         Likewise.
9377         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9378         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9379         Use __sim_round_mode_thread.
9380         * math/test-fenv-tls.c: New file.
9381         * math/Makefile (tests): Add test-fenv-tls.
9382         ($(objpfx)test-fenv-tls): Depend on
9383         $(common-objpfx)nptl/libpthread.so.
9385 2013-11-19  Andreas Schwab  <schwab@suse.de>
9387         * locale/programs/locale.c (show_info): Decode wordarray elements.
9388         * locale/categories.def (LC_MONETARY): Add element for
9389         _NL_MONETARY_CRNCYSTR.
9390         * locale/C-monetary.c (conversion_rate): New variable.
9391         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9392         element.
9394 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9396         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9397         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9399 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9401         * elf/Makefile (tst-auxv): New test.
9402         * elf/tst-auxv.c: New
9403         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9405 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9407         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9408         (hidden_proto): Caller changed.
9409         (hidden_tls_proto): New macro.
9410         (libc_hidden_tls_proto): Likewise.
9411         (rtld_hidden_tls_proto): Likewise.
9412         (libm_hidden_tls_proto): Likewise.
9413         (libresolv_hidden_tls_proto): Likewise.
9414         (librt_hidden_tls_proto): Likewise.
9415         (libdl_hidden_tls_proto): Likewise.
9416         (libnss_files_hidden_tls_proto): Likewise.
9417         (libnsl_hidden_tls_proto): Likewise.
9418         (libnss_nisplus_hidden_tls_proto): Likewise.
9419         (libutil_hidden_tls_proto): Likewise.
9421 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9423         [BZ #10253]
9424         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9425         (decompose_rpath): Defer expansion to fillin_rpath.
9426         (_dl_init_paths): Pass linkmap to fillin_rpath.
9428 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9430         * benchtests/Makefile: Add strsep.
9431         * benchtests/bench-strsep.c: New file: strsep benchtest.
9432         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9434 2013-11-18  Andreas Schwab  <schwab@suse.de>
9436         * locale/programs/locale.c (show_info) [case byte]: Check for
9437         '\377' instead of '\177'.
9438         * locale/C-monetary.c (not_available): Always use "\377".
9439         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9440         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9441         detect unavailable sign_posn locale elements.
9442         * locale/localeconv.c (__localeconv): For grouping and
9443         mon_grouping handle "\177" and "\377" like no grouping.
9444         (INT_ELEM): New macro.  Use it to set all numeric members.
9445         * locale/programs/ld-monetary.c (monetary_read)
9446         <tok_mon_grouping>: Normalize single -1 to the empty string.
9447         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9448         Likewise.
9450 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9452         [BZ #16055]
9453         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9454         when we match (nil).
9455         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9457 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9459         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9460         (NO_TEST_INLINE): Update value.
9461         (ERRNO_UNCHANGED): Likewise.
9462         (ERRNO_EDOM): Likewise.
9463         (ERRNO_ERANGE): Likewise.
9464         (IGNORE_RESULT): Likewise.
9465         (check_float_internal): Check signs of NaN results if
9466         TEST_NAN_SIGN used.
9467         (check_complex): Pass TEST_NAN_SIGN flag through to second
9468         check_float_internal call.
9469         (copysign_test_data): Add tests with quiet NaNs as second
9470         argument.  Use TEST_NAN_SIGN.
9471         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9472         TEST_NAN_SIGN.
9473         (signbit_test_data): Add tests of quiet NaN argument.
9474         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9476         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9477         $ignore_result.
9478         (parse_args): Handle function results specified as IGNORE.
9479         * math/libm-test.inc (IGNORE_RESULT): New macro.
9480         (check_float_internal): Do not check numerical result if flag
9481         IGNORE_RESULT set.
9482         (check_complex): Pass through IGNORE_RESULT to second
9483         check_float_internal call.
9484         (check_int): Do not check numerical result if flag IGNORE_RESULT
9485         set.
9486         (check_long): Likewise.
9487         (check_bool): Likewise.
9488         (check_longlong): Likewise.
9489         (lrint_test_data): Add tests of infinite and NaN arguments.
9490         (lrint_tonearest_test_data): Likewise.
9491         (lrint_towardzero_test_data): Likewise.
9492         (lrint_downward_test_data): Likewise.
9493         (lrint_upward_test_data): Likewise.
9494         (llrint_test_data): Likewise.
9495         (llrint_tonearest_test_data): Likewise.
9496         (llrint_towardzero_test_data): Likewise.
9497         (llrint_downward_test_data): Likewise.
9498         (llrint_upward_test_data): Likewise.
9499         (lround_test_data): Likewise.
9500         (llround_test_data): Likewise.
9502         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9503         (ERRNO_UNCHANGED): Update value.
9504         (ERRNO_EDOM): Likewise.
9505         (ERRNO_ERANGE): Likewise.
9506         (NO_TEST_INLINE_FLOAT): New macro.
9507         (NO_TEST_INLINE_DOUBLE): Likewise.
9508         (enable_test): New function.
9509         (RUN_TEST_f_f): Check enable_test before running test.
9510         (RUN_TEST_2_f): Likewise.
9511         (RUN_TEST_fff_f): Likewise.
9512         (RUN_TEST_c_f): Likewise.
9513         (RUN_TEST_f_f1): Likewise.
9514         (RUN_TEST_fF_f1): Likewise.
9515         (RUN_TEST_fI_f1): Likewise.
9516         (RUN_TEST_ffI_f1): Likewise.
9517         (RUN_TEST_c_c): Likewise.
9518         (RUN_TEST_cc_c): Likewise.
9519         (RUN_TEST_f_i): Likewise.
9520         (RUN_TEST_f_i_tg): Likewise.
9521         (RUN_TEST_ff_i_tg): Likewise.
9522         (RUN_TEST_f_b): Likewise.
9523         (RUN_TEST_f_b_tg): Likewise.
9524         (RUN_TEST_f_l): Likewise.
9525         (RUN_TEST_f_L): Likewise.
9526         (RUN_TEST_fFF_11): Likewise.
9527         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9528         conditionals.
9529         (cosh_test_data): Likewise.
9530         (exp_test_data): Likewise.
9531         (expm1_test_data): Likewise.
9532         (hypot_test_data): Likewise.
9533         (pow_test_data): Likewise.
9534         (sinh_test_data): Likewise.
9535         (tanh_test_data): Likewise.
9536         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9537         flags argument.
9539         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9540         tests with quiet NaN input and output.
9541         (acosh_test_data): Likewise.
9542         (asin_test_data): Likewise.
9543         (asinh_test_data): Likewise.
9544         (atan_test_data): Likewise.
9545         (atanh_test_data): Likewise.
9546         (atan2_test_data): Likewise.
9547         (cbrt_test_data): Likewise.
9548         (cos_test_data): Likewise.
9549         (cosh_test_data): Likewise.
9550         (erf_test_data): Likewise.
9551         (erfc_test_data): Likewise.
9552         (exp_test_data): Likewise.
9553         (exp10_test_data): Likewise.
9554         (exp2_test_data): Likewise.
9555         (expm1_test_data): Likewise.
9556         (hypot_test_data): Likewise.
9557         (j0_test_data): Likewise.
9558         (j1_test_data): Likewise.
9559         (jn_test_data): Likewise.
9560         (lgamma_test_data): Likewise.
9561         (log_test_data): Likewise.
9562         (log10_test_data): Likewise.
9563         (log1p_test_data): Likewise.
9564         (log2_test_data): Likewise.
9565         (pow_test_data): Likewise.
9566         (scalb_test_data): Likewise.
9567         (sin_test_data): Likewise.
9568         (sincos_test_data): Likewise.
9569         (sinh_test_data): Likewise.
9570         (tan_test_data): Likewise.
9571         (tanh_test_data): Likewise.
9572         (tgamma_test_data): Likewise.
9573         (y0_test_data): Likewise.
9574         (y1_test_data): Likewise.
9575         (yn_test_data): Likewise.
9577         [BZ #16167]
9578         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9579         argument being NaN and avoid computations with second argument in
9580         that case.
9581         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9582         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9583         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9585 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9587         * locale/iso-639.def: Add Chitwani Tharu (the).
9589 2013-11-14  Andreas Schwab  <schwab@suse.de>
9591         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9592         word instead of empty string.
9594 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9597         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9599         (__fe_nomask_env): Likewise.
9601 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9603         * benchtests/bench-timing.h: Include time.h.
9605 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9607         [BZ #15997]
9608         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9609         to 3.4.0 for x32.
9610         * sysdeps/unix/sysv/linux/configure: Regenerated.
9612 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9614         [BZ #16151]
9615         * stdlib/strtod_l.c (round_and_return): Do not consider
9616         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9617         exponent one less than half the least subnormal exponent.
9618         * stdlib/test-strtod-round-data: Add more tests.
9619         * stdlib/tst-strtod-round.c (tests): Regenerated.
9621 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9623         [BZ #14143]
9624         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9625         (__fe_mask_env): Likewise.
9626         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9627         libm_hidden_proto and add function prototype.
9628         (__fe_mask_env): Add function prototype.
9629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9630         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9632         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9634         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9636 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9638         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9639         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9641 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9643         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9644         of htab_find_slot().
9646 2013-11-11  David S. Miller  <davem@davemloft.net>
9648         [BZ #16150]
9649         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9650         symbol in the non-vis3 case in static builds.
9651         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9652         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9653         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9654         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9656 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9658         [BZ #387]
9659         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9660         it is empty.
9662 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9664         * benchtests/Makefile: Add bench-strtod.
9665         * benchtests/bench-strtod.c: New file: strtod benchtest
9667 2013-11-11  Andreas Schwab  <schwab@suse.de>
9669         [BZ #16153]
9670         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9671         terminating NUL in key length.
9673 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9675         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9676         Add artificial ODP entry for vDSO symbol for PPC64.
9677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9678         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9680 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9682         [BZ #15374]
9683         * nss/getent.c (services_keys): Recognize services starting with digit.
9685 2013-11-06  David S. Miller  <davem@davemloft.net>
9687         [BZ #15985]
9688         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9689         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9691 2013-11-06  Will Newton  <will.newton@linaro.org>
9693         * manual/memory.texi (Malloc Examples): Remove register
9694         keyword from examples.
9696 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9698         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9700 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9702         [BZ #6981]
9703         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9704         depending on [__GCC_IEC_559 > 0].
9705         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9706         depending on [__GCC_IEC_559_COMPLEX > 0].
9708 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9710         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9711         to iso-639.def.
9713 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9715         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9717 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9719         [BZ #16112]
9720         * malloc/malloc (malloc_info): Do not handle first bin as
9721         special case.
9723 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9725         * locale/iso-639.def: Add Central Nahuatl (nhn).
9727 2013-11-01  Bruno Haible  <bruno@clisp.org>
9729         [BZ #7003]
9730         * manual/math.texi (BSD Random): Specify range upper bound as
9731         in POSIX.
9733 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9735         * locale/iso-639.def: Add Meadow Mari (mhr).
9737 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9739         [BZ #14752], [BZ #15763]
9740         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9741         Validate name.
9742         * rt/tst_shm.c: Add test for escaping directory.
9744 2013-10-31  Andreas Schwab  <schwab@suse.de>
9746         [BZ #15917]
9747         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9748         followed by 'x' as part of digit sequence.
9749         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9751 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9753         [BZ #16037]
9754         * configure.ac: allow GNU Make 4.0 and greater.
9755         * configure: Regenerated.
9757 2013-10-30  Will Newton  <will.newton@linaro.org>
9759         [BZ #16038]
9760         * malloc/hooks.c (memalign_check): Limit alignment to the
9761         maximum representable power of two.
9762         * malloc/malloc.c (__libc_memalign): Likewise.
9763         * malloc/tst-memalign.c (do_test): Add test for very
9764         large alignment values.
9765         * malloc/tst-posix_memalign.c (do_test): Likewise.
9767 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9769         [BZ #11087]
9770         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9771         (munmap_chunk): Likewise.
9772         (mremap_chunk): Likewise.
9774 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9776         [BZ #15799]
9777         * stdlib/div.c (div): Remove obsolete code.
9778         * stdlib/ldiv.c (ldiv): Likewise.
9779         * stdlib/lldiv.c (lldiv): Likewise.
9781 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9783         [BZ #16071]
9784         * nss/nss_files/files-XXX.c (get_contents_ret): New
9785         enumerator.
9786         (get_contents): New function.
9787         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9789 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9791         * configure.in: Moved to ...
9792         * configure.ac: ... here. Change reference to configure.in
9793         to configure.ac.
9794         * sysdeps/arm/preconfigure.ac: ... here.
9795         configure.in to configure.ac.
9796         * sysdeps/gnu/configure.in: Moved to ...
9797         * sysdeps/gnu/configure.ac: ... here.
9798         * sysdeps/i386/configure.in: Moved to ...
9799         * sysdeps/i386/configure.ac: ... here.
9800         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9801         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9802         * sysdeps/mach/configure.in: Moved to ...
9803         * sysdeps/mach/configure.ac: ... here.
9804         * sysdeps/mach/hurd/configure.in: Moved to ...
9805         * sysdeps/mach/hurd/configure.ac: ... here.
9806         * sysdeps/powerpc/configure.in: Moved to ...
9807         * sysdeps/powerpc/configure.ac: ... here.
9808         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9809         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9810         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9811         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9812         * sysdeps/s390/s390-32/configure.in: Moved to ...
9813         * sysdeps/s390/s390-32/configure.ac: ... here.
9814         * sysdeps/s390/s390-64/configure.in: Moved to ...
9815         * sysdeps/s390/s390-64/configure.ac: ... here.
9816         * sysdeps/sh/configure.in: Moved to ...
9817         * sysdeps/sh/configure.ac: ... here.
9818         * sysdeps/sparc/configure.in: Moved to ...
9819         * sysdeps/sparc/configure.ac: ... here.
9820         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9821         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9822         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9823         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9824         * sysdeps/x86_64/configure.in: Moved to ...
9825         * sysdeps/x86_64/configure.ac: ... here.
9826         * sysdeps/x86_64/preconfigure.in: Moved to ...
9827         * sysdeps/x86_64/preconfigure.ac: ... here.
9828         * aclocal.m4: Change reference to configure.in to configure.ac.
9829         * config.h.in: Likewise.
9830         * manual/install.texi: Likewise.
9831         * manual/maint.texi: Likewise.
9832         * Makefile: Likewise.
9833         * malloc/Makefile: Likewise.
9834         * nscd/Makefile: Likewise.
9835         * Makeconfig: Change reference to configure.in and
9836         preconfigure.in to configure.ac and preconfigure.ac
9837         respectively.
9838         * INSTALL: Regenerated.
9839         * configure: Likewise.
9840         * sysdeps/gnu/configure: Likewise.
9841         * sysdeps/i386/configure: Likewise.
9842         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
9843         * sysdeps/mach/configure: Likewise.
9844         * sysdeps/mach/hurd/configure: Likewise.
9845         * sysdeps/powerpc/configure: Likewise.
9846         * sysdeps/powerpc/powerpc32/configure: Likewise.
9847         * sysdeps/powerpc/powerpc64/configure: Likewise.
9848         * sysdeps/s390/s390-32/configure: Likewise.
9849         * sysdeps/s390/s390-64/configure: Likewise.
9850         * sysdeps/sh/configure: Likewise.
9851         * sysdeps/sparc/configure: Likewise.
9852         * sysdeps/unix/sysv/linux/configure: Likewise.
9853         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
9854         * sysdeps/x86_64/configure: Likewise.
9855         * sysdeps/x86_64/preconfigure: Likewise.
9857 2013-10-29  Andreas Schwab  <schwab@suse.de>
9859         * stdio-common/Makefile (tst-swscanf-ENV): Define.
9861 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9863         * benchtests/pow-inputs: Add new inputs.
9865         * benchtests/exp-inputs: Add new inputs.
9867         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
9868         conditional check for return value.
9869         (__cos32): Likewise.
9871 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9873         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
9874         to provide a boost for large inputs with word alignment.
9875         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
9876         implementation based on optimized PPC64 strcpy.
9877         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
9878         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
9879         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
9880         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
9882 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9884         [BZ #2801]
9885         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
9887 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9889         [BZ #14876]
9890         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
9891         * time/tst-strptime.c (day_tests): Add testcase.
9893 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
9895         [BZ #14029]
9896         * manual/pattern.texi: Acknowledge that fnmatch can fail.
9898 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
9900         [BZ #16074]
9901         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
9902         MAP_FAILED on error.
9904 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9906         [BZ #16072]
9907         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
9908         heap for large requests.
9910 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
9912         [BZ #9954]
9913         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
9914         result if the result has no associated interface.
9915         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
9916         interface for all 127.X.Y.Z addresses.
9918 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
9920         * locale/iso-639.def: Add Ligurian (lij)
9922 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
9924         [BZ #15825]
9925         * sunrpc/rpc_main.c: Document rpcgen -5.
9927 2013-10-19  Michael Stahl  <mstahl@redhat.com>
9929         * elf/rtld.c (do_preload): Print the reason why preloading failed.
9931 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9933         [BZ #10278]
9934         * posix/glob.c: Match only directories when trailing slash is present.
9935         * posix/tst-gnuglob.c (my_opendir): Do not open files.
9936         (main): Add testcase.
9938 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
9940         [BZ #15670]
9941         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
9943 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
9945         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
9946         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
9947         AUTH_DES and cindex for FIPS 140-2.
9948         (DES Encryption): Add cindex FIPS 46-3.
9950         * locale/locarchive.h (struct locarhandle): Add fname.
9951         * locale/programs/localedef.c (main): Pass ARGV[remaining]
9952         if an optional argument was specified to --list-archive,
9953         otherwise NULL.
9954         * locale/programs/locarchive.c (show_archive_content): Take new
9955         argument fname and pass it via ah.fname to open_archive.
9956         * locale/programs/localedef.h: Update decl.
9957         (open_archive): If AH->fname is non-null, open that file
9958         rather than the default file name, and don't ignore ENOENT.
9959         (create_archive): Set AH.fname to NULL.
9960         (delete_locales_from_archive): Likewise.
9961         (add_locales_to_archive): Likewise.
9962         * locale/programs/locfile.c (write_all_categories): Likewise.
9964 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
9965             Aldy Hernandez  <aldyh@redhat.com>
9967         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
9968         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
9969         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
9970         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
9971         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
9972         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
9973         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
9974         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
9975         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
9976         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
9977         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
9978         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
9979         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
9980         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
9981         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
9982         Likewise.
9983         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
9984         Likewise.
9985         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
9986         Likewise.
9987         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
9988         Likewise.
9989         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
9990         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
9991         Likewise.
9992         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
9993         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
9994         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
9995         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
9996         Likewise.
9997         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
9998         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
9999         * sysdeps/powerpc/preconfigure: Likewise.
10000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10001         Likewise.
10002         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10003         Replace contents of file by #include of <fenv_libc.h>.
10004         * sysdeps/powerpc/soft-fp/sfp-machine.h
10005         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10006         and <sys/prctl.h>.
10007         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10008         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10009         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10010         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10011         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10012         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10014         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10015         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10016         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10017         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10018         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10020         Allow copysignl PLT reference to be missing.
10022 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10023             Joseph Myers  <joseph@codesourcery.com
10025         [BZ #15948]
10026         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10027         single character.
10028         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10030 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10032         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10033         * elf/tst-tls1.c: Likewise.
10034         * elf/tst-tls10.h: Likewise.
10035         * elf/tst-tls14.c: Likewise.
10036         * elf/tst-tls2.c: Likewise.
10037         * elf/tst-tls3.c: Likewise.
10038         * elf/tst-tls4.c: Likewise.
10039         * elf/tst-tls5.c: Likewise.
10040         * elf/tst-tls6.c: Likewise.
10041         * elf/tst-tls7.c: Likewise.
10042         * elf/tst-tls8.c: Likewise.
10043         * elf/tst-tls9.c: Likewise.
10044         * elf/tst-tlsmod1.c: Likewise.
10045         * elf/tst-tlsmod13.c: Likewise.
10046         * elf/tst-tlsmod13a.c: Likewise.
10047         * elf/tst-tlsmod14a.c: Likewise.
10048         * elf/tst-tlsmod16a.c: Likewise.
10049         * elf/tst-tlsmod16b.c: Likewise.
10050         * elf/tst-tlsmod2.c: Likewise.
10051         * elf/tst-tlsmod3.c: Likewise.
10052         * elf/tst-tlsmod4.c: Likewise.
10053         * elf/tst-tlsmod5.c: Likewise.
10054         * elf/tst-tlsmod6.c: Likewise.
10056 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10058         [BZ #12486]
10059         * malloc/malloc.c: remove checks for statistics.
10061 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10063         [BZ #15277]
10064         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10065         * inet/tst-network.c: Add testcase.
10067 2013-10-17  Andreas Schwab  <schwab@suse.de>
10069         [BZ #15218]
10070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10071         to determine canonical name.
10073 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10075         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10076         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10077         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10078         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10079         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10080         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10081         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10082         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10083         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10084         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10085         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10086         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10087         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10088         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10089         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10090         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10092         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10093         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10094         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10095         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10096         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10097         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10098         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10099         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10100         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10101         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10102         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10103         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10104         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10105         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10106         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10107         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10108         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10109         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10110         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10111         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10112         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10113         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10114         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10115         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10116         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10117         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10118         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10119         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10120         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10121         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10122         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10123         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10124         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10125         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10126         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10127         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10128         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10129         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10130         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10131         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10132         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10134 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10136         [BZ #16041]
10137         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10138         make result into a quiet NaN.
10140 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10142         * soft-fp/adddf3.c: Fix horizontal whitespace.
10143         * soft-fp/addsf3.c: Likewise.
10144         * soft-fp/addtf3.c: Likewise.
10145         * soft-fp/divdf3.c: Likewise.
10146         * soft-fp/divsf3.c: Likewise.
10147         * soft-fp/divtf3.c: Likewise.
10148         * soft-fp/double.h: Likewise.
10149         * soft-fp/eqdf2.c: Likewise.
10150         * soft-fp/eqsf2.c: Likewise.
10151         * soft-fp/eqtf2.c: Likewise.
10152         * soft-fp/extenddftf2.c: Likewise.
10153         * soft-fp/extended.h: Likewise.
10154         * soft-fp/extendsfdf2.c: Likewise.
10155         * soft-fp/extendsftf2.c: Likewise.
10156         * soft-fp/extendxftf2.c: Likewise.
10157         * soft-fp/fixdfdi.c: Likewise.
10158         * soft-fp/fixdfsi.c: Likewise.
10159         * soft-fp/fixdfti.c: Likewise.
10160         * soft-fp/fixsfdi.c: Likewise.
10161         * soft-fp/fixsfsi.c: Likewise.
10162         * soft-fp/fixsfti.c: Likewise.
10163         * soft-fp/fixtfdi.c: Likewise.
10164         * soft-fp/fixtfsi.c: Likewise.
10165         * soft-fp/fixtfti.c: Likewise.
10166         * soft-fp/fixunsdfdi.c: Likewise.
10167         * soft-fp/fixunsdfsi.c: Likewise.
10168         * soft-fp/fixunsdfti.c: Likewise.
10169         * soft-fp/fixunssfdi.c: Likewise.
10170         * soft-fp/fixunssfsi.c: Likewise.
10171         * soft-fp/fixunssfti.c: Likewise.
10172         * soft-fp/fixunstfdi.c: Likewise.
10173         * soft-fp/fixunstfsi.c: Likewise.
10174         * soft-fp/fixunstfti.c: Likewise.
10175         * soft-fp/floatdidf.c: Likewise.
10176         * soft-fp/floatdisf.c: Likewise.
10177         * soft-fp/floatditf.c: Likewise.
10178         * soft-fp/floatsidf.c: Likewise.
10179         * soft-fp/floatsisf.c: Likewise.
10180         * soft-fp/floatsitf.c: Likewise.
10181         * soft-fp/floattidf.c: Likewise.
10182         * soft-fp/floattisf.c: Likewise.
10183         * soft-fp/floattitf.c: Likewise.
10184         * soft-fp/floatundidf.c: Likewise.
10185         * soft-fp/floatundisf.c: Likewise.
10186         * soft-fp/floatunditf.c: Likewise.
10187         * soft-fp/floatunsidf.c: Likewise.
10188         * soft-fp/floatunsisf.c: Likewise.
10189         * soft-fp/floatunsitf.c: Likewise.
10190         * soft-fp/floatuntidf.c: Likewise.
10191         * soft-fp/floatuntisf.c: Likewise.
10192         * soft-fp/floatuntitf.c: Likewise.
10193         * soft-fp/fmadf4.c: Likewise.
10194         * soft-fp/fmasf4.c: Likewise.
10195         * soft-fp/fmatf4.c: Likewise.
10196         * soft-fp/gedf2.c: Likewise.
10197         * soft-fp/gesf2.c: Likewise.
10198         * soft-fp/getf2.c: Likewise.
10199         * soft-fp/ledf2.c: Likewise.
10200         * soft-fp/lesf2.c: Likewise.
10201         * soft-fp/letf2.c: Likewise.
10202         * soft-fp/muldf3.c: Likewise.
10203         * soft-fp/mulsf3.c: Likewise.
10204         * soft-fp/multf3.c: Likewise.
10205         * soft-fp/negdf2.c: Likewise.
10206         * soft-fp/negsf2.c: Likewise.
10207         * soft-fp/negtf2.c: Likewise.
10208         * soft-fp/op-1.h: Likewise.
10209         * soft-fp/op-2.h: Likewise.
10210         * soft-fp/op-4.h: Likewise.
10211         * soft-fp/op-8.h: Likewise.
10212         * soft-fp/op-common.h: Likewise.
10213         * soft-fp/quad.h: Likewise.
10214         * soft-fp/single.h: Likewise.
10215         * soft-fp/soft-fp.h: Likewise.
10216         * soft-fp/sqrtdf2.c: Likewise.
10217         * soft-fp/sqrtsf2.c: Likewise.
10218         * soft-fp/sqrttf2.c: Likewise.
10219         * soft-fp/subdf3.c: Likewise.
10220         * soft-fp/subsf3.c: Likewise.
10221         * soft-fp/subtf3.c: Likewise.
10222         * soft-fp/truncdfsf2.c: Likewise.
10223         * soft-fp/trunctfdf2.c: Likewise.
10224         * soft-fp/trunctfsf2.c: Likewise.
10225         * soft-fp/trunctfxf2.c: Likewise.
10226         * soft-fp/unorddf2.c: Likewise.
10227         * soft-fp/unordsf2.c: Likewise.
10228         * soft-fp/unordtf2.c: Likewise.
10230 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10232         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10233         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10235 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10237         * elf/dl-libc.c: Clear initfini list after freeing.
10239 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10241         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10242         * soft-fp/addsf3.c: Likewise.
10243         * soft-fp/addtf3.c: Likewise.
10244         * soft-fp/divdf3.c: Likewise.
10245         * soft-fp/divsf3.c: Likewise.
10246         * soft-fp/divtf3.c: Likewise.
10247         * soft-fp/double.h: Likewise.
10248         * soft-fp/eqdf2.c: Likewise.
10249         * soft-fp/eqsf2.c: Likewise.
10250         * soft-fp/eqtf2.c: Likewise.
10251         * soft-fp/extenddftf2.c: Likewise.
10252         * soft-fp/extended.h: Likewise.
10253         * soft-fp/extendsfdf2.c: Likewise.
10254         * soft-fp/extendsftf2.c: Likewise.
10255         * soft-fp/extendxftf2.c: Likewise.
10256         * soft-fp/fixdfdi.c: Likewise.
10257         * soft-fp/fixdfsi.c: Likewise.
10258         * soft-fp/fixdfti.c: Likewise.
10259         * soft-fp/fixsfdi.c: Likewise.
10260         * soft-fp/fixsfsi.c: Likewise.
10261         * soft-fp/fixsfti.c: Likewise.
10262         * soft-fp/fixtfdi.c: Likewise.
10263         * soft-fp/fixtfsi.c: Likewise.
10264         * soft-fp/fixtfti.c: Likewise.
10265         * soft-fp/fixunsdfdi.c: Likewise.
10266         * soft-fp/fixunsdfsi.c: Likewise.
10267         * soft-fp/fixunsdfti.c: Likewise.
10268         * soft-fp/fixunssfdi.c: Likewise.
10269         * soft-fp/fixunssfsi.c: Likewise.
10270         * soft-fp/fixunssfti.c: Likewise.
10271         * soft-fp/fixunstfdi.c: Likewise.
10272         * soft-fp/fixunstfsi.c: Likewise.
10273         * soft-fp/fixunstfti.c: Likewise.
10274         * soft-fp/floatdidf.c: Likewise.
10275         * soft-fp/floatdisf.c: Likewise.
10276         * soft-fp/floatditf.c: Likewise.
10277         * soft-fp/floatsidf.c: Likewise.
10278         * soft-fp/floatsisf.c: Likewise.
10279         * soft-fp/floatsitf.c: Likewise.
10280         * soft-fp/floattidf.c: Likewise.
10281         * soft-fp/floattisf.c: Likewise.
10282         * soft-fp/floattitf.c: Likewise.
10283         * soft-fp/floatundidf.c: Likewise.
10284         * soft-fp/floatundisf.c: Likewise.
10285         * soft-fp/floatunsidf.c: Likewise.
10286         * soft-fp/floatunsisf.c: Likewise.
10287         * soft-fp/floatuntidf.c: Likewise.
10288         * soft-fp/floatuntisf.c: Likewise.
10289         * soft-fp/floatuntitf.c: Likewise.
10290         * soft-fp/fmadf4.c: Likewise.
10291         * soft-fp/fmasf4.c: Likewise.
10292         * soft-fp/fmatf4.c: Likewise.
10293         * soft-fp/gedf2.c: Likewise.
10294         * soft-fp/gesf2.c: Likewise.
10295         * soft-fp/getf2.c: Likewise.
10296         * soft-fp/ledf2.c: Likewise.
10297         * soft-fp/lesf2.c: Likewise.
10298         * soft-fp/letf2.c: Likewise.
10299         * soft-fp/muldf3.c: Likewise.
10300         * soft-fp/mulsf3.c: Likewise.
10301         * soft-fp/multf3.c: Likewise.
10302         * soft-fp/negdf2.c: Likewise.
10303         * soft-fp/negsf2.c: Likewise.
10304         * soft-fp/negtf2.c: Likewise.
10305         * soft-fp/op-1.h: Likewise.
10306         * soft-fp/op-2.h: Likewise.
10307         * soft-fp/op-4.h: Likewise.
10308         * soft-fp/op-8.h: Likewise.
10309         * soft-fp/op-common.h: Likewise.
10310         * soft-fp/quad.h: Likewise.
10311         * soft-fp/single.h: Likewise.
10312         * soft-fp/soft-fp.h: Likewise.
10313         * soft-fp/sqrtdf2.c: Likewise.
10314         * soft-fp/sqrtsf2.c: Likewise.
10315         * soft-fp/sqrttf2.c: Likewise.
10316         * soft-fp/subdf3.c: Likewise.
10317         * soft-fp/subsf3.c: Likewise.
10318         * soft-fp/subtf3.c: Likewise.
10319         * soft-fp/truncdfsf2.c: Likewise.
10320         * soft-fp/trunctfdf2.c: Likewise.
10321         * soft-fp/trunctfsf2.c: Likewise.
10322         * soft-fp/trunctfxf2.c: Likewise.
10323         * soft-fp/unorddf2.c: Likewise.
10324         * soft-fp/unordsf2.c: Likewise.
10325         * soft-fp/unordtf2.c: Likewise.
10327 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10329         [BZ #15672]
10330         * misc/error.c (error_tail): Fix possible buffer overflow.
10332 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10334         [BZ #13028]
10335         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10336         address.
10338 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10340         [BZ #832]
10341         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10342         testing pipefail option.
10344 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10346         * soft-fp/double.h: Indent preprocessor directives inside #if.
10347         * soft-fp/extended.h: Likewise.
10348         * soft-fp/op-2.h: Likewise.
10349         * soft-fp/op-4.h: Likewise.
10350         * soft-fp/op-common.h: Likewise.
10351         * soft-fp/quad.h: Likewise.
10352         * soft-fp/single.h: Likewise.
10353         * soft-fp/soft-fp.h: Likewise.
10355 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10357         * iconv/iconv_prog.c: Fix typos.
10358         * stdio-common/psiginfo-data.h: Likewise.
10360 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10362         [BZ #15764]
10363         * locale/setlocale.c: Fix typo.
10365 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #16036]
10368         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10369         signaling NaN arguments.
10370         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10371         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10373         [BZ #14910]
10374         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10375         unordered operands.
10376         * soft-fp/gesf2.c (__gesf2): Likewise.
10377         * soft-fp/getf2.c (__getf2): Likewise.
10378         * soft-fp/ledf2.c (__ledf2): Likewise.
10379         * soft-fp/lesf2.c (__lesf2): Likewise.
10380         * soft-fp/letf2.c (__letf2): Likewise.
10382         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10383         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10384         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10385         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10386         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10387         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10388         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10389         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10390         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10391         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10392         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10393         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10394         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10395         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10396         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10397         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10398         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10399         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10400         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10401         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10402         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10403         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10404         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10405         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10406         * soft-fp/floattidf.c (__floattidf): Likewise.
10407         * soft-fp/floattisf.c (__floattisf): Likewise.
10408         * soft-fp/floattitf.c (__floattitf): Likewise.
10409         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10410         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10411         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10412         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10413         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10414         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10415         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10416         * soft-fp/gesf2.c (__gesf2): Likewise.
10417         * soft-fp/getf2.c (__getf2): Likewise.
10418         * soft-fp/ledf2.c (__ledf2): Likewise.
10419         * soft-fp/lesf2.c (__lesf2): Likewise.
10420         * soft-fp/letf2.c (__letf2): Likewise.
10422         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10423         Undefine and redefine.
10424         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10425         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10426         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10427         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10428         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10429         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10430         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10431         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10432         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10433         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10434         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10435         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10436         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10437         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10438         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10440         [BZ #16032]
10441         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10442         without decrementing exponent if mantissa >= that for the
10443         denominator, not >.
10444         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10445         denominator, not >.  Decrement exponent in < case instead of
10446         incrementing in >= case.
10447         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10448         without decrementing exponent if mantissa >= that for the
10449         denominator, not >.
10451         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10452         computing saturated result for unsigned overflow.
10454 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10455             Jeff Law  <law@redhat.com>
10457         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10458         (atan2Mp): Add systemtap probe marker.
10459         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10460         (__ieee754_log): Add systemtap probe marker.
10461         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10462         (atanMp): Add systemtap probe marker.
10463         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10464         (tanMp): Add systemtap probe marker.
10465         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10466         (__slowexp): Add systemtap probe marker.
10467         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10468         (__slowpow): Add systemtap probe marker.
10469         * manual/probes.texi: Document probes.
10471 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10473         [BZ #15362]
10474         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10475         written.
10476         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10477         written.
10478         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10479         written to buffer but not flushed.
10480         * libio/iofwrite_u.c:  Likewise.
10481         * libio/iopadn.c:  Return bytes returned even if EOF was
10482         encountered.
10483         * libio/iowpadn.c:  Likewise.
10484         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10485         if _IO_padn does not write the whole buffer.
10486         [!COMPILE_WPRINTF] (PAD): Likewise.
10488 2013-10-10  David S. Miller  <davem@davemloft.net>
10490         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10491         directory block.
10493 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10495         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10496         instead of FSF address.
10497         * soft-fp/fixdfti.c: Likewise.
10498         * soft-fp/fixsfti.c: Likewise.
10499         * soft-fp/fixtfti.c: Likewise.
10500         * soft-fp/fixunsdfti.c: Likewise.
10501         * soft-fp/fixunssfti.c: Likewise.
10502         * soft-fp/fixunstfti.c: Likewise.
10503         * soft-fp/floattidf.c: Likewise.
10504         * soft-fp/floattisf.c: Likewise.
10505         * soft-fp/floattitf.c: Likewise.
10506         * soft-fp/floatuntidf.c: Likewise.
10507         * soft-fp/floatuntisf.c: Likewise.
10508         * soft-fp/floatuntitf.c: Likewise.
10509         * soft-fp/trunctfxf2.c: Likewise.
10511         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10512         * soft-fp/fixdfti.c: Likewise.
10513         * soft-fp/fixsfti.c: Likewise.
10514         * soft-fp/fixtfti.c: Likewise.
10515         * soft-fp/fixunsdfti.c: Likewise.
10516         * soft-fp/fixunssfti.c: Likewise.
10517         * soft-fp/fixunstfti.c: Likewise.
10518         * soft-fp/floattidf.c: Likewise.
10519         * soft-fp/floattisf.c: Likewise.
10520         * soft-fp/floattitf.c: Likewise.
10521         * soft-fp/floatuntidf.c: Likewise.
10522         * soft-fp/floatuntisf.c: Likewise.
10523         * soft-fp/floatuntitf.c: Likewise.
10524         * soft-fp/trunctfxf2.c: Likewise.
10526 2013-10-10  David S. Miller  <davem@davemloft.net>
10528         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10530 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10532         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10533         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10534         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10535         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10536         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10537         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10538         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10540         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10541         for NaNs before doing comparisons on argument.
10542         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10543         Likewise.
10545 2013-10-10  Will Newton  <will.newton@linaro.org>
10547         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10548         passed to _int_memalign does not overflow.
10550 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10552         * scripts/bench.pl: Add include-sources directive.
10553         * benchtests/README: Update documentation.
10555 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10557         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10558         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10559         instead of FP_INIT_ROUNDMODE.
10560         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10561         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10563         [BZ #16034]
10564         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10565         copy class of input value.
10566         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10567         not handle exceptions.
10568         * soft-fp/negsf2.c (__negsf2): Likewise.
10569         * soft-fp/negtf2.c (__negtf2): Likewise.
10570         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10572 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10574         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10575         semicolon.  From Linux kernel.
10577 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10579         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10581 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10583         [BZ #156]
10584         * manual/socket.texi: Added statement about buffer
10585         for gethostbyname2_r.
10587 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10589         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10590         Use .p2align directive instead, throughout.
10591         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10592         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10593         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10594         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10595         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10596         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10597         * sysdeps/x86_64/strchr.S: Likewise.
10598         * sysdeps/x86_64/strrchr.S: Likewise.
10600 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10602         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10604         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10606         * sysdeps/generic/math_private.h (__mpsin1): Remove
10607         declaration.
10608         (__mpcos1): Likewise.
10609         (__mpsin): New argument __range_reduce.
10610         (__mpcos): Likewise.
10611         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10612         (slow): Use __mpsin and __mpcos.
10613         (slow1): Likewise.
10614         (slow2): Likewise.
10615         (sloww): Likewise.
10616         (sloww1): Likewise.
10617         (sloww2): Likewise.
10618         (bsloww): Likewise.
10619         (bsloww1): Likewise.
10620         (bsloww2): Likewise.
10621         (cslow2): Likewise.
10622         (csloww): Likewise.
10623         (csloww1): Likewise.
10624         (csloww2): Likewise.
10625         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10626         range_reduce.  Merge in __mpsin1.
10627         (__mpcos): Likewise.
10628         (__mpsin1): Remove.
10629         (__mpcos1): Likewise.
10631 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10633         * locale/loadlocale.c (_nl_intern_locale_data): Use
10634         LOCFILE_ALIGNED_P.
10635         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10636         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10637         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10638         obstack data is appropriately aligned.
10639         (obstack_int32_grow_fast): Likewise.
10640         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10641         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10642         (add_locale_uint32_array): Likewise.
10644 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10646         * benchtests/Makefile: Remove ARGLIST and RET variables.
10647         ($(objpfx)bench-%.c): Pass only function name to the script.
10648         * benchtests/README: Update documentation.
10649         * benchtests/acos-inputs: Add new directives.
10650         * benchtests/acosh-inputs: Likewise.
10651         * benchtests/asin-inputs: Likewise.
10652         * benchtests/asinh-inputs: Likewise.
10653         * benchtests/atan-inputs: Likewise.
10654         * benchtests/atanh-inputs: Likewise.
10655         * benchtests/cos-inputs: Likewise.
10656         * benchtests/cosh-inputs: Likewise.
10657         * benchtests/exp-inputs: Likewise.
10658         * benchtests/log-inputs: Likewise.
10659         * benchtests/pow-inputs: Likewise.
10660         * benchtests/rint-inputs: Likewise.
10661         * benchtests/sin-inputs: Likewise.
10662         * benchtests/sinh-inputs: Likewise.
10663         * benchtests/tan-inputs: Likewise.
10664         * benchtests/tanh-inputs: Likewise.
10665         * scripts/bench.pl: Add support for new directives.
10667 2013-10-07  Alan Modra  <amodra@gmail.com>
10669         * README: Fix careless merge.
10671 2013-10-05  Alan Modra  <amodra@gmail.com>
10673         * NEWS: Mention powerpc64le support and bugs fixed.
10674         * README: Both big-endian and little-endian powerpc64 supported.
10676 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10678         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10679         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10680         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10681         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10683 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10685         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10686         match prototype.
10688 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10690         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10691         Move -mhard-float appending from
10692         ports/sysdeps/powerpc/powerpc32/Makefile.
10693         [$(with-fp) = yes] (ASFLAGS): Likewise.
10694         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10695         * sysdeps/powerpc/nofpu: Move directory from
10696         ports/sysdeps/powerpc/nofpu.
10697         * sysdeps/powerpc/soft-fp: Move directory from
10698         ports/sysdeps/powerpc/soft-fp.
10699         * sysdeps/powerpc/powerpc32/405: Move directory from
10700         ports/sysdeps/powerpc/powerpc32/405.
10701         * sysdeps/powerpc/powerpc32/440: Move directory from
10702         ports/sysdeps/powerpc/powerpc32/440.
10703         * sysdeps/powerpc/powerpc32/464: Move directory from
10704         ports/sysdeps/powerpc/powerpc32/464.
10705         * sysdeps/powerpc/powerpc32/476: Move directory from
10706         ports/sysdeps/powerpc/powerpc32/476.
10707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10708         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10710         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10712         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10714         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10716         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10717         * README: Update for powerpc-*-linux-gnu software floating point
10718         support in libc.
10720         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10721         case to powerpc/powerpc32*.
10722         * sysdeps/unix/sysv/linux/configure: Regenerated.
10724         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10725         (_FPU_MASK_OM): Define as 0x04.
10726         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10727         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10728         0x00c10080.
10729         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10730         0x0000003c.
10731         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10734         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10735         getcontext_e500.
10736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10737         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10738         setcontext_e500.
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10740         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10741         and setcontext_e500.
10743 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10745         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10747 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10749         * manual/threads.texi (Default Thread Attributes): Fix typo.
10751 2013-10-04  Will Newton  <will.newton@linaro.org>
10753         * malloc/Makefile: Add tst-memalign.
10754         * malloc/tst-memalign.c: New file.
10756         * malloc/tst-posix_memalign.c: Add comments.
10757         (do_test): Add comments and call free on all potentially
10758         allocated pointers. Add space after cast.
10760         * malloc/tst-pvalloc.c: Add comments.
10761         (do_test): Add comments and call free on all potentially
10762         allocated pointers. Remove duplicate check for NULL pointer.
10763         Add space after cast.
10765         * malloc/tst-valloc.c: Add comments.
10766         (do_test): Add comments and call free on all potentially
10767         allocated pointers. Remove duplicate check for NULL pointer.
10768         Add space after cast.
10770 2013-10-04  Alan Modra  <amodra@gmail.com>
10772         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10773         Use stdint types in rather than __attribute__((mode())).
10774         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10776 2013-10-04  Alan Modra  <amodra@gmail.com>
10778         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10779         Correct handling of unaligned relocs for little-endian.
10780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10782 2013-10-04  Alan Modra  <amodra@gmail.com>
10784         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10785         * configure: Regenerate.
10786         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10787         * shlib-versions: Likewise.
10789 2013-10-04  Alan Modra  <amodra@gmail.com>
10791         * string/tester.c (test_memrchr): Increment reported test cycle.
10793 2013-10-04  Alan Modra  <amodra@gmail.com>
10795         * string/test-memcpy.c (do_one_test): When reporting errors, print
10796         string address and don't overrun end of string.
10798 2013-10-04  Alan Modra  <amodra@gmail.com>
10800         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10801         insrdi.  Make better use of reg selection to speed exit slightly.
10802         Schedule entry path a little better.  Remove useless "are we done"
10803         checks on entry to main loop.  Handle wrapping around zero address.
10804         Correct main loop count.  Handle single left-over word from main
10805         loop inline rather than by using loop_small.  Remove extra word
10806         case in loop_small caused by wrong loop count.  Add little-endian
10807         support.
10808         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10809         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10810         cache hint.
10811         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10812         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10813         support.  Avoid rlwimi.
10814         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10816 2013-10-04  Alan Modra  <amodra@gmail.com>
10818         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10819         insrdi.  Formatting.
10820         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10821         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10822         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10823         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10824         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10825         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10827 2013-10-04  Alan Modra  <amodra@gmail.com>
10829         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10830         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10831         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10832         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10833         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10834         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10835         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10836         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10837         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10838         use of regs.  Use power7 mtocrf.  Tidy function tails.
10840 2013-10-04  Alan Modra  <amodra@gmail.com>
10842         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
10843         Formatting.  Consistently use rXXX register defines or rN defines.
10844         Use early exit labels that avoid restoring unused non-volatile regs.
10845         Make cr field use more consistent with rWORDn compares.  Rename
10846         regs used as shift registers for unaligned loop, using rN defines
10847         for short lifetime/multiple use regs.
10848         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10849         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
10850         addi 1,1,64 to pop stack frame.  Simplify return value code.
10851         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10853 2013-10-04  Alan Modra  <amodra@gmail.com>
10855         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
10856         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
10857         rather than rlwimi.
10858         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
10859         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
10860         little-endian support.  Correct typos.
10861         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
10862         rather than rlwimi.
10863         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
10864         in loop and entry code to keep "and." results.
10865         (strchr): Add little-endian support.  Comment.  Move cntlzd
10866         earlier in tail.
10867         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
10869 2013-10-04  Alan Modra  <amodra@gmail.com>
10871         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
10872         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
10873         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
10874         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
10876 2013-10-04  Alan Modra  <amodra@gmail.com>
10878         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
10879         (rTMP): Define as r11.
10880         (strcmp): Add little-endian support.  Optimise tail.
10881         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
10882         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10883         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10884         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10885         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10886         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10887         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10889 2013-10-04  Alan Modra  <amodra@gmail.com>
10891         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
10892         little-endian support.  Remove unnecessary "are we done" tests.
10893         Handle "s" wrapping around zero and extremely large "size".
10894         Correct main loop count.  Handle single left-over word from main
10895         loop inline rather than by using small_loop.  Correct comments.
10896         Delete "zero" tail, use "end_max" instead.
10897         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
10899 2013-10-04  Alan Modra  <amodra@gmail.com>
10901         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
10902         support.  Don't branch over align.
10903         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
10904         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
10905         support.  Rearrange tmp reg use to suit.  Comment.
10906         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
10908 2013-10-04  Alan Modra  <amodra@gmail.com>
10910         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
10912 2013-10-04  Alan Modra  <amodra@gmail.com>
10914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
10915         conditional form of branch and link when obtaining pc.
10916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10918 2013-10-04  Alan Modra  <amodra@gmail.com>
10920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
10921         HIWORD/LOWORD.
10922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
10923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
10925 2013-10-04  Alan Modra  <amodra@gmail.com>
10927         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
10928         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
10929         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
10930         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
10931         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10932         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10933         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
10934         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10935         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
10936         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
10938 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10939             Alistair Popple <alistair@ozlabs.au.ibm.com>
10940             Alan Modra <amodra@gmail.com>
10942         [BZ #15723]
10943         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
10944         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
10945         _dl_hwcap access for little-endian.
10946         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
10947         destroy vmx regs when saving unaligned.
10948         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
10949         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
10950         destroy vmx regs when saving unaligned.
10952 2013-10-04  Alan Modra  <amodra@gmail.com>
10954         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
10955         Don't use a union to pack hi/low value.
10957 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
10959         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
10960         for little-endian.
10961         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
10962         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
10963         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
10964         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
10965         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
10967 2013-10-04  Alan Modra  <amodra@gmail.com>
10969         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
10970         constants to usual value for .cst8 section, and remove redundant
10971         high address load.
10972         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
10973         constant for 0x1p52.  Load little-endian words of double from
10974         correct stack offsets.
10976 2013-10-04  Alan Modra  <amodra@gmail.com>
10978         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
10979         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
10980         words of double from correct stack offsets.
10981         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
10982         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
10983         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
10984         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
10985         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
10986         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
10987         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
10988         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
10989         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
10990         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
10991         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
10992         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
10993         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10994         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10995         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10996         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
10997         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
10999 2013-10-04  Alan Modra  <amodra@gmail.com>
11001         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11002         64-bit int/double union.
11003         (_FPU_SETCW): Likewise.
11004         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11005         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11007 2013-10-04  Alan Modra  <amodra@gmail.com>
11009         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11010         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11012 2013-10-04  Alan Modra  <amodra@gmail.com>
11014         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11015         use vector int constants.
11016         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11018 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11020         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11021         array with long long.
11022         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11023         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11024         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11025         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11026         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11027         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11028         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11029         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11030         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11031         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11032         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11033         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11034         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11036 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11038         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11039         (__signbit): Likewise.  Correct for little-endian.
11040         (__signbitl): Call __signbit.
11041         (lrint): Correct for little-endian.
11042         (lrintf): Call lrint.
11044 2013-10-04  Alan Modra  <amodra@gmail.com>
11046         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11047         union 32-bit int array member with 64-bit int array.
11048         (t515, tm256): Double rather than long double.
11049         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11051 2013-10-04  Alan Modra  <amodra@gmail.com>
11053         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11054         Delete.
11055         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11056         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11057         version of math_ldbl.h.
11059 2013-10-04  Alan Modra  <amodra@gmail.com>
11061         [BZ #15734], [BZ #15735]
11062         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11063         all uses of ieee875 long double macros and unions.  Simplify test
11064         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11065         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11066         normalize after ldbl_extract_mantissa, and don't add hidden bit
11067         already handled.  Don't treat low word of ieee854 mantissa like
11068         low word of IBM long double and mask off bit when testing for
11069         zero.
11070         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11071         all uses of ieee875 long double macros and unions.  Simplify tests
11072         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11073         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11074         two1022, instead use their values.  Recognise that tests for large
11075         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11076         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11077         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11078         test for 0.0L and nan.  Correct negation.
11079         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11080         ieee875 long double macros and unions.  Correct output for large
11081         magnitude x.  Correct absolute value calculation.
11082         (__erfcl): Likewise.
11083         * math/libm-test.inc: Add tests for errors discovered in IBM long
11084         double versions of fmodl, remainderl, erfl and erfcl.
11086 2013-10-04  Alan Modra  <amodra@gmail.com>
11088         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11089         all uses of ieee854 long double macros and unions.  Simplify tests
11090         for long doubles that are fully specified by the high double.
11091         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11092         Likewise.
11093         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11094         Remove dead code too.
11095         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11096         (__ieee754_ynl): Likewise.
11097         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11098         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11099         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11100         Remove dead code too.
11101         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11102         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11103         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11104         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11105         Simplify.
11106         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11107         Simplify.
11108         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11109         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11110         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11111         Comment on variable precision.
11112         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11113         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11114         Likewise.
11115         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11116         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11117         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11118         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11119         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11121 2013-10-04  Alan Modra  <amodra@gmail.com>
11123         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11124         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11125         all uses of ieee854 long double macros and unions.
11126         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11127         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11128         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11129         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11130         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11131         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11132         Likewise.
11133         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11134         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11135         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11136         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11137         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11138         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11139         Simplify sign and nan test too.
11140         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11141         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11142         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11143         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11144         Likewise.
11145         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11146         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11147         Likewise.
11148         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11149         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11150         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11151         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11152         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11153         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11155 2013-10-04  Alan Modra  <amodra@gmail.com>
11157         * stdio-common/printf_size.c (__printf_size): Don't use
11158         union ieee854_long_double in fpnum union.
11159         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11160         signbit macro to retrieve sign from long double.
11161         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11162         retrieve sign from long double.
11163         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11164         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11165         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11166         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11167         * math/test-misc.c (main): Don't use union ieee854_long_double.
11169 2013-10-04  Alan Modra  <amodra@gmail.com>
11171         [BZ #15680]
11172         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11173         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11174         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11175         calculation.  Remove unnecessary test for denormal exponent.
11176         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11177         Correct handling of denormals.  Avoid undefined shift behaviour.
11178         Correct normalisation of low mantissa when low double is denormal.
11179         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11180         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11181         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11182         Correct normalisation of low mantissa.  Test for overflow of high
11183         mantissa and normalise.
11184         (ldbl_nearbyint): Use more readable constant for two52.
11185         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11186         (__mpn_construct_long_double): Fix test for overflow of high
11187         mantissa and correct normalisation.  Avoid undefined shift.
11189 2013-10-04  Alan Modra  <amodra@gmail.com>
11191         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11192         (union ibm_extended_long_double): Define as an array of ieee754_double.
11193         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11194         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11195         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11196         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11197         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11198         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11199         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11200         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11201         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11202         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11203         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11205 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11207         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11208         page size instead of calling getpagesize.
11210         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11211         (LOCFILE_ALIGN_MASK): Likewise.
11212         (LOCFILE_ALIGN_UP): Likewise.
11213         (LOCFILE_ALIGNED_P): Likewise.
11214         * locale/programs/ld-collate.c (collate_output): Use the new
11215         macros instead of __alignof__ (int32_t).
11216         * locale/weight.h (findidx): Likewise.
11218 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11220         [BZ #431]
11221         * manual/string.texi: Fix strncat and wcsncat.
11223 2013-10-03  Brooks Moses  <bmoses@google.com>
11225         [BZ #15915]
11226         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11227         * Makerules: ...here, and adjust associated comments.
11229 2013-10-02  Will Newton  <will.newton@linaro.org>
11231         * malloc/Makefile: Add tst-pvalloc.
11232         * malloc/tst-pvalloc.c: New file.
11234 2013-10-02  Will Newton  <will.newton@linaro.org>
11236         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11237         improve test coverage.
11239 2013-10-02  Will Newton  <will.newton@linaro.org>
11241         * malloc/Makefile: Add tst-posix_memalign.
11242         * malloc/tst-posix_memalign.c: New file.
11244 2013-10-01  Eric Blake  <eblake@redhat.com>
11246         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11247         Use __THROWNL rather than __THROW on static functions.
11249 2013-09-30  Petr Machata  <pmachata@redhat.com>
11251         * elf/elf.h (R_AARCH64_ABS16): New macro.
11252         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11253         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11254         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11255         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11256         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11257         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11258         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11259         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11260         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11261         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11262         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11263         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11264         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11265         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11266         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11267         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11268         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11269         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11270         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11271         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11272         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11273         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11274         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11275         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11276         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11277         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11278         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11279         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11280         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11281         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11282         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11283         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11284         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11285         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11286         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11287         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11288         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11289         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11290         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11291         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11292         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11293         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11294         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11295         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11296         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11297         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11298         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11299         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11300         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11301         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11302         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11303         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11304         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11305         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11306         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11307         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11308         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11309         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11310         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11311         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11312         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11313         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11314         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11315         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11316         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11317         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11318         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11319         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11320         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11321         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11322         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11323         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11324         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11325         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11326         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11327         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11328         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11329         (R_AARCH64_TLSDESC_LDR): Likewise.
11330         (R_AARCH64_TLSDESC_ADD): Likewise.
11331         (R_AARCH64_TLSDESC_CALL): Likewise.
11333 2013-09-30  Andreas Schwab  <schwab@suse.de>
11335         [BZ #15048]
11336         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11337         the nss database lookup.
11338         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11339         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11341 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11343         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11345 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11347         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11348         ${Bash-specific parameter/pattern/string} parameter expansion.
11349         * sysdeps/unix/make-syscalls.sh: Likewise.
11351 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11353         * sysdeps/sh/stackguard-macros.h: New file.
11355 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11357         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11358         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11359         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11360         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11361         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11362         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11364 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11366         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11367         Fix thread ID register.
11369 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11371         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11372         [POSIX || UNIX98]: Require rather than permitting all symbols from
11373         <time.h>.
11374         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11375         element of struct sched_param.
11376         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11377         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11378         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11379         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11380         constant.
11382 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11384         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11385         argument calculation.
11387 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11389         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11390         Expect macro.
11391         [POSIX] (pthread_attr_t): Do not require type.
11392         [POSIX] (pthread_cond_t): Likewise.
11393         [POSIX] (pthread_condattr_t): Likewise.
11394         [POSIX] (pthread_key_t): Likewise.
11395         [POSIX] (pthread_mutex_t): Likewise.
11396         [POSIX] (pthread_mutexattr_t): Likewise.
11397         [POSIX] (pthread_once_t): Likewise.
11398         [POSIX] (pthread_t): Likewise.
11399         [POSIX-based standards] (pthread_atfork): Expect function.
11401 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11402             Richard Sandiford  <richard@codesourcery.com>
11404         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11405         (swap_endianness_p): New extern variable.
11406         (set_big_endian): New inline function.
11407         (maybe_swap_uint32): Likewise.
11408         (maybe_swap_uint32_array): Likewise.
11409         (maybe_swap_uint32_obstack): Likewise.
11410         * locale/programs/locfile.c: Include <stdbool.h>.
11411         (swap_endianness_p): New variable.
11412         (add_locale_uint32): Call maybe_swap_uint32.
11413         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11414         (write_locale_data): Call maybe_swap_uint32_array.
11415         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11416         maybe_swap_uint32.
11417         (obstack_int32_grow_fast): Likewise.
11418         (output_weightwc): Call maybe_swap_uint32_obstack.
11419         (collate_output): Likewise.
11420         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11421         (OPT_LITTLE_ENDIAN): Likewise.
11422         (options): Add --little-endian and --big-endian options.
11423         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11424         * locale/programs/locarchive.c: Include "locfile.h".
11425         (GET): New macro.
11426         (SET): Likewise.
11427         (INC): Likewise.
11428         (create_archive): Use the new macros to access fields of
11429         structures directly mapped from or written to locale archives.
11430         (oldlocrecentcmp): Likewise.
11431         (enlarge_archive): Likewise.
11432         (insert_name): Likewise.
11433         (add_alias): Likewise.
11434         (add_locale): Likewise.
11435         (delete_locales_from_archive): Likewise.
11436         (show_archive_content): Likewise.
11437         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11438         locale data.
11440 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11442         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11443         http://www.gnu.org/doc/freemanuals.texi.
11444         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11446 2013-09-24  Will Newton  <will.newton@linaro.org>
11448         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11449         macro.
11451 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11453         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11454         unsigned char.
11456 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11458         * manual/threads.texi (POSIX Threads): Fix a typo.
11460 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11462         [BZ #14547]
11463         * string/tst-strcoll-overflow.c: New test case.
11464         * string/Makefile (xtests): Add tst-strcoll-overflow.
11465         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11466         cache if string sizes may cause integer overflow.
11468         [BZ #14547]
11469         * string/strcoll_l.c (coll_seq): New members rule, idx,
11470         save_idx and back_us.
11471         (get_next_seq_nocache): New function.
11472         (do_compare_nocache): New function.
11473         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11474         when malloc fails.
11476 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11478         [BZ #15754]
11479         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11480         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11481         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11483         [BZ #15754]
11484         * elf/Makefile (tests): Add tst-ptrguard1.
11485         (tests-static): Add tst-ptrguard1-static.
11486         (tst-ptrguard1-ARGS): Define.
11487         (tst-ptrguard1-static-ARGS): Define.
11488         * elf/tst-ptrguard1.c: New file.
11489         * elf/tst-ptrguard1-static.c: New file.
11490         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11491         * sysdeps/i386/stackguard-macros.h: Likewise.
11492         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11493         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11494         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11495         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11496         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11497         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11499 2013-09-23  Hector Marco  <hecmargi@upv.es>
11500             Ismael Ripoll  <iripoll@disca.upv.es>
11501             Carlos O'Donell  <carlos@redhat.com>
11503         [BZ #15754]
11504         * sysdeps/generic/stackguard-macros.h: Define
11505         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11506         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11507         Define __pointer_chk_guard_local.
11508         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11509         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11511 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11513         [BZ #15859]
11514         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11516 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11518         * include/string.h (__ffs): Declare as hidden.
11519         * string/ffs.c (__ffs): Define as hidden.
11520         * sysdeps/i386/ffs.c (__ffs): Likewise.
11521         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11522         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11523         * sysdeps/s390/ffs.c (__ffs): Likewise.
11524         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11526 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11528         * NEWS: Mention malloc probes.
11530         * malloc/arena.c (new_heap): New memory_heap_new probe.
11531         (grow_heap): New memory_heap_more probe.
11532         (shrink_heap): New memory_heap_less probe.
11533         (heap_trim): New memory_heap_free probe.
11534         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11535         (systrim): New memory_sbrk_less probe.
11536         * manual/probes.texi: Document them.
11538         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11539         * manual/probes.texi: Document it.
11541         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11542         (__libc_realloc): Add memory_realloc_retry probe.
11543         (__libc_memalign): Add memory_memalign_retry probe.
11544         (__libc_valloc): Add memory_valloc_retry probe.
11545         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11546         (__libc_calloc): Add memory_calloc_retry probe.
11547         * manual/probes.texi: Document them.
11549         * malloc/arena.c (get_free_list): Add probe
11550         memory_arena_reuse_free_list.
11551         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11552         and memory_arena_reuse.
11553         (arena_get2) [!PER_THREAD]: Likewise.
11554         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11555         memory_arena_reuse_realloc.
11556         * manual/probes.texi: Document them.
11558         * malloc/malloc.c (__libc_free): Add
11559         memory_mallopt_free_dyn_thresholds probe.
11560         (__libc_mallopt): Add multiple memory_mallopt probes.
11561         * manual/probes.texi: Document them.
11563         * malloc/malloc.c: Include stap-probe.h.
11564         (__libc_mallopt): Add memory_mallopt probe.
11565         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11566         * manual/probes.texi: New.
11567         * manual/Makefile (chapters): Add probes.
11568         * manual/threads.texi: Set next node.
11570 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11572         [BZ #15963, #13985]
11573         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11574         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11575         Add `Chinese' to `nan' entry name.
11577 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11579         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11580         (POLYNOMIAL): Likewise.
11581         (TAYLOR_SINCOS): Likewise.
11582         (TAYLOR_SLOW): Likewise.
11583         (__sin): Use TAYLOR_SINCOS.
11584         (__cos): Likewise.
11585         (slow): Use TAYLOR_SLOW.
11586         (sloww): Likewise.
11587         (bsloww): Likewise.
11588         (csloww): Likewise.
11590 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11592         * stdlib/strtod_l.c: Fix buffer overrun.
11594 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11596         * benchtests/Makefile (bench): Add sincos.
11597         * benchtests/bench-sincos.c: New file.
11599         * math/libm-test.inc (cos_test_data): New test inputs.
11600         (sin_test_data): Likewise.
11602         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11603         macro.
11604         (__sin): Use it.
11605         (__cos): Likewise.
11606         (slow1): Likewise.
11607         (slow2): Likewise.
11608         (sloww1): Likewise.
11609         (sloww2): Likewise.
11610         (bsloww1): Likewise.
11611         (bsloww2): Likewise.
11612         (cslow2): Likewise.
11613         (csloww1): Likewise.
11614         (csloww2): Likewise.
11616         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11617         function.
11618         (__sin): Use it.
11619         (__cos): Likewise.
11621         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11622         gotos.
11623         (__cos): Likewise.
11625 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11627         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11628         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11629         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11630         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11631         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11632         * elf/cache.c (print_entry): Handle the new cache flags.
11634 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11635             Aldy Hernandez  <aldyh@redhat.com>
11637         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11638         Change condition to [_SOFT_FLOAT].
11639         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11640         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11641         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11642         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11643         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11644         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11645         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11646         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11647         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11648         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11649         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11650         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11651         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11652         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11653         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11654         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11655         declaration.
11657 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11659         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11660         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11661         (__longjmp): Use LOAD_GP to load saved GPRs.
11662         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11663         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11664         (__sigsetjmp): Use SAVE_GP to save GPRs.
11666         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11667         Do not append -msoft-float.
11668         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11670 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11672         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11674 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11676         [BZ #15966]
11677         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11678         (_FPU_GETCW): Use initial "__" on variable and field names but not
11679         on macro parameter name.
11680         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11681         parentheses around reference to macro parameter.
11683 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11685         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11686         prototype.
11687         (ctype_startup): Use uint32_t in cast and sizeof for
11688         ctype->charnames.
11690 2013-09-11  Jia Liu  <proljc@gmail.com>
11692         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11693         __daddr_t_defined.
11694         [__FreeBSD__]: Likewise.
11696 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11698         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11699         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11700         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11701         (strchr): Remove __strchr_sse42 ifunc selection.
11702         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11703         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11705 2013-09-11  Will Newton  <will.newton@linaro.org>
11707         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11708         parameter to RES. Remove hardcoded 1000 value.
11709         * benchtests/bench-skeleton.c (main): Pass RES parameter
11710         to TIMING_INIT and multiply result by 1000.
11712 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11716 2013-09-11  Andreas Schwab  <schwab@suse.de>
11718         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11719         if not defined.
11720         (O_TMPFILE) [__USE_GNU]: Define.
11721         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11722         Define.
11724 2013-09-11  Will Newton  <will.newton@linaro.org>
11726         [BZ #15857]
11727         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11728         does not overflow.
11730 2013-09-11  Will Newton  <will.newton@linaro.org>
11732         [BZ #15856]
11733         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11734         does not overflow.
11736 2013-09-11  Will Newton  <will.newton@linaro.org>
11738         [BZ #15855]
11739         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11740         does not overflow.
11742 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11744         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11745         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11746         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11747         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11748         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11750 2013-09-10  Allan McRae  <allan@archlinux.org>
11752         [BZ #15748]
11753         * manual/arith.texi (Parsing of Floats): Clarify
11754         cross-reference.
11756         [BZ #15849]
11757         * manual/install.texi (Running make install): Mention
11758         --enable-pt-chown.
11759         * INSTALL: Regenerated.
11761 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11763         * csu/init-first.c (_init): Remove the !SHARED condition around
11764         FPU control word initialization.
11765         * elf/dl-support.c (_dl_fpu_control): New variable.
11766         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11767         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11768         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11769         * math/test-fpucw-static.c: New file.
11770         * math/test-fpucw-ieee.c: New file.
11771         * math/test-fpucw-ieee-static.c: New file.
11772         * math/Makefile (tests): Add `test-fpucw-ieee' and
11773         `$(tests-static)'.
11774         (tests-static): New variable.
11775         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11776         dependency to...
11777         [($(build-shared),yes)]
11778         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11779         ... this.
11780         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11781         New dependency.
11783 2013-09-09  Allan McRae  <allan@archlinux.org>
11785         [BZ #15939]
11786         * manual/string.texi (Collation Functions): Fix typo in
11787         strcoll example.
11788         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11790         [BZ #15893]
11791         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11793         [BZ #15892]
11794         * libio/memstream.c (open_memstream): Fix memory leak.
11795         * libio/wmemstream.c (open_wmemstream): Likewise.
11797         [BZ #15895]
11798         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11800 2013-09-09  Will Newton  <will.newton@linaro.org>
11802         * malloc/Makefile: Add tst-realloc to tests.
11803         * malloc/tst-realloc.c: New file.
11805 2013-09-09  Allan McRae  <allan@archlinux.org>
11807         [BZ #15844]
11808         * COPYING: Update from GNU website to fix FSF address.
11809         * COPYING.LIB: Likewise.
11811 2013-09-06  David S. Miller  <davem@davemloft.net>
11813         * po/zh_TW.po: Update Chinese (traditional) translation from
11814         translation project.
11816 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11817             Joseph Myers  <joseph@codesourcery.com>
11819         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11820         "localeinfo.h".
11821         (obstack_chunk_alloc): New macro.
11822         (obstack_chunk_free): Likewise.
11823         (record_offset): New function.
11824         (init_locale_data): Likewise.
11825         (align_locale_data): Likewise.
11826         (add_locale_empty): Likewise.
11827         (add_locale_raw_data): Likewise.
11828         (add_locale_raw_obstack): Likewise.
11829         (add_locale_string): Likewise.
11830         (add_locale_wstring): Likewise.
11831         (add_locale_uint32): Likewise.
11832         (add_locale_uint32_array): Likewise.
11833         (add_locale_char): Likewise.
11834         (start_locale_structure): Likewise.
11835         (end_locale_structure): Likewise.
11836         (start_locale_prelude): Likewise.
11837         (end_locale_prelude): Likewise.
11838         (write_locale_data): Take locale_file structure rather than an
11839         iovec.
11840         * locale/programs/locfile.h: Include "obstack.h".
11841         (struct locale_file): Change to store locale file contents instead
11842         of header.
11843         (init_locale_data): New prototype.
11844         (align_locale_data): Likewise.
11845         (add_locale_empty): Likewise.
11846         (add_locale_raw_data): Likewise.
11847         (add_locale_raw_obstack): Likewise.
11848         (add_locale_string): Likewise.
11849         (add_locale_wstring): Likewise.
11850         (add_locale_uint32): Likewise.
11851         (add_locale_uint32_array): Likewise.
11852         (add_locale_char): Likewise.
11853         (start_locale_structure): Likewise.
11854         (end_locale_structure): Likewise.
11855         (start_locale_prelude): Likewise.
11856         (end_locale_prelude): Likewise.
11857         (write_locale_data): Update prototype.
11858         * locale/programs/3level.h (struct TABLE): Remove result field.
11859         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
11860         Use new locale_file interface.
11861         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
11862         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
11863         * locale/programs/ld-address.c (address_output): Use new
11864         locale_file interface.
11865         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
11866         NO_ADD_LOCALE.
11867         (collate_finish): Don't call collseq_table_finalize.
11868         (collate_output): Use new locale_file interface.
11869         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
11870         in file.
11871         (NO_FINALIZE): Change to NO_ADD_LOCALE.
11872         (TABLE): Move defines earlier in file.
11873         (ELEMENT): Likewise.
11874         (DEFAULT): Likewise.
11875         (wctrans_table_add): Move macro and inline function earlier in
11876         file.
11877         (struct wctype_table): Move type earlier in file.
11878         (add_locale_wctype_table): New static prototype.
11879         (struct locale_ctype_t): Use logical types instead of struct iovec
11880         pointers for members.
11881         (ctype_output): Use new locale_file interface.
11882         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
11883         new locale_file interface.
11884         (allocate_arrays): Update for use of new locale_file interface.
11885         * locale/programs/ld-identification.c (identification_output): Use
11886         new locale_file interface.
11887         * locale/programs/ld-measurement.c (measurement_output): Likewise.
11888         * locale/programs/ld-messages.c (messages_output): Likewise.
11889         * locale/programs/ld-monetary.c (monetary_output): Likewise.
11890         * locale/programs/ld-name.c (name_output): Likewise.
11891         * locale/programs/ld-numeric.c (numeric_output): Likewise.
11892         * locale/programs/ld-paper.c (paper_output): Likewise.
11893         * locale/programs/ld-telephone.c (telephone_output): Likewise.
11894         * locale/programs/ld-time.c (time_output): Likewise.
11896 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11898         * benchtests/Makefile: Add memrchr benchmark.
11899         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
11900         benchmark as memrchr.
11901         * benchtests/bench-memrchr-ifunc.c: New file.
11902         * benchtests/bench-memrchr.c: New file.
11904 2013-09-06   Will Newton  <will.newton@linaro.org>
11906         * benchtests/Makefile (string-bench): Add memcpy.
11908 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
11909             Cong Wang  <amwang@redhat.com>
11911         [BZ #15850]
11912         * sysdeps/unix/sysv/linux/bits/in.h
11913         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
11914         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
11915         before __USE_KERNEL_IPV6_DEFS uses.
11916         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
11917         IPPROTO_BEETPH.
11918         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
11919         sockaddr_in6, or ipv6_mreq.
11921 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11923         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
11924         memory access for final bytes in some large inputs.
11925         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
11927 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11929         * string/test-memrchr.c: New file.
11930         * string/test-memrchr-ifunc.c: New file.
11931         * string/Makefile: Add new memrchr testcase.
11933 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
11935         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
11936         fanotify_init returns EPERM.
11938 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11940         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
11941         errors.
11942         (top level): Treat second token from macro or constant entries for
11943         allowed headers as allowed.
11944         * include/complex.h: Condition internal declarations on
11945         [!_ISOMAC].
11946         * include/fenv.h: Condition include of <stdbool.h> and internal
11947         declarations on [!_ISOMAC].
11949 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
11951         [BZ #15923]
11952         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
11954 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
11956         * configure.in (--enable-versioning): Remove configure option.
11957         (libc_cv_asm_symver_directive): Remove configure test.
11958         (libc_cv_ld_version_script_option): Likewise.
11959         (VERSIONING): Remove variable and AC_SUBST.
11960         (DO_VERSIONING): Remove AC_DEFINE.
11961         * configure: Regenerated.
11962         * config.h.in (DO_VERSIONING): Remove macro.
11963         * Makerules [$(versioning) = yes]: Change conditionals to
11964         [$(build-shared) = yes].
11965         * config.make.in (versioning): Remove variable.
11966         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
11967         [$(build-shared) = yes].
11968         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
11969         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
11970         * elf/Makefile [$(versioning) = yes]: Change conditionals to
11971         [$(build-shared) = yes].
11972         * extra-lib.mk [$(versioning) = yes]: Likewise.
11973         * hurd/Makefile [$(versioning) = yes]: Likewise.
11974         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
11975         [SHARED].
11976         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
11977         [SHARED].
11978         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11979         [SHARED && !NO_HIDDEN].
11980         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
11981         [SHARED].
11982         [SHARED && DO_VERSIONING]: Likewise..
11983         * libio/Makefile [$(versioning) = yes]: Change conditionals to
11984         [$(build-shared) = yes].
11985         * manual/install.texi (--disable-versioning): Remove
11986         documentation.
11987         * INSTALL: Regenerated.
11988         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
11989         to [SHARED].
11990         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
11991         [$(build-shared) = yes].
11992         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
11993         * sysdeps/i386/i686/multiarch/strstr-c.c
11994         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
11995         [SHARED && !NO_HIDDEN].
11996         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
11997         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
11998         * sysdeps/powerpc/powerpc32/dl-machine.c
11999         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12000         * sysdeps/powerpc/powerpc32/sysdep.h
12001         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12002         to [SHARED && PIC && !NO_HIDDEN].
12003         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12004         conditional to [SHARED].
12006 2013-09-04   Will Newton  <will.newton@linaro.org>
12008         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12009         * benchtests/bench-string.h: Include bench-timing.h instead
12010         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12011         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12012         call to HP_TIMING_DIFF_INIT.
12013         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12014         instead of hp-timing.h macros.
12015         * benchtests/bench-memchr.c: Likewise.
12016         * benchtests/bench-memcmp.c: Likewise.
12017         * benchtests/bench-memcpy.c: Likewise.
12018         * benchtests/bench-memmem.c: Likewise.
12019         * benchtests/bench-memmove.c: Likewise.
12020         * benchtests/bench-memset.c: Likewise.
12021         * benchtests/bench-rawmemchr.c: Likewise.
12022         * benchtests/bench-strcasecmp.c: Likewise.
12023         * benchtests/bench-strcasestr.c: Likewise.
12024         * benchtests/bench-strcat.c: Likewise.
12025         * benchtests/bench-strchr.c: Likewise.
12026         * benchtests/bench-strcmp.c: Likewise.
12027         * benchtests/bench-strcpy.c: Likewise.
12028         * benchtests/bench-strcpy_chk.c: Likewise.
12029         * benchtests/bench-strlen.c: Likewise.
12030         * benchtests/bench-strncasecmp.c: Likewise.
12031         * benchtests/bench-strncat.c: Likewise.
12032         * benchtests/bench-strncmp.c: Likewise.
12033         * benchtests/bench-strncpy.c: Likewise.
12034         * benchtests/bench-strnlen.c: Likewise.
12035         * benchtests/bench-strpbrk.c: Likewise.
12036         * benchtests/bench-strrchr.c: Likewise.
12037         * benchtests/bench-strspn.c: Likewise.
12038         * benchtests/bench-strstr.c: Likewise.
12040 2013-09-04  Will Newton  <will.newton@linaro.org>
12042         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12044 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12046         [BZ #15427]
12047         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12048         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12049         * math/libm-test.inc (lgamma_test_data): Add more tests.
12050         * sysdeps/i386/fpu/libm-test-ulps: Update.
12051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12053 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12055         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12056         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12057         Add ifunc.
12058         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12059         Add strcmp-sse2-unaligned
12060         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12062 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12064         * Versions.def (libc): Add GLIBC_2.19.
12066 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12068         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12069         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12071 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12073         [BZ #14155]
12074         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12075         intermediate calculations in recurrence.
12076         (__ieee754_ynf): Likewise.
12077         * math/libm-test.inc (jn_test_data): Do not allow spurious
12078         underflow exception.  Add more tests.
12079         (yn_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-02   Ondřej Bílka  <neleai@seznam.cz>
12085         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12087 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12089         * csu/init-first.c: Fix then/than typos.
12090         * locale/programs/ld-collate.c: Likewise.
12091         * locale/programs/linereader.h: Likewise.
12092         * manual/charset.texi: Likewise.
12093         * manual/filesys.texi: Likewise.
12094         * manual/stdio.texi: Likewise.
12095         * manual/string.texi: Likewise.
12096         * stdlib/fmtmsg.c: Likewise.
12097         * sysdeps/i386/stpncpy.S: Likewise.
12098         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12099         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12100         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12101         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12103 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12105         * elf/dl-open.c: Fix typos.
12106         * iconvdata/gbbig5.c: Likewise.
12107         * iconvdata/iso-2022-jp.c: Likewise.
12108         * iconv/gconv_int.h: Likewise.
12109         * iconv/loop.c: Likewise.
12110         * nis/rpcsvc/nis.h: Likewise.
12111         * resolv/ns_name.c: Likewise.
12112         * stdio-common/vfscanf.c: Likewise.
12113         * streams/stropts.h: Likewise.
12114         * sunrpc/rpc_thread.c: Likewise.
12115         * sysdeps/i386/strpbrk.S: Likewise.
12116         * sysdeps/ieee754/k_standard.c: Likewise.
12117         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12119         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12120         * sysdeps/mach/hurd/profil.c: Likewise.
12121         * sysdeps/s390/dl-procinfo.h: Likewise.
12122         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12123         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12124         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12125         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12126         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12128 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12130         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12133 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12135         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12136         aix specific files.
12137         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12138         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12139         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12140         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12141         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12142         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12143         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12144         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12146 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12147             Roland McGrath  <roland@hack.frob.com>
12149         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12150         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12152 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12154         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12155         __executable_start symbol instead of _start.
12157 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12159         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12160         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12161         Move macros to...
12162         * sysdeps/gnu/ldsodefs.h: ... this new file.
12164         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12165         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12166         instead of ELFOSABI_LINUX.
12168         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12169         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12170         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12171         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12172         Likewise.
12173         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12174         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12175         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12176         Likewise.
12177         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12178         (ibm_extended_long_double): Add ieee_nan member.
12179         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12180         (do_test): New function.
12182         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12183         TEST_TRUNC.
12184         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12185         functions, renamed from truncdfsf_test, trunctfsf_test,
12186         trunctfdf_test.
12187         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12188         functions.
12189         (do_test): Run all these.
12191 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12193         * argp/argp-help.c: Fix typos.
12194         * argp/argp-parse.c: Likewise.
12195         * debug/backtracesyms.c: Likewise.
12196         * elf/elf.h: Likewise.
12197         * malloc/malloc.c: Likewise.
12198         * nis/nis_print.c: Likewise.
12199         * resolv/res_comp.c: Likewise.
12200         * stdlib/stdlib.h: Likewise.
12201         * sunrpc/clnt_tcp.c: Likewise.
12202         * sunrpc/clnt_udp.c: Likewise.
12203         * sunrpc/clnt_unix.c: Likewise.
12204         * sysdeps/unix/bsd/ptsname.c: Likewise.
12205         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12206         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12208         Likewise.
12209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12210         Likewise.
12211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12212         Likewise.
12213         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12215 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12217         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12220 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12222         [BZ #15897]
12223         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12224         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12225         ($(objpfx)bug-dl-leaf): New rule.
12226         ($(objpfx)bug-dl-leaf.so): Likewise.
12227         ($(objpfx)bug-dl-leaf.out): Likewise.
12228         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12229         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12230         * dlfcn/bug-dl-leaf.c: New test.
12231         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12232         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12233         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12234         (dlclose): Likewise.
12235         (dlmopen): Likewise.
12237 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12239         * include/netdb.h [!_ISOMAC]:
12240         Don't include <tls.h>.
12241         (h_errno, __libc_h_errno): Move declaration and macros out of
12242         [_LIBC_REENTRANT].
12244         * include/resolv.h [_RESOLV_H_]:
12245         Don't include <tls.h>.
12246         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12247         * resolv/res_libc.c: Don't include <tls.h>.
12248         (_res): Use __attribute__ ((nocommon)) in place of
12249         __attribute__ ((section (".bss"))).
12251         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12252         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12254         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12256         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12257         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12259         * resolv/res_mkquery.c: Include <sys/time.h>.
12261         * inet/ifreq.c: Moved to ...
12262         * sysdeps/unix/ifreq.c: ... here.
12263         * inet/ifreq.c: New file, true stub version.
12265         * socket/sa_len.c: New file.
12266         * socket/Makefile (aux): Add it.
12267         * sysdeps/unix/sysv/linux/Makefile
12268         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12269         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12270         and #include <socket/sa_len.c>.
12271         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12272         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12274         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12275         * bits/socket.h: ... here.
12277         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12278         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12279         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12281 2013-08-27  Andreas Schwab  <schwab@suse.de>
12283         [BZ #15736]
12284         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12285         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12286         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12287         * string/test-strcasecmp.c (test_main): Run tests in several
12288         locales.
12289         * string/test-strncasecmp.c (test_main): Likewise.
12291         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12292         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12293         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12294         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12295         (__strncasecmp_ssse3) [PIC]: Likewise.
12297 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12299         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12301         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12302         instead of explicitly declaring xdecrypt.
12303         * nis/nss_nis/nis-publickey.c: Likewise.
12305 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12307         [BZ #15890]
12308         * nscd/aicache.c: Include res_hconf.h.
12309         (addhstaiX): Initialize res_hconf.
12311 2013-08-26  Andreas Schwab  <schwab@suse.de>
12313         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12314         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12316 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12318         * nscd/aicache.c (addhstaiX): Fix indentation.
12320 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12322         * configure.ac: Quote $build_pt_chown test.
12323         * configure: Regenerated.
12325 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12327         [BZ #15532]
12328         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12329         * math/s_cexpf.c (__cexpf): Likewise.
12330         * math/s_cexpl.c (__cexpl): Likewise.
12331         * math/libm-test.inc (cexp_test_data): Correct expected return
12332         value for NaN + i0.  Add another test.
12334 2013-08-22  David S. Miller  <davem@davemloft.net>
12336         * po/ca.po: Update Catalan translation from translation project.
12337         * po/uk.po: Add Ukrainian translations from translation project.
12339 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12341         [BZ #15797]
12342         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12343         is infinite, not alongside NaN test.
12344         * math/s_fdimf.c (__fdimf): Likewise.
12345         * math/s_fdiml.c (__fdiml): Likewise.
12346         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12347         errno is unchanged.
12349 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12351         * argp/argp-help.c: Fix typos.
12352         * crypt/speeds.c: Likewise.
12353         * csu/check_fds.c: Likewise.
12354         * elf/dl-load.c: Likewise.
12355         * elf/dl-open.c: Likewise.
12356         * elf/reldep3.c: Likewise.
12357         * elf/reldep.c: Likewise.
12358         * elf/sprof.c: Likewise.
12359         * iconv/iconv_charmap.c: Likewise.
12360         * iconv/skeleton.c: Likewise.
12361         * iconv/strtab.c: Likewise.
12362         * io/lockf64.c: Likewise.
12363         * libio/libioP.h: Likewise.
12364         * resolv/gai_notify.c: Likewise.
12365         * resolv/ns_name.c: Likewise.
12366         * resolv/ns_samedomain.c: Likewise.
12367         * resolv/res_send.c: Likewise.
12368         * stdlib/random.c: Likewise.
12369         * sunrpc/rpc/xdr.h: Likewise.
12370         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12371         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12372         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12373         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12374         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12375         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12376         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12377         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12378         * sysdeps/mach/hurd/check_fds.c: Likewise.
12379         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12380         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12381         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12382         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12383         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12384         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12385         * sysdeps/pthread/aio_notify.c: Likewise.
12386         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12387         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12388         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12389         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12390         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12392 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12394         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12395         version if bit_Slow_SSE4_2 is set.
12396         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12397         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12399 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12401         [BZ #15867]
12402         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12403         trampoline stack frame information.
12404         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12405         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12406         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12407         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12408         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12409         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12410         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12411         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12412         sa_flags value.
12413         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12414         interrupting a syscall and set with option SA_SIGINFO.
12416 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12418         [BZ #15531]
12419         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12420         argument is infinite.
12421         * math/s_cprojf.c (__cprojf): Likewise.
12422         * math/s_cprojl.c (__cprojl): Likewise.
12423         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12424         * math/libm-test.inc (cproj_test_data): Add more tests.
12426         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12428         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12429         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12430         size.  Use __ffs to determine corresponding shift.
12432 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12433             Roland McGrath  <roland@hack.frob.com>
12435         * Makefile (INSTALL): Remove trailing blank lines from output of
12436         makeinfo.
12438 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12440         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12441         Align 32 bit compat elf_greg to 8 bytes.
12443 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12445         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12447 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12449         * string/strcoll_l.c (coll_seq): New structure.
12450         (get_next_seq_cached): New function.
12451         (get_next_seq): New function.
12452         (do_compare): New function.
12453         (STRCOLL): Use GNU style definition.  Simplify implementation
12454         by using get_next_seq, get_next_seq_cached and do_compare.
12456 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12458         [BZ #14699]
12459         CVE-2013-4237
12460         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12461         member.
12462         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12463         member.
12464         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12465         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12466         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12467         conditional.
12468         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12469         GETDENTS_64BIT_ALIGNED.
12470         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12471         * manual/filesys.texi (Reading/Closing Directory): Document
12472         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12473         strongly.
12474         * manual/conf.texi (Limits for Files): Add portability note to
12475         NAME_MAX, PATH_MAX.
12476         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12478 2013-08-13  Andreas Schwab  <schwab@suse.de>
12480         [BZ #15749]
12481         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12482         of fabs.
12483         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12484         LDBL_MAX_EXP >= 16384]: Add tests for it.
12486 2013-08-12  David S. Miller  <davem@davemloft.net>
12488         * version.h (RELEASE): Set to "development".
12489         (VERSION): Set to "2.18.90".
12490         * NEWS: Add 2.19 section.
12492 2013-08-03  David S. Miller  <davem@davemloft.net>
12494         * po/ko.po: Update Korean translation from translation project.
12496 2013-08-01  David S. Miller  <davem@davemloft.net>
12498         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12499         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12500         Bilka.
12502 2013-07-30  David S. Miller  <davem@davemloft.net>
12504         * po/fr.po: Update French translation from translation project.
12506 2013-07-28  David S. Miller  <davem@davemloft.net>
12508         * po/cs.po: Update Czech translation from translation project.
12510         * po/sv.po: Update Swedish translation from translation project.
12512 2013-07-27  David S. Miller  <davem@davemloft.net>
12514         * po/eo.po: Update Esperanto translation from translation project.
12516         * po/vi.po: Update Vietnamese translation from translation project.
12518         * po/de.po: Update German translation from translation project.
12520 2013-07-26  David S. Miller  <davem@davemloft.net>
12522         * po/bg.po: Update Bulgarian translation from translation project.
12524         * po/nl.po: Update Dutch translation from translation project.
12525         * po/pl.po: Update Polish translation from translation project.
12526         * po/ru.po: Update Russian translation from translation project.
12528 2013-07-24  David S. Miller  <davem@davemloft.net>
12530         * po/libc.pot: Update.
12532 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12534         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12535         variable page size.
12536         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12537         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12538         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12540 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12542         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12544 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12545             Andreas Schwab  <schwab@suse.de>
12546             Roland McGrath  <roland@hack.frob.com>
12547             Joseph Myers  <joseph@codesourcery.com>
12548             Carlos O'Donell  <carlos@redhat.com>
12550         [BZ #15755]
12551         * config.h.in: Define HAVE_PT_CHOWN.
12552         * config.make.in (build-pt-chown): New variable.
12553         * configure.in (--enable-pt_chown): New configure option.
12554         * configure: Regenerate.
12555         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12556         build-pt-chown is enabled.
12557         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12558         pt_chown to fix pty ownership.
12559         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12560         CLOSE_ALL_FDS.
12561         * manual/install.texi (Configuring and compiling): Mention
12562         --enable-pt_chown. Add @findex for grantpt.
12563         * INSTALL: Regenerate.
12565 2013-07-20  David S. Miller  <davem@davemloft.net>
12567         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12568         difference between 32-bit and 64-bit.
12570 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12572         [BZ #15711]
12573         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12574         Avoid system header dependency with -ffreestanding.
12575         ($(objpfx)bits/syscall%d): Likewise.
12577 2013-07-13  David S. Miller  <davem@davemloft.net>
12579         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12580         underflows from atanl/atan2l due to bug 15319.
12581         (casinh_test_data): Likewise.
12583 2013-07-07  David S. Miller  <davem@davemloft.net>
12585         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12587 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12589         * sysdeps/i386/fpu/libm-test-ulps: Update.
12590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12592 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12594         * configure.in (--enable-lock-elision): Fix message text.
12595         * INSTALL: Regenerate.
12596         * configure: Regenerate.
12598 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12600         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12602 2013-07-03  Andreas Jaeger  <aj@suse.de>
12604         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12605         define.
12606         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12607         (ptrace_peeksiginfo_args): Add.
12608         (__ptrace_peeksiginfo_flags): Add.
12609         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12610         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12611         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12613 2013-07-03  Allan McRae  <allan@archlinux.org>
12615         * sysdeps/i386/fpu/libm-test-ulps: Update.
12617 2013-07-02  David S. Miller  <davem@davemloft.net>
12619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12621 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12623         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12625 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12627         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12630 2013-07-02  Andi Kleen <ak@linux.intel.com>
12632         * config.h.in (ENABLE_LOCK_ELISION): Add.
12633         * configure.in (--enable-lock-elision): Add option.
12634         * manual/install.texi: Document --enable lock elision.
12635         * configure: Regenerate
12636         * INSTALL: Regenerate.
12638 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12640         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12641         SSE4.2 strcasecmp for libc.a.
12642         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12644 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12646         [BZ #13304]
12647         * soft-fp/op-common.h (_FP_FMA): New macro.
12648         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12649         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12650         (_FP_MUL_MEAT_1_imm): ... here.
12651         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12652         (_FP_MUL_MEAT_1_wide): ... here.
12653         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12654         (_FP_MUL_MEAT_1_hard): ... here.
12655         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12656         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12657         (_FP_MUL_MEAT_2_wide): ... here.
12658         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12659         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12660         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12661         (_FP_MUL_MEAT_2_gmp): ... here.
12662         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12663         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12664         (_FP_MUL_MEAT_4_wide): ... here.
12665         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12666         (_FP_MUL_MEAT_4_gmp): ... here.
12667         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12668         (_FP_WFRACBITS_DW_S): Likewise.
12669         (_FP_WFRACXBITS_DW_S): Likewise.
12670         (_FP_HIGHBIT_DW_S): Likewise.
12671         (FP_FMA_S): Likewise.
12672         (_FP_FRAC_HIGH_DW_S): Likewise.
12673         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12674         (_FP_WFRACBITS_DW_D): Likewise.
12675         (_FP_WFRACXBITS_DW_D): Likewise.
12676         (_FP_HIGHBIT_DW_D): Likewise.
12677         (FP_FMA_D): Likewise.
12678         (_FP_FRAC_HIGH_DW_D): Likewise.
12679         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12680         (_FP_WFRACBITS_DW_E): Likewise.
12681         (_FP_WFRACXBITS_DW_E): Likewise.
12682         (_FP_HIGHBIT_DW_E): Likewise.
12683         (FP_FMA_E): Likewise.
12684         (_FP_FRAC_HIGH_DW_E): Likewise.
12685         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12686         (_FP_WFRACBITS_DW_Q): Likewise.
12687         (_FP_WFRACXBITS_DW_Q): Likewise.
12688         (_FP_HIGHBIT_DW_Q): Likewise.
12689         (FP_FMA_Q): Likewise.
12690         (_FP_FRAC_HIGH_DW_Q): Likewise.
12691         * soft-fp/fmasf4.c: New file.
12692         * soft-fp/fmadf4.c: Likewise.
12693         * soft-fp/fmatf4.c: Likewise.
12695 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12697         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12698         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12699         Silvermont.
12700         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12701         macro.
12702         (index_Slow_SSE4_2): Likewise.
12703         (index_Prefer_PMINUB_for_stringop): Likewise.
12704         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12705         bit_Slow_SSE4_2 is set.
12706         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12707         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12709 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12711         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12712         rtld_global._dl_hwcap2.
12713         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12714         POWER8.
12715         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12716         POWER8 feature descriptions defined in _dl_hwcap2.
12717         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12718         string handling for POWER8 feature bits.
12719         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12720         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12721         _dl_powerpc_cap_flags.
12722         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12723         * sysdeps/powerpc/rtld-global-offsets.sym
12724         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12725         _dl_hwcap2 in the rtld_global_ro structure.
12727 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12729         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12730         hardware capabilities in support of AT_HWCAP2.
12731         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12732         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12733         GLRO(dl_hwcap2).
12734         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12735         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12736         explicitly the unknown a_type display mechanism is used.
12737         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12738         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12739         struct member.
12740         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12741         to macro prototype for AT_HWCAP2 support.
12742         * sysdeps/i386/dl-procinfo.h: Likewise.
12743         * sysdeps/s390/dl-procinfo.h: Likewise.
12744         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12745         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12746         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12747         return -1 for unknown a_type display fallback.
12748         * sysdeps/sparc/dl-procinfo.h: Likewise.
12749         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12750         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12752 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12754         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12755         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12757 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12759         [BZ #12492]
12760         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12761         mprotect making __stack_prot writable.
12763 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12764             Joseph Myers  <joseph@codesourcery.com>
12766         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12767         as being properly aligned.
12769 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12771         * dlfcn/modstatic5.c: New file.
12772         * dlfcn/tststatic5.c: New file.
12773         * dlfcn/Makefile (tests): Add tststatic5.
12774         (tests-static): Likewise.
12775         (modules-names): Add modstatic5.
12776         (tststatic5-ENV): New variable.
12777         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12779         [BZ #15022]
12780         * elf/dl-support.c (_dl_main_map): New variable.
12781         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12782         (_dl_nns, _dl_load_adds): Set to 1.
12783         (_dl_initial_searchlist): Refer to _dl_main_map.
12784         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12785         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12786         call to _dl_get_origin.
12787         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12788         around call_map.
12789         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12790         * dlfcn/modstatic3.c: New file.
12791         * dlfcn/tststatic3.c: New file.
12792         * dlfcn/tststatic4.c: New file.
12793         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12794         (tests-static): Likewise.
12795         (modules-names): Add modstatic3.
12796         (tststatic3-ENV, tststatic4-ENV): New variables.
12797         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12798         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12800 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12802         * configure.in (CC): Require GCC version 4.4 or later.
12803         * configure: Regenerated.
12804         * manual/install.texi (Tools for Compilation): Update GCC version
12805         requirement.
12806         * INSTALL: Regenerated.
12808 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12810         [BZ #15674]
12811         * string/test-memcmp.c (check2): New.
12812         (main): Call check2.
12814         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12816 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12818         [BZ #15022]
12819         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12820         over to...
12821         (dl_open_worker) [!SHARED]: ... here.
12823 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12825         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12827 2013-06-25  Richard Henderson  <rth@redhat.com>
12829         * locale/programs/locarchive.c: Include <libc-internal.h>
12831 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12833         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12834         trailing whitespace removed.
12836 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12838         [BZ #10283]
12839         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12840         * locale/programs/locarchive.c: Include libc-mmap.h.
12841         (prepare_address_space): Take two new outputs (the mmap base and len).
12842         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
12843         values.
12844         (create_archive): Declare new mmap base and len values for
12845         prepare_address_space, and store the result in ah.
12846         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
12847         (enlarge_archive): If ah->mmap_base is not NULL, use that and
12848         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12849         Declare new mmap base and len values for
12850         prepare_address_space, and store the result in new_ah.
12851         (open_archive): Declare new mmap base and len values for
12852         prepare_address_space, and store the result in ah.
12853         (close_archive): If ah->mmap_base is not NULL, use that and
12854         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
12855         * sysdeps/generic/libc-mmap.h: New file.
12857 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12859         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
12860         (ALIGN_UP): Likewise.
12861         (PTR_ALIGN_DOWN): Likewise.
12862         (PTR_ALIGN_UP): Likewise.
12864 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12866         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
12867         entry mapped to PPC_PLATFORM_POWER8.
12868         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
12869         POWER8.
12870         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
12871         (_dl_string_platform): Add case for exporting platform position for
12872         POWER8.
12873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
12874         search path to sysdeps/powerpc/powerpc32/power8 directory.
12875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
12876         search path to sysdeps/powerpc/powerpc64/power8 directory.
12877         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
12878         power7 directories.
12879         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
12880         power7 directories.
12882 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12884         * INSTALL: Regenerate.
12886         * nscd/connections.c (nscd_init): Fix comment.
12888 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
12890         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
12892         [BZ #15667]
12893         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
12894         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
12896 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12898         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
12899         DL_DST_REQ_STATIC.
12900         (DL_DST_REQ_STATIC): Remove macro.
12902 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
12904         [BZ #7006]
12905         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
12906         with a shift of 0 bits.
12908 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
12910         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
12911         $(tststatic-ENV).
12913 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
12915         [BZ #15655]
12916         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
12918 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12920         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
12921         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
12922         accepts -fno-tree-loop-distribute-patterns.
12923         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
12924         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
12925         recursive call.
12926         * string/memset.c (memset): Likewise.
12927         * string/test-memmove.c (simple_memmove): Disable loop transformation
12928         to library calls.
12929         * string/test-memset.c (simple_memset): Likewise.
12930         * benchtests/bench-memmove.c (simple_memmove): Likewise.
12931         * benchtests/bench-memset.c (simple_memset): Likewise.
12932         * configure: Regenerated.
12934 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
12936         * math/test-misc.c (main): Ignore fesetround failure when failures
12937         of subsequent rounding tests would be ignored.
12939         [BZ #15654]
12940         * math/fedisblxcpt.c (fedisableexcept): Return 0.
12941         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
12942         * math/fegetenv.c (__fegetenv): Return 0.
12943         * math/fegetexcept.c (fegetexcept): Return 0.
12944         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
12945         FE_TONEAREST.
12946         * math/feholdexcpt.c (feholdexcept): Return 0.
12947         * math/fesetenv.c (__fesetenv): Return 0.
12948         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
12949         argument FE_TONEAREST.
12950         * math/feupdateenv.c (__feupdateenv): Return 0.
12951         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
12953 2013-06-18  Roland McGrath  <roland@hack.frob.com>
12955         * elf/rtld-Rules (rtld-compile-command.S): New variable.
12956         (rtld-compile-command.s, rtld-compile-command.c): New variables.
12957         ($(objpfx)rtld-%.os rules): Use them.
12959 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12961         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
12962         fields.
12964 2013-06-17  Roland McGrath  <roland@hack.frob.com>
12966         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
12967         length of target pattern, then descending length of dependency pattern.
12968         * configure.in (AWK): Require gawk 3.1.2 or newer.
12969         * manual/install.texi (Tools for Compilation): Say that we do.
12970         * configure: Regenerated.
12972         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
12973         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
12974         * scripts/sysd-rules.awk: ... this new script.
12975         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
12976         than a glob-style pattern.
12978 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
12980         * math/test-misc.c (main): Do not treat incorrectly rounded
12981         conversions as failure unless ROUNDING_TESTS passes.
12983 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
12985         [BZ #15631]
12986         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
12987         restore exception state around main square root computation, then
12988         check for inexactness explicitly.
12990         * math/libm-test.inc (fma_test_data): Add another test.
12992 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12994         * manual/threads.texi (Non-POSIX Extensions): New document
12995         node.  Document pthread_getattr_default_np and
12996         pthread_setattr_default_np.
12998         * Versions.def (libpthread): Add GLIBC_2.18.
12999         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13001         Likewise.
13002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13003         Likewise.
13004         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13009         Likewise.
13010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13011         Likewise.
13012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13013         Likewise.
13014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13015         Likewise.
13016         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13017         Likewise.
13019 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13021         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13022         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13024 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13025             H.J. Lu  <hjl.tools@gmail.com>
13027         [BZ #15627]
13028         * sysdeps/x86_64/rtld-memset.c: Remove file.
13029         * sysdeps/x86_64/rtld-memset.S: New file.
13031 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13033         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13034         (test_in_one_mode): Take arguments for whether the rounding mode
13035         is supported for each floating-point type.
13036         (do_test): Pass new arguments to test_in_one_mode using
13037         ROUNDING_TESTS.
13039 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13041         * posix/tst-waitid.c (do_test): Distinguish different instances of
13042         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13043         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13044         before entering the kernel for waitpid.
13046 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13048         * NEWS: Fix note on clock function precision.  Text by Roland
13049         McGrath.
13051 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13053         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13054         it into place only when and if the sanity check passes.
13056 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13058         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13059         output for whether conversion result is exact.  Take argument
13060         indicating whether type is IBM long double.
13061         (round_for_all): Change need_exact field to ibm_ld.
13062         * stdlib/tst-strtod-round.c (struct exactness): New type.
13063         (struct test): Change bool ld_ok field to struct exactness exact.
13064         (TEST): Update all definitions for change to field.
13065         (tests): Regenerate array contents.
13066         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13067         field value.  Check for IBM long double here.
13068         (do_test): Update calls to test_in_one_mode.
13070 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13072         [BZ #12515]
13073         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13074         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13076 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13078         [BZ #15605]
13079         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13080         generated by the compiler on loop optimizations.
13081         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13082         general definitions.
13084 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13086         * math/bug-nextafter.c: Include <math-tests.h>.
13087         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13088         the relevant type.
13089         * math/bug-nexttoward.c: Include <math-tests.h>.
13090         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13091         the relevant type.
13092         * math/test-misc.c: Include <math-tests.h>.
13093         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13094         the relevant type.
13096 2013-06-12  Andreas Jaeger  <aj@suse.de>
13098         * po/ia.po: Update Interlingua translation from translation
13099         project.
13101 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13103         * include/fenv.h: Include stdbool.h.
13104         (struct rm_ctx): New structure.
13105         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13106         Define macro.
13107         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13108         (SET_RESTORE_ROUNDF): Likewise.
13109         (SET_RESTORE_ROUNDL): Likewise.
13110         (SET_RESTORE_ROUND_NOEX): Likewise.
13111         (SET_RESTORE_ROUND_NOEXF): Likewise.
13112         (SET_RESTORE_ROUND_NOEXL): Likewise.
13113         (SET_RESTORE_ROUND_53BIT): Likewise.
13114         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13115         (libc_feresetround_noexf_ctx): Likewise.
13116         (libc_feresetround_noexl_ctx): Likewise.
13117         (libc_feholdsetround_53bit_ctx): Likewise.
13118         (libc_feresetround_53bit_ctx): Likewise.
13119         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13120         (libc_feholdexcept_setround_sse_ctx): New function.
13121         (libc_fesetenv_sse_ctx): Likewise.
13122         (libc_feupdateenv_sse_ctx): Likewise.
13123         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13124         (libc_feholdexcept_setround_387_ctx): Likewise.
13125         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13126         (libc_feholdsetround_387_prec_ctx): Likewise.
13127         (libc_feholdsetround_387_ctx): Likewise.
13128         (libc_feholdsetround_387_53bit_ctx): Likewise.
13129         (libc_feholdsetround_sse_ctx): Likewise.
13130         (libc_feresetround_sse_ctx): Likewise.
13131         (libc_feresetround_387_ctx): Likewise.
13132         (libc_feupdateenv_387_ctx): Likewise.
13133         (libc_feholdexcept_setroundf_ctx): Define macro.
13134         (libc_fesetenvf_ctx): Likewise.
13135         (libc_feupdateenvf_ctx): Likewise.
13136         (libc_feholdsetroundf_ctx): Likewise.
13137         (libc_feresetroundf_ctx): Likewise.
13138         (libc_feholdexcept_setround_ctx): Likewise.
13139         (libc_fesetenv_ctx): Likewise.
13140         (libc_feupdateenv_ctx): Likewise.
13141         (libc_feholdsetround_ctx): Likewise.
13142         (libc_feresetround_ctx): Likewise.
13143         (libc_feholdexcept_setroundl_ctx): Likewise.
13144         (libc_feupdateenvl_ctx): Likewise.
13145         (libc_feholdsetroundl_ctx): Likewise.
13146         (libc_feresetroundl_ctx): Likewise.
13147         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13148         (libc_feresetround_53bit_ctx): Likewise.
13150 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13152         * locale/iso-639.def: Convert to UTF-8.
13154 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13156         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13157         (EXCEPTION_TESTS_double): Likewise.
13158         (EXCEPTION_TESTS_long_double): Likewise.
13159         (EXCEPTION_TESTS): Likewise.
13160         * math/libm-test.inc (test_exceptions): Only test exceptions if
13161         EXCEPTION_TESTS (FLOAT).
13163 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13165         * benchtests/Makefile (string-bench): Add strcpy_chk and
13166         stpcpy_chk.
13167         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13168         * benchtests/bench-stpcpy_chk.c: New file.
13169         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13170         * benchtests/bench-strcpy_chk.c: New file.
13171         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13172         code.
13173         (do_test): Likewise.
13175 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13177         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13178         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13179         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13180         with tabs where appropriate.
13181         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13182         dl-procinfo.h.
13183         [PPC_PLATFORM_PPC440]: Likewise.
13184         [PPC_PLATFORM_PPC464]: Likewise.
13185         [PPC_PLATFORM_PPC476]: Likewise.
13186         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13187         ppc464, and ppc476 platform strings merging from ports/
13188         dl-procinfo.h.
13190 2013-06-11  Andreas Schwab  <schwab@suse.de>
13192         [BZ #14991]
13193         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13194         (from_ucs4_idx): Regenerate.
13195         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13196         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13197         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13198         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13199         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13200         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13201         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13202         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13203         from FROM_LOOP and TO_LOOP specific macros.
13204         (BODY): Handle combining characters.
13205         * iconvdata/BIG5HKSCS.irreversible: Update.
13206         * iconvdata/BIG5HKSCS.precomposed: New file.
13207         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13208         characters.
13209         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13211 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13213         * include/sys/time.h: Fix indentation and add copyright header.
13215         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13216         (do_test): Likewise.
13217         * string/test-memchr.c (do_one_test): Likewise.
13218         (do_test): Likewise.
13219         * string/test-memcmp.c (do_one_test): Likewise.
13220         (do_test): Likewise.
13221         * string/test-memcpy.c (do_one_test): Likewise.
13222         (do_test): Likewise.
13223         * string/test-memmem.c (do_one_test): Likewise.
13224         (do_test): Likewise.
13225         (do_random_tests): Likewise.
13226         * string/test-memmove.c (do_one_test): Likewise.
13227         (do_test): Likewise.
13228         * string/test-memset.c (do_one_test): Likewise.
13229         (do_test): Likewise.
13230         * string/test-rawmemchr.c (do_one_test): Likewise.
13231         (do_test): Likewise.
13232         * string/test-strcasecmp.c (do_one_test): Likewise.
13233         (do_test): Likewise.
13234         * string/test-strcasestr.c (do_one_test): Likewise.
13235         (do_test): Likewise.
13236         * string/test-strcat.c (do_one_test): Likewise.
13237         (do_test): Likewise.
13238         * string/test-strchr.c (do_one_test): Likewise.
13239         (do_test): Likewise.
13240         * string/test-strcmp.c (do_one_test): Likewise.
13241         (do_test): Likewise.
13242         * string/test-strcpy.c (do_one_test): Likewise.
13243         (do_test): Likewise.
13244         * string/test-string.h: Likewise.
13245         (test_init): Likewise.
13246         * string/test-strlen.c (do_one_test): Likewise.
13247         (do_test): Likewise.
13248         * string/test-strncasecmp.c (do_one_test): Likewise.
13249         (do_test): Likewise.
13250         * string/test-strncat.c (do_one_test): Likewise.
13251         (do_test): Likewise.
13252         * string/test-strncmp.c (do_one_test): Likewise.
13253         (do_test_limit): Likewise.
13254         (do_test): Likewise.
13255         * string/test-strncpy.c (do_one_test): Likewise.
13256         (do_test): Likewise.
13257         * string/test-strnlen.c (do_one_test): Likewise.
13258         (do_test): Likewise.
13259         * string/test-strpbrk.c (do_one_test): Likewise.
13260         (do_test): Likewise.
13261         * string/test-strrchr.c (do_one_test): Likewise.
13262         (do_test): Likewise.
13263         * string/test-strspn.c (do_one_test): Likewise.
13264         (do_test): Likewise.
13265         * string/test-strstr.c (do_one_test): Likewise.
13266         (do_test): Likewise.
13268         * benchtests/Makefile (string-bench): Add string benchmarks.
13269         * benchtests/bench-bcopy-ifunc.c: New file.
13270         * benchtests/bench-bcopy.c: New file.
13271         * benchtests/bench-bzero-ifunc.c: New file.
13272         * benchtests/bench-bzero.c: New file.
13273         * benchtests/bench-memccpy-ifunc.c: New file.
13274         * benchtests/bench-memccpy.c: New file.
13275         * benchtests/bench-memchr-ifunc.c: New file.
13276         * benchtests/bench-memchr.c: New file.
13277         * benchtests/bench-memcmp-ifunc.c: New file.
13278         * benchtests/bench-memcmp.c: New file.
13279         * benchtests/bench-memmem-ifunc.c: New file.
13280         * benchtests/bench-memmem.c: New file.
13281         * benchtests/bench-memmove-ifunc.c: New file.
13282         * benchtests/bench-memmove.c: New file.
13283         * benchtests/bench-mempcpy-ifunc.c: New file.
13284         * benchtests/bench-mempcpy.c: New file.
13285         * benchtests/bench-memset-ifunc.c: New file.
13286         * benchtests/bench-memset.c: New file.
13287         * benchtests/bench-rawmemchr-ifunc.c: New file.
13288         * benchtests/bench-rawmemchr.c: New file.
13289         * benchtests/bench-stpcpy-ifunc.c: New file.
13290         * benchtests/bench-stpcpy.c: New file.
13291         * benchtests/bench-stpncpy-ifunc.c: New file.
13292         * benchtests/bench-stpncpy.c: New file.
13293         * benchtests/bench-strcasecmp-ifunc.c: New file.
13294         * benchtests/bench-strcasecmp.c: New file.
13295         * benchtests/bench-strcasestr-ifunc.c: New file.
13296         * benchtests/bench-strcasestr.c: New file.
13297         * benchtests/bench-strcat-ifunc.c: New file.
13298         * benchtests/bench-strcat.c: New file.
13299         * benchtests/bench-strchr-ifunc.c: New file.
13300         * benchtests/bench-strchr.c: New file.
13301         * benchtests/bench-strchrnul-ifunc.c: New file.
13302         * benchtests/bench-strchrnul.c: New file.
13303         * benchtests/bench-strcmp-ifunc.c: New file.
13304         * benchtests/bench-strcmp.c: New file.
13305         * benchtests/bench-strcpy-ifunc.c: New file.
13306         * benchtests/bench-strcpy.c: New file.
13307         * benchtests/bench-strcspn-ifunc.c: New file.
13308         * benchtests/bench-strcspn.c: New file.
13309         * benchtests/bench-strlen-ifunc.c: New file.
13310         * benchtests/bench-strlen.c: New file.
13311         * benchtests/bench-strncasecmp-ifunc.c: New file.
13312         * benchtests/bench-strncasecmp.c: New file.
13313         * benchtests/bench-strncat-ifunc.c: New file.
13314         * benchtests/bench-strncat.c: New file.
13315         * benchtests/bench-strncmp-ifunc.c: New file.
13316         * benchtests/bench-strncmp.c: New file.
13317         * benchtests/bench-strncpy-ifunc.c: New file.
13318         * benchtests/bench-strncpy.c: New file.
13319         * benchtests/bench-strnlen-ifunc.c: New file.
13320         * benchtests/bench-strnlen.c: New file.
13321         * benchtests/bench-strpbrk-ifunc.c: New file.
13322         * benchtests/bench-strpbrk.c: New file.
13323         * benchtests/bench-strrchr-ifunc.c: New file.
13324         * benchtests/bench-strrchr.c: New file.
13325         * benchtests/bench-strspn-ifunc.c: New file.
13326         * benchtests/bench-strspn.c: New file.
13327         * benchtests/bench-strstr-ifunc.c: New file.
13328         * benchtests/bench-strstr.c: New file.
13330         * benchtests/Makefile: Disable parallel execution of targets.
13331         (string-bench): Add memcpy.
13332         (benchset): New variable to store a list of benchmark sets.
13333         (bench-func): Renamed from bench.
13334         (bench-set): New target.
13335         (bench): Depend on bench-func and bench-set.
13336         * benchtests/README: Add section on benchmark sets.
13337         * benchtests/bench-memcpy-ifunc.c: New file.
13338         * benchtests/bench-memcpy.c: New file.
13339         * benchtests/bench-string.h: New file.
13341 2013-06-11  Andreas Schwab  <schwab@suse.de>
13343         [BZ #15577]
13344         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13345         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13346         values in the triple.
13347         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13348         terminator in the group key.
13350 2013-06-11  Andreas Jaeger  <aj@suse.de>
13352         * po/zh_TW.po: Update Chinese (traditional) translation from
13353         translation project.
13355 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13357         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13358         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13359         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13360         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13361         (clock_getcpuclockid): Likewise.
13362         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13363         Add weak_alias and libc_hidden_def.
13364         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13365         * rt/clock_gettime.c (clock_gettime): Rename to
13366         __clock_gettime.  Add weak_alias and libc_hidden_def.
13367         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13368         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13369         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13370         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13371         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13372         Likewise.
13373         * rt/clock_settime.c (clock_settime): Rename to
13374         __clock_settime.  Add weak_alias and libc_hidden_def.
13375         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13377 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13379         * mach/err_boot.sub: Remove trailing whitespace.
13380         * mach/err_ipc.sub: Likewise.
13381         * mach/err_mach.sub: Likewise.
13383         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13384         (ROUNDING_TESTS_double): Likewise.
13385         (ROUNDING_TESTS_long_double): Likewise.
13386         (ROUNDING_TESTS): Likewise.
13387         * math/libm-test.inc: Include <math-tests.h>.
13388         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13389         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13390         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13391         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13393 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13395         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13396         of assigning.
13398 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13400         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13401         otherwise empty TRANS lines.
13402         * sysdeps/gnu/errlist.c: Regenerated.
13404         * catgets/gencat.c (error_print): Use (void) in function
13405         definition.
13406         * crypt/crypt_util.c (__init_des): Likewise.
13407         * crypt/speeds.c (Stop): Likewise.
13408         (main): Likewise.
13409         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13410         * inet/ruserpass.c (token): Likewise.
13411         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13412         * intl/localealias.c (extend_alias_table): Likewise.
13413         * intl/plural-exp.c (init_germanic_plural): Likewise.
13414         * libio/fcloseall.c (__fcloseall): Likewise.
13415         * libio/genops.c (_IO_flush_all): Likewise.
13416         (_IO_flush_all_linebuffered): Likewise.
13417         (_IO_cleanup): Likewise.
13418         (_IO_iter_begin): Likewise.
13419         (_IO_iter_end): Likewise.
13420         (_IO_list_lock): Likewise.
13421         (_IO_list_unlock): Likewise.
13422         (_IO_list_resetlock): Likewise.
13423         * libio/getchar.c (getchar): Likewise.
13424         * libio/getchar_u.c (getchar_unlocked): Likewise.
13425         * libio/getwchar.c (getwchar): Likewise.
13426         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13427         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13428         * login/getpt.c (__getpt): Likewise.
13429         * login/tst-utmp.c (main): Likewise.
13430         * malloc/hooks.c (__malloc_check_init): Likewise.
13431         * malloc/malloc.c (__malloc_stats): Likewise.
13432         * malloc/mtrace.c (tr_break): Likewise.
13433         (mtrace): Likewise.
13434         (muntrace): Likewise.
13435         * misc/fstab.c (endfsent): Likewise.
13436         * misc/getclktck.c (__getclktck): Likewise.
13437         * misc/getdtsz.c (__getdtablesize): Likewise.
13438         * misc/gethostid.c (gethostid): Likewise.
13439         * misc/getpagesize.c (__getpagesize): Likewise.
13440         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13441         (__get_nprocs): Likewise.
13442         (__get_phys_pages): Likewise.
13443         (__get_avphys_pages): Likewise.
13444         * misc/getttyent.c (getttyent): Likewise.
13445         (setttyent): Likewise.
13446         (endttyent): Likewise.
13447         * misc/getusershell.c (getusershell): Likewise.
13448         (endusershell): Likewise.
13449         (setusershell): Likewise.
13450         (initshells): Likewise.
13451         * misc/hsearch.c (__hdestroy): Likewise.
13452         * misc/sync.c (sync): Likewise.
13453         * misc/syslog.c (closelog_internal): Likewise.
13454         (closelog): Likewise.
13455         * misc/ttyslot.c (ttyslot): Likewise.
13456         * misc/vhangup.c (vhangup): Likewise.
13457         * posix/fork.c (__fork): Likewise.
13458         * posix/getegid.c (__getegid): Likewise.
13459         * posix/geteuid.c (__geteuid): Likewise.
13460         * posix/getgid.c (__getgid): Likewise.
13461         * posix/getpid.c (__getpid): Likewise.
13462         * posix/getppid.c (__getppid): Likewise.
13463         * posix/getuid.c (__getuid): Likewise.
13464         * posix/pause.c (pause): Likewise.
13465         * posix/setpgrp.c (setpgrp): Likewise.
13466         * posix/setsid.c (__setsid): Likewise.
13467         * posix/test-vfork.c (noop): Likewise.
13468         * resolv/gethnamaddr.c (_endhtent): Likewise.
13469         (_gethtent): Likewise.
13470         (ht_endhostent): Likewise.
13471         (gethostent): Likewise.
13472         (dns_service): Likewise.
13473         * stdlib/drand48.c (drand48): Likewise.
13474         * stdlib/lrand48.c (lrand48): Likewise.
13475         * stdlib/mrand48.c (mrand48): Likewise.
13476         * stdlib/rand.c (rand): Likewise.
13477         * stdlib/random.c (__random): Likewise.
13478         * stdlib/setenv.c (clearenv): Likewise.
13479         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13480         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13481         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13482         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13483         (__get_nprocs): Likewise.
13484         (__get_phys_pages): Likewise.
13485         (__get_avphys_pages): Likewise.
13486         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13487         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13488         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13489         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13490         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13491         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13492         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13493         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13494         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13495         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13496         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13497         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13498         * sysdeps/posix/clock.c (clock): Likewise.
13499         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13500         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13501         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13502         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13503         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13504         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13505         (__get_nprocs_conf): Likewise.
13506         (__get_phys_pages): Likewise.
13507         (__get_avphys_pages): Likewise.
13508         * time/clock.c (clock): Likewise.
13509         * time/tzset.c (__tzname_max): Likewise.
13511 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13513         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13514         (__bswap_32): Do not use "register".
13515         * crypt/crypt.c (_ufc_doit_r): Likewise.
13516         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13517         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13518         * gmon/gmon.c (__monstartup): Likewise.
13519         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13520         * hurd/hurdmalloc.c (more_memory): Likewise.
13521         (malloc): Likewise.
13522         (free): Likewise.
13523         (realloc): Likewise.
13524         (malloc_fork_prepare): Likewise.
13525         (malloc_fork_parent): Likewise.
13526         (malloc_fork_child): Likewise.
13527         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13528         (_svcauth_des): Likewise.
13529         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13530         * inet/inet_net.c (inet_network): Likewise.
13531         * inet/inet_netof.c (inet_netof): Likewise.
13532         * inet/rcmd.c (__validuser2_sa): Likewise.
13533         * io/fts.c (fts_open): Likewise.
13534         (fts_load): Likewise.
13535         (fts_close): Likewise.
13536         (fts_read): Likewise.
13537         (fts_children): Likewise.
13538         (fts_build): Likewise.
13539         (fts_stat): Likewise.
13540         (fts_sort): Likewise.
13541         (fts_alloc): Likewise.
13542         (fts_lfree): Likewise.
13543         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13544         (_IO_file_xsgetn): Likewise.
13545         (_IO_file_xsgetn_mmap): Likewise.
13546         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13547         (_IO_cookie_write): Likewise.
13548         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13549         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13550         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13551         * malloc/obstack.c (_obstack_begin): Likewise.
13552         (_obstack_begin_1): Likewise.
13553         (_obstack_newchunk): Likewise.
13554         (_obstack_allocated_p): Likewise.
13555         (obstack_free): Likewise.
13556         (_obstack_memory_used): Likewise.
13557         * misc/getttyent.c (getttynam): Likewise.
13558         (getttyent): Likewise.
13559         (skip): Likewise.
13560         (value): Likewise.
13561         * misc/getusershell.c (initshells): Likewise.
13562         * misc/syslog.c (__vsyslog_chk): Likewise.
13563         * misc/ttyslot.c (ttyslot): Likewise.
13564         * nis/nis_hash.c (__nis_hash): Likewise.
13565         * posix/fnmatch_loop.c (FCT): Likewise.
13566         * posix/getconf.c (print_all): Likewise.
13567         (main): Likewise.
13568         * posix/getopt.c (exchange): Likewise.
13569         * posix/glob.c (globfree): Likewise.
13570         (prefix_array): Likewise.
13571         (__glob_pattern_type): Likewise.
13572         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13573         (NS_GET32): Likewise.
13574         (NS_PUT16): Likewise.
13575         (NS_PUT32): Likewise.
13576         * resolv/gethnamaddr.c (getanswer): Likewise.
13577         (gethostbyname2): Likewise.
13578         (gethostbyaddr): Likewise.
13579         (_gethtent): Likewise.
13580         (_gethtbyname2): Likewise.
13581         (_gethtbyaddr): Likewise.
13582         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13583         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13584         * resolv/res_init.c (__res_vinit): Likewise.
13585         (net_mask): Likewise.
13586         * resolv/res_mkquery.c (outchar): Likewise.
13587         (PRINT): Likewise.
13588         * stdio-common/printf_fp.c (outchar): Likewise.
13589         (PRINT): Likewise.
13590         * stdio-common/printf_fphex.c (outchar): Likewise.
13591         (PRINT): Likewise.
13592         * stdio-common/printf_size.c (outchar): Likewise.
13593         (PRINT): Likewise.
13594         * stdio-common/test_rdwr.c (main): Likewise.
13595         * stdio-common/tfformat.c (matches): Likewise.
13596         * stdio-common/vfprintf.c (outchar): Likewise.
13597         (printf_unknown): Likewise.
13598         (buffered_vfprintf): Likewise.
13599         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13600         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13601         (ReadFile): Likewise.
13602         * stdlib/qsort.c (SWAP): Likewise.
13603         (_quicksort): Likewise.
13604         * stdlib/setenv.c (__add_to_environ): Likewise.
13605         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13606         * stdlib/strtol_l.c (__strtol_l): Likewise.
13607         * stdlib/tst-strtod.c (main): Likewise.
13608         * stdlib/tst-strtol.c (main): Likewise.
13609         * stdlib/tst-strtoll.c (main): Likewise.
13610         * string/bits/string2.h (__strcmp_cc): Likewise.
13611         (__strcmp_cg): Likewise.
13612         (__strcspn_c1): Likewise.
13613         (__strcspn_c2): Likewise.
13614         (__strcspn_c3): Likewise.
13615         (__strspn_c1): Likewise.
13616         (__strspn_c2): Likewise.
13617         (__strspn_c3): Likewise.
13618         (__strsep_1c): Likewise.
13619         (__strsep_2c): Likewise.
13620         (__strsep_3c): Likewise.
13621         * string/memccpy.c (__memccpy): Likewise.
13622         * string/stpcpy.c (__stpcpy): Likewise.
13623         * string/strcmp.c (strcmp): Likewise.
13624         * string/strrchr.c (strrchr): Likewise.
13625         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13626         Likewise.
13627         * sysdeps/mach/hurd/getcwd.c
13628         (_hurd_canonicalize_directory_name_internal): Likewise.
13629         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13630         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13631         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13632         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13633         Likewise, in both definitions.
13634         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13635         definitions.
13636         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13637         64] (__bswap_64): Likewise.
13638         * time/test_time.c (main): Likewise.
13639         * time/tzfile.c (__tzfile_read): Likewise.
13640         (__tzfile_compute): Likewise.
13641         * time/tzset.c (__tzset_parse_tz): Likewise.
13642         (tzset_internal): Likewise.
13643         (compute_change): Likewise.
13644         * wcsmbs/wcscat.c (__wcscat): Likewise.
13645         * wcsmbs/wcschr.c (wcschr): Likewise.
13646         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13647         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13648         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13649         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13650         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13651         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13652         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13653         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13654         * wcsmbs/wmemset.c (wmemset): Likewise.
13656 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13658         * scripts/config.guess: Update to version 2013-05-16.
13659         * scripts/config.sub: Update to version 2013-04-24.
13660         * scripts/install-sh: Update to version 2011-11-20.07.
13661         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13662         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13664 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13666         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13667         * elf/sln.c: Likewise.
13668         * hurd/hurd/ioctl.h: Likewise.
13669         * hurd/hurdmalloc.c: Likewise.
13670         * hurd/xattr.c: Likewise.
13671         * include/shlib-compat.h: Likewise.
13672         * inet/ruserpass.c: Likewise.
13673         * libio/iofgets_u.c: Likewise.
13674         * libio/iofgetws_u.c: Likewise.
13675         * locale/programs/ld-identification.c: Likewise.
13676         * locale/programs/ld-time.c: Likewise.
13677         * mach/msg-destroy.c: Likewise.
13678         * nss/nss_files/files-netgrp.c: Likewise.
13679         * resolv/res_data.c: Likewise.
13680         * soft-fp/op-1.h: Likewise.
13681         * soft-fp/op-2.h: Likewise.
13682         * soft-fp/op-4.h: Likewise.
13683         * soft-fp/op-common.h: Likewise.
13684         * stdio-common/printf_fphex.c: Likewise.
13685         * stdlib/strtod_l.c: Likewise.
13686         * sunrpc/rpc/clnt.h: Likewise.
13687         * sysdeps/generic/framestate.c: Likewise.
13688         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13689         * sysdeps/i386/bsd-setjmp.S: Likewise.
13690         * sysdeps/i386/__longjmp.S: Likewise.
13691         * sysdeps/i386/setjmp.S: Likewise.
13692         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13693         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13694         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13695         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13697         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13699         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13700         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13701         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13702         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13703         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13704         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13705         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13706         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13707         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13708         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13709         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13710         * sysdeps/ieee754/support.c: Likewise.
13711         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13712         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13713         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13714         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13715         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13716         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13717         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13718         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13719         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13720         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13721         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13722         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13723         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13724         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13725         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13726         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13727         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13730 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13732         * posix/transbug.c: Remove executable mode.
13734 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13736         * crypt/speeds.c: Remove trailing whitespace.
13737         * dlfcn/default.c: Likewise.
13738         * elf/ifuncdep2.c: Likewise.
13739         * elf/ifuncmain1.c: Likewise.
13740         * elf/ifuncmain1vis.c: Likewise.
13741         * elf/testobj.h: Likewise.
13742         * elf/tst-stackguard1.c: Likewise.
13743         * gmon/sys/gmon.h: Likewise.
13744         * hurd/hurdmsg.c: Likewise.
13745         * hurd/new-fd.c: Likewise.
13746         * hurd/ports-get.c: Likewise.
13747         * iconvdata/ibm1008_420.c: Likewise.
13748         * inet/tst-getni1.c: Likewise.
13749         * inet/tst-getni2.c: Likewise.
13750         * libio/ioungetc.c: Likewise.
13751         * libio/wfiledoalloc.c: Likewise.
13752         * manual/libm-err-tab.pl: Likewise.
13753         * math/w_dremf.c: Likewise.
13754         * misc/ftruncate.c: Likewise.
13755         * posix/bug-glob2.c: Likewise.
13756         * posix/tst-pcre.c: Likewise.
13757         * posix/wait4.c: Likewise.
13758         * resolv/README: Likewise.
13759         * resolv/res_debug.h: Likewise.
13760         * resolv/tst-inet_ntop.c: Likewise.
13761         * setjmp/bug269-setjmp.c: Likewise.
13762         * soft-fp/extended.h: Likewise.
13763         * soft-fp/op-1.h: Likewise.
13764         * soft-fp/op-2.h: Likewise.
13765         * soft-fp/op-4.h: Likewise.
13766         * soft-fp/op-8.h: Likewise.
13767         * soft-fp/testit.c: Likewise.
13768         * stdio-common/bug16.c: Likewise.
13769         * stdlib/random.c: Likewise.
13770         * sunrpc/rpcsvc/rquota.x: Likewise.
13771         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13772         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13773         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13774         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13775         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13776         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13777         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13778         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13779         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13780         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13781         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13782         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13783         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13784         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13785         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13786         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13787         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13788         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13789         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13790         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13791         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13792         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13793         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13794         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13795         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13796         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13797         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13798         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13799         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13800         * sysdeps/ieee754/s_lib_version.c: Likewise.
13801         * sysdeps/mach/hurd/check_fds.c: Likewise.
13802         * sysdeps/mach/hurd/getsockname.c: Likewise.
13803         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13804         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13805         * sysdeps/powerpc/bits/link.h: Likewise.
13806         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13807         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13808         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13809         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13810         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13811         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13812         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13813         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13814         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13815         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13816         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13817         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13818         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13819         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13820         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13821         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13822         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13823         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13824         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13825         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13826         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13827         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13828         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13829         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13830         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13831         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13832         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13833         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13834         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13835         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13836         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13837         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13838         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13839         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13840         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13841         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13842         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
13843         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13844         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
13845         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
13846         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
13847         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
13848         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
13849         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
13850         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13851         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
13852         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
13853         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13854         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
13855         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
13856         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
13857         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
13858         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13859         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13860         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
13861         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
13862         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
13863         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13864         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
13865         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
13866         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
13867         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
13868         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
13869         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13870         * sysdeps/powerpc/sysdep.h: Likewise.
13871         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13872         * sysdeps/s390/s390-64/sub_n.S: Likewise.
13873         * sysdeps/sh/dl-trampoline.S: Likewise.
13874         * sysdeps/sh/memset.S: Likewise.
13875         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
13876         * sysdeps/sh/strlen.S: Likewise.
13877         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
13878         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
13879         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
13880         * sysdeps/sparc/sparc32/rem.S: Likewise.
13881         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
13882         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
13883         * sysdeps/sparc/sparc32/strchr.S: Likewise.
13884         * sysdeps/sparc/sparc32/udiv.S: Likewise.
13885         * sysdeps/sparc/sparc32/urem.S: Likewise.
13886         * sysdeps/sparc/sparc64/add_n.S: Likewise.
13887         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
13888         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
13889         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
13890         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
13891         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
13892         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
13893         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
13894         * sysdeps/unix/bsd/times.c: Likewise.
13895         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
13896         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13900         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
13901         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
13902         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13903         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
13904         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
13905         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
13907         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
13908         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
13909         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
13910         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
13911         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
13912         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
13913         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
13914         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
13915         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13916         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
13917         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
13918         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
13919         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
13920         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13921         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
13922         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
13923         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
13924         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
13925         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
13926         * sysdeps/x86_64/strcspn.S: Likewise.
13928 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13930         * locale/C-translit.h: Revert #include <stdint.h> because this is a
13931         generated file.  Regenerate properly from gen-translit.pl.
13932         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
13933         locale/C-translit.h.
13935 2013-06-05  Andreas Schwab  <schwab@suse.de>
13937         [BZ #15100]
13938         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
13939         week as 6 instead of -1.
13940         * time/tst-strptime.c (day_tests): Add test case.
13942 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
13944         * sysdeps/generic/math_private.h
13945         (libc_feholdexcept_setround_53bit): Replace with
13946         libc_feholdsetround_53bit.
13947         (libc_feupdateenv_53bit): Replace with
13948         libc_feresetround_53bit.
13949         (SET_RESTORE_ROUND_53BIT): Adjust.
13951 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
13953         * string/test-strchrnul.c: Add copyright header.
13955         * posix/tst-getaddrinfo4.c: Increase test timeout.
13957 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
13959         [BZ #15536]
13960         * math/libm-test.inc (MAX_EXP): Remove
13961         (MIN_EXP): Define.
13962         (ulp): Use MIN_EXP - MANT_DIG.
13963         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
13965 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
13967         * po/be.po: Revert last change.
13968         * po/zh_CN.po: Likewise.
13969         * po/header.pot: Likewise.
13971 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
13973         * Makefile ($(common-objpfx)linkobj/libc.so): Define
13974         link-libc-deps to empty as target-specific variable.
13975         * Makerules (link-libc-args): New variable.
13976         (libc-for-link): Likewise.
13977         (link-libc-deps): Likewise.
13978         (lib%.so): Depend on $(link-libc-deps).  Link with
13979         $(link-libc-args).
13980         (build-module): Link with $(link-libc-args).
13981         (build-module-asneeded): Likewise.
13982         (build-module-helper-objlist): Filter out $(link-libc-deps) from
13983         list of objects.
13984         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
13985         target-specific variable.
13986         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
13987         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
13988         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
13989         libc.
13990         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
13991         libc and ld.so.
13992         ($(objpfx)libpcprofile.so): Likewise.
13993         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
13994         libc_nonshared.a.
13995         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
13996         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
13997         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
13998         $(link-libc-deps).
13999         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14000         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14001         * login/Makefile ($(objpfx)libutil.so): Likewise.
14002         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14003         * math/Makefile ($(objpfx)libm.so): Likewise.
14004         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14005         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14006         variable instead of depending directly on libc.
14007         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14008         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14009         $(link-libc-deps).
14010         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14011         libc.
14012         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14013         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14014         ($(objpfx)libanl.so): Likewise.
14015         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14016         ld.so.
14017         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14018         $(link-libc-deps).
14019         * sysdeps/i386/fpu/Makefile: Remove file.
14020         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14021         ($(objpfx)libm.so): Remove dependency on ld.so.
14023 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14025         [BZ # 15553]
14026         * nis/yp_xdr.c (XDRMAXNAME): Define.
14027         (XDRMAXRECORD): Define.
14028         (xdr_domainname): Use XDRMAXNAME.
14029         (xdr_mapname): Likewise.
14030         (xdr_peername): Likewise.
14031         (xdr_keydat): Use XDRMAXRECORD.
14032         (xdr_valdat): Likewise.
14034 2013-05-30  Jeff Law  <law@redhat.com>
14036         [BZ #14256]
14037         * manual/errno.texi (ESTALE): Update to account for more than
14038         just NFS file systems.
14039         * sysdeps/gnu/errlist.c: Regenerated.
14041 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14043         [BZ #15465]
14044         * elf/Makefile (tests): Add tst-null-argv.
14045         (modules-names):  Add tst-null-argv-lib.
14046         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14047         (tst-null-argv-ENV): Set environment for tst-null-argv.
14048         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14049         (RTLD_PROGNAME): New macro.
14050         * elf/tst-null-argv.c: New test case.
14051         * elf/tst-null-argv-lib.c: Library for test case.
14052         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14053         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14054         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14055         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14056         * elf/dl-init.c (call_init): Likewise.
14057         (_dl_init): Likewise.
14058         * elf/dl-load.c (print_search_path): Likewise.
14059         (_dl_map_object): Likewise.
14060         * elf/dl-lookup.c (do_lookup_x): Likewise.
14061         (add_dependency): Likewise.
14062         (_dl_lookup_symbol_x): Likewise.
14063         (_dl_debug_bindings): Likewise.
14064         * elf/dl-open.c (_dl_show_scope): Likewise.
14065         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14066         * elf/dl-version.c (match_symbol): Likewise.
14067         (_dl_check_map_versions): Likewise.
14068         * elf/rtld.c (dl_main): Likewise.
14069         (print_unresolved): Use RTLD_PROGNAME.
14070         (print_missing_version): Likewise.
14071         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14072         (elf_machine_rela): Likewise.
14073         * sysdeps/powerpc/powerpc32/dl-machine.c
14074         (__process_machine_rela): Likewise.
14075         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14076         Likewise.
14077         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14078         Likewise.
14079         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14080         Likewise.
14081         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14082         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14083         Likewise.
14084         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14085         Likewise.
14086         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14088 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14090         * po/be.po: Add descriptive title.
14091         * po/zh_CN.po: Likewise.
14092         * po/header.pot: Likewise.
14094 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14096         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14097         error message.
14098         (enlarge_archive): Likewise.
14100 2013-05-28  Ben North  <ben@redfrontdoor.org>
14102         * manual/arith.texi (frexp): It is the magnitude of the return
14103         value which lies in [0.5, 1), not the return value itself.
14105 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14109 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14111         * stdio-common/bug26.c (main): Correct fscanf template.
14113         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14114         declare _dl_skip_args.
14116         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14117         Don't declare.
14119         * manual/platform.texi: Add missing @end deftypefun.
14121 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14123         [BZ #15529]
14124         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14125         bit of mantissa of 2^16382.
14126         * math/libm-test.inc (hypot_test_data): Add more tests.
14128         * math/libm-test.inc: Add drem and pow10 to list of tested
14129         functions.
14130         (pow10_test): New function.
14131         (drem_test): Likewise.
14132         (drem_test_tonearest): Likewise.
14133         (drem_test_towardzero): Likewise.
14134         (drem_test_downward): Likewise.
14135         (drem_test_upward): Likewise.
14136         (main): Call the new functions.
14138         * math/libm-test.inc (finite_test_data): Remove.
14139         (finite_test): Run tests from isfinite_test_data.
14140         (gamma_test_data): Remove.
14141         (gamma_test): Run tests from lgamma_test_data.
14142         * sysdeps/i386/fpu/libm-test-ulps: Update.
14143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14145 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14147         * manual/platform.texi: Add PowerPC PPR function set documentation.
14148         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14149         implementation.
14151 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14153         * math/libm-test.inc (MAX_EXP): Define.
14154         (ULPDIFF): Define.
14155         (ulp): New function.
14156         (check_float_internal): Use ULPDIFF.
14157         (cpow_test): Disable failing test.
14158         (check_ulp): Test ulp() implemetnation.
14159         (main): Call check_ulp before starting tests.
14161 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14163         * math/gen-libm-test.pl (generate_testfile): Do not handle
14164         START_DATA and END_DATA.
14165         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14166         END_DATA.
14167         (acos_tonearest_test_data): Likewise.
14168         (acos_towardzero_test_data): Likewise.
14169         (acos_downward_test_data): Likewise.
14170         (acos_upward_test_data): Likewise.
14171         (acosh_test_data): Likewise.
14172         (asin_test_data): Likewise.
14173         (asin_tonearest_test_data): Likewise.
14174         (asin_towardzero_test_data): Likewise.
14175         (asin_downward_test_data): Likewise.
14176         (asin_upward_test_data): Likewise.
14177         (asinh_test_data): Likewise.
14178         (atan_test_data): Likewise.
14179         (atanh_test_data): Likewise.
14180         (atan2_test_data): Likewise.
14181         (cabs_test_data): Likewise.
14182         (cacos_test_data): Likewise.
14183         (cacosh_test_data): Likewise.
14184         (carg_test_data): Likewise.
14185         (casin_test_data): Likewise.
14186         (casinh_test_data): Likewise.
14187         (catan_test_data): Likewise.
14188         (catanh_test_data): Likewise.
14189         (cbrt_test_data): Likewise.
14190         (ccos_test_data): Likewise.
14191         (ccosh_test_data): Likewise.
14192         (ceil_test_data): Likewise.
14193         (cexp_test_data): Likewise.
14194         (cimag_test_data): Likewise.
14195         (clog_test_data): Likewise.
14196         (clog10_test_data): Likewise.
14197         (conj_test_data): Likewise.
14198         (copysign_test_data): Likewise.
14199         (cos_test_data): Likewise.
14200         (cos_tonearest_test_data): Likewise.
14201         (cos_towardzero_test_data): Likewise.
14202         (cos_downward_test_data): Likewise.
14203         (cos_upward_test_data): Likewise.
14204         (cosh_test_data): Likewise.
14205         (cosh_tonearest_test_data): Likewise.
14206         (cosh_towardzero_test_data): Likewise.
14207         (cosh_downward_test_data): Likewise.
14208         (cosh_upward_test_data): Likewise.
14209         (cpow_test_data): Likewise.
14210         (cproj_test_data): Likewise.
14211         (creal_test_data): Likewise.
14212         (csin_test_data): Likewise.
14213         (csinh_test_data): Likewise.
14214         (csqrt_test_data): Likewise.
14215         (ctan_test_data): Likewise.
14216         (ctan_tonearest_test_data): Likewise.
14217         (ctan_towardzero_test_data): Likewise.
14218         (ctan_downward_test_data): Likewise.
14219         (ctan_upward_test_data): Likewise.
14220         (ctanh_test_data): Likewise.
14221         (ctanh_tonearest_test_data): Likewise.
14222         (ctanh_towardzero_test_data): Likewise.
14223         (ctanh_downward_test_data): Likewise.
14224         (ctanh_upward_test_data): Likewise.
14225         (erf_test_data): Likewise.
14226         (erfc_test_data): Likewise.
14227         (exp_test_data): Likewise.
14228         (exp_tonearest_test_data): Likewise.
14229         (exp_towardzero_test_data): Likewise.
14230         (exp_downward_test_data): Likewise.
14231         (exp_upward_test_data): Likewise.
14232         (exp10_test_data): Likewise.
14233         (exp2_test_data): Likewise.
14234         (expm1_test_data): Likewise.
14235         (fabs_test_data): Likewise.
14236         (fdim_test_data): Likewise.
14237         (finite_test_data): Likewise.
14238         (floor_test_data): Likewise.
14239         (fma_test_data): Likewise.
14240         (fma_towardzero_test_data): Likewise.
14241         (fma_downward_test_data): Likewise.
14242         (fma_upward_test_data): Likewise.
14243         (fmax_test_data): Likewise.
14244         (fmin_test_data): Likewise.
14245         (fmod_test_data): Likewise.
14246         (fpclassify_test_data): Likewise.
14247         (frexp_test_data): Likewise.
14248         (gamma_test_data): Likewise.
14249         (hypot_test_data): Likewise.
14250         (ilogb_test_data): Likewise.
14251         (isfinite_test_data): Likewise.
14252         (isgreater_test_data): Likewise.
14253         (isgreaterequal_test_data): Likewise.
14254         (isinf_test_data): Likewise.
14255         (isless_test_data): Likewise.
14256         (islessequal_test_data): Likewise.
14257         (islessgreater_test_data): Likewise.
14258         (isnan_test_data): Likewise.
14259         (isnormal_test_data): Likewise.
14260         (issignaling_test_data): Likewise.
14261         (isunordered_test_data): Likewise.
14262         (j0_test_data): Likewise.
14263         (j1_test_data): Likewise.
14264         (jn_test_data): Likewise.
14265         (ldexp_test_data): Likewise.
14266         (lgamma_test_data): Likewise.
14267         (lrint_test_data): Likewise.
14268         (lrint_tonearest_test_data): Likewise.
14269         (lrint_towardzero_test_data): Likewise.
14270         (lrint_downward_test_data): Likewise.
14271         (lrint_upward_test_data): Likewise.
14272         (llrint_test_data): Likewise.
14273         (llrint_tonearest_test_data): Likewise.
14274         (llrint_towardzero_test_data): Likewise.
14275         (llrint_downward_test_data): Likewise.
14276         (llrint_upward_test_data): Likewise.
14277         (log_test_data): Likewise.
14278         (log10_test_data): Likewise.
14279         (log1p_test_data): Likewise.
14280         (log2_test_data): Likewise.
14281         (logb_test_data): Likewise.
14282         (logb_downward_test_data): Likewise.
14283         (lround_test_data): Likewise.
14284         (llround_test_data): Likewise.
14285         (modf_test_data): Likewise.
14286         (nearbyint_test_data): Likewise.
14287         (nextafter_test_data): Likewise.
14288         (nexttoward_test_data): Likewise.
14289         (pow_test_data): Likewise.
14290         (pow_tonearest_test_data): Likewise.
14291         (pow_towardzero_test_data): Likewise.
14292         (pow_downward_test_data): Likewise.
14293         (pow_upward_test_data): Likewise.
14294         (remainder_test_data): Likewise.
14295         (remainder_tonearest_test_data): Likewise.
14296         (remainder_towardzero_test_data): Likewise.
14297         (remainder_downward_test_data): Likewise.
14298         (remainder_upward_test_data): Likewise.
14299         (remquo_test_data): Likewise.
14300         (rint_test_data): Likewise.
14301         (rint_tonearest_test_data): Likewise.
14302         (rint_towardzero_test_data): Likewise.
14303         (rint_downward_test_data): Likewise.
14304         (rint_upward_test_data): Likewise.
14305         (round_test_data): Likewise.
14306         (scalb_test_data): Likewise.
14307         (scalbn_test_data): Likewise.
14308         (scalbln_test_data): Likewise.
14309         (signbit_test_data): Likewise.
14310         (sin_test_data): Likewise.
14311         (sin_tonearest_test_data): Likewise.
14312         (sin_towardzero_test_data): Likewise.
14313         (sin_downward_test_data): Likewise.
14314         (sin_upward_test_data): Likewise.
14315         (sincos_test_data): Likewise.
14316         (sinh_test_data): Likewise.
14317         (sinh_tonearest_test_data): Likewise.
14318         (sinh_towardzero_test_data): Likewise.
14319         (sinh_downward_test_data): Likewise.
14320         (sinh_upward_test_data): Likewise.
14321         (sqrt_test_data): Likewise.
14322         (tan_test_data): Likewise.
14323         (tan_tonearest_test_data): Likewise.
14324         (tan_towardzero_test_data): Likewise.
14325         (tan_downward_test_data): Likewise.
14326         (tan_upward_test_data): Likewise.
14327         (tanh_test_data): Likewise.
14328         (tgamma_test_data): Likewise.
14329         (trunc_test_data): Likewise.
14330         (y0_test_data): Likewise.
14331         (y1_test_data): Likewise.
14332         (yn_test_data): Likewise.
14333         (significand_test_data): Likewise.
14335         * math/gen-libm-test.pl (@functions): Remove variable.
14336         (generate_testfile): Don't handle START and END lines.
14337         * math/libm-test.inc (START): New macro.
14338         (END): Likewise.
14339         (END_COMPLEX): Likewise.
14340         (acos_test): Use END macro without arguments.
14341         (acos_test_tonearest): Likewise.
14342         (acos_test_towardzero): Likewise.
14343         (acos_test_downward): Likewise.
14344         (acos_test_upward): Likewise.
14345         (acosh_test): Likewise.
14346         (asin_test): Likewise.
14347         (asin_test_tonearest): Likewise.
14348         (asin_test_towardzero): Likewise.
14349         (asin_test_downward): Likewise.
14350         (asin_test_upward): Likewise.
14351         (asinh_test): Likewise.
14352         (atan_test): Likewise.
14353         (atanh_test): Likewise.
14354         (atan2_test): Likewise.
14355         (cabs_test): Likewise.
14356         (cacos_test): Use END_COMPLEX macro without arguments.
14357         (cacosh_test): Likewise.
14358         (carg_test): Use END macro without arguments.
14359         (casin_test): Use END_COMPLEX macro without arguments.
14360         (casinh_test): Likewise.
14361         (catan_test): Likewise.
14362         (catanh_test): Likewise.
14363         (cbrt_test): Use END macro without arguments.
14364         (ccos_test): Use END_COMPLEX macro without arguments.
14365         (ccosh_test): Likewise.
14366         (ceil_test): Use END macro without arguments.
14367         (cexp_test): Use END_COMPLEX macro without arguments.
14368         (cimag_test): Use END macro without arguments.
14369         (clog_test): Use END_COMPLEX macro without arguments.
14370         (clog10_test): Likewise.
14371         (conj_test): Likewise.
14372         (copysign_test): Use END macro without arguments.
14373         (cos_test): Likewise.
14374         (cos_test_tonearest): Likewise.
14375         (cos_test_towardzero): Likewise.
14376         (cos_test_downward): Likewise.
14377         (cos_test_upward): Likewise.
14378         (cosh_test): Likewise.
14379         (cosh_test_tonearest): Likewise.
14380         (cosh_test_towardzero): Likewise.
14381         (cosh_test_downward): Likewise.
14382         (cosh_test_upward): Likewise.
14383         (cpow_test): Use END_COMPLEX macro without arguments.
14384         (cproj_test): Likewise.
14385         (creal_test): Use END macro without arguments.
14386         (csin_test): Use END_COMPLEX macro without arguments.
14387         (csinh_test): Likewise.
14388         (csqrt_test): Likewise.
14389         (ctan_test): Likewise.
14390         (ctan_test_tonearest): Likewise.
14391         (ctan_test_towardzero): Likewise.
14392         (ctan_test_downward): Likewise.
14393         (ctan_test_upward): Likewise.
14394         (ctanh_test): Likewise.
14395         (ctanh_test_tonearest): Likewise.
14396         (ctanh_test_towardzero): Likewise.
14397         (ctanh_test_downward): Likewise.
14398         (ctanh_test_upward): Likewise.
14399         (erf_test): Use END macro without arguments.
14400         (erfc_test): Likewise.
14401         (exp_test): Likewise.
14402         (exp_test_tonearest): Likewise.
14403         (exp_test_towardzero): Likewise.
14404         (exp_test_downward): Likewise.
14405         (exp_test_upward): Likewise.
14406         (exp10_test): Likewise.
14407         (exp2_test): Likewise.
14408         (expm1_test): Likewise.
14409         (fabs_test): Likewise.
14410         (fdim_test): Likewise.
14411         (finite_test): Likewise.
14412         (floor_test): Likewise.
14413         (fma_test): Likewise.
14414         (fma_test_towardzero): Likewise.
14415         (fma_test_downward): Likewise.
14416         (fma_test_upward): Likewise.
14417         (fmax_test): Likewise.
14418         (fmin_test): Likewise.
14419         (fmod_test): Likewise.
14420         (fpclassify_test): Likewise.
14421         (frexp_test): Likewise.
14422         (gamma_test): Likewise.
14423         (hypot_test): Likewise.
14424         (ilogb_test): Likewise.
14425         (isfinite_test): Likewise.
14426         (isgreater_test): Likewise.
14427         (isgreaterequal_test): Likewise.
14428         (isinf_test): Likewise.
14429         (isless_test): Likewise.
14430         (islessequal_test): Likewise.
14431         (islessgreater_test): Likewise.
14432         (isnan_test): Likewise.
14433         (isnormal_test): Likewise.
14434         (issignaling_test): Likewise.
14435         (isunordered_test): Likewise.
14436         (j0_test): Likewise.
14437         (j1_test): Likewise.
14438         (jn_test): Likewise.
14439         (ldexp_test): Likewise.
14440         (lgamma_test): Likewise.
14441         (lrint_test): Likewise.
14442         (lrint_test_tonearest): Likewise.
14443         (lrint_test_towardzero): Likewise.
14444         (lrint_test_downward): Likewise.
14445         (lrint_test_upward): Likewise.
14446         (llrint_test): Likewise.
14447         (llrint_test_tonearest): Likewise.
14448         (llrint_test_towardzero): Likewise.
14449         (llrint_test_downward): Likewise.
14450         (llrint_test_upward): Likewise.
14451         (log_test): Likewise.
14452         (log10_test): Likewise.
14453         (log1p_test): Likewise.
14454         (log2_test): Likewise.
14455         (logb_test): Likewise.
14456         (logb_test_downward): Likewise.
14457         (lround_test): Likewise.
14458         (llround_test): Likewise.
14459         (modf_test): Likewise.
14460         (nearbyint_test): Likewise.
14461         (nextafter_test): Likewise.
14462         (nexttoward_test): Likewise.
14463         (pow_test): Likewise.
14464         (pow_test_tonearest): Likewise.
14465         (pow_test_towardzero): Likewise.
14466         (pow_test_downward): Likewise.
14467         (pow_test_upward): Likewise.
14468         (remainder_test): Likewise.
14469         (remainder_test_tonearest): Likewise.
14470         (remainder_test_towardzero): Likewise.
14471         (remainder_test_downward): Likewise.
14472         (remainder_test_upward): Likewise.
14473         (remquo_test): Likewise.
14474         (rint_test): Likewise.
14475         (rint_test_tonearest): Likewise.
14476         (rint_test_towardzero): Likewise.
14477         (rint_test_downward): Likewise.
14478         (rint_test_upward): Likewise.
14479         (round_test): Likewise.
14480         (scalb_test): Likewise.
14481         (scalbn_test): Likewise.
14482         (scalbln_test): Likewise.
14483         (signbit_test): Likewise.
14484         (sin_test): Likewise.
14485         (sin_test_tonearest): Likewise.
14486         (sin_test_towardzero): Likewise.
14487         (sin_test_downward): Likewise.
14488         (sin_test_upward): Likewise.
14489         (sincos_test): Likewise.
14490         (sinh_test): Likewise.
14491         (sinh_test_tonearest): Likewise.
14492         (sinh_test_towardzero): Likewise.
14493         (sinh_test_downward): Likewise.
14494         (sinh_test_upward): Likewise.
14495         (sqrt_test): Likewise.
14496         (tan_test): Likewise.
14497         (tan_test_tonearest): Likewise.
14498         (tan_test_towardzero): Likewise.
14499         (tan_test_downward): Likewise.
14500         (tan_test_upward): Likewise.
14501         (tanh_test): Likewise.
14502         (tgamma_test): Likewise.
14503         (trunc_test): Likewise.
14504         (y0_test): Likewise.
14505         (y1_test): Likewise.
14506         (yn_test): Likewise.
14507         (significand_test): Likewise.
14509 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14511         [BZ #15381]
14512         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14514 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14516         [BZ #14894]
14517         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14518         __ppc_mdoio and __ppc_mdoom.
14519         * manual/platform.texi: Document new functions __ppc_yield,
14520         __ppc_mdoio and __ppc_mdoom.
14522 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14524         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14525         (main): Mention "tls" pseudo-hwcap is legacy.
14526         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14528 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14530         * math/gen-libm-test.pl (parse_args): Output only string of
14531         arguments as text for test name, not full call or descriptions of
14532         tests for extra outputs.
14533         (generate_testfile): Do not pass function name to parse_args.
14534         Generate this_func variable from START.
14535         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14536         field to arg_str.
14537         (struct test_ff_f_data): Likewise.
14538         (test_ff_f_data_nexttoward): Likewise.
14539         (struct test_fi_f_data): Likewise.
14540         (struct test_fl_f_data): Likewise.
14541         (struct test_if_f_data): Likewise.
14542         (struct test_fff_f_data): Likewise.
14543         (struct test_c_f_data): Likewise.
14544         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14545         (struct test_fF_f1_data): Likewise.
14546         (struct test_ffI_f1_data): Likewise.
14547         (struct test_c_c_data): Rename test_name field to arg_str.
14548         (struct test_cc_c_data): Likewise.
14549         (struct test_f_i_data): Likewise.
14550         (struct test_ff_i_data): Likewise.
14551         (struct test_f_l_data): Likewise.
14552         (struct test_f_L_data): Likewise.
14553         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14554         and extra2_name.
14555         (COMMON_TEST_SETUP): New macro.
14556         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14557         (COMMON_TEST_CLEANUP): Likewise.
14558         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14559         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14560         macros.
14561         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14562         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14563         macros.
14564         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14565         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14566         cleanup macros.
14567         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14568         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14569         macros.
14570         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14571         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14572         macros.
14573         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14574         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14575         cleanup macros.
14576         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14577         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14578         cleanup macros.
14579         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14580         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14581         cleanup macros.
14582         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14583         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14584         macros.
14585         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14586         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14587         macros.
14588         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14589         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14590         macros.
14591         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14592         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14593         cleanup macros.
14594         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14595         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14596         cleanup macros.
14597         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14598         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14599         macros.
14600         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14601         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14602         cleanup macros.
14603         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14604         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14605         macros.
14606         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14607         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14608         macros.
14609         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14610         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14611         cleanup macros.
14612         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14614 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14616         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14617         to _sifields.sigfault.
14618         (si_addr_lsb): Define new macro.
14619         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14620         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14621         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14623 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14625         [BZ #15441]
14626         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14627         returns -1.
14628         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14629         null return -1.
14630         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14631         loading the domain.
14633 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14635         * math/gen-libm-test.pl (parse_args): Do not include expected
14636         result in test name.
14637         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14638         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14639         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14640         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14641         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14644 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14646         * benchtests/Makefile: Sort function entries.
14648         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14649         tanh, asinh, acosh, atanh.
14650         * benchtests/acos-inputs: New file.
14651         * benchtests/acosh-inputs: New file.
14652         * benchtests/asin-inputs: New file.
14653         * benchtests/asinh-inputs: New file.
14654         * benchtests/atanh-inputs: New file.
14655         * benchtests/cosh-inputs: New file.
14656         * benchtests/log-inputs: New file.
14657         * benchtests/sinh-inputs: New file.
14658         * benchtests/tanh-inputs: New file.
14660 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14662         [BZ #15339]
14663         * posix/tst-getaddrinfo4.c: New test.
14664         * posix/Makefile (tests): Add it.
14666 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14668         [BZ #15339]
14669         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14670         when no services were used.
14671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14672         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14674 2013-05-21  Andreas Schwab  <schwab@suse.de>
14676         [BZ #15014]
14677         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14678         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14679         successful.
14680         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14681         redundant variable declarations and reallocation of buffer when
14682         parsing as IPv6 address.  Always set NSS status when called from
14683         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14684         buffer too small.  Correct computation of needed size.
14685         * nss/Makefile (tests): Add test-digits-dots.
14686         * nss/test-digits-dots.c: New test.
14688 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14690         * benchtests/Makefile: Remove instructions for adding
14691         benchmark tests.
14692         * benchtests/README: New file to explain how to execute and
14693         enhance the benchmark tests.
14695 2013-05-21  Andreas Schwab  <schwab@suse.de>
14697         [BZ #15493]
14698         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14699         * setjmp/tst-sigsetjmp.c: New test.
14701 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14703         * sysdeps/x86_64/memset.S (memset): New implementation.
14704         (__bzero): Likewise.
14705         (__memset_tail): New function.
14707 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14709         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14710         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14711         __memcpy_sse2_unaligned ifunc selection.
14712         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14713         Add memcpy-sse2-unaligned.S.
14714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14715         Add: __memcpy_sse2_unaligned.
14717 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14719         [BZ #15490]
14720         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14721         math_force_eval before restoring floating-point envrionment.
14722         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14723         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14724         Likewise.
14725         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14726         <math_private.h>.
14727         (__nearbyintl): Use math_force_eval before restoring
14728         floating-point environment.
14729         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14731         * math/gen-libm-test.pl (special_functions): Remove.
14732         (parse_args): Don't handle TEST_extra.  Handle functions with no
14733         return value.
14734         * math/libm-test.inc (struct test_sincos_data): Replace with
14735         struct test_fFF_11_data.
14736         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14737         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14738         (sincos_test_data): Change element type to struct
14739         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14740         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14741         RUN_TEST_LOOP_sincos.
14742         * math/README.libm-test: Don't mention special handling of
14743         individual functions.
14744         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14745         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14746         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14747         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14748         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14751         * math/gen-libm-test.pl (get_variable): Remove function.
14752         (parse_args): Don't show pointer parameters to call in test
14753         names.  Use "extra output N" in test names for extra outputs
14754         rather than naming variables.
14756 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14758         [BZ #15488]
14759         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14760         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14761         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14762         double tests.
14763         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14764         disable.
14765         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14766         check_long_double.
14768         * math/gen-libm-test.pl (@tests): Remove variable.
14769         ($count): Likewise.
14770         (new_test): Remove function.
14771         (show_exceptions): New function.
14772         (special_functions): Use show_exceptions instead of new_test.
14773         (parse_args): Likewise.
14774         (generate_testfile): Pass only function name in generated call to
14775         print_max_error or print_complex_max_error.
14776         (get_ulps): Do not handle complex tests specially.
14777         (output_test): Rename to ...
14778         (get_all_ulps_for_test): ... this.  Return a string rather than
14779         printing to a file.  Require ulps to be present.
14780         (output_ulps): Generate arrays rather than #defines.
14781         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14782         (struct ulp_data): New type.
14783         (BUILD_COMPLEX_ULP): Remove macro.
14784         (compare_ulp_data): New function.
14785         (find_ulps): Likewise.
14786         (find_test_ulps): Likewise.
14787         (find_function_ulps): Likewise.
14788         (find_complex_function_ulps): Likewise.
14789         (print_max_error): Determine allowed ulps using
14790         find_function_ulps.
14791         (print_complex_max_error): Determine allowed ulps using
14792         find_complex_function_ulps.
14793         (check_float_internal): Determine max ulps using find_test_ulps.
14794         (check_float): Do not take max_ulp parameter.  Update call to
14795         check_float_internal.
14796         (check_complex): Likewise.
14797         (check_int): Do not take max_ulp parameter.
14798         (check_long): Likewise.
14799         (check_bool): Likewise.
14800         (check_longlong): Likewise.
14801         (struct test_f_f_data): Remove max_ulp field.
14802         (struct test_ff_f_data): Likewise.
14803         (struct test_ff_f_data_nexttoward): Likewise.
14804         (struct test_fi_f_data): Likewise.
14805         (struct test_fl_f_data): Likewise.
14806         (struct test_if_f_data): Likewise.
14807         (struct test_fff_f_data): Likewise.
14808         (struct test_c_f_data): Likewise.
14809         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14810         (struct test_fF_f1_data): Likewise.
14811         (struct test_ffI_f1_data): Likewise.
14812         (struct test_c_c_data): Remove max_ulp field.
14813         (struct test_cc_c_data): Likewise.
14814         (struct test_f_i_data): Likewise.
14815         (struct test_ff_i_data): Likewise.
14816         (struct test_f_l_data): Likewise.
14817         (struct test_f_L_data): Likewise.
14818         (struct test_sincos_data): Likewise.
14819         (RUN_TEST_f_f): Do not handle ulps.
14820         (RUN_TEST_LOOP_f_f): Likewise.
14821         (RUN_TEST_2_f): Likewise.
14822         (RUN_TEST_LOOP_2_f): Likewise.
14823         (RUN_TEST_fff_f): Likewise.
14824         (RUN_TEST_LOOP_fff_f): Likewise.
14825         (RUN_TEST_c_f): Likewise.
14826         (RUN_TEST_LOOP_c_f): Likewise.
14827         (RUN_TEST_f_f1): Likewise.
14828         (RUN_TEST_LOOP_f_f1): Likewise.
14829         (RUN_TEST_fF_f1): Likewise.
14830         (RUN_TEST_LOOP_fF_f1): Likewise.
14831         (RUN_TEST_fI_f1): Likewise.
14832         (RUN_TEST_LOOP_fI_f1): Likewise.
14833         (RUN_TEST_ffI_f1): Likewise.
14834         (RUN_TEST_LOOP_ffI_f1): Likewise.
14835         (RUN_TEST_c_c): Likewise.
14836         (RUN_TEST_LOOP_c_c): Likewise.
14837         (RUN_TEST_cc_c): Likewise.
14838         (RUN_TEST_LOOP_cc_c): Likewise.
14839         (RUN_TEST_f_i): Likewise.
14840         (RUN_TEST_LOOP_f_i): Likewise.
14841         (RUN_TEST_f_i_tg): Likewise.
14842         (RUN_TEST_LOOP_f_i_tg): Likewise.
14843         (RUN_TEST_ff_i_tg): Likewise.
14844         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14845         (RUN_TEST_f_b): Likewise.
14846         (RUN_TEST_LOOP_f_b): Likewise.
14847         (RUN_TEST_f_b_tg): Likewise.
14848         (RUN_TEST_LOOP_f_b_tg): Likewise.
14849         (RUN_TEST_f_l): Likewise.
14850         (RUN_TEST_LOOP_f_l): Likewise.
14851         (RUN_TEST_f_L): Likewise.
14852         (RUN_TEST_LOOP_f_L): Likewise.
14853         (RUN_TEST_sincos): Likewise.
14854         (RUN_TEST_LOOP_sincos): Likewise.
14856 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
14858         [BZ #15480]
14859         [BZ #15485]
14860         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
14861         main case of finite arguments, set rounding mode to FE_TONEAREST
14862         and discard exceptions.
14863         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
14864         exceptions.
14865         (remainder_tonearest_test_data): New variable.
14866         (remainder_test_tonearest): New function.
14867         (remainder_towardzero_test_data): New variable.
14868         (remainder_test_towardzero): New function.
14869         (remainder_downward_test_data): New variable.
14870         (remainder_test_downward): New function.
14871         (remainder_upward_test_data): New variable.
14872         (remainder_test_upward): New function.
14873         (main): Call the new test functions.
14875         * math/libm-test.inc (struct test_f_f1_data): Remove field
14876         extra_init.
14877         (struct test_fF_f1_data): Likewise.
14878         (struct test_ffI_f1_data): Likewise.
14879         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
14880         based on value of EXTRA_EXPECTED.
14881         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14882         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
14883         EXTRA_VAR based on value of EXTRA_EXPECTED.
14884         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14885         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
14886         EXTRA_VAR based on value of EXTRA_EXPECTED.
14887         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14888         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
14889         EXTRA_VAR based on value of EXTRA_EXPECTED.
14890         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14891         * math/gen-libm-test.pl (parse_args): Don't output initializers
14892         for extra output values.
14894         * math/libm-test.inc (check_int): Expect result to be exactly
14895         equal to expected value and do not handle ulps.
14896         (check_long): Likewise.
14897         (check_longlong): Likewise.
14899         * math/libm-test.inc (ceil_test_data): Test for "inexact"
14900         exceptions.
14901         (cimag_test_data): Likewise.
14902         (conj_test_data): Likewise.
14903         (copysign_test_data): Likewise.
14904         (cproj_test_data): Likewise.
14905         (creal_test_data): Likewise.
14906         (fabs_test_data): Likewise.
14907         (fdim_test_data): Likewise.
14908         (finite_test_data): Likewise.
14909         (floor_test_data): Likewise.
14910         (fmax_test_data): Likewise.
14911         (fmin_test_data): Likewise.
14912         (fmod_test_data): Likewise.
14913         (fpclassify_test_data): Likewise.
14914         (frexp_test_data): Likewise.
14915         (ilogb_test_data): Likewise.
14916         (isfinite_test_data): Likewise.
14917         (isgreater_test_data): Likewise.
14918         (isgreaterequal_test_data): Likewise.
14919         (isinf_test_data): Likewise.
14920         (isless_test_data): Likewise.
14921         (islessequal_test_data): Likewise.
14922         (islessgreater_test_data): Likewise.
14923         (isnan_test_data): Likewise.
14924         (isnormal_test_data): Likewise.
14925         (issignaling_test_data): Likewise.
14926         (isunordered_test_data): Likewise.
14927         (ldexp_test_data): Likewise.
14928         (lrint_test_data): Likewise.
14929         (lrint_test_data) [TEST_FLOAT]: Disable one test.
14930         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
14931         (lrint_tonearest_test_data): Test for "inexact" exceptions.
14932         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14933         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
14934         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14935         test input.
14936         (lrint_towardzero_test_data): Test for "inexact" exceptions.
14937         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14938         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
14939         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
14940         that test input.
14941         (lrint_downward_test_data): Test for "inexact" exceptions.
14942         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14943         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
14944         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
14945         test input.
14946         (lrint_upward_test_data): Test for "inexact" exceptions.
14947         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
14948         test input.
14949         (llrint_test_data): Test for "inexact" exceptions.
14950         (llrint_test_data) [TEST_FLOAT]: Disable one test.
14951         (llrint_tonearest_test_data): Test for "inexact" exceptions.
14952         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
14953         (llrint_towardzero_test_data): Test for "inexact" exceptions.
14954         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
14955         (llrint_downward_test_data): Test for "inexact" exceptions.
14956         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
14957         (llrint_upward_test_data): Test for "inexact" exceptions.
14958         (logb_test_data): Likewise.
14959         (logb_downward_test_data): Likewise.
14960         (nextafter_test_data): Likewise.
14961         (nexttoward_test_data): Likewise.
14962         (remainder_test_data): Likewise.
14963         (remquo_test_data): Likewise.
14964         (scalbn_test_data): Likewise.
14965         (scalbln_test_data): Likewise.
14966         (signbit_test_data): Likewise.
14967         (sqrt_test_data): Likewise.
14968         (significand_test_data): Likewise.
14970 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14972         [BZ #15424]
14973         * benchtests/bench-modf.c (struct args): Mark arg0 as
14974         volatile.
14975         * scripts/bench.pl: Mark members of struct args as volatile.
14977 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14979         [BZ # 15497]
14980         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
14981         negative infinity on POWER6 or lower.
14982         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
14984 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
14986         [BZ #15442]
14987         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
14988         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
14989         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
14990         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
14991         (_FP_SETQNAN): New macro.
14992         (_FP_SETQNAN_SEMIRAW): Likewise.
14993         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
14994         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
14995         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
14996         (FP_EXTEND): Use _FP_FRAC_SNANP.
14997         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
14998         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
14999         into account.
15000         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15001         New macro.
15002         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15003         Likewise.
15005 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15007         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15008         with DIVIDE_BY_ZERO_EXCEPTION.
15009         (gamma_test_data): Likewise.
15010         (lgamma_test_data): Likewise.
15011         (log_test_data): Likewise.
15012         (log10_test_data): Likewise.
15013         (log2_test_data): Likewise.
15014         (tgamma_test_data): Likewise.
15016         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15017         (acos_test_tonearest): Likewise.
15018         (acos_test_towardzero): Likewise.
15019         (acos_test_downward): Likewise.
15020         (acos_test_upward): Likewise.
15021         (acosh_test): Likewise.
15022         (asin_test): Likewise.
15023         (asin_test_tonearest): Likewise.
15024         (asin_test_towardzero): Likewise.
15025         (asin_test_downward): Likewise.
15026         (asin_test_upward): Likewise.
15027         (asinh_test): Likewise.
15028         (atan_test): Likewise.
15029         (atanh_test): Likewise.
15030         (atan2_test): Likewise.
15031         (cabs_test): Likewise.
15032         (cacos_test): Likewise.
15033         (cacosh_test): Likewise.
15034         (casin_test): Likewise.
15035         (casinh_test): Likewise.
15036         (catan_test): Likewise.
15037         (catanh_test): Likewise.
15038         (cbrt_test): Likewise.
15039         (ccos_test): Likewise.
15040         (ccosh_test): Likewise.
15041         (cexp_test): Likewise.
15042         (clog_test): Likewise.
15043         (clog10_test): Likewise.
15044         (cos_test): Likewise.
15045         (cos_test_tonearest): Likewise.
15046         (cos_test_towardzero): Likewise.
15047         (cos_test_downward): Likewise.
15048         (cos_test_upward): Likewise.
15049         (cosh_test): Likewise.
15050         (cosh_test_tonearest): Likewise.
15051         (cosh_test_towardzero): Likewise.
15052         (cosh_test_downward): Likewise.
15053         (cosh_test_upward): Likewise.
15054         (cpow_test): Likewise.
15055         (csin_test): Likewise.
15056         (csinh_test): Likewise.
15057         (csqrt_test): Likewise.
15058         (ctan_test): Likewise.
15059         (ctan_test_tonearest): Likewise.
15060         (ctan_test_towardzero): Likewise.
15061         (ctan_test_downward): Likewise.
15062         (ctan_test_upward): Likewise.
15063         (ctanh_test): Likewise.
15064         (ctanh_test_tonearest): Likewise.
15065         (ctanh_test_towardzero): Likewise.
15066         (ctanh_test_downward): Likewise.
15067         (ctanh_test_upward): Likewise.
15068         (erf_test): Likewise.
15069         (erfc_test): Likewise.
15070         (exp_test): Likewise.
15071         (exp_test_tonearest): Likewise.
15072         (exp_test_towardzero): Likewise.
15073         (exp_test_downward): Likewise.
15074         (exp_test_upward): Likewise.
15075         (exp10_test): Likewise.
15076         (exp2_test): Likewise.
15077         (expm1_test): Likewise.
15078         (fmod_test): Likewise.
15079         (gamma_test): Likewise.
15080         (hypot_test): Likewise.
15081         (j0_test): Likewise.
15082         (j1_test): Likewise.
15083         (jn_test): Likewise.
15084         (lgamma_test): Likewise.
15085         (log_test): Likewise.
15086         (log10_test): Likewise.
15087         (log1p_test): Likewise.
15088         (log2_test): Likewise.
15089         (logb_test_downward): Likewise.
15090         (pow_test): Likewise.
15091         (pow_test_tonearest): Likewise.
15092         (pow_test_towardzero): Likewise.
15093         (pow_test_downward): Likewise.
15094         (pow_test_upward): Likewise.
15095         (remainder_test): Likewise.
15096         (remquo_test): Likewise.
15097         (sin_test): Likewise.
15098         (sin_test_tonearest): Likewise.
15099         (sin_test_towardzero): Likewise.
15100         (sin_test_downward): Likewise.
15101         (sin_test_upward): Likewise.
15102         (sincos_test): Likewise.
15103         (sinh_test): Likewise.
15104         (sinh_test_tonearest): Likewise.
15105         (sinh_test_towardzero): Likewise.
15106         (sinh_test_downward): Likewise.
15107         (sinh_test_upward): Likewise.
15108         (sqrt_test): Likewise.
15109         (tan_test): Likewise.
15110         (tan_test_tonearest): Likewise.
15111         (tan_test_towardzero): Likewise.
15112         (tan_test_downward): Likewise.
15113         (tan_test_upward): Likewise.
15114         (tanh_test): Likewise.
15115         (tgamma_test): Likewise.
15116         (y0_test): Likewise.
15117         (y1_test): Likewise.
15118         (yn_test): Likewise.
15120         * math/gen-libm-test.pl (adjust_arg): Remove function.
15121         (special_function): Remove argument $in_func.  Only handle
15122         generating output for tables of tests, not inside functions.
15123         (parse_args): Likewise.
15124         (generate_testfile): Remove variable $in_func.  Update call to
15125         parse_args.
15126         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15127         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15128         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15129         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15130         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15131         (MAX_VALUE_INIT): Rename macro to max_value.
15132         (MIN_VALUE_INIT): Rename macro to min_value.
15133         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15134         (plus_zero): Remove variable.
15135         (minus_zero): Likewise.
15136         (plus_infty): Likewise.
15137         (minus_infty): Likewise.
15138         (qnan_value): Likewise.
15139         (max_value): Likewise.
15140         (min_value): Likewise.
15141         (min_subnorm_value): Likewise.
15143 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15145         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15146         uint64_t or uint32_t usage.
15147         * crypt/sha256-block.c: Likewise.
15148         * crypt/sha256-crypt.c: Likewise.
15149         * crypt/sha256.c: Likewise.
15150         * crypt/sha512-block.c: Likewise.
15151         * crypt/sha512-crypt.c: Likewise.
15152         * crypt/sha512.c: Likewise.
15153         * debug/backtrace-tst.c: Likewise.
15154         * debug/pcprofiledump.c: Likewise.
15155         * elf/cache.c: Likewise.
15156         * elf/dl-cache.c: Likewise.
15157         * elf/dl-misc.c: Likewise.
15158         * elf/dl-profile.c: Likewise.
15159         * elf/dl-support.c: Likewise.
15160         * elf/ldconfig.c: Likewise.
15161         * elf/sprof.c: Likewise.
15162         * iconv/dummy-repertoire.c: Likewise.
15163         * iconv/iconv_charmap.c: Likewise.
15164         * iconv/skeleton.c: Likewise.
15165         * iconvdata/8bit-generic.c: Likewise.
15166         * iconvdata/cp737.h: Likewise.
15167         * iconvdata/cp775.h: Likewise.
15168         * iconvdata/ibm1008.h: Likewise.
15169         * iconvdata/ibm1025.h: Likewise.
15170         * iconvdata/ibm1046.h: Likewise.
15171         * iconvdata/ibm1097.h: Likewise.
15172         * iconvdata/ibm1112.h: Likewise.
15173         * iconvdata/ibm1122.h: Likewise.
15174         * iconvdata/ibm1123.h: Likewise.
15175         * iconvdata/ibm1124.h: Likewise.
15176         * iconvdata/ibm1129.h: Likewise.
15177         * iconvdata/ibm1130.h: Likewise.
15178         * iconvdata/ibm1132.h: Likewise.
15179         * iconvdata/ibm1133.h: Likewise.
15180         * iconvdata/ibm1137.h: Likewise.
15181         * iconvdata/ibm1140.h: Likewise.
15182         * iconvdata/ibm1141.h: Likewise.
15183         * iconvdata/ibm1142.h: Likewise.
15184         * iconvdata/ibm1143.h: Likewise.
15185         * iconvdata/ibm1144.h: Likewise.
15186         * iconvdata/ibm1145.h: Likewise.
15187         * iconvdata/ibm1146.h: Likewise.
15188         * iconvdata/ibm1147.h: Likewise.
15189         * iconvdata/ibm1148.h: Likewise.
15190         * iconvdata/ibm1149.h: Likewise.
15191         * iconvdata/ibm1153.h: Likewise.
15192         * iconvdata/ibm1154.h: Likewise.
15193         * iconvdata/ibm1155.h: Likewise.
15194         * iconvdata/ibm1156.h: Likewise.
15195         * iconvdata/ibm1157.h: Likewise.
15196         * iconvdata/ibm1158.h: Likewise.
15197         * iconvdata/ibm1160.h: Likewise.
15198         * iconvdata/ibm1161.h: Likewise.
15199         * iconvdata/ibm1162.h: Likewise.
15200         * iconvdata/ibm1163.h: Likewise.
15201         * iconvdata/ibm1164.h: Likewise.
15202         * iconvdata/ibm1166.h: Likewise.
15203         * iconvdata/ibm1167.h: Likewise.
15204         * iconvdata/ibm12712.h: Likewise.
15205         * iconvdata/ibm1390.h: Likewise.
15206         * iconvdata/ibm1399.h: Likewise.
15207         * iconvdata/ibm16804.h: Likewise.
15208         * iconvdata/ibm4517.h: Likewise.
15209         * iconvdata/ibm4899.h: Likewise.
15210         * iconvdata/ibm4909.h: Likewise.
15211         * iconvdata/ibm4971.h: Likewise.
15212         * iconvdata/ibm5347.h: Likewise.
15213         * iconvdata/ibm803.h: Likewise.
15214         * iconvdata/ibm856.h: Likewise.
15215         * iconvdata/ibm901.h: Likewise.
15216         * iconvdata/ibm902.h: Likewise.
15217         * iconvdata/ibm9030.h: Likewise.
15218         * iconvdata/ibm9066.h: Likewise.
15219         * iconvdata/ibm921.h: Likewise.
15220         * iconvdata/ibm922.h: Likewise.
15221         * iconvdata/ibm9448.h: Likewise.
15222         * iconvdata/isiri-3342.h: Likewise.
15223         * iconvdata/jis0201.h: Likewise.
15224         * include/link.h: Likewise.
15225         * include/netdb.h: Likewise.
15226         * inet/check_native.c: Likewise.
15227         * inet/check_pf.c: Likewise.
15228         * inet/getipv4sourcefilter.c: Likewise.
15229         * inet/getnameinfo.c: Likewise.
15230         * inet/getsourcefilter.c: Likewise.
15231         * inet/htonl.c: Likewise.
15232         * inet/setipv4sourcefilter.c: Likewise.
15233         * inet/setsourcefilter.c: Likewise.
15234         * inet/test-inet6_opt.c: Likewise.
15235         * inet/tst-network.c: Likewise.
15236         * locale/C-collate.c: Likewise.
15237         * locale/C-ctype.c: Likewise.
15238         * locale/C-time.c: Likewise.
15239         * locale/C-translit.h: Likewise.
15240         * locale/loadarchive.c: Likewise.
15241         * locale/programs/3level.h: Likewise.
15242         * locale/programs/charmap.c: Likewise.
15243         * locale/programs/charmap.h: Likewise.
15244         * locale/programs/ld-address.c: Likewise.
15245         * locale/programs/ld-collate.c: Likewise.
15246         * locale/programs/ld-ctype.c: Likewise.
15247         * locale/programs/ld-identification.c: Likewise.
15248         * locale/programs/ld-measurement.c: Likewise.
15249         * locale/programs/ld-messages.c: Likewise.
15250         * locale/programs/ld-monetary.c: Likewise.
15251         * locale/programs/ld-name.c: Likewise.
15252         * locale/programs/ld-numeric.c: Likewise.
15253         * locale/programs/ld-paper.c: Likewise.
15254         * locale/programs/ld-telephone.c: Likewise.
15255         * locale/programs/ld-time.c: Likewise.
15256         * locale/programs/linereader.c: Likewise.
15257         * locale/programs/locale.c: Likewise.
15258         * locale/programs/locarchive.c: Likewise.
15259         * locale/programs/locfile.h: Likewise.
15260         * locale/programs/repertoire.c: Likewise.
15261         * locale/programs/simple-hash.c: Likewise.
15262         * locale/programs/simple-hash.h: Likewise.
15263         * malloc/memusage.c: Likewise.
15264         * malloc/memusagestat.c: Likewise.
15265         * nis/nis_defaults.c: Likewise.
15266         * nis/nis_hash.c: Likewise.
15267         * nis/nis_print.c: Likewise.
15268         * nis/nis_xdr.c: Likewise.
15269         * nscd/connections.c: Likewise.
15270         * nscd/hstcache.c: Likewise.
15271         * nscd/nscd_gethst_r.c: Likewise.
15272         * nscd/nscd_getserv_r.c: Likewise.
15273         * nscd/nscd_helper.c: Likewise.
15274         * nscd/servicescache.c: Likewise.
15275         * nss/makedb.c: Likewise.
15276         * nss/nss_db/db-XXX.c: Likewise.
15277         * nss/nss_db/db-initgroups.c: Likewise.
15278         * nss/nss_db/db-netgrp.c: Likewise.
15279         * nss/nss_files/files-network.c: Likewise.
15280         * nss/nss_files/files-parse.c: Likewise.
15281         * posix/bug-regex5.c: Likewise.
15282         * posix/fnmatch_loop.c: Likewise.
15283         * posix/regcomp.c: Likewise.
15284         * posix/regexec.c: Likewise.
15285         * posix/tst-rfc3484-2.c: Likewise.
15286         * posix/tst-rfc3484-3.c: Likewise.
15287         * posix/tst-rfc3484.c: Likewise.
15288         * resolv/nss_dns/dns-canon.c: Likewise.
15289         * resolv/nss_dns/dns-network.c: Likewise.
15290         * resolv/res_init.c: Likewise.
15291         * resolv/res_mkquery.c: Likewise.
15292         * resolv/tst-aton.c: Likewise.
15293         * stdlib/cxa_atexit.c: Likewise.
15294         * stdlib/cxa_finalize.c: Likewise.
15295         * stdlib/gen-fpioconst.c: Likewise.
15296         * stdlib/strtol_l.c: Likewise.
15297         * string/tst-endian.c: Likewise.
15298         * sunrpc/auth_des.c: Likewise.
15299         * sunrpc/clnt_udp.c: Likewise.
15300         * sunrpc/rtime.c: Likewise.
15301         * sunrpc/svcauth_des.c: Likewise.
15302         * sunrpc/xdr.c: Likewise.
15303         * sunrpc/xdr_intXX_t.c: Likewise.
15304         * sunrpc/xdr_rec.c: Likewise.
15305         * sysdeps/generic/ldconfig.h: Likewise.
15306         * sysdeps/generic/ldsodefs.h: Likewise.
15307         * sysdeps/generic/memusage.h: Likewise.
15308         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15309         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15310         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15311         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15312         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15313         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15314         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15315         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15316         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15318         * sysdeps/posix/getaddrinfo.c: Likewise.
15319         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15320         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15321         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15322         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15323         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15324         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15325         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15326         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15327         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15328         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15329         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15330         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15331         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15332         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15333         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15334         * sysdeps/x86_64/dl-tls.h: Likewise.
15335         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15336         * time/alt_digit.c: Likewise.
15337         * time/era.c: Likewise.
15338         * wcsmbs/tst-c16c32-1.c: Likewise.
15340 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15342         * math/libm-test.inc (struct test_sincos_data): New type.
15343         (RUN_TEST_LOOP_sincos): New macro.
15344         (sincos_test_data): New variable.
15345         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15347 2013-05-16  Richard Henderson  <rth@redhat.com>
15349         * math/atest-exp2.c (LIMB64): New macro.
15350         (CONSTSZ): New macro.
15351         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15352         (hexdig): Move ...
15353         (print_mpn_fp): ... to function scope.
15354         (read_mpn_hex): Remove.
15355         (get_log2): Remove.
15356         (exp2_mpn): Use mp_log2.
15357         (main): Use mp_exp1.
15359 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15361         * math/libm-test.inc: Remove comment about not testing "inexact"
15362         exceptions.
15363         (INEXACT_EXCEPTION): New macro.
15364         (NO_INEXACT_EXCEPTION): Likewise.
15365         (INVALID_EXCEPTION_OK): Update value.
15366         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15367         (OVERFLOW_EXCEPTION_OK): Likewise.
15368         (UNDERFLOW_EXCEPTION_OK): Likewise.
15369         (IGNORE_ZERO_INF_SIGN): Likewise.
15370         (ERRNO_UNCHANGED): Likewise.
15371         (ERRNO_EDOM): Likewise.
15372         (ERRNO_ERANGE): Likewise.
15373         (test_exceptions): Handle testing "inexact" exceptions.
15374         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15375         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15376         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15377         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15378         INEXACT_EXCEPTION.
15379         (rint_towardzero_test_data): Likewise.
15380         (rint_downward_test_data): Likewise.
15381         (rint_upward_test_data): Likewise.
15383         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15384         with OVERFLOW_EXCEPTION.
15385         (exp10_test_data): Likewise.
15386         (exp2_test_data): Likewise.
15387         (expm1_test_data): Likewise.
15388         (lgamma_test_data): Likewise.
15389         (pow_test_data): Likewise.
15390         (tgamma_test_data): Likewise.
15391         (yn_test_data): Remove duplicate test of overflow.
15393         * math/libm-test.inc (struct test_cc_c_data): New type.
15394         (RUN_TEST_LOOP_cc_c): New macro.
15395         (cpow_test_data): New variable.
15396         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15398         * math/libm-test.inc (struct test_f_L_data): New type.
15399         (RUN_TEST_LOOP_f_L): New macro.
15400         (llrint_test_data): New variable.
15401         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15402         (llrint_tonearest_test_data): New variable.
15403         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15404         (llrint_towardzero_test_data): New variable.
15405         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15406         (llrint_downward_test_data): New variable.
15407         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15408         (llrint_upward_test_data): New variable.
15409         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15410         (llround_test_data): New variable.
15411         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15413 2013-05-13  Peter Collingbourne  <pcc@google.com>
15415         * math/atest-exp2.c (get_log2): Remove const attribute.
15417 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15419         * math/libm-test.inc (struct test_f_l_data): New type.
15420         (RUN_TEST_LOOP_f_l): New macro.
15421         (lrint_test_data): New variable.
15422         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15423         (lrint_tonearest_test_data): New variable.
15424         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15425         (lrint_towardzero_test_data): New variable.
15426         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15427         (lrint_downward_test_data): New variable.
15428         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15429         (lrint_upward_test_data): New variable.
15430         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15431         (lround_test_data): New variable.
15432         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15434 2013-05-15  Peter Collingbourne  <pcc@google.com>
15436         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15437         (EXTRACT_WORDS64) Use where appropriate.
15438         (INSERT_WORDS64) Likewise.
15440         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15441         constraints with x constraints.
15442         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15444         * malloc/obstack.c (_obstack_compat): Add initializer.
15446 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15448         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15449         si_trapno and add si_addr_lsb to _sifields.sigfault.
15450         (si_trapno): Remove macro.
15451         (si_addr_lsb): Define new macro.
15452         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15454 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15456         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15457         instead of TEST_f_l.
15458         (llrint_test_tonearest): Likewise.
15459         (llrint_test_towardzero): Likewise.
15460         (llrint_test_downward): Likewise.
15461         (llrint_test_upward): Likewise.
15462         (llround_test): Likewise.
15464         * math/libm-test.inc (struct test_f_i_data): Add comment.
15465         (RUN_TEST_LOOP_f_b): New macro.
15466         (RUN_TEST_LOOP_f_b_tg): Likewise.
15467         (finite_test_data): New variable.
15468         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15469         (isfinite_test_data): New variable.
15470         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15471         (isinf_test_data): New variable.
15472         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15473         (isnan_test_data): New variable.
15474         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15475         (isnormal_test_data): New variable.
15476         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15477         (issignaling_test_data): New variable.
15478         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15479         (signbit_test_data): New variable.
15480         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15482         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15483         with INVALID_EXCEPTION.
15484         (acosh_test_data): Likewise.
15485         (asin_test_data): Likewise.
15486         (atanh_test_data): Likewise.
15487         (fmod_test_data): Likewise.
15488         (log_test_data): Likewise.
15489         (log10_test_data): Likewise.
15490         (log2_test_data): Likewise.
15491         (pow_test_data): Likewise.
15492         (sqrt_test_data): Likewise.
15493         (y0_test_data): Likewise.
15494         (y1_test_data): Likewise.
15495         (yn_test_data): Likewise.
15497         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15498         function contents.
15500         * math/libm-test.inc (struct test_ff_i_data): New type.
15501         (RUN_TEST_LOOP_ff_i_tg): New macro.
15502         (isgreater_test_data): New variable.
15503         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15504         (isgreaterequal_test_data): New variable.
15505         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15506         (isless_test_data): New variable.
15507         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15508         (islessequal_test_data): New variable.
15509         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15510         (islessgreater_test_data): New variable.
15511         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15512         (isunordered_test_data): New variable.
15513         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15515 2013-05-14  David S. Miller  <davem@davemloft.net>
15517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15519 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15521         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15523         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15524         extra_test to int.
15525         (struct test_f_i_data): Change type of max_ulp to int.
15527         * math/libm-test.inc (test_ffI_f1_data): New type.
15528         (RUN_TEST_LOOP_ffI_f1): New macro.
15529         (remquo_test_data): New variable.
15530         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15532         * setjmp/tst-setjmp-fp.c: New file.
15533         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15534         (link-libm): New variable.
15535         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15537         * math/libm-test.inc (struct test_f_i_data): New type.
15538         (RUN_TEST_LOOP_f_i): New macro.
15539         (RUN_TEST_LOOP_f_i_tg): Likewise.
15540         (fpclassify_test_data): New variable.
15541         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15542         (ilogb_test_data): New variable.
15543         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15545         * math/libm-test.inc (scalbln_test): Correct function name in END
15546         call.
15548         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15549         (RUN_TEST_LOOP_fI_f1): New macro.
15550         (frexp_test_data): New variable.
15551         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15553         * math/libm-test.inc (struct test_fF_f1_data): New type.
15554         (RUN_TEST_LOOP_fF_f1): New macro.
15555         (modf_test_data): New variable.
15556         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15558         * math/libm-test.inc (struct test_f_f1_data): New type.
15559         (RUN_TEST_LOOP_f_f1): New macro.
15560         (gamma_test_data): New variable.
15561         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15562         (lgamma_test_data): New variable.
15563         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15565 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15567         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15568         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15569         (main): Comment "tls" pseudo-hwcap.
15571 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15573         * math/libm-test.inc (struct test_fl_f_data): New type.
15574         (RUN_TEST_LOOP_fl_f): New variable.
15575         (scalbln_test_data): New variable.
15576         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15578         * math/libm-test.inc (struct test_fi_f_data): New type.
15579         (RUN_TEST_LOOP_fi_f): New macro.
15580         (ldexp_test_data): New variable.
15581         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15582         (scalbn_test_data): New variable.
15583         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15585         * math/libm-test.inc (struct test_c_f_data): New type.
15586         (RUN_TEST_LOOP_c_f): New macro.
15587         (cabs_test_data): New variable.
15588         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15589         (carg_test_data): New variable.
15590         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15591         (cimag_test_data): New variable.
15592         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15593         (creal_test_data): New variable.
15594         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15596         * math/libm-test.inc (struct test_if_f_data): New type.
15597         (RUN_TEST_LOOP_if_f): New macro.
15598         (jn_test_data): New variable.
15599         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15600         (yn_test_data): New variable.
15601         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15603         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15605 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15607         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15608         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15610 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15613         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15614         (bench-deps): Add bench-timing.h.
15615         * benchtests-bench-skeleton.c: Include bench-timing.h.
15616         (main): Use TIMING_* macros instead of clock_gettime.
15617         * benchtests/bench-timing.h: New file.
15619         [BZ #14582]
15620         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15621         Renamed from _LIB_VERSION.
15622         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15624 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15626         * math/libm-test.inc (struct test_fff_f_data): New type.
15627         (RUN_TEST_LOOP_fff_f): New macro.
15628         (fma_test_data): New variable.
15629         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15630         (fma_towardzero_test_data): New variable.
15631         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15632         (fma_downward_test_data): New variable.
15633         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15634         (fma_upward_test_data): New variable.
15635         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15637         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15638         (struct test_c_c_data): New type.
15639         (RUN_TEST_LOOP_c_c): New macro.
15640         (cacos_test_data): New variable.
15641         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15642         (cacosh_test_data): New variable.
15643         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15644         (casin_test_data): New variable.
15645         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15646         (casinh_test_data): New variable.
15647         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15648         (catan_test_data): New variable.
15649         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15650         (catanh_test_data): New variable.
15651         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15652         (ccos_test_data): New variable.
15653         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15654         (ccosh_test_data): New variable.
15655         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15656         (cexp_test_data): New variable.
15657         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15658         (clog_test_data): New variable.
15659         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15660         (clog10_test_data): New variable.
15661         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15662         (conj_test_data): New variable.
15663         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15664         (cproj_test_data): New variable.
15665         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15666         (csin_test_data): New variable.
15667         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15668         (csinh_test_data): New variable.
15669         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15670         (csqrt_test_data): New variable.
15671         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15672         (ctan_test_data): New variable.
15673         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15674         (ctan_tonearest_test_data): New variable.
15675         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15676         (ctan_towardzero_test_data): New variable.
15677         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15678         (ctan_downward_test_data): New variable.
15679         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15680         (ctan_upward_test_data): New variable.
15681         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15682         (ctanh_test_data): New variable.
15683         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15684         (ctanh_tonearest_test_data): New variable.
15685         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15686         (ctanh_towardzero_test_data): New variable.
15687         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15688         (ctanh_downward_test_data): New variable.
15689         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15690         (ctanh_upward_test_data): New variable.
15691         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15692         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15693         of BUILD_COMPLEX.
15695         * math/libm-test.inc (struct test_ff_f_data): New type.
15696         (struct test_ff_f_data_nexttoward): Likewise.
15697         (RUN_TEST_LOOP_2_f): New macro.
15698         (RUN_TEST_LOOP_ff_f): Likewise.
15699         (atan2_test_data): New variable.
15700         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15701         (copysign_test_data): New variable.
15702         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15703         (fdim_test_data): New variable.
15704         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15705         (fmax_test_data): New variable.
15706         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15707         (fmin_test_data): New variable.
15708         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15709         (fmod_test_data): New variable.
15710         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15711         (hypot_test_data): New variable.
15712         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15713         (nextafter_test_data): New variable.
15714         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15715         (nexttoward_test_data): New variable.
15716         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15717         (pow_test_data): New variable.
15718         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15719         (pow_tonearest_test_data): New variable.
15720         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15721         (pow_towardzero_test_data): New variable.
15722         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15723         (pow_downward_test_data): New variable.
15724         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15725         (pow_upward_test_data): New variable.
15726         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15727         (remainder_test_data): New variable.
15728         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15729         (scalb_test_data): New variable.
15730         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15731         * sysdeps/i386/fpu/libm-test-ulps: Update.
15733 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15735         * math/libm-test.inc (fma_test): Use max_value instead of local
15736         variable fltmax.
15737         (nextafter_test): Likewise.
15739         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15740         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15741         (acos_downward_test_data): New variable.
15742         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15743         (acos_upward_test_data): New variable.
15744         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15745         (acosh_test_data): New variable.
15746         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15747         (asin_test_data): New variable.
15748         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15749         (asin_tonearest_test_data): New variable.
15750         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15751         (asin_towardzero_test_data): New variable.
15752         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15753         (asin_downward_test_data): New variable.
15754         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15755         (asin_upward_test_data): New variable.
15756         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15757         (asinh_test_data): New variable.
15758         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15759         (atan_test_data): New variable.
15760         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15761         (atanh_test_data): New variable.
15762         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15763         (cbrt_test_data): New variable.
15764         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15765         (ceil_test_data): New variable.
15766         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15767         (cos_test_data): New variable.
15768         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15769         (cos_tonearest_test_data): New variable.
15770         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15771         (cos_towardzero_test_data): New variable.
15772         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15773         (cos_downward_test_data): New variable.
15774         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15775         (cos_upward_test_data): New variable.
15776         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15777         (cosh_test_data): New variable.
15778         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15779         (cosh_tonearest_test_data): New variable.
15780         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15781         (cosh_towardzero_test_data): New variable.
15782         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15783         (cosh_downward_test_data): New variable.
15784         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15785         (cosh_upward_test_data): New variable.
15786         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15787         (erf_test_data): New variable.
15788         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15789         (erfc_test_data): New variable.
15790         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15791         (exp_test_data): New variable.
15792         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15793         (exp_tonearest_test_data): New variable.
15794         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15795         (exp_towardzero_test_data): New variable.
15796         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15797         (exp_downward_test_data): New variable.
15798         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15799         (exp_upward_test_data): New variable.
15800         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15801         (exp10_test_data): New variable.
15802         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15803         (exp2_test_data): New variable.
15804         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15805         (expm1_test_data): New variable.
15806         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15807         (fabs_test_data): New variable.
15808         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15809         (floor_test_data): New variable.
15810         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15811         (j0_test_data): New variable.
15812         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15813         (j1_test_data): New variable.
15814         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15815         (log_test_data): New variable.
15816         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15817         (log10_test_data): New variable.
15818         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15819         (log1p_test_data): New variable.
15820         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15821         (log2_test_data): New variable.
15822         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15823         (logb_test_data): New variable.
15824         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15825         (logb_downward_test_data): New variable.
15826         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15827         (nearbyint_test_data): New variable.
15828         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15829         (rint_test_data): New variable.
15830         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15831         (rint_tonearest_test_data): New variable.
15832         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15833         (rint_towardzero_test_data): New variable.
15834         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15835         (rint_downward_test_data): New variable.
15836         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15837         (rint_upward_test_data): New variable.
15838         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15839         (round_test_data): New variable.
15840         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15841         (sin_test_data): New variable.
15842         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
15843         (sin_tonearest_test_data): New variable.
15844         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15845         (sin_towardzero_test_data): New variable.
15846         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15847         (sin_downward_test_data): New variable.
15848         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15849         (sin_upward_test_data): New variable.
15850         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15851         (sinh_test_data): New variable.
15852         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
15853         (sinh_tonearest_test_data): New variable.
15854         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15855         (sinh_towardzero_test_data): New variable.
15856         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15857         (sinh_downward_test_data): New variable.
15858         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15859         (sinh_upward_test_data): New variable.
15860         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15861         (sqrt_test_data): New variable.
15862         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
15863         (tan_test_data): New variable.
15864         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
15865         (tan_tonearest_test_data): New variable.
15866         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15867         (tan_towardzero_test_data): New variable.
15868         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15869         (tan_downward_test_data): New variable.
15870         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15871         (tan_upward_test_data): New variable.
15872         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15873         (tanh_test_data): New variable.
15874         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
15875         (tgamma_test_data): New variable.
15876         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
15877         (trunc_test_data): New variable.
15878         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
15879         (y0_test_data): New variable.
15880         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
15881         (y1_test_data): New variable.
15882         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
15883         (significand_test_data): New variable.
15884         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
15886 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
15888         [BZ #12387]
15889         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
15891 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
15893         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
15895 2013-05-10  Andreas Jaeger  <aj@suse.de>
15897         [BZ #15448]
15898         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
15899         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
15901 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15903         * math/gen-libm-test.pl (adjust_arg): New function.
15904         (special_functions): Handle generating output in both functions
15905         and arrays.
15906         (parse_args): Likewise.
15907         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
15908         $in_func argument to parse_args.
15909         * math/libm-test.inc (struct test_f_f_data): New type.
15910         (IF_ROUND_INIT_): New macro.
15911         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
15912         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15913         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15914         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15915         (ROUND_RESTORE_): Likewise.
15916         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
15917         (ROUND_RESTORE_FE_TONEAREST): Likewise.
15918         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
15919         (ROUND_RESTORE_FE_UPWARD): Likewise.
15920         (RUN_TEST_LOOP_f_f): New macro.
15921         (acos_test_data): New variable.
15922         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
15923         (acos_tonearest_test_data): New variable.
15924         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15926 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15928         * benchtests/bench-skeleton.c (startup): Fix coding style.
15930 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
15932         [BZ #6809]
15933         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
15934         negative infinity argument.
15935         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
15936         negative infinity argument.
15937         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
15938         negative infinity argument.
15939         * math/libm-test.inc (tgamma_test): Expect errno to be set for
15940         domain errors.
15942 2013-05-10  Florian Weimer  <fweimer@redhat.com>
15944         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
15945         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
15946         * iconv/iconv_prog.c (main): Likewise.
15947         * locale/programs/charmap-dir.c (charmap_readdir)
15948         (fopen_uncompressed): Likewise.
15949         * locale/programs/locfile.c (siblings_uncached)
15950         (write_locale_data): Use lstat64 instead of lstat.
15951         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
15952         stat.
15954 2013-05-10  Andreas Jaeger  <aj@suse.de>
15956         [BZ #15395]
15957         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
15958         localization.
15959         Include <locale.h>.
15961 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
15963         * elf/dl-close.c (_dl_close_worker): Add comments.
15965 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
15967         [BZ #15359]
15968         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
15969         high part of pi/2.
15970         (__ieee754_rem_pio2l): Update comments.
15972         [BZ #15429]
15973         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
15974         high part of pi/2.
15975         (__ieee754_rem_pio2l): Update comments.
15977         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
15978         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
15980         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
15981         M_PI_4l.
15983         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
15984         (M_PI_34_LOG10El): Likewise.
15985         (M_PI2_LOG10El): Likewise.
15986         (M_PI4_LOG10El): Likewise.
15987         (M_PI_LOG10El): Likewise.
15989 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15993 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
15995         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
15996         (MINUS_ZERO_INIT): Likewise.
15997         (PLUS_INFTY_INIT): Likewise.
15998         (MINUS_INFTY_INIT): Likewise.
15999         (QNAN_VALUE_INIT): Likewise.
16000         (MAX_VALUE_INIT): Likewise.
16001         (MIN_VALUE_INIT): Likewise.
16002         (MIN_SUBNORM_VALUE_INIT): Likewise.
16003         (plus_zero): Initialize with PLUS_ZERO_INIT.
16004         (minus_zero): Initialize with MINUS_ZERO_INIT.
16005         (plus_infty): Initialize with PLUS_INFTY_INIT.
16006         (minus_infty): Initialize with MINUS_INFTY_INIT.
16007         (qnan_value): Initialize with QNAN_VALUE_INIT.
16008         (max_value): Initialize with MAX_VALUE_INIT.
16009         (min_value): Initialize with MIN_VALUE_INIT.
16010         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16012         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16013         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16014         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16015         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16017         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16018         (RUN_TEST_2_f): Likewise.
16019         (RUN_TEST_ff_f): Likewise.
16020         (RUN_TEST_fi_f): Likewise.
16021         (RUN_TEST_fl_f): Likewise.
16022         (RUN_TEST_fff_f): Likewise.
16023         (RUN_TEST_c_f): Likewise.
16024         (RUN_TEST_f_f1): Likewise.
16025         (RUN_TEST_fF_f1): Likewise.
16026         (RUN_TEST_fI_f1): Likewise.
16027         (RUN_TEST_ffI_f1): Likewise.
16028         (RUN_TEST_c_c): Likewise.
16029         (RUN_TEST_cc_c): Likewise.
16030         (RUN_TEST_f_i): Likewise.
16031         (RUN_TEST_f_i_tg): Likewise.
16032         (RUN_TEST_ff_i_tg): Likewise.
16033         (RUN_TEST_f_b): Likewise.
16034         (RUN_TEST_f_b_tg): Likewise.
16035         (RUN_TEST_f_l): Likewise.
16036         (RUN_TEST_f_L): Likewise.
16037         (RUN_TEST_sincos): Likewise.
16038         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16039         whether to show exceptions.  Do not include ");\n" in return
16040         value.
16041         (special_functions): Output call to RUN_TEST_sincos instead of
16042         check_float calls.  Update calls to new_test.
16043         (parse_args): Output call to single RUN_TEST_* macro instead of
16044         check_* calls and other assignments.  Update calls to new_test.
16046         [BZ #2546]
16047         [BZ #2560]
16048         [BZ #5159]
16049         [BZ #15426]
16050         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16051         input to result for tgamma overflow.
16052         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16053         (gamma_coeff): New variable.
16054         (NCOEFF): New macro.
16055         (gamma_positive): New function.
16056         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16057         underflow here.  Use gamma_positive instead of exp (lgamma) for
16058         other arguments.
16059         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16060         (gamma_coeff): New variable.
16061         (NCOEFF): New macro.
16062         (gammaf_positive): New function.
16063         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16064         underflow here.  Use gamma_positive instead of exp (lgamma) for
16065         other arguments.
16066         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16067         (gamma_coeff): New variable.
16068         (NCOEFF): New macro.
16069         (gammal_positive): New function.
16070         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16071         underflow here.  Use gamma_positive instead of exp (lgamma) for
16072         other arguments.
16073         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16074         (gamma_coeff): New variable.
16075         (NCOEFF): New macro.
16076         (gammal_positive): New function.
16077         (__ieee754_gammal_r): Handle positive infinity, overflow and
16078         underflow here.  Handle NaN the same as positive infinity.  Remove
16079         check x < 0xffffffff for negative integers.  Use gamma_positive
16080         instead of exp (lgamma) for other arguments.
16081         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16082         (gamma_coeff): New variable.
16083         (NCOEFF): New macro.
16084         (gammal_positive): New function.
16085         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16086         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16087         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16088         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16089         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16090         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16091         * sysdeps/generic/math_private.h (__gamma_productf): New
16092         prototype.
16093         (__gamma_product): Likewise.
16094         (__gamma_productl): Likewise.
16095         * math/Makefile (libm-calls): Add gamma_product.
16096         * math/libm-test.inc (tgamma_test): Add more tests.
16097         * sysdeps/i386/fpu/libm-test-ulps: Update.
16098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16100 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16102         * benchtests/bench-skeleton.c (main): Preheat CPU.
16104 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16106         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16108 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16110         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16111         and _dl_skip_args_internal.
16113 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16115         * manual/message.texi (Message Translation): Talk about users.
16116         Message to key mapping impacts design.
16118 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16120         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16122         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16124         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16125         * sysdeps/wordsize-64/glob64.c: ... here.
16127         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16128         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16129         New macros.
16131         * debug/getlogin_r_chk.c: Moved to ...
16132         * login/getlogin_r_chk.c: ... here.
16133         * debug/Makefile (routines): Move getlogin_r_chk to ...
16134         * login/Makefile (routines): ... here.
16135         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16136         * login/Versions (libc: GLIBC_2.4): ... here.
16138         * io/poll.c (__poll): Renamed from poll.
16139         Add libc_hidden_def.
16140         (poll): Define as weak alias.
16142         * debug/ptsname_r_chk.c: Moved to ...
16143         * login/ptsname_r_chk.c: ... here.
16144         * debug/Makefile (routines): Move ptsname_r_chk to ...
16145         * login/Makefile (routines): ... here.
16146         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16147         * login/Versions (libc: GLIBC_2.4): ... here.
16149         * posix/getlogin.c: Moved to ...
16150         * login/getlogin.c: ... here.
16151         * posix/getlogin_r.c: Moved to ...
16152         * login/getlogin_r.c: ... here.
16153         * posix/getlogin_r.c: Moved to ...
16154         * login/getlogin_r.c: ... here.
16155         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16156         * login/Makefile (routines): ... here.
16157         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16158         * login/Versions (libc: GLIBC_2.0): ... here.
16160         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16161         (setrlimit): Define as weak alias.
16163         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16164         Call __ names for open, ftruncate, and close.
16165         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16166         (truncate): Define as weak alias.
16168 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16170         * math/gen-libm-test.pl (parse_args): Initialize x before each
16171         test of frexp, modf and remquo.
16173         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16174         test signgam value.
16176 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16178         [BZ #15418]
16179         [BZ #15419]
16180         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16181         internal tests.
16182         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16184 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16186         * elf/dl-writev.h: New file.
16187         * elf/dl-misc.c: Include it.
16188         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16189         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16191 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16193         * math/libm-test.inc (noXFails): Remove variable.
16194         (noXPasses): Likewise.
16195         (BUILD_COMPLEX_INT): Remove macro.
16196         (print_screen): Remove xfail argument.
16197         (print_screen_max_error): Likewise.
16198         (update_stats): Likewise.
16199         (print_max_error): Likewise.  Update calls to other affected
16200         functions.
16201         (print_complex_max_error): Likewise.
16202         (test_single_exception): Update calls to print_screen.
16203         (test_single_errno): Likewise.
16204         (check_float_internal): Remove xfail argument.  Update calls to
16205         other affected functions.
16206         (check_float): Likewise.
16207         (check_complex): Likewise.
16208         (check_int): Likewise.
16209         (check_long): Likewise.
16210         (check_bool): Likewise.
16211         (check_longlong): Likewise.
16212         (main): Don't print noXFails and noXPasses.
16213         * math/gen-libm-test.pl (top level): Don't mention expected
16214         failure handling in comment.
16215         (new_test): Don't handle expected failures.
16216         (parse_args): Don't mention expected failure handling in comment.
16217         (generate_testfile): Don't handle expected failures.
16218         (parse_ulps): Likewise.
16219         (print_ulps_file): Likewise.
16220         (get_failure): Remove function.
16221         (output_test): Don't handle expected failures.
16222         * make/README.libm-test: Don't mention expected failure handling.
16224         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16225         (minus_zero): Likewise.
16226         (plus_infty): Likewise.
16227         (minus_infty): Likewise.
16228         (qnan_value): Likewise.
16229         (max_value): Likewise.
16230         (min_value): Likewise.
16231         (min_subnorm_value): Likewise.
16232         (initialize): Do not initialize those variables dynamically.
16234 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16236         * io/open.c (__open_2): Moved to ...
16237         * io/open_2.c: ... this new file.
16238         * io/open64.c (__open64_2): Moved to ...
16239         * io/open64_2.c: ... this new file.
16240         * io/openat.c (__openat_2): Moved to ...
16241         * io/openat_2.c: ... this new file.
16242         * io/openat64.c (__openat64_2): Moved to ...
16243         * io/openat64_2.c: ... this new file.
16244         * io/Makefile (routines): Add them.
16245         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16246         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16247         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16248         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16249         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16250         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16251         (__openat64): Add hidden_ver.
16252         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16253         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16255         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16256         Separately conditionalize setting of GLRO(dl_sysinfo) so
16257         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16258         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16260 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16262         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16263         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16264         definition.
16265         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16266         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16267         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16268         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16269         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16271 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16273         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16274         test signgam value.
16276         * math/libm-test.inc (hypot_test): Do not use
16277         IGNORE_ZERO_INF_SIGN.
16279 2013-05-03  Andreas Jaeger  <aj@suse.de>
16281         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16282         Linux 3.9.
16283         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16284         (PF_MAX): Adjust for VSOCK change.
16286 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16290 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16292         [BZ #15264]
16293         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16294         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16295         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16297 2013-05-02  David S. Miller  <davem@davemloft.net>
16299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16301 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16303         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16305 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16307         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16309 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16311         [BZ #14952]
16312         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16313         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16314         Use __attribute__ ((__gnu_inline__)).
16315         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16316         Don't use __attribute__ ((__gnu_inline__)).
16318 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16320         [BZ #15423]
16321         * math/s_catan.c (__catan): Handle small real or imaginary part of
16322         input specially to avoid spurious underflow.
16323         * math/s_catanf.c (__catanf): Likewise.
16324         * math/s_catanh.c (__catanh): Likewise.
16325         * math/s_catanhf.c (__catanhf): Likewise.
16326         * math/s_catanhl.c (__catanhl): Likewise.
16327         * math/s_catanl.c (__catanl): Likewise.
16328         * math/libm-test.inc (catan_test): Add more tests.
16329         (catanh_test): Likewise.
16330         * sysdeps/i386/fpu/libm-test-ulps: Update.
16331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16333 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16337 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16339         [BZ #15416]
16340         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16341         accurately for denominator in atan2.
16342         * math/s_catanf.c (__catanf): Likewise.
16343         * math/s_catanh.c (__catanh): Likewise.
16344         * math/s_catanhf.c (__catanhf): Likewise.
16345         * math/s_catanhl.c (__catanhl): Likewise.
16346         * math/s_catanl.c (__catanl): Likewise.
16347         * math/libm-test.inc (catan_test): Add more tests.
16348         (catanh_test): Likewise.
16349         * sysdeps/i386/fpu/libm-test-ulps: Update.
16350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16352 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16354         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16356         * benchtests/Makefile (bench): Remove slow benchmarks.
16357         * benchtests/atan-inputs: Add slow benchmark inputs.
16358         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16359         (BENCH_FUNC): Accept variant offset.
16360         (VARIANT): Define.
16361         * benchtests/bench-skeleton.c (main): Run benchmark for each
16362         variant.
16363         * benchtests/cos-inputs: Add slow benchmark inputs.
16364         * benchtests/exp-inputs: Likewise.
16365         * benchtests/pow-inputs: Likewise.
16366         * benchtests/sin-inputs: Likewise.
16367         * benchtests/slowatan-inputs: Remove.
16368         * benchtests/slowatan.c: Remove.
16369         * benchtests/slowcos-inputs: Remove.
16370         * benchtests/slowcos.c: Remove.
16371         * benchtests/slowexp-inputs: Remove.
16372         * benchtests/slowexp.c: Remove.
16373         * benchtests/slowpow-inputs: Remove.
16374         * benchtests/slowpow.c: Remove.
16375         * benchtests/slowsin-inputs: Remove.
16376         * benchtests/slowsin.c: Remove.
16377         * benchtests/slowtan-inputs: Remove.
16378         * benchtests/slowtan.c: Remove.
16379         * benchtests/tan-inputs: Add slow benchmark inputs.
16380         * scripts/bench.pl: Parse comments and directives.
16382         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16383         in CPPFLAGS.
16384         ($(objpfx)bench-%.c): Remove *-ITER.
16385         * benchtests/bench-modf.c: Remove definition of ITER.
16386         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16387         (main): Loop for DURATION seconds instead of fixed number of
16388         iterations.
16389         * scripts/bench.pl: Don't expect iterations in parameters.
16391 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16393         * io/fchdir.c (__fchdir): Renamed from fchdir.
16394         (fchdir): Define as weak alias.
16396 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16398         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16399         (ERRNO_EDOM): Likewise.
16400         (ERRNO_ERANGE): Likewise.
16401         (noErrnoTests): New variable.
16402         (init_max_error): Set errno to 0.
16403         (test_single_errno): New function.
16404         (test_errno): Likewise.
16405         (check_float_internal): Call test_errno.  Set errno to 0.
16406         (check_complex): Refer to errno tests in comment.
16407         (check_int): Call test_errno.  Set errno to 0.
16408         (check_long): Likewise.
16409         (check_bool): Likewise.
16410         (check_longlong): Likewise.
16411         (cos_test): Use ERRNO_* flags for errno tests instead of
16412         check_int.
16413         (expm1_test): Likewise.
16414         (fmod_test): Likewise.
16415         (ilogb_test): Likewise.
16416         (lgamma_test): Likewise.
16417         (pow_test): Likewise.
16418         (remainder_test): Likewise.
16419         (sin_test): Likewise.
16420         (tan_test): Likewise.
16421         (yn_test): Likewise.
16422         (initialize): Set errno to 0.
16423         (main): Print number of errno tests.
16424         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16426 2013-04-29  Andreas Jaeger  <aj@suse.de>
16428         [BZ #15084]
16429         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16430         and RES_USEVC.
16432         [BZ #15085]
16433         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16434         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16435         unimplemented.
16437         [BZ #15380]
16438         * stdlib/random.c (__initstate): Return NULL if
16439         __initstate fails.
16441         [BZ #15086]
16442         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16443         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16444         RES_SNGLKUPREOP.
16446 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16450 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16452         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16453         of individual tests.
16454         (casin_test): Likewise.
16455         (casinh_test): Likewise.
16457 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16459         [BZ #15409]
16460         * math/s_catan.c (__catan): Handle arguments with large real or
16461         imaginary part separately without squaring.
16462         * math/s_catanf.c (__catanf): Likewise.
16463         * math/s_catanh.c (__catanh): Likewise.
16464         * math/s_catanhf.c (__catanhf): Likewise.
16465         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16466         and redefine.
16467         (__catanhl): Handle arguments with large real or imaginary part
16468         separately without squaring.
16469         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16470         and redefine.
16471         (__catanl): Handle arguments with large real or imaginary part
16472         separately without squaring.
16473         * math/libm-test.inc (catan_test): Add more tests.
16474         (catanh_test): Likewise.
16475         * sysdeps/i386/fpu/libm-test-ulps: Update.
16476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16478 2013-04-27  Andreas Jaeger  <aj@suse.de>
16480         [BZ #15007]
16481         * stdlib/stdlib.h: Update guards for qecvt.
16482         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16483         <stdlib.h>.
16485 2013-04-27  Allan McRae  <allan@archlinux.org>
16487         * sysdeps/i386/fpu/libm-test-ulps: Update.
16489 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16491         [BZ #15406]
16492         * math/s_catan.c: Include <float.h>.
16493         (__catan): Ensure underflow exception occurs for underflowed
16494         result.
16495         * math/s_catanf.c: Include <float.h>.
16496         (__catanf): Ensure underflow exception occurs for underflowed
16497         result.
16498         * math/s_catanh.c: Include <float.h>.
16499         (__catanh): Ensure underflow exception occurs for underflowed
16500         result.
16501         * math/s_catanhf.c: Include <float.h>.
16502         (__catanhf): Ensure underflow exception occurs for underflowed
16503         result.
16504         * math/s_catanhl.c: Include <float.h>.
16505         (__catanhl): Ensure underflow exception occurs for underflowed
16506         result.
16507         * math/s_catanl.c: Include <float.h>.
16508         (__catanl): Ensure underflow exception occurs for underflowed
16509         result.
16510         * math/libm-test.inc (catan_test): Add more tests.
16511         (catanh_test): Likewise.
16513         [BZ #15405]
16514         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16515         underflowed result.
16516         * math/s_ccoshf.c (__ccoshf): Likewise.
16517         * math/s_ccoshl.c (__ccoshl): Likewise.
16518         * math/s_csin.c (__csin): Likewise.
16519         * math/s_csinf.c (__csinf): Likewise.
16520         * math/s_csinh.c (__csinh): Likewise.
16521         * math/s_csinhf.c (__csinhf): Likewise.
16522         * math/s_csinhl.c (__csinhl): Likewise.
16523         * math/s_csinl.c (__csinl): Likewise.
16524         * math/libm-test.inc (ccos_test): Add more tests.
16525         (ccosh_test): Likewise.
16526         (csin_test): Likewise.
16527         (csinh_test): Likewise.
16529 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16531         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16532         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16533         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16534         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16535         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16536         powerpc/power5+/fpu folders.
16537         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16540 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16544 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16546         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16547         additions to variable.
16548         [$(config-machine) = x86_64] (modules-names): Likewise.
16549         ($(objpfx)tst-audit3): Remove dependency.
16550         ($(objpfx)tst-audit3.out): Likewise.
16551         ($(objpfx)tst-audit4): Likewise.
16552         ($(objpfx)tst-audit4.out): Likewise.
16553         ($(objpfx)tst-audit5): Likewise.
16554         ($(objpfx)tst-audit5.out): Likewise.
16555         ($(objpfx)tst-audit6): Likewise.
16556         ($(objpfx)tst-audit6.out): Likewise.
16557         ($(objpfx)tst-audit7): Likewise.
16558         ($(objpfx)tst-audit7.out): Likewise.
16559         (tst-audit3-ENV): Remove variable.
16560         (tst-audit4-ENV): Likewise.
16561         (tst-audit5-ENV): Likewise.
16562         (tst-audit6-ENV): Likewise.
16563         (tst-audit7-ENV): Likewise.
16564         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16565         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16566         addition to variable.
16567         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16568         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16569         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16570         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16571         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16572         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16573         tst-audit3, tst-audit4 and tst-audit5.
16574         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16575         tst-audit6 and tst-audit7.
16576         [$(subdir) = elf] (modules-names): Add audit modules for those
16577         tests.
16578         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16579         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16580         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16581         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16582         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16583         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16584         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16585         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16586         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16587         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16588         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16589         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16590         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16591         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16592         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16593         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16594         Likewise.
16595         [$(subdir) = elf && $(config-cflags-avx) = yes]
16596         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16597         [$(subdir) = elf && $(config-cflags-avx) = yes]
16598         (CFLAGS-tst-auditmod4a.c): Likewise.
16599         [$(subdir) = elf && $(config-cflags-avx) = yes]
16600         (CFLAGS-tst-auditmod4b.c): Likewise.
16601         [$(subdir) = elf && $(config-cflags-avx) = yes]
16602         (CFLAGS-tst-auditmod6b.c): Likewise.
16603         [$(subdir) = elf && $(config-cflags-avx) = yes]
16604         (CFLAGS-tst-auditmod6c.c): Likewise.
16605         [$(subdir) = elf && $(config-cflags-avx) = yes]
16606         (CFLAGS-tst-auditmod7b.c): Likewise.
16607         * elf/tst-audit3.c: Move to ...
16608         * sysdeps/x86_64/tst-audit3.c: ... here.
16609         * elf/tst-audit4.c: Move to ...
16610         * sysdeps/x86_64/tst-audit4.c: ... here.
16611         * elf/tst-audit5.c: Move to ...
16612         * sysdeps/x86_64/tst-audit5.c: ... here.
16613         * elf/tst-audit6.c: Move to ...
16614         * sysdeps/x86_64/tst-audit6.c: ... here.
16615         * elf/tst-audit7.c: Move to ...
16616         * sysdeps/x86_64/tst-audit7.c: ... here.
16617         * elf/tst-auditmod3a.c: Move to ...
16618         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16619         * elf/tst-auditmod3b.c: Move to ...
16620         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16621         * elf/tst-auditmod4a.c: Move to ...
16622         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16623         * elf/tst-auditmod4b.c: Move to ...
16624         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16625         * elf/tst-auditmod5a.c: Move to ...
16626         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16627         * elf/tst-auditmod5b.c: Move to ...
16628         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16629         * elf/tst-auditmod6a.c: Move to ...
16630         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16631         * elf/tst-auditmod6b.c: Move to ...
16632         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16633         * elf/tst-auditmod6c.c: Move to ...
16634         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16635         * elf/tst-auditmod7a.c: Move to ...
16636         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16637         * elf/tst-auditmod7b.c: Move to ...
16638         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16640 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16642         [BZ #15366]
16643         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16644         define unconditionally.
16645         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16646         define unconditionally.
16647         (INT8_C, INT16_C, etc.): Likewise.
16649 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16651         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16652         __ehdr_start with hidden visibility.
16654         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16656 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16658         * math/libm-test.inc (cos_test): Use accurate hex constants.
16659         (sincost_test): Likewise.
16661 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16663         * math/libm-test.inc (catan_test): Add more tests.
16664         (catanh_test): Likewise.
16666         * math/s_catanf.c (__catanf): Use suffixed floating-point
16667         constants.
16668         * math/s_catanhf.c (__catanhf): Likewise.
16669         * math/s_catanhl.c (__catanhl): Likewise.
16670         * math/s_catanl.c (__catanl): Likewise.
16672         [BZ #15394]
16673         * math/s_catan.c (__catan): Calculate imaginary part of result
16674         with log1p not log unless computing log of number close to 0.
16675         * math/s_catanf.c (__catanf): Likewise.
16676         * math/s_catanl.c (__catanl): Likewise.
16677         * math/s_catanh.c (__catanh): Calculate real part of result with
16678         log1p not log unless computing log of number close to 0.
16679         * math/s_catanhf.c (__catanhf): Likewise.
16680         * math/s_catanhl.c (__catanhl): Likewise.
16681         * math/libm-test.inc (catan_test): Add more tests.
16682         (catanh_test): Likewise.
16683         * sysdeps/i386/fpu/libm-test-ulps: Update.
16684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16686 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16688         * benchtests/Makefile: Mention files in which fast and slow
16689         paths of math functions are implemented.
16691 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16693         * sysdeps/posix/timespec_get.c: New file.
16695 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16697         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16698         POWER.
16699         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16700         for POWER.
16701         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16702         powerpc/power5/fpu folders.
16703         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16704         * benchtests/Makefile: Add modf testcase.
16705         * benchtests/bench-modf.c: New file: Benchmark test for mo
16707 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16709         [BZ #14888]
16710         * time/Makefile (tests): Add tst-strptime-whitespace.
16711         * time/strptime_l.c (get_number): Use ISSPACE.
16712         (__strptime_internal): Likewise.
16713         * time/tst-strptime-whitespace.c: New test case.
16715 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16717         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16718         member.
16719         (_nss_files_init): Set it here.
16721 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16723         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16724         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16725         unsigned.
16727 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16729         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16731 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16733         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16734         size just once.
16736 2013-04-21  David S. Miller  <davem@davemloft.net>
16738         * po/ru.po: Update Russion translation from translation project.
16740 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16742         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16743         and setfsgid.
16745 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16747         * configure.in: Remove i386 configure warning. Remove i386 case.
16748         * configure: Regenerate.
16749         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16750         Add example to error message.
16751         * sysdeps/i386/configure: Regenerate.
16753 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16755         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16756         slowtan.
16757         * benchtests/cos-inputs: New file.
16758         * benchtests/slowcos-inputs: New file.
16759         * benchtests/slowcos.c: New file.
16760         * benchtests/slowtan-inputs: New file.
16761         * benchtests/slowtan.c: New file.
16762         * benchtests/tan-inputs: New file.
16764 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16766         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16767         considered kosher.
16769 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16771         * benchtests/Makefile: Include cppflags-iterator.mk to add
16772         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16774         * Makefile.in (bench-clean): New target.
16775         * benchtests/Makefile (bench-clean): Likewise.
16777 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16779         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16781 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16783         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16785 2013-04-15  Andreas Schwab  <schwab@suse.de>
16787         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16788         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16789         * nscd/pwdcache.c (cache_addpw): Likewise.
16790         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16791         more than recsize.
16793 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16795         * benchtests/Makefile (bench): Write all output to
16796         bench-out.tmp together.
16798 2013-04-15  Andreas Schwab  <schwab@suse.de>
16800         * nscd/nscd.c (main): Don't fork again after closing files.
16802 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16804         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16806         * benchtests/Rules (bench-deps): Collect dependencies into a
16807         single variable.  Add Makefile to dependencies.
16808         ($(objpfx)bench-%.c): Depend on bench-deps.
16810 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16811             Xavier Roche  <roche+kml2@exalead.com>
16813         [BZ #15361]
16814         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16815         just that it's a file descriptor.
16816         * manual/llio.texi (Synchronizing AIO Operations): Update description
16817         for EBADF error from aio_fsync.
16819 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16821         * Rules (bench): Move target definition...
16822         * benchtests/Makefile: ... here.
16824 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16826         * math/libm-test.inc (cos_test): Fix PI/2 test.
16827         (sincos_test): Likewise.
16828         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16829         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16831 2013-04-11  Andreas Schwab  <schwab@suse.de>
16833         [BZ #13988]
16834         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16835         accept exponent character only when digits were seen.
16836         * stdio-common/Makefile (tests): Add bug26.
16837         * stdio-common/bug26.c: New file.
16839         [BZ #14293]
16840         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16841         non-freeable.
16843 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16845         * Makeconfig (rtld-prefix): Define built linker prefix.
16846         * Rules (run-bench): Use it.
16847         * math/Makefile (run-regen-ulps): Likewise.
16849         * Rules (bench): Remove eval.
16851 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16852             Roland McGrath  <roland@hack.frob.com>
16853             Ondrej Bilka  <neleai@seznam.cz>
16855         [BZ #15346]
16856         * time/getdate.c: Include ctype.h and alloca.h.
16857         (__getdate_r): Trim leading and trailing spaces of input.
16858         * time/tst-getdate.c (tests): Add tests with leading and
16859         trailing spaces.
16861 2013-04-08  Roland McGrath  <roland@hack.frob.com>
16863         [BZ #14280]
16864         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
16865         when computing value.
16867 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16869         * math/README.libm-test (How can I generate "libm-test-ulps"?):
16870         Use testrun.sh to run libm tests.
16872         [BZ #15309]
16873         * elf/dl-open.c (dl_open_worker): memset all of seen array.
16875 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
16877         [BZ #15264]
16878         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
16880 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16882         * Makefile.in (regen-ulps): New target.
16883         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
16884         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
16885         [ifneq (no,$(PERL)] (regen-ulps): New target.
16886         [ifeq (no,$(PERL)] (regen-ulps): New target.
16887         * math/libm-test.inc (ulps_file_name): Define.
16888         (output_dir): New variable.
16889         (options): Add "output-dir" option.
16890         (parse_opt): Handle 'o' case.
16891         (main): If output_dir is non-NULL use it as a prefix
16892         otherwise use "".
16893         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
16895 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16897         [BZ #10060, #10062]
16898         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
16899         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
16900         fail configure if __sync_val_compare_and_swap is not inlined.
16901         * sysdeps/i386/configure: Regenerate.
16902         * configure.in: Build for i686 when configured for i386.
16903         * configure: Regenerate.
16904         * README: Remove i386 reference.
16906 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
16908         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
16909         * sysdeps/s390/s390-64/sysdep.h: Likewise.
16911 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
16913         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
16914         (lmsnanval): New variables.
16915         (F): Add conversion tests.
16916         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
16917         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
16919         * stdio-common/tstdiomisc.c (F): Properly collect individual
16920         tests' results.
16922         [BZ #14686, #15336]
16923         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
16924         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16925         Instead, use input NaN values or generate a qNaN by arithmetic
16926         operation.  Also fix bugs to comply with the standard.
16927         * math/libm-test.inc (remainder_test): Add more tests.
16929         [BZ #15335, #15342]
16930         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
16931         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
16932         input NaN values or generate a qNaN by arithmetic operation.
16934         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
16935         unreachable code.
16937         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
16938         definitions.
16940 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
16942         [BZ #14478]
16943         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
16944         underflowed result.
16945         * math/s_cexpf.c (__cexpf): Likewise.
16946         * math/s_cexpl.c (__cexpl): Likewise.
16947         * math/libm-test.inc (cexp_test): Add more tests.
16949 2013-04-03  Andreas Schwab  <schwab@suse.de>
16951         [BZ #15330]
16952         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
16953         order arrays from heap if bigger than alloca cutoff.
16955 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
16957         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
16958         (SNAN_TESTS_double): Refer to GCC PR56831.
16959         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
16960         GCC PR56828.
16962 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16964         * Rules (bench): Move bench.out after the run is complete.
16966         * Rules (bench): Echo currently running benchmark.
16968         * benchtests/Makefile (bench): Add atan and slowatan.
16969         * benchtests/atan-inputs: New file.
16970         * benchtests/slowatan-inputs: New file.
16971         * benchtests/slowatan.c: New file.
16973         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
16974         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
16975         its value.
16977         [BZ #15305]
16978         * sysdeps/unix/sysv/linux/kernel-features.h
16979         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
16980         __ASSUME_XFS_RESTRICTED_CHOWN.
16981         * sysdeps/unix/sysv/linux/pathconf.c
16982         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
16983         Save and restore errno.
16985 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
16987         [BZ #15327]
16988         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
16989         arguments using __kernel_casinh.
16990         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
16991         arguments using __kernel_casinhf.
16992         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
16993         arguments using __kernel_casinhl.
16994         * math/libm-test.inc (cacosh_test): Add more tests.
16995         * sysdeps/i386/fpu/libm-test-ulps: Update.
16996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16998 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17000         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17001         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17003         * bench/Makefile (bench): Add sin and slowsin.
17004         * benchtests/sin-inputs: New file.
17005         * benchtests/slowsin-inputs: New file.
17006         * benchtests/slowsin.c: New file.
17008         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17009         (bench): Add slowexp and slowpow.
17010         (exp-ITER): Increase iterations.
17011         (pow-ITER): Likewise.
17012         * benchtests/exp-inputs: Change input.
17013         * benchtests/pow-inputs: Likewise.
17014         * benchtests/slowexp-inputs: New file.
17015         * benchtests/slowexp.c: New file.
17016         * benchtests/slowpow-inputs: New file.
17017         * benchtests/slowpow.c: New file.
17019 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17021         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17022         instructions.
17023         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17024         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17025         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17026         * benchtests/Makefile: Add rint benchtest.
17027         * benchtests/rint-inputs: Input for rint benchtest.
17029 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17031         * Versions.def (libm): Add GLIBC_2.18.
17032         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17033         hidden libm prototypes.
17034         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17035         * math/Makefile (libm-calls): Add s_issignaling.
17036         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17037         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17038         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17039         declaration.
17040         * math/math.h [__USE_GNU] (issignaling): New macro.
17041         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17042         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17043         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17044         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17045         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17046         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17047         * manual/arith.texi (issignaling): New section.
17048         * manual/libm-err-tab.pl (@all_functions): Update comment.
17049         * math/gen-libm-test.pl (parse_args): Apply special handling for
17050         issignaling.
17051         * math/libm-test.inc (print_float, issignaling_test): New
17052         functions.
17053         (check_float_internal): Add issignaling checks.
17054         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17055         default definition.
17056         * sysdeps/powerpc/math-tests.h: New file.
17057         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17058         tests.
17059         * math/test-snan.c (TEST_FUNC): Likewise.
17061 2013-03-30  David S. Miller  <davem@davemloft.net>
17063         * po/de.po: Update from translation team.
17065 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17067         [BZ #10357]
17068         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17069         imaginary part less than 1.0 and real part less than 0.5
17070         specially.
17071         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17072         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17073         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17074         (cacos_test): Add more tests.
17075         (casin_test): Likewise.
17076         (casinh_test): Likewise.
17077         * sysdeps/i386/fpu/libm-test-ulps: Update.
17078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17080 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17082         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17083         ONE with its value.
17085         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17086         (__pow_mp): Replace ONE and MONE with their values.
17087         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17088         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17089         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17090         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17091         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17092         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17094         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17096         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17097         (__pow_mp): Replace ZERO and MZERO with their values.
17098         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17099         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17100         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17101         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17102         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17103         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17104         (__sqr): Likewise.
17106         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17108         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17110 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17112         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17113         Declare with __attribute__ ((weak)).
17114         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17115         Call __call_tls_dtors only if it's not NULL.
17117 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17119         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17120         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17121         magic __ehdr_start linker symbol if it's defined.
17122         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17123         them up here if it was already done.
17125         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17126         (_dl_aux_init): Use const in cast when setting it.
17127         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17128         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17129         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17131         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17132         Declare them here.
17133         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17134         * csu/libc-tls.c: Nor here.
17135         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17137         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17138         (__libc_message): Never call vsyslog.
17140 2013-03-28  Alan Modra  <amodra@gmail.com>
17142         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17143         Define as empty.
17144         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17145         Likewise.
17147 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17149         [BZ #15214]
17150         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17151         underflow.
17152         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17154 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17156         [BZ #15304]
17157         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17158         Don't add gid passed as argument.
17160         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17162 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17164         [BZ #15307]
17165         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17166         imaginary part between 1.0 and 1.5 and real part less than 0.5
17167         specially.
17168         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17169         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17170         * math/libm-test.inc (cacos_test): Add more tests.
17171         (casin_test): Likewise.
17172         (casinh_test): Likewise.
17173         * sysdeps/i386/fpu/libm-test-ulps: Update.
17174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17176 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17178         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17179         constants.
17180         (norm): Likewise.
17181         (denorm): Likewise.
17182         (__dbl_mp): Likewise.
17183         (add_magnitudes): Likewise.
17184         (sub_magnitudes): Likewise.
17185         (__add): Likewise.
17186         (__sub): Likewise.
17187         (__mul): Likewise.
17188         (__sqr): Likewise.
17189         (__inv): Likewise.
17190         (__dvd): Likewise.
17192         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17193         commented code.
17194         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17195         (__dubcos): Likewise.
17196         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17197         (__ieee754_acos): Likewise.
17198         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17199         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17200         (__exp1): Likewise.
17201         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17202         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17203         (log1): Likewise.
17204         (my_log2): Likewise.
17205         (checkint): Likewise.
17206         * sysdeps/ieee754/dbl-64/e_remainder.c
17207         (__ieee754_remainder): Likewise.
17208         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17209         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17210         (bsloww): Likewise.
17211         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17213         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17214         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17215         MANTISSA_STORE_T to store computations on mantissa.  Use
17216         macros for rounding and division.
17217         (denorm): Likewise.
17218         (__dbl_mp): Likewise.
17219         (add_magnitudes): Likewise.
17220         (sub_magnitudes): Likewise.
17221         (__mul): Likewise.
17222         (__sqr): Likewise.
17223         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17224         powers of two in terms of TWOPOW macro.
17225         (mp_no): Make type of mantissa as MANTISSA_T.
17226         [!RADIXI]: Define RADIXI.
17227         [!TWO52]: Define TWO52.
17228         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17230 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17232         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17233         llroundl symbol when building for PPC32.
17235 2013-03-24  Mark H Weaver  <mhw@netris.org>
17237         * manual/arith.texi (Normalization Functions): Fix prototypes for
17238         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17240 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17242         [BZ #13889]
17243         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17244         high value to check if expl overflow.
17245         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17246         to check for underflow and overflow.
17247         * math/libm-test.inc: Add exp test.
17249 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17251         [BZ #11120]
17252         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17253         with NOT_IN_libc.
17255 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17257         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17258         symbol.
17260 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17262         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17263         wrap blocks consisting of several statements.
17265         * sysdeps/generic/math-tests.h: New file.
17266         * sysdeps/i386/fpu/math-tests.h: Likewise.
17267         * math/test-snan.c: Include it.
17268         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17270 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17272         [BZ #15285]
17273         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17274         (__ieee754_j0l): Do not improve calculations using cos of twice
17275         input for inputs above LDBL_MAX / 2.0L.
17276         (__ieee754_y0l): Likewise.
17277         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17278         (__ieee754_j1l): Do not improve calculations using cos of twice
17279         input for inputs above LDBL_MAX / 2.0L.
17280         (__ieee754_y1l): Likewise.
17281         * math/libm-test.inc (j0_test): Add another test.
17282         (j1_test): Likewise.
17283         (y0_test): Likewise.
17284         (y1_test): Likewise.
17285         * sysdeps/i386/fpu/libm-test-ulps: Update.
17287 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17289         * Rules ($(objpfx)bench-%.c): Include code from a C source
17290         file.
17292 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17294         [BZ #15287]
17295         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17296         imaginary part 1.0 and real part less than 0.5 specially.
17297         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17298         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17299         * math/libm-test.inc (cacos_test): Add more tests.
17300         (casin_test): Likewise.
17301         (casinh_test): Likewise.
17302         * sysdeps/i386/fpu/libm-test-ulps: Update.
17303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17305 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17307         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17308         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17310 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17312         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17313         * config.make.in (config-cflags-sse4): Remove variable.
17314         (config-cflags-avx): Likewise.
17315         (config-cflags-sse2avx): Likewise.
17316         (config-cflags-novzeroupper): Likewise.
17317         (config-asflags-i686): Likewise.
17318         (have-mfma4): Likewise.
17319         (have-as-vis3): Likewise.
17320         (MIG): Likewise.
17321         * configure.in (MIG): Do not AC_SUBST.
17322         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17323         (libc_cv_cc_sse4): Do not AC_SUBST.
17324         (libc_cv_cc_avx): Likewise.
17325         (libc_cv_cc_sse2avx): Likewise.
17326         (libc_cv_cc_novzeroupper): Likewise.
17327         (libc_cv_cc_fma4): Likewise.
17328         (libc_cv_as_i686): Likewise.
17329         (libc_cv_sparc_as_vis3): Likewise.
17330         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17331         LIBC_CONFIG_VAR.
17332         (config-asflags-i686): Likewise.
17333         (config-cflags-avx): Likewise.
17334         (config-cflags-sse2avx): Likewise.
17335         (have-mfma4): Likewise.
17336         (config-cflags-novzeroupper): Likewise.
17337         * sysdeps/mach/configure.in (MIG): Likewise.
17338         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17339         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17340         LIBC_CONFIG_VAR.
17341         (config-cflags-avx): Likewise.
17342         (config-cflags-sse2avx): Likewise.
17343         (have-mfma4): Likewise.
17344         (config-cflags-novzeroupper): Likewise.
17345         * configure: Regenerated.
17346         * sysdeps/i386/configure: Likewise.
17347         * sysdeps/mach/configure: Likewise.
17348         * sysdeps/sparc/configure: Likewise.
17349         * sysdeps/x86_64/configure: Likewise.
17351 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17353         [BZ #14812]
17354         * locale/programs/localedef.c (options): Put N_ translation marker
17355         on argument names, not just descriptions.
17357 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17359         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17361 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17363         [BZ #14176]
17364         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17366 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17368         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17369         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17370         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17371         [!BEFORE_ABORT] (before_abort): New function.
17372         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17373         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17374         (writev_for_fatal): New function.
17375         (WRITEV_FOR_FATAL): New macro; call that.
17376         (backtrace_and_maps): New function.
17377         (BEFORE_ABORT): New macro; call that.
17378         (struct str_list): Type removed.
17379         (__libc_message, __libc_fatal): Functions removed.
17380         Include <sysdeps/posix/libc_fatal.c> instead.
17382 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17384         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17385         constants.
17386         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17387         double constants.
17389 2013-03-19  Andreas Schwab  <schwab@suse.de>
17391         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17392         * sysdeps/gnu/configure: Regenerate.
17394         * configure.in: Substitute libc_cv_rtlddir.
17395         * configure: Regenerate.
17396         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17397         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17398         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17399         * elf/Makefile (install-others, CFLAGS-interp.c)
17400         (ldso_install, common-ldd-rewrite): Likewise.
17401         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17402         $(inst_slibdir)/$(rtld-installed-name).
17403         * scripts/rellns-sh: Add -p option.
17404         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17405         for source.
17407 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17409         * manual/nptl.texi: Renamed to ...
17410         * manual/threads.texi: ... this.
17411         * manual/Makefile (chapters): Update.
17413 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17415         [BZ #14812]
17416         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17417         on argument names, not just descriptions.
17418         * malloc/memusagestat.c (options): Likewise.
17419         * nss/getent.c (options): Likewise.
17421 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17423         [BZ #14812]
17424         * iconv/iconv_prog.c (options): Put N_ translation marker
17425         on argument names, not just descriptions.
17426         * iconv/iconvconfig.c (options): Likewise.
17428 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17430         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17431         implementation which is faster on all x86_64 architectures.
17432         Tested on AMD, Intel Nehalem, SNB, IVB.
17433         * sysdeps/x86_64/strnlen.S: Likewise.
17435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17436         Remove all multiarch strlen and strnlen versions.
17437         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17438         Remove strlen and strnlen related parts.
17440         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17441         Inline strlen part.
17442         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17444         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17445         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17446         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17447         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17448         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17449         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17451 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17453         * manual/memory.texi (Malloc Tunable Parameters):
17454         Sort parameters alphabetically. Add comments for missing entries.
17456 2013-03-17  David S. Miller  <davem@davemloft.net>
17458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17460 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17462         [BZ #15283]
17463         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17464         for arguments at most half maximum finite value.
17465         * math/libm-test.inc (j0_test): Add more tests.
17466         (j1_test): Likewise.
17467         (y0_test): Likewise.
17468         (y1_test): Likewise.
17469         * sysdeps/i386/fpu/libm-test-ulps: Update.
17470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17472         [BZ #14155]
17473         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17474         1 / x and functions P and Q for arguments above 0x1p256L.
17475         (__ieee754_y0l): Likewise.
17476         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17477         (__ieee754_y1l): Likewise.
17478         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17479         (j1_test): Likewise.
17480         (y0_test): Likewise.
17481         (y1_test): Likewise.
17483 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17485         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17486         variable.
17488 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17490         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17491         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17492         zero since it's initialized to EXEC_PAGESIZE.
17494         * sysdeps/unix/sysv/linux/ldsodefs.h
17495         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17496         * sysdeps/generic/ldsodefs.h: ... here.
17498 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17500         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17502         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17503         math/test-snan.c.
17504         * math/test-snan.c: Renamed from
17505         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17506         * math/Makefile (tests): Add test-snan.
17507         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17508         test-powerpc-snan.
17510         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17511         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17512         functions.
17513         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17514         __builtin_nan family of functions.
17515         * math/libm-test.inc (initialize): Initialize qnan_value with
17516         __builtin_nan family of functions.
17517         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17518         Remove variables.
17519         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17520         Remove functions.
17521         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17522         storage class.  Initialize qNaN_var and sNaN_var with
17523         __builtin_nan and __builtin_nans families of functions,
17524         respectively.
17526         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17527         (sqrt_test): Remove duplicate test with qNaN input.
17528         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17529         (round_test, signbit_test, significand_test): Note missing +/-Inf
17530         as well as qNaN tests.
17532         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17533         qNaN_var.  Fix a few strings, too.
17534         * math/libm-test.inc (nan_value): Rename to qnan_value.
17535         * math/gen-libm-test.pl (%beautify): Adjust to that.
17536         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17537         * math/test-misc.c (main): Likewise.
17538         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17539         to __qnan_bytes, and __qnan_union, respectively.
17540         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17541         Likewise.
17542         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17543         and lqnanval, respectively.
17544         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17545         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17546         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17547         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17549         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17550         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17551         doubles.
17553         * math/test-misc.c (main): Fix copy'n'pastos.
17554         * misc/tst-efgcvt.c (special): Likewise.
17556         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17557         Remove declarations.
17559 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17561         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17562         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17563         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17564         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17566 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17568         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17569         macro to return vdso values correctly in IFUNC implementations.
17570         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17571         Optimization by using IFUNC.
17573 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17574             Richard Henderson  <rth@redhat.com>
17575             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17577         * Makefile.in (bench): New target.
17578         * NEWS: Mention the benchmark framework.
17579         * Rules (bench): Likewise.
17580         (binaries-bench): Generate binaries for functions to
17581         benchmark.
17582         * benchtests/Makefile: New makefile for benchmark tests.
17583         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17584         programs.
17585         * benchtests/exp-inputs: New input file for EXP function.
17586         * benchtests/pow-inputs: New input file for POW function.
17587         * scripts/bench.pl: New script to generate source files for
17588         benchmark programs.
17590 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17592         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17593         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17594         computations on mantissa.  Use macros for rounding and
17595         division.
17596         (denorm): Likewise.
17597         (__dbl_mp): Likewise.
17598         (add_magnitudes): Likewise.
17599         (sub_magnitudes): Likewise.
17600         (__mul): Likewise.
17601         (__sqr): Likewise.
17602         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17603         powers of two in terms of TWOPOW macro.
17604         (mp_no): Make type of mantissa as MANTISSA_T.
17605         [!RADIXI]: Define RADIXI.
17606         [!TWO52]: Define TWO52.
17607         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17609         * manual/nptl.texi (cindex): Modify threads to pthreads.
17611 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17613         * sysdeps/x86_64/preconfigure: Regenerated.
17615 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17617         [BZ #14155]
17618         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17619         0x1p28 and above.
17620         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17621         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17622         0x1p28 and above.
17623         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17624         * math/libm-test.inc (j0_test): Do not allow one spurious
17625         underflow exception.
17626         (y1_test): Likewise.
17628 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17630         * manual/Makefile (chapters): Add nptl.
17631         * manual/debug.texi (Debugging Support): Add link to Threads
17632         chapter.
17633         * manual/nptl.texi: New file.
17635         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17637 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17639         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17640         for non-NULL pointer before the memory validity test. Pointed
17641         out by Holger Brunck <holger.brunck@keymile.com>.
17643 2013-03-13  Andreas Schwab  <schwab@suse.de>
17645         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17646         instead of .os.
17648 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17650         * timezone/zic.c: Update from tzcode 2013b.
17652 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17654         * manual/install.texi (Configuring and compiling):
17655         Mention i686 and i586.
17656         * INSTALL: Regenerate.
17658 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17660         * sysdeps/init_array/elf-init.c: New file.
17661         * csu/elf-init.c
17662         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17663         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17665         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17666         __gmon_start__ as global, but as static with a .preinit_array pointer.
17667         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17668         * sysdeps/init_array/crti.S: New file, empty except for comments.
17669         * sysdeps/init_array/crtn.S: Likewise.
17671 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17673         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17674         definining bcopy.
17675         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17676         Remove Prefer_SSE_for_memop.
17677         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17678         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17679         HAS_PREFER_SSE_FOR_MEMOP.
17680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17681         memset-x86-64.
17682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17683         Remove bzero, memset ifunc support.
17684         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17685         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17686         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17687         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17689 2013-03-11  Andreas Schwab  <schwab@suse.de>
17691         [BZ #15234]
17692         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17693         by SHLIB_COMPAT.
17694         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17695         (GLIBC_2.16): Remove pthread_atfork.
17697 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17699         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17700         (ptestcases.h): Likewise.
17702 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17704         * Makeconfig ($(common-objpfx)config.status): Depend on
17705         sysdeps/*/preconfigure{,.in} too.
17707 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17709         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17710         (__free_hook): Use void * instead of __malloc_ptr_t.
17711         (__malloc_hook): Likewise.
17712         (__realloc_hook): Likewise.
17713         (__memalign_hook): Likewise.
17714         (__after_morecore_hook): Likewise.
17715         * malloc/arena.c (save_malloc_hook): Likewise.
17716         (save_free_hook): Likewise.
17717         * malloc/hooks.c (malloc_hook_ini): Likewise.
17718         (realloc_hook_ini): Likewise.
17719         (memalign_hook_ini): Likewise.
17720         * malloc/malloc.c (malloc_hook_ini): Likewise.
17721         (realloc_hook_ini): Likewise.
17722         (memalign_hook_ini): Likewise.
17723         (__free_hook): Likewise.
17724         (__malloc_hook): Likewise.
17725         (__realloc_hook): Likewise.
17726         (__memalign_hook): Likewise.
17727         (__libc_malloc): Likewise.
17728         (__libc_free): Likewise.
17729         (__libc_realloc): Likewise.
17730         (__libc_memalign): Likewise.
17731         (__libc_valloc): Likewise.
17732         (__libc_pvalloc): Likewise.
17733         (__libc_calloc): Likewise.
17734         (__posix_memalign): Likewise.
17735         * malloc/morecore.c (__sbrk): Likewise.
17736         (__default_morecore): Likewise.
17738         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17740         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17741         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17742         __malloc_ptrdiff_t.
17744         * malloc/malloc.h (__malloc_size_t): Remove macro.
17745         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17746         __malloc_size_t.
17747         (old_memalign_hook): Likewise.
17748         (old_realloc_hook): Likewise.
17749         (struct hdr): Likewise.
17750         (flood): Likewise.
17751         (mallochook): Likewise.
17752         (memalignhook): Likewise.
17753         (reallochook): Likewise.
17754         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17755         (tr_old_realloc_hook): Likewise.
17756         (tr_old_memalign_hook): Likewise.
17757         (tr_mallochook): Likewise.
17758         (tr_reallochook): Likewise.
17759         (tr_memalignhook): Likewise.
17761 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17763         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17764         default_ldbl_pack and using as default implementation.
17765         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17766         implementation.
17767         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17768         redundant definition.
17769         (ldbl_insert_mantissa): Likewise.
17770         (ldbl_canonicalize): Likewise.
17771         (ldbl_nearbyint): Likewise.
17772         (ldbl_pack): Rename to ldbl_pack_ppc.
17773         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17774         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17775         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17777 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17779         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17780         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17781         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17782         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17783         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17784         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17785         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17786         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17788 2013-03-07  Andreas Jaeger  <aj@suse.de>
17790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17791         bits/mman-linux.h.
17793 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17795         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17796         Include mpa.h and declare __MPEXP.
17797         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17798         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17799         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17800         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17801         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17802         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17803         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17805         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17806         (__slowpow): Use long double EXPL and LOGL functions to
17807         compute POW.
17808         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17809         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17810         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17811         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17812         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17813         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17816         intermediate variable to calculate exponent.
17817         (__sqr): Likewise.
17818         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17819         Likewise.
17820         (__sqr): Likewise.
17822         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17823         [!NO__SQR]: Define __sqr.
17824         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17825         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17826         sysdeps/ieee754/dbl-64/mpa.c.
17827         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17829         [BZ #12723]
17830         * posix/Makefile (tests): Add tst-pathconf.
17831         * posix/tst-pathconf.c: New test case.
17832         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17833         _PC_PIPE_BUF.
17834         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17836 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17838         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17840 2013-03-06  Andreas Jaeger  <aj@suse.de>
17842         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
17843         definition via __MAP_ANONYMOUS.
17845         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
17846         it's not part of Linux headers.
17848         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
17849         (MAP_HUGE_MASK): Define.
17851         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17852         Define.
17853         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17854         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17855         Define.
17856         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17857         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
17858         Define.
17859         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17860         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
17861         Define.
17862         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
17864         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
17865         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
17866         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
17867         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
17868         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
17869         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
17871         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
17872         Handle f2fs.
17874         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17875         Handle f2fs and efivarfs.
17877         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
17878         f2fs.
17880         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
17881         (EFIVARFS_MAGIC): Add.
17882         (F2FS_LINK_MAX): Add.
17884 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
17886         * stdio-common/vfprintf.c: Replace __builtin_expect with
17887         __glibc_unlikely.
17889 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
17891         [BZ #13550]
17892         * sysdeps/generic/bp-sym.h: Remove file.
17893         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
17894         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
17895         <bp-sym.h> and <bp-asm.h>.
17896         (__longjmp): Don't use BP_SYM.
17897         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
17898         and <bp-asm.h>.
17899         (memcpy): Don't use BP_SYM.
17900         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
17901         <bp-sym.h> and <bp-asm.h>.
17902         (memcpy): Don't use BP_SYM.
17903         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
17904         <bp-asm.h>.
17905         (memcpy): Don't use BP_SYM.
17906         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
17907         <bp-asm.h>.
17908         (memset): Don't use BP_SYM.
17909         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17910         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17911         (__bzero): Don't use BP_SYM.
17912         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17913         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17914         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
17915         <bp-sym.h> and <bp-asm.h>.
17916         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17917         pointers.
17918         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
17919         <bp-sym.h> and <bp-asm.h>.
17920         (memcpy): Don't use BP_SYM.
17921         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
17922         <bp-sym.h> and <bp-asm.h>.
17923         (memset): Don't use BP_SYM.
17924         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
17925         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
17926         (__bzero): Don't use BP_SYM.
17927         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
17928         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
17929         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
17930         <bp-sym.h> and <bp-asm.h>.
17931         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17932         pointers.
17933         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
17934         <bp-sym.h> and <bp-asm.h>.
17935         (memcpy): Don't use BP_SYM.
17936         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
17937         <bp-sym.h> and <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/power7/memchr.S: Don't include
17945         <bp-sym.h> and <bp-asm.h>.
17946         (__memchr): Don't use BP_SYM.
17947         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
17948         <bp-sym.h> and <bp-asm.h>.
17949         (memcmp): Don't use BP_SYM.  Remove comment about bounded
17950         pointers.
17951         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
17952         <bp-sym.h> and <bp-asm.h>.
17953         (memcpy): Don't use BP_SYM.
17954         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
17955         <bp-sym.h> and <bp-asm.h>.
17956         (__mempcpy): Don't use BP_SYM.
17957         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
17958         <bp-sym.h> and <bp-asm.h>.
17959         (__memrchr): Don't use BP_SYM.
17960         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
17961         <bp-sym.h> and <bp-asm.h>.
17962         (memset): Don't use BP_SYM.
17963         (__bzero): Likewise.
17964         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
17965         <bp-sym.h> and <bp-asm.h>.
17966         (__rawmemchr): Don't use BP_SYM.
17967         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
17968         <bp-sym.h> and <bp-asm.h>.
17969         (__STRCMP): Don't use BP_SYM.
17970         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
17971         <bp-sym.h> and <bp-asm.h>.
17972         (strchr): Don't use BP_SYM.
17973         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
17974         <bp-sym.h> and <bp-asm.h>.
17975         (__strchrnul): Don't use BP_SYM.
17976         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
17977         <bp-sym.h> and <bp-asm.h>.
17978         (strlen): Don't use BP_SYM.
17979         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
17980         <bp-sym.h> and <bp-asm.h>.
17981         (strncmp): Don't use BP_SYM.  Remove comment about bounded
17982         pointers.
17983         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
17984         <bp-sym.h> and <bp-asm.h>.
17985         (__strnlen): Don't use BP_SYM.
17986         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
17987         <bp-sym.h> and <bp-asm.h>.
17988         (__GI__setjmp): Don't use BP_SYM.
17989         (_setjmp): Likewise.
17990         (__sigsetjmp): Likewise.
17991         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
17992         (L(start_addresses)): Don't use BP_SYM.
17993         (_start): Likewise.
17994         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
17995         <bp-asm.h>.
17996         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
17997         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
17998         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17999         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18000         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18001         <bp-asm.h>.
18002         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18003         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18004         about bounded pointers.
18005         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18006         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18007         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18008         <bp-asm.h>.
18009         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18010         about bounded pointers.  Remove GKM FIXME comments.
18011         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18012         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18013         <bp-asm.h>.
18014         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18015         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18016         Remove GKM FIXME comments.
18017         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18018         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18019         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18020         <bp-asm.h>.
18021         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18022         about bounded pointers.  Remove GKM FIXME comment.
18023         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18024         and <bp-asm.h>.
18025         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18026         pointers.
18027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18028         <bp-sym.h> and <bp-asm.h>.
18029         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18031         <bp-sym.h> and <bp-asm.h>.
18032         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18033         comment.
18035 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18037         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18038         call free(NULL).
18040 2013-03-05  David S. Miller  <davem@davemloft.net>
18042         * po/es.po: Update from translation team.
18044 2013-03-05  Andreas Jaeger  <aj@suse.de>
18046         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18047         <bits/mman-linux.h>.
18048         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18049         is fine.
18050         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18051         <bits/mman-linux.h> to end of file.
18052         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18053         is fine.
18054         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18055         <bits/mman-linux.h> to end of file.
18056         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18057         is fine.
18058         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18059         <bits/mman-linux.h> to end of file.
18061         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18062         (MCL_CURRENT, MCL_FUTURE): Define here.
18064 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18066         [BZ #15232]
18067         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18068         attribute_hidden.
18069         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18071 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18073         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18074         fourth parameter needed for rt_sigprocmask syscall.
18075         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18076         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18077         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18078         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18079         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18080         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18082 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18084         [BZ #13550]
18085         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18086         comment about bounded pointers.
18087         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18088         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18090 2013-03-04  Andreas Jaeger  <aj@suse.de>
18092         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18093         common definitions.
18095         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18096         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18097         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18098         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18099         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18100         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18102 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18104         [BZ #15055]
18105         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18106         __ieee754_sqrl instead of __sqrl.
18108 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18110         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18111         * sysdeps/powerpc/fpu_control.h: ... here.
18112         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18113         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18114         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18115         * sysdeps/powerpc/bits/mathinline.h: ... here.
18117 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18119         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18120         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18121         to just [NEED_DL_SYSINFO_DSO].
18122         * elf/dl-support.c: Likewise.
18123         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18124         * elf/rtld.c (dl_main): Likewise.
18125         * elf/setup-vdso.h (setup_vdso): Likewise.
18126         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18127         * sysdeps/unix/sysv/linux/dl-sysdep.c
18128         (_dl_discover_osversion): Likewise.
18130 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18132         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18133         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18135 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18137         * NEWS: Mention libm performance improvements and non-x86 PI
18138         futex support.
18140         * csu/libc-start.c (__pthread_initialize_minimal): Change
18141         function arguments.
18142         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18144 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18146         [BZ #13550]
18147         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18148         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18149         <bp-sym.h> and <bp-asm.h>.
18150         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18151         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18152         and <bp-asm.h>.
18153         (memcpy): Don't use BP_SYM.
18154         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18155         <bp-asm.h>.
18156         (__mpn_add_n): Don't use BP_SYM.
18157         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18158         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18159         and <bp-asm.h>.
18160         (__mpn_addmul_1): Don't use BP_SYM.
18161         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18162         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18163         <bp-sym.h>.
18164         (_setjmp): Don't use BP_SYM.
18165         (__novmx_setjmp): Likewise.
18166         (__GI__setjmp): Likewise.
18167         (__vmx_setjmp): Likewise.
18168         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18169         <bp-sym.h>.
18170         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18171         (__bzero): Don't use BP_SYM.
18172         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18173         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18174         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18175         <bp-sym.h> and <bp-asm.h>.
18176         (memcpy): Don't use BP_SYM.
18177         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18178         <bp-sym.h> and <bp-asm.h>.
18179         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18180         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18181         <bp-sym.h> and <bp-asm.h>.
18182         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18183         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18184         <bp-asm.h>.
18185         (__mpn_lshift): Don't use BP_SYM.
18186         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18187         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18188         <bp-asm.h>.
18189         (memset): Don't use BP_SYM.
18190         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18191         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18192         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18193         <bp-asm.h>.
18194         (__mpn_mul_1): Don't use BP_SYM.
18195         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18196         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18197         <bp-sym.h> and <bp-asm.h>.
18198         (memcmp): Don't use BP_SYM.
18199         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18200         <bp-sym.h> and <bp-asm.h>.
18201         (memcpy): Don't use BP_SYM.
18202         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18203         <bp-sym.h> and <bp-asm.h>.
18204         (memset): Don't use BP_SYM.
18205         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18206         <bp-sym.h> and <bp-asm.h>.
18207         (strncmp): Don't use BP_SYM.
18208         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18209         <bp-sym.h> and <bp-asm.h>.
18210         (memcpy): Don't use BP_SYM.
18211         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18212         <bp-sym.h> and <bp-asm.h>.
18213         (memset): Don't use BP_SYM.
18214         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18215         <bp-sym.h> and <bp-asm.h>.
18216         (__memchr): Don't use BP_SYM.
18217         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18218         <bp-sym.h> and <bp-asm.h>.
18219         (memcmp): Don't use BP_SYM.
18220         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18221         <bp-sym.h> and <bp-asm.h>.
18222         (memcpy): Don't use BP_SYM.
18223         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18224         <bp-sym.h> and <bp-asm.h>.
18225         (__mempcpy): Don't use BP_SYM.
18226         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18227         <bp-sym.h> and <bp-asm.h>.
18228         (__memrchr): Don't use BP_SYM.
18229         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18230         <bp-sym.h> and <bp-asm.h>.
18231         (memset): Don't use BP_SYM.
18232         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18233         <bp-sym.h> and <bp-asm.h>.
18234         (__rawmemchr): Don't use BP_SYM.
18235         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18236         <bp-sym.h> and <bp-asm.h>.
18237         (__STRCMP): Don't use BP_SYM.
18238         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18239         <bp-sym.h> and <bp-asm.h>.
18240         (strchr): Don't use BP_SYM.
18241         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18242         <bp-sym.h> and <bp-asm.h>.
18243         (__strchrnul): Don't use BP_SYM.
18244         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18245         <bp-sym.h> and <bp-asm.h>.
18246         (strlen): Don't use BP_SYM.
18247         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18248         <bp-sym.h> and <bp-asm.h>.
18249         (strncmp): Don't use BP_SYM.
18250         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18251         <bp-sym.h> and <bp-asm.h>.
18252         (__strnlen): Don't use BP_SYM.
18253         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18254         <bp-asm.h>.
18255         (__mpn_rshift): Don't use BP_SYM.
18256         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18257         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18258         <bp-sym.h> and <bp-asm.h>.
18259         (__sigsetjmp): Don't use BP_SYM.
18260         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18261         (L(start_addresses)): Don't use BP_SYM.
18262         (_start): Likewise.
18263         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18264         <bp-asm.h>.
18265         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18266         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18267         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18268         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18269         <bp-asm.h>.
18270         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18271         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18272         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18273         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18274         <bp-asm.h>.
18275         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18276         comments.
18277         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18278         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18279         <bp-asm.h>.
18280         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18281         FIXME comments.
18282         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18283         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18284         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18285         <bp-asm.h>.
18286         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18287         comment.
18288         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18289         and <bp-asm.h>.
18290         (strncmp): Don't use BP_SYM,
18291         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18292         <bp-asm.h>.
18293         (__mpn_sub_n): Don't use BP_SYM.
18294         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18295         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18296         and <bp-asm.h>.
18297         (__mpn_submul_1): Don't use BP_SYM.
18298         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18300         <bp-sym.h> and <bp-asm.h>.
18301         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18303         <bp-sym.h> and <bp-asm.h>.
18304         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18305         comment.
18307 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18309         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18310         Use ZK to minimize writes to Z.
18311         (sub_magnitudes): Simplify code a bit.
18312         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18313         Use ZK to minimize writes to Z.
18314         (sub_magnitudes): Simplify code a bit.
18316 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18318         * csu/gmon-start.c: Add special exception to license text.
18320 2013-02-27  Richard Henderson  <rth@redhat.com>
18322         * scripts/config.guess: Update from config.git.
18323         * scripts/config.sub: Likewise.
18325 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18327         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18329         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18331         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18333         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18335         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18337 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18339         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18340         [$(build-shared = yes].
18342 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18344         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18345         (__mul): Reduce iterations for calculating mantissa.
18347         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18348         MPTWO.
18349         (__mpranred): Likewise.
18351         [BZ #15160]
18352         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18353         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18355 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18357         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18358         Define __attribute__.
18360 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18362         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18363         unused.
18364         * posix/regex_internal.h (__attribute): Remove.
18365         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18366         (re_string_context_at): Likewise.
18367         (bitset_not): Use __attribute__ and mark function as possibly
18368         unused.
18369         (bitset_merge): Likewise.
18370         (bitset_mask): Likewise.
18371         (re_string_char_size_at): Likewise.
18372         (re_string_wchar_at): Likewise.
18373         (re_string_elem_size_at): Likewise.
18375 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18377         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18378         code.
18379         (cc32): Likewise.
18381         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18382         (__acr): Likewise.
18383         (__cpy): Likewise.
18384         (norm): Likewise.
18385         (denorm): Likewise.
18386         (__dbl_mp): Likewise.
18387         (add_magnitudes): Likewise.
18388         (sub_magnitudes): Likewise.
18389         (__mul): Likewise.
18390         (__inv): Likewise.
18392         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18393         style.
18395         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18396         style.
18398         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18399         code.
18401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18402         up changes with default code.
18403         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18404         Likewise.
18406 2013-02-24  Allan McRae  <allan@archlinux.org>
18408         * manual/socket.texi (The Internet Namespace): Order menu items
18409         to match that in the file.
18411         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18412         node listing of the info page menu.
18414 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18416         [BZ #13550]
18417         * sysdeps/i386/bp-asm.h: Remove file.
18418         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18419         (PARMS): Do not use macros from bp-asm.h.
18420         (S1): Likewise.
18421         (S2): Likewise.
18422         (SIZE): Likewise.
18423         (__mpn_add_n): Do not use BP_SYM
18424         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18425         "bp-asm.h".
18426         (PARMS): Do not use macros from bp-asm.h.
18427         (S1): Likewise.
18428         (SIZE): Likewise.
18429         (__mpn_addmul_1): Do not use BP_SYM
18430         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18431         "bp-asm.h".
18432         (PARMS): Do not use macros from bp-asm.h.
18433         (SIGMSK): Likewise.
18434         (_setjmp): Likewise.  Do not use BP_SYM.
18435         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18436         "bp-asm.h".
18437         (PARMS): Do not use macros from bp-asm.h.
18438         (SIGMSK): Likewise.
18439         (setjmp): Likewise.  Do not use BP_SYM.
18440         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18441         "bp-asm.h".
18442         (PARMS): Do not use macros from bp-asm.h.
18443         (__frexp): Do not use BP_SYM.
18444         (frexp): Likewise.
18445         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18446         "bp-asm.h".
18447         (PARMS): Do not use macros from bp-asm.h.
18448         (__frexpf): Do not use BP_SYM.
18449         (frexpf): Likewise.
18450         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18451         "bp-asm.h".
18452         (PARMS): Do not use macros from bp-asm.h.
18453         (__frexpl): Do not use BP_SYM.
18454         (frexpl): Likewise.
18455         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18456         "bp-asm.h".
18457         (PARMS): Do not use macros from bp-asm.h.
18458         (__remquo): Do not use BP_SYM.
18459         (remquo): Likewise.
18460         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18461         "bp-asm.h".
18462         (PARMS): Do not use macros from bp-asm.h.
18463         (__remquof): Do not use BP_SYM.
18464         (remquof): Likewise.
18465         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18466         "bp-asm.h".
18467         (PARMS): Do not use macros from bp-asm.h.
18468         (__remquol): Do not use BP_SYM.
18469         (remquol): Likewise.
18470         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18471         "bp-asm.h".
18472         (PARMS): Do not use macros from bp-asm.h.
18473         (DEST): Likewise.
18474         (SRC): Likewise.
18475         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18476         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18477         "bp-asm.h".
18478         (PARMS): Do not use macros from bp-asm.h.
18479         (strlen): Do not use BP_SYM.
18480         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18481         "bp-asm.h".
18482         (PARMS): Do not use macros from bp-asm.h.
18483         (S1): Likewise.
18484         (S2): Likewise.
18485         (SIZE): Likewise.
18486         (__mpn_add_n): Do not use BP_SYM.
18487         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18488         "bp-asm.h".
18489         (PARMS): Do not use macros from bp-asm.h.
18490         (S1): Likewise.
18491         (SIZE): Likewise.
18492         (__mpn_addmul_1): Do not use BP_SYM.
18493         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18494         weak_alias.
18495         (bzero): Likewise.
18496         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18497         "bp-asm.h".
18498         (PARMS): Do not use macros from bp-asm.h.
18499         (S): Likewise.
18500         (SIZE): Likewise.
18501         (__mpn_lshift): Do not use BP_SYM.
18502         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18503         "bp-asm.h".
18504         (PARMS): Do not use macros from bp-asm.h.
18505         (DEST): Likewise.
18506         (SRC): Likewise.
18507         (LEN): Likewise.
18508         (memcpy): Likewise.  Do not use BP_SYM.
18509         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18510         libc_hidden_def and weak_alias.
18511         (mempcpy): Do not use BP_SYM in weak_alias.
18512         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18513         "bp-asm.h".
18514         (PARMS): Do not use macros from bp-asm.h.
18515         (DEST): Likewise.
18516         (LEN): Likewise.
18517         [!BZERO_P] (CHR): Likewise.
18518         (memset): Likewise.  Do not use BP_SYM.
18519         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18520         "bp-asm.h".
18521         (PARMS): Do not use macros from bp-asm.h.
18522         (S1): Likewise.
18523         (SIZE): Likewise.
18524         (__mpn_mul_1): Do not use BP_SYM.
18525         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18526         "bp-asm.h".
18527         (PARMS): Do not use macros from bp-asm.h.
18528         (S): Likewise.
18529         (SIZE): Likewise.
18530         (__mpn_rshift): Do not use BP_SYM.
18531         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18532         "bp-asm.h".
18533         (PARMS): Do not use macros from bp-asm.h.
18534         (STR): Likewise.
18535         (CHR): Likewise.
18536         (strchr): Likewise.  Do not use BP_SYM.
18537         (index): Do not use BP_SYM in weak_alias.
18538         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18539         "bp-asm.h".
18540         (PARMS): Do not use macros from bp-asm.h.
18541         (DEST): Likewise.
18542         (SRC): Likewise.
18543         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18544         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18545         "bp-asm.h".
18546         (PARMS): Do not use macros from bp-asm.h.
18547         (strlen): Do not use BP_SYM.
18548         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18549         "bp-asm.h".
18550         (PARMS): Do not use macros from bp-asm.h.
18551         (S1): Likewise.
18552         (S2): Likewise.
18553         (SIZE): Likewise.
18554         (__mpn_sub_n): Do not use BP_SYM.
18555         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18556         "bp-asm.h".
18557         (PARMS): Do not use macros from bp-asm.h.
18558         (S1): Likewise.
18559         (SIZE): Likewise.
18560         (__mpn_submul_1): Do not use BP_SYM.
18561         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18562         "bp-asm.h".
18563         (PARMS): Do not use macros from bp-asm.h.
18564         (S1): Likewise.
18565         (S2): Likewise.
18566         (SIZE): Likewise.
18567         (__mpn_add_n): Do not use BP_SYM.
18568         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18569         weak_alias.
18570         (bzero): Likewise.
18571         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18572         "bp-asm.h".
18573         (PARMS): Do not use macros from bp-asm.h.
18574         (BLK2): Likewise.
18575         (LEN): Likewise.
18576         (memcmp): Do not use BP_SYM.
18577         (bcmp): Do not use BP_SYM in weak_alias.
18578         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18579         "bp-asm.h".
18580         (PARMS): Do not use macros from bp-asm.h.
18581         (DEST): Likewise.
18582         (SRC): Likewise.
18583         (LEN): Likewise.
18584         (memcpy): Likewise.  Do not use BP_SYM.
18585         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18586         "bp-asm.h".
18587         (PARMS): Do not use macros from bp-asm.h.
18588         (DEST): Likewise.
18589         (SRC): Likewise.
18590         (LEN): Likewise.
18591         (memmove): Likewise.  Do not use BP_SYM.
18592         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18593         "bp-asm.h".
18594         (PARMS): Do not use macros from bp-asm.h.
18595         (DEST): Likewise.
18596         (SRC): Likewise.
18597         (LEN): Likewise.
18598         (__mempcpy): Likewise.  Do not use BP_SYM.
18599         (mempcpy): Do not use BP_SYM in weak_alias.
18600         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18601         "bp-asm.h".
18602         (PARMS): Do not use macros from bp-asm.h.
18603         (DEST): Likewise.
18604         (LEN): Likewise.
18605         [!BZERO_P] (CHR): Likewise.
18606         (memset): Likewise.  Do not use BP_SYM.
18607         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18608         "bp-asm.h".
18609         (PARMS): Do not use macros from bp-asm.h.
18610         (STR2): Likewise.
18611         (strcmp): Do not use BP_SYM.
18612         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18613         "bp-asm.h".
18614         (PARMS): Do not use macros from bp-asm.h.
18615         (STR): Likewise.
18616         (DELIM): Likewise.
18617         [USE_AS_STRTOK_R] (SAVE): Likewise.
18618         (FUNCTION): Likewise.  Do not use BP_SYM.
18619         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18620         aliases.
18621         (strtok_r): Likewise.
18622         (__GI___strtok_r): Likewise.
18623         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18624         (PARMS): Do not use macros from bp-asm.h.
18625         (S): Likewise.
18626         (SIZE): Likewise.
18627         (__mpn_lshift): Do not use BP_SYM.
18628         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18629         (PARMS): Do not use macros from bp-asm.h.
18630         (STR): Likewise.
18631         (CHR): Likewise.
18632         (__memchr): Do not use BP_SYM.
18633         (memchr): Do not use BP_SYM in weak_alias.
18634         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18635         (PARMS): Do not use macros from bp-asm.h.
18636         (BLK2): Likewise.
18637         (LEN): Likewise.
18638         (memcmp): Do not use BP_SYM.
18639         (bcmp): Do not use BP_SYM in weak_alias.
18640         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18641         (PARMS): Do not use macros from bp-asm.h.
18642         (S1): Likewise.
18643         (SIZE): Likewise.
18644         (__mpn_mul_1): Do not use BP_SYM.
18645         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18646         "bp-asm.h".
18647         (PARMS): Do not use macros from bp-asm.h.
18648         (STR): Likewise.
18649         (CHR): Likewise.
18650         (__rawmemchr): Do not use BP_SYM.
18651         (rawmemchr): Do not use BP_SYM in weak_alias.
18652         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18653         (PARMS): Do not use macros from bp-asm.h.
18654         (S): Likewise.
18655         (SIZE): Likewise.
18656         (__mpn_rshift): Do not use BP_SYM.
18657         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18658         (PARMS): Do not use macros from bp-asm.h.
18659         (SIGMSK): Likewise.
18660         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18661         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18662         (_start): Do not use BP_SYM.
18663         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18664         (PARMS): Do not use macros from bp-asm.h.
18665         (DEST): Likewise.
18666         (SRC): Likewise.
18667         (__stpcpy): Likewise.  Do not use BP_SYM.
18668         (stpcpy): Do not use BP_SYM in weak_alias.
18669         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18670         "bp-asm.h".
18671         (PARMS): Do not use macros from bp-asm.h.
18672         (DEST): Likewise.
18673         (SRC): Likewise.
18674         (LEN): Likewise.
18675         (__stpncpy): Likewise.  Do not use BP_SYM.
18676         (stpncpy): Do not use BP_SYM in weak_alias.
18677         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18678         (PARMS): Do not use macros from bp-asm.h.
18679         (STR): Likewise.
18680         (CHR): Likewise.
18681         (strchr): Likewise.  Do not use BP_SYM.
18682         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18683         "bp-asm.h".
18684         (PARMS): Do not use macros from bp-asm.h.
18685         (STR): Likewise.
18686         (CHR): Likewise.
18687         (__strchrnul): Likewise.  Do not use BP_SYM.
18688         (strchrnul): Do not use BP_SYM in weak_alias.
18689         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18690         "bp-asm.h".
18691         (PARMS): Do not use macros from bp-asm.h.
18692         (STOP): Likewise.
18693         (strcspn): Do not use BP_SYM.
18694         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18695         "bp-asm.h".
18696         (PARMS): Do not use macros from bp-asm.h.
18697         (STR): Likewise.
18698         (STOP): Likewise.
18699         (strpbrk): Likewise.  Do not use BP_SYM.
18700         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18701         "bp-asm.h".
18702         (PARMS): Do not use macros from bp-asm.h.
18703         (STR): Likewise.
18704         (CHR): Likewise.
18705         (strrchr): Likewise.  Do not use BP_SYM.
18706         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18707         (PARMS): Do not use macros from bp-asm.h.
18708         (SKIP): Likewise.
18709         (strspn): Do not use BP_SYM.
18710         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18711         (PARMS): Do not use macros from bp-asm.h.
18712         (STR): Likewise.
18713         (DELIM): Likewise.
18714         (SAVE): Likewise.
18715         (FUNCTION): Likewise.  Do not use BP_SYM.
18716         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18717         aliases.
18718         (strtok_r): Likewise.
18719         (__GI___strtok_r): Likewise.
18720         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18721         (PARMS): Do not use macros from bp-asm.h.
18722         (S1): Likewise.
18723         (S2): Likewise.
18724         (SIZE): Likewise.
18725         (__mpn_sub_n): Do not use BP_SYM.
18726         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18727         "bp-asm.h".
18728         (PARMS): Do not use macros from bp-asm.h.
18729         (S1): Likewise.
18730         (SIZE): Likewise.
18731         (__mpn_submul_1): Do not use BP_SYM.
18732         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18733         <bp-sym.h>.
18734         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18735         and <bp-asm.h>.
18736         (PARMS): Do not use macros from bp-asm.h.
18737         (FLAGS): Likewise.
18738         (PTID): Likewise.
18739         (TLS): Likewise.
18740         (CTID): Likewise.
18741         (__clone): Do not use BP_SYM.
18742         (clone): Do not use BP_SYM in weak_alias.
18743         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18744         and <bp-asm.h>.
18745         (PARMS): Do not use macros from bp-asm.h.
18746         (LEN): Likewise.
18747         (__mmap64): Do not use BP_SYM.
18748         (mmap64): Do not use BP_SYM in weak_alias.
18749         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18750         <bp-sym.h> and <bp-asm.h>.
18751         (PARMS): Do not use macros from bp-asm.h.
18752         (__posix_fadvise64_l64): Do not use BP_SYM.
18753         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18754         (PARMS): Do not use macros from bp-asm.h.
18755         (NSOPS): Likewise.
18756         (semtimedop): Do not use BP_SYM.
18757         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18758         and <bp-asm.h>.
18760 2013-02-21  Allan McRae  <allan@archlinux.org>
18762         * manual/message.texi (Charset conversion in gettext):
18763         Move @end statement to beginning of line.
18765 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18767         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18768         static.
18769         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18770         Likewise.
18772         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18773         (denorm): Likewise.
18774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18777 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18779         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18780         tail-call to the resolved function if pltexit isn't needed.
18782 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18784         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18785         or Y being zero as being unlikely.
18786         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18787         Likewise.
18789 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18791         * manual/nss.texi (System Databases and Name Service Switch):
18792         Remove frobnicate @pxref.
18794 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18796         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18797         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18799 2013-02-20  Petr Machata  <pmachata@redhat.com>
18801         * elf/elf.h (R_ARM_TARGET1): New macro.
18802         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18803         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18804         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18805         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18806         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18807         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18808         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18809         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18810         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18811         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18812         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18813         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18814         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18815         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18816         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18817         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18818         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18819         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18820         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18821         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18822         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18823         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18824         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18825         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18826         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18827         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18828         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18829         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18830         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18831         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18832         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18833         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18834         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18835         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18836         (R_ARM_THM_GOT_BREL12): Likewise.
18837         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18838         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18839         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18840         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18841         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
18842         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
18843         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
18844         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
18845         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
18847 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18849         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18850         __attribute_used__ to __attribute__ ((unused)).
18852 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18854         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
18855         powerpc mpa.c.
18856         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
18857         comment formatting.
18858         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
18860 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
18862         [BZ #13550]
18863         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
18864         Remove macro.
18865         (ENTER): Remove both macro definitions.
18866         (LEAVE): Likewise.
18867         (CHECK_BOUNDS_LOW): Likewise.
18868         (CHECK_BOUNDS_HIGH): Likewise.
18869         (CHECK_BOUNDS_BOTH): Likewise.
18870         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
18871         (RETURN_BOUNDED_POINTER): Likewise.
18872         (RETURN_NULL_BOUNDED_POINTER): Likewise.
18873         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
18874         (POP_ERRNO_LOCATION_RETURN): Likewise.
18875         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
18876         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18877         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
18878         macros.
18879         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18880         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
18881         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
18882         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
18883         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
18884         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
18885         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
18886         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
18887         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
18888         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
18889         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
18890         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
18891         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18892         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
18893         removed macros.
18894         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18895         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
18896         macros.
18897         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18898         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
18899         * sysdeps/i386/i586/memset.S (memset): Likewise.
18900         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
18901         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18902         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
18903         macros.
18904         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18905         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
18906         Change uses of L(2) to L(out).
18907         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
18908         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
18909         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
18910         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18911         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
18912         removed macros.
18913         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18914         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
18915         macros.
18916         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18917         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
18918         (RETURN): Do not use macro LEAVE.
18919         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
18920         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
18921         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
18922         * sysdeps/i386/i686/memset.S (memset): Likewise.
18923         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
18924         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
18925         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18926         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
18927         Likewise.
18928         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18929         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
18930         L(1_2) and L(1_3) into L(1).
18931         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18932         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
18933         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18934         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
18935         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18936         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
18937         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
18938         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18939         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
18940         macros.
18941         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
18942         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18943         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
18944         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
18945         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
18946         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18947         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
18948         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
18949         * sysdeps/i386/strcspn.S (strcspn): Likewise.
18950         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
18951         * sysdeps/i386/strrchr.S (strrchr): Likewise.
18952         * sysdeps/i386/strspn.S (strspn): Likewise.
18953         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
18954         conditional code.
18955         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18956         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
18957         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
18958         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
18959         L(1_3) into L(1_1).
18960         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
18961         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18962         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
18963         macros.
18964         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18966 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
18968         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
18969         macro.
18971 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18973         * math/atest-exp.c (exp_mpn): Remove ROUND.
18974         * math/atest-exp2.c (exp_mpn): Likewise.
18975         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
18977         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
18978         * stdlib/tst-tls-atexit-lib.c: Likewise.
18979         * stdlib/tst-tls-atexit.c: Likewise.
18981 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18983         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
18984         and __attribute_alloc_size__.
18986 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18988         * include/programs/xmalloc.h: Change __attribute_alloc_size to
18989         __attribute_alloc_size__.
18990         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
18991         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
18993 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
18995         * include/programs/xmalloc.h: New file.
18996         * catgets/gencat.c: Include it.
18997         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
18998         * elf/pldd.c: Likewise.
18999         * iconv/iconv_charmap.c: Likewise.
19000         * iconv/iconvconfig.c: Likewise.
19001         * iconv/strtab.c: Likewise.
19002         * locale/programs/locale.c: Likewise.
19003         * locale/programs/localedef.h: Likewise.
19004         * locale/programs/simple-hash.c: Likewise.
19005         * nscd/nscd.h: Likewise.
19006         * nss/makedb.c: Likewise.
19007         * sysdeps/generic/ldconfig.h: Likewise.
19009 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19011         * Versions.def: Add GLIBC_2.18.
19012         * include/link.h (struct link_map): New member l_tls_dtor_count.
19013         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19014         (__call_tls_dtors): Likewise.
19015         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19016         __cxa_thread_atexit_impl.
19017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19018         Likewise.
19019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19020         Likewise.
19021         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19022         Likewise.
19023         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19024         Likewise.
19025         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19026         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19027         Likewise.
19028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19029         Likewise.
19030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19032         Likewise.
19033         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19034         (tests): Add test case tst-tls-atexit.
19035         (modules-names): Add shared library for tst-tls-atexit.
19036         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19037         (GLIBC_PRIVATE): Add __call_tls_dtors.
19038         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19039         for libstdc++.
19040         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19041         * stdlib/tst-tls-atexit.c: New test case.
19042         * stdlib/tst-tls-atexit-lib.c: New test case.
19044         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19046         * elf/Versions (ld): Add _dl_find_dso_for_object.
19047         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19048         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19049         (dl_open_worker): Use _dl_find_dso_for_object.
19050         * elf/dl-sym.c (do_sym): Likewise.
19051         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19053 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19055         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19056         Syntactic changes only.
19057         (_dl_runtime_profile): Do a tail-call to the resolved function.
19059 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19061         [BZ #13550]
19062         * sysdeps/x86_64/bp-asm.h: Remove file.
19063         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19064         <bp-sym.h> and <bp-asm.h>.
19065         (__clone): Do not use BP_SYM.
19066         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19067         <bp-sym.h> and <bp-asm.h>.
19068         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19069         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19070         "bp-asm.h".
19071         (_setjmp): Do not use BP_SYM.
19072         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19073         "bp-asm.h".
19074         (setjmp): Do not use BP_SYM.
19075         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19076         libc_hidden_def.
19077         (mempcpy): Do not use BP_SYM in weak_alias.
19078         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19079         "bp-asm.h".
19080         (strchr): Do not use BP_SYM.
19081         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19082         "bp-asm.h".
19083         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19084         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19085         (_start): Do not use BP_SYM.
19086         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19087         "bp-asm.h".
19088         (strcat): Do not use BP_SYM.
19089         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19090         "bp-asm.h".
19091         (STRCMP): Do not use BP_SYM.
19092         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19093         "bp-asm.h".
19094         (STRCPY): Do not use BP_SYM.
19095         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19096         "bp-asm.h".
19097         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19098         "bp-asm.h".
19099         (FUNCTION): Do not use BP_SYM.
19100         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19101         weak_alias.
19102         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19104 2013-02-17  Andreas Jaeger  <aj@suse.de>
19106         * time/Versions: Sort entries.
19107         * string/Versions: Likewise.
19108         * resolv/Versions: Likewise.
19109         * posix/Versions: Likewise.
19110         * iconv/Versions: Likewise.
19111         * elf/Versions: Likewise.
19112         * wcsmbs/Versions: Likewise.
19114 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19116         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19117         loop termination condition.
19119         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19120         variable to calculate EZ.
19121         (__sqr): Likewise.
19123         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19124         the lower precision input.
19126 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19128         [BZ #13550]
19129         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19130         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19131         (run-via-rtld-prefix): Do not handle %-bp tests.
19132         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19133         (all-object-suffixes): Remove .ob.
19134         (bppfx): Remove variable.
19135         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19136         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19137         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19138         [$(build-bounded) = yes] (libtype.ob): Likewise.
19139         * Makerules (elide-routines.ob): Remove variable.
19140         (do-tests-clean): Do not handle *-bp.out.
19141         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19142         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19143         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19144         (tests): Do not include $(tests-bp.out).
19145         (xtests): Do not include $(xtests-bp.out).
19146         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19147         [$(build-bounded) = yes] ($(addprefix
19148         $(objpfx),$(binaries-bounded))): Remove rule.
19149         ($(objpfx)%-bp.out): Remove rule.
19150         * config.make.in (build-bounded): Remove variable.
19151         * crypt/Makefile [$(build-bounded) = yes]
19152         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19153         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19154         append to variable.
19155         [$(build-bounded) = yes] (install-lib): Likewise.
19156         [$(build-bounded) = yes] (generated): Likewise.
19157         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19158         Remove rule.
19159         * intl/Makefile [$(build-bounded) = yes]
19160         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19161         * math/Makefile [$(build-bounded) = yes]
19162         ($(tests:%=$(objpfx)%-bp): Likewise.
19163         * misc/Makefile [$(build-bounded) = yes]
19164         ($(objpfx)tst-tsearch-bp): Likewise.
19165         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19166         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19167         Remove dependency.
19168         * string/Makefile (o-objects.ob): Remove variable.
19169         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19170         (CFLAGS-.ob): Remove variable.
19171         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19172         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19173         both definitions of variable.
19174         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19175         (ASFLAGS-.ob): Remove variable.
19177 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19179         [BZ #13550]
19180         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19181         Remove __BOUNDED_POINTERS__ from condition.
19182         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19183         * string/bits/string2.h [!__NO_STRING_INLINES &&
19184         !__BOUNDED_POINTERS__]: Likewise.
19185         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19186         Likewise.
19187         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19188         Remove conditional code.
19189         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19190         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19191         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19192         condition.
19194         [BZ #13550]
19195         * csu/libc-start.c: Do not include <bp-sym.h>.
19196         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19197         * elf/dl-open.c: Do not include <bp-sym.h>.
19198         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19199         * math/fegetenv.c: Do not include <bp-sym.h>.
19200         (fegetenv): Do not use BP_SYM in versioned symbols.
19201         * nptl/sysdeps/pthread/bits/libc-lockP.h
19202         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19203         <bp-sym.h>.
19204         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19205         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19206         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19207         (__pthread_mutex_destroy): Likewise.
19208         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19209         (__pthread_mutex_lock): Likewise.
19210         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19211         (__pthread_mutex_trylock): Likewise.
19212         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19213         (__pthread_mutex_unlock): Likewise.
19214         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19215         (__pthread_mutexattr_init): Likewise.
19216         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19217         (__pthread_mutexattr_destroy): Likewise.
19218         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19219         (__pthread_mutexattr_settype): Likewise.
19220         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19221         (__pthread_rwlock_init): Likewise.
19222         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19223         (__pthread_rwlock_destroy): Likewise.
19224         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19225         (__pthread_rwlock_rdlock): Likewise.
19226         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19227         (__pthread_rwlock_tryrdlock): Likewise.
19228         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19229         (__pthread_rwlock_wrlock): Likewise.
19230         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19231         (__pthread_rwlock_trywrlock): Likewise.
19232         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19233         (__pthread_rwlock_unlock): Likewise.
19234         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19235         (__pthread_key_create): Likewise.
19236         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19237         (__pthread_setspecific): Likewise.
19238         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19239         (__pthread_getspecific): Likewise.
19240         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19241         Likewise.
19242         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19243         (_pthread_cleanup_push_defer): Likewise.
19244         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19245         (_pthread_cleanup_pop_restore): Likewise.
19246         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19247         (pthread_setcancelstate): Likewise.
19248         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19249         <bp-sym.h>.
19250         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19251         (memchr): Do not use BP_SYM in weak_alias.
19252         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19253         (fegetenv): Do not use BP_SYM in versioned symbols.
19254         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19255         (fesetenv): Do not use BP_SYM in versioned symbols.
19256         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19257         (feupdateenv): Do not use BP_SYM in versioned symbols.
19258         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19259         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19260         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19261         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19262         (open64): Do not use BP_SYM in weak_alias.
19263         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19264         (fegetenv): Do not use BP_SYM in versioned symbols.
19265         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19266         (fesetenv): Do not use BP_SYM in versioned symbols.
19267         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19268         (feupdateenv): Do not use BP_SYM in versioned symbols.
19269         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19270         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19271         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19272         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19273         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19274         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19275         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19276         <bp-sym.h>.
19277         (__libc_start_main): Do not use BP_SYM.
19279 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19281         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19282         redundant return line.
19283         (norm): Likewise.
19284         (denorm): Likewise.
19285         (dbl_mp): Likewise.
19286         (sub_magnitudes): Likewise.
19287         (__add): Likewise.
19288         (__sub): Likewise.
19289         (__mul): Likewise.
19290         (__inv): Likewise.
19291         (__dvd): Likewise.
19292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19293         (norm): Likewise.
19294         (denorm): Likewise.
19295         (dbl_mp): Likewise.
19296         (sub_magnitudes): Likewise.
19297         (__add): Likewise.
19298         (__sub): Likewise.
19299         (__mul): Likewise.
19300         (__inv): Likewise.
19301         (__dvd): Likewise.
19303         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19304         instead of __mul.
19305         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19306         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19307         (cc32): Likewise.
19309         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19310         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19311         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19312         of __mul for squares.
19313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19314         function
19315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19316         Likewise.
19317         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19318         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19320 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19322         [BZ #13550]
19323         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19324         code.
19325         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19326         prototype or function definition.  Rename ubp_* variables and
19327         parameters.  Remove argv definitions conditional on
19328         [__BOUNDED_POINTERS__].
19329         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19330         * elf/dl-runtime.c (_dl_fixup): Likewise.
19331         * include/set-hooks.h (RUN_HOOK): Likewise.
19332         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19333         definition.
19334         * string/strcpy.c (strcpy): Do not use __unbounded.
19335         * sysdeps/generic/frame.h (struct layout): Likewise.
19336         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19337         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19338         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19339         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19340         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19341         (__backtrace): Likewise.
19342         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19343         use __ptrvalue.
19344         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19345         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19346         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19347         Likewise.
19348         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19349         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19350         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19351         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19352         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19353         Do not use __unbounded.
19354         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19355         Rename __unboundedrlimits parameter to rlimits in prototype.
19356         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19357         Do not use __unbounded.
19358         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19359         not use __ptrvalue.
19360         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19361         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19362         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19363         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19364         __ptrvalue or __unbounded.
19365         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19366         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19367         use __unbounded.
19368         (__new_msgctl): Do not use __ptrvalue.
19369         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19370         __unbounded.
19371         (__libc_msgrcv): Do not use __ptrvalue.
19372         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19373         startup_info): Do not use __unbounded.
19374         (__libc_start_main): Likewise.  Rename ubp_* variables and
19375         parameters.  Remove argv definitions conditional on
19376         [__BOUNDED_POINTERS__].
19377         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19378         __ptrvalue.
19379         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19380         use __unbounded.
19381         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19382         or __ptrvalue.
19383         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19384         use __unbounded.
19385         (__new_shmctl): Do not use __ptrvalue.
19386         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19387         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19388         Likewise.
19389         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19390         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19391         (__libc_sigaction): Likewise.
19392         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19393         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19394         Likewise.
19395         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19397 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19399         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19401         * string/mempcpy.c: Implement by calling memcpy.
19403 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19405         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19408         evaluation.
19410         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19411         values in the mantissa.
19413         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19414         minimize writes to Z.
19415         (sub_magnitudes): Simplify code a bit.
19417 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19419         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19420         from the message.  The linker prefixes all warnings with that already.
19422 2013-02-12  Andreas Schwab  <schwab@suse.de>
19424         [BZ #15078]
19425         * posix/regexec.c (extend_buffers): Add parameter min_len.
19426         (check_matching): Pass minimum needed length.
19427         (clean_state_log_if_needed): Likewise.
19428         (get_subexp): Likewise.
19429         * posix/Makefile (tests): Add bug-regex34.
19430         (bug-regex34-ENV): Define.
19431         * posix/bug-regex34.c: New file.
19433         [BZ #11561]
19434         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19435         elements compare against the byte sequence of it, not its name.
19436         * posix/Makefile (tests): Add bug-regex35.
19437         (bug-regex35-ENV): Define.
19438         * posix/bug-regex35.c: New file.
19440 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19442         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19443         comment.
19444         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19445         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19446         (CHECK_EOL): Add undef.
19448 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19450         * bits/stdlib-bsearch.h: New file.
19451         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19452         * stdlib/stdlib.h: Likewise.
19454 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19456         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19457         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19458         declaration.
19459         * manual/search.texi (Array Search Function): Add missing const in
19460         lfind prototype.
19461         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19462         declaration to use rlim_t.
19463         (Basic Scheduling Functions): Remove erroneous const from
19464         sched_getparam prototype.  Remove erroneous * from
19465         sched_get_priority_max and sched_get_priority_min prototypes.
19466         (Resource Usage): Fix summary @comment on vtimes to refer to
19467         sys/vtimes.h rather than vtimes.h.
19468         Add missing *s in vtimes prototype.
19469         (Limits on Resources): Fix ulimit prototype to return long int.
19470         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19471         prototypes to use long int rather than double.
19472         (BSD Random): Fix initstate and setstate to use char *, not void *.
19473         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19474         prototype to make second argument 'struct aiocb64 *const[]'.
19475         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19476         (Status of AIO Operations): Remove erroneous const in aio_return and
19477         aio_return64 prototypes.
19478         (Synchronizing I/O): Fix sync prototype to return void.
19479         * manual/startup.texi (Suboptions): Remove an erroneous const in
19480         getsubopt prototype.
19481         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19482         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19483         use size_t rather than int.
19484         (Scanning All Users): Likewise for getpwent_r.
19485         (Setting Groups): Add missing const to setgroups prototype.
19486         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19487         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19488         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19489         'const void *' rather than 'const char *'.
19490         (Host Address Functions): Likewise for inet_ntop.
19491         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19492         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19493         ssize_t for return value.
19494         (Sending Data): Likewise for send, sendto, sendmsg.
19495         (Socket Option Functions): Add a missing const in setsockopt prototype.
19496         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19497         use wchar_t for the argument.
19498         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19499         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19500         take no arguments.
19501         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19502         double/float/long double for second argument.
19503         Fix return types of significand, significandf, significandl.
19504         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19505         argument in fchmod prototype.
19506         (File Owner): Use uid_t and gid_t in fchown prototype.
19507         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19508         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19509         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19510         use 'const struct dirent **' as argument types to CMP function pointer
19511         argument.
19512         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19513         (File Times): Fix summary magic @comment for struct utimbuf and utime
19514         to refer to utime.h, not time.h.
19515         * manual/string.texi (Argz Functions): Add missing const in
19516         argz_extract and argz_next prototypes.
19517         (Finding Tokens in a String): Likewise for basename.
19518         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19519         (Copying and Concatenation): Fix typo in wmemmove prototype.
19520         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19521         (Signal Stack): Remove erroneous const in sigstack prototype.
19522         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19523         prototype.
19524         (Simple Calendar Time): Likewise for stime.
19525         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19526         prototype.
19527         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19528         say sys/sysctl.h instead.
19529         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19530         and vsyslog prototypes.
19532 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19534         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19535         Remove.
19537 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19539         * misc/sys/mman.h: Fix typo in mremap comment.
19541 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19543         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19544         the '\0' terminator.
19546 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19548         [BZ #13550]
19549         * debug/segfault.c: Don't include <bp-checks.h>.
19550         * sysdeps/generic/bp-checks.h: Remove file.
19551         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19552         (__GETDENTS): Don't use CHECK_N.
19553         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19554         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19555         (__getgroups): Don't use CHECK_N.
19556         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19557         (setgroups): Don't use CHECK_N.
19558         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19559         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19560         (__libc_msgrcv): Don't use CHECK_N.
19561         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19562         (__libc_msgsnd): Don't use CHECK_N.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19564         <bp-checks.h>.
19565         (__libc_pread): Don't use CHECK_N.
19566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19567         include <bp-checks.h>.
19568         (__libc_pread64): Don't use CHECK_N.
19569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19570         include <bp-checks.h>.
19571         (__libc_pwrite): Don't use CHECK_N.
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19573         include <bp-checks.h>.
19574         (__libc_pwrite64): Don't use CHECK_N.
19575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19576         <bp-checks.h>.
19577         (__libc_pread): Don't use CHECK_N.
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19579         include <bp-checks.h>.
19580         (__libc_pread64): Don't use CHECK_N.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19582         include <bp-checks.h>.
19583         (__libc_pwrite): Don't use CHECK_N.
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19585         include <bp-checks.h>.
19586         (__libc_pwrite64): Don't use CHECK_N.
19587         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19588         (do_pread): Don't use CHECK_N.
19589         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19590         (do_pread64): Don't use CHECK_N.
19591         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19592         (do_pwrite): Don't use CHECK_N.
19593         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19594         (do_pwrite64): Don't use CHECK_N.
19595         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19596         (__libc_readv): Don't use CHECK_N.
19597         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19598         (semop): Don't use CHECK_N.
19599         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19600         <bp-checks.h>.
19601         (semtimedop): Don't use CHECK_N.
19602         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19603         (__libc_pread): Don't use CHECK_N.
19604         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19605         <bp-checks.h>.
19606         (__libc_pread64): Don't use CHECK_N.
19607         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19608         <bp-checks.h>.
19609         (__libc_pwrite): Don't use CHECK_N.
19610         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19611         <bp-checks.h>.
19612         (__libc_pwrite64): Don't use CHECK_N.
19613         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19614         <bp-checks.h>.
19615         (__libc_msgrcv): Don't use CHECK_N.
19616         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19617         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19618         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19619         (__libc_writev): Don't use CHECK_N.
19621 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19623         * string/strcpy.c: Removed unused variable.
19625         * Makeconfig (+sysdep-includes): Define with := rather than =.
19626         Use an existing include/ subdir of each sysdeps dir before it.
19628 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19630         * nscd/connection.c (register_traced_file): Comment function.
19631         [HAVE_INOTIFY] (union __inev): Define.
19632         [HAVE_INOTIFY] (inotify_check_files): New function.
19633         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19634         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19635         clear_db_cache.
19636         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19638 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19640         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19641         loaded if not already and that a failure is permanent.
19643 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19645         [BZ #15006]
19646         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19647         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19649 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19651         [BZ #13550]
19652         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19653         (CHECK_1_NULL_OK): Likewise.
19654         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19655         (__fxstat): Do not use CHECK_1.
19656         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19657         <bp-checks.h>.
19658         (___fxstat64): Do not use CHECK_1.
19659         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19660         <bp-checks.h>.
19661         (__fxstatat): Do not use CHECK_1.
19662         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19663         <bp-checks.h>.
19664         (__fxstatat64): Do not use CHECK_1.
19665         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19666         <bp-checks.h>.
19667         (__fxstat): Do not use CHECK_1.
19668         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19669         <bp-checks.h>.
19670         (__fxstatat): Do not use CHECK_1.
19671         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19672         <bp-checks.h>.
19673         (__getresgid): Do not use CHECK_1.
19674         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19675         <bp-checks.h>.
19676         (__getresuid): Do not use CHECK_1.
19677         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19678         <bp-checks.h>.
19679         (__lxstat): Do not use CHECK_1.
19680         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19681         <bp-checks.h>.
19682         (__old_msgctl): Do not use CHECK_1.
19683         (__new_msgctl): Likewise.
19684         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19685         <bp-checks.h>.
19686         (__new_setrlimit): Do not use CHECK_1.
19687         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19688         <bp-checks.h>.
19689         (__old_shmctl): Do not use CHECK_1.
19690         (__new_shmctl): Likewise.
19691         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19692         <bp-checks.h>.
19693         (__xstat): Do not use CHECK_1.
19694         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19695         (__lxstat): Do not use CHECK_1.
19696         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19697         <bp-checks.h>.
19698         (___lxstat64): Do not use CHECK_1.
19699         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19700         (__old_msgctl): Do not use CHECK_1.
19701         (__new_msgctl): Likewise.
19702         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19703         <bp-checks.h>.
19704         (__gettimeofday): Do not use CHECK_1.
19705         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19706         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19707         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19708         <bp-checks.h>.
19709         (__gettimeofday): Do not use CHECK_1.
19710         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19711         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19712         (__new_shmctl): Do not use CHECK_1.
19713         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19714         <bp-checks.h>.
19715         (do_sigtimedwait): Do not use CHECK_1.
19716         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19717         <bp-checks.h>.
19718         (do_sigwaitinfo): Do not use CHECK_1.
19719         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19720         <bp-checks.h>.
19721         (msgctl): Do not use CHECK_1.
19722         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19723         <bp-checks.h>.
19724         (shmctl): Do not use CHECK_1.
19725         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19726         (ustat): Do not use CHECK_1.
19727         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19728         <bp-checks.h>.
19729         (__fxstat): Do not use CHECK_1.
19730         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19731         <bp-checks.h>.
19732         (__fxstatat): Do not use CHECK_1.
19733         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19734         <bp-checks.h>.
19735         (__lxstat): Do not use CHECK_1.
19736         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19737         <bp-checks.h>.
19738         (__xstat): Do not use CHECK_1.
19739         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19740         (__xstat): Do not use CHECK_1.
19741         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19742         (___xstat64): Do not use CHECK_1.
19744         [BZ #13550]
19745         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19746         definitions.
19747         (CHECK_BOUNDS_HIGH): Likewise.
19748         * string/strcpy.c: Do not include <bp-checks.h>.
19749         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19751 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19753         * nscd/nscd-client.h (__nscd_drop_map_ref):
19754         Add __attribute__ ((unused)).
19755         * nis/nss-nisplus.h (niserr2nss): Likewise.
19757         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19758         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19760         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19761         Remove inline keyword.
19762         * include/rounding-mode.h (round_away): Likewise.
19763         * libio/wfileops.c (adjust_wide_data): Likewise.
19764         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19765         (__m128i_strloadu_tolower): Likewise.
19766         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19767         (__m128i_strloadu_tolower): Likewise.
19768         * time/mktime.c (ydhms_diff): Likewise.
19769         * locale/elem-hash.h (elem_hash): Likewise.
19770         * locale/setlocale.c (setdata): Likewise.
19771         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19772         (re_string_wchar_at): Likewise.
19773         (bitset_not, bitset_merge, bitset_mask): Likewise.
19774         [!(__GNUC__ > 3)] (inline): Remove macro.
19775         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19776         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19777         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19778         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19779         * string/memcmp.c (memcmp_bytes): Likewise.
19780         * locale/programs/locarchive.c (compute_hashval): Likewise.
19781         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19782         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19783         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19784         * nss/getent.c (print_rpc, print_protocols): Likewise.
19785         (print_passwd, print_group, print_aliases): Likewise.
19786         * nis/nss-nisplus.h (niserr2nss): Likewise.
19787         * nscd/connections.c (restart_p): Likewise.
19788         Change return type to bool.
19790 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19792         * Makeconfig (all-Depend-files): Add existing
19793         $(sorted-subdirs:=/Depend) files.
19794         (all-subdirs): Remove nss.
19795         * sysdeps/unix/inet/Subdirs: Add it here instead.
19796         * hesiod/Depend: New file.
19798         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19799         instead of calling alloca.
19801         * io/lseek.c (__lseek): Rename to __libc_lseek.
19802         Define __lseek as an alias.
19804         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19806 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19808         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19809         else clause and remove check for non-standard endianness.
19811 2013-02-04  David S. Miller  <davem@davemloft.net>
19813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19815 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19817         [BZ #13550]
19818         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19819         (__ubp_memchr): Remove prototype.
19820         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19821         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19822         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19823         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19824         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19825         Remove alias.
19826         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19827         (__ubp_memchr): Likewise.
19828         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19829         (__ubp_memchr): Likewise.
19830         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19831         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19832         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19833         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19834         CHECK_STRING.
19835         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19836         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19837         (__getcwd): Do not use CHECK_STRING.
19838         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19839         <bp-checks.h>.
19840         (__real_chown): Do not use CHECK_STRING.
19841         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
19842         <bp-checks.h>.
19843         (fchownat): Do not use CHECK_STRING.
19844         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
19845         CHECK_STRING.
19846         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19847         <bp-checks.h>.
19848         (__lchown): Do not use CHECK_STRING.
19849         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19850         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19851         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19852         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19854         include <bp-checks.h>.
19855         (truncate64): Do not use CHECK_STRING.
19856         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19857         <bp-checks.h>.
19858         (__real_chown): Do not use CHECK_STRING.
19859         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19860         <bp-checks.h>.
19861         (__lchown): Do not use CHECK_STRING.
19862         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19863         <bp-checks.h>.
19864         (__chown): Do not use CHECK_STRING.
19865         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
19866         <bp-checks.h>.
19867         (truncate64): Do not use CHECK_STRING.
19868         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
19869         Likewise.
19870         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
19871         (__xmknod): Do not use CHECK_STRING.
19872         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
19873         <bp-checks.h>.
19874         (__xmknodat): Do not use CHECK_STRING.
19875         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19876         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
19878 2013-02-04  Andreas Schwab  <schwab@suse.de>
19880         [BZ #14142]
19881         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
19882         * include/netdb.h: Likewise for h_errno.
19883         * elf/tst-stackguard1.c: Include <tls.h>.
19885 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
19887         * elf/link.h (struct link_map): Extend the l_addr comment.
19888         * include/link.h (struct link_map): Likewise.
19890 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
19892         [BZ #13550]
19893         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
19894         (BOUNDED_1): Remove macro.
19895         * debug/backtrace.c: Don't include <bp-checks.h>.
19896         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
19897         (__backtrace): Likewise.
19898         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
19899         <bp-checks.h>.
19900         (__backtrace): Don't use BOUNDED_1.
19901         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
19902         <bp-checks.h>.
19903         (__backtrace): Don't use BOUNDED_1.
19904         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
19905         (__backtrace): Don't use BOUNDED_1.
19906         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
19907         (shmat): Don't use BOUNDED_N.
19909 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
19911         [BZ #13550]
19912         * sysdeps/generic/bp-start.h: Remove file.
19913         * csu/libc-start.c: Don't include <bp-start.h>.
19914         (LIBC_START_MAIN): Set up __environ directly instead of using
19915         INIT_ARGV_and_ENVIRON.
19916         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
19917         <bp-start.h>.
19919         [BZ #13550]
19920         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
19921         definitions.
19922         (CHECK_FCNTL): Likewise.
19923         (CHECK_N_PAGES): Likewise.
19925         [BZ #13550]
19926         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
19927         definitions.
19928         (CHECK_SIGSET_NULL_OK): Likewise.
19929         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
19930         <bp-checks.h>.
19931         (sigpending): Don't use CHECK_SIGSET.
19932         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
19933         <bp-checks.h>.
19934         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19935         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
19936         <bp-checks.h>.
19937         (do_sigsuspend): Don't use CHECK_SIGSET.
19938         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
19939         use CHECK_SIGSET.
19940         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
19941         (do_sigwait): Don't use CHECK_SIGSET.
19942         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
19943         use CHECK_SIGSET.
19944         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
19945         include <bp-checks.h>.
19946         (sigpending): Don't use CHECK_SIGSET.
19947         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
19948         include <bp-checks.h>.
19949         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19950         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
19951         <bp-checks.h>.
19952         (sigpending): Don't use CHECK_SIGSET.
19953         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
19954         <bp-checks.h>.
19955         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
19957         [BZ #13550]
19958         * sysdeps/generic/bp-semctl.h: Remove file.
19959         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
19960         <bp-checks.h> and <bp-semctl.h>.
19961         (__old_semctl): Don't use CHECK_SEMCTL.
19962         (__new_semctl): Likewise.
19963         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
19964         and <bp-semctl.h>.
19965         (__old_semctl): Don't use CHECK_SEMCTL.
19966         (__new_semctl): Likewise.
19967         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
19968         <bp-checks.h> and <bp-semctl.h>.
19969         (__old_semctl): Don't use CHECK_SEMCTL.
19970         (__new_semctl): Likewise.
19971         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
19972         <bp-checks.h> and <bp-semctl.h>.
19973         (semctl): Don't use CHECK_SEMCTL.
19975         [BZ #13550]
19976         * Makerules (elide-bp-thunks): Remove variable.
19977         (elide-routines.oS): Don't use $(elide-bp-thunks).
19978         (elide-routines.os): Likewise.
19979         (elide-routines.o): Likewise.
19980         (elide-routines.op): Likewise.
19981         (elide-routines.og): Likewise.
19982         (objects): Don't use $(bp-thunks).
19983         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
19984         include.
19985         (common-generated): Do not add s-proto-bp.d.
19986         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
19987         (int): Likewise.
19988         (typ): Likewise.
19989         Do not generate makefile rules for bounded-pointer thunks.
19990         * sysdeps/generic/bp-thunks.h: Remove file.
19991         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
19992         * sysdeps/unix/s-proto-bp.S: Likewise.
19994         [BZ #15062]
19995         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
19996         parts of result separately when argument is not close to line from
19997         -i to i and one part of argument is small.
19998         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19999         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20000         * math/libm-test.inc (cacos_test): Add more tests.
20001         (casin_test): Likewise.
20002         (casinh_test): Likewise.
20003         * sysdeps/i386/fpu/libm-test-ulps: Update.
20004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20006 2013-01-31  David S. Miller  <davem@davemloft.net>
20008         * po/de.po: Update from translation team.
20010 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20012         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20014 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20016         * configure.in (_AC_PROG_CC_C89): New definition.
20017         * configure: Regenerate.
20019         * configure.in (AC_PROG_CPP): New definition.
20020         * configure: Regenerate.
20022 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20024         * debug/tst-backtrace.h: New file.
20025         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20026         (ret): Remove variable.
20027         (x): Likewise.
20028         (FAIL): Remove macro.
20029         (NO_INLINE): Likewise.
20030         (fn1): Use match function instead of strstr.
20031         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20032         (ret): Remove variable.
20033         (x): Likewise.
20034         (FAIL): Remove macro.
20035         (NO_INLINE): Likewise.
20036         (fn): Use match function instead of strstr.
20037         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20038         (ret): Remove variable.
20039         (x): Likewise.
20040         (FAIL): Remove macro.
20041         (NO_INLINE): Likewise.
20042         (handle_signal): Use match function instead of strstr.
20043         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20044         (ret): Remove variable.
20045         (x): Likewise.
20046         (FAIL): Remove macro.
20047         (NO_INLINE): Likewise.
20048         (handle_signal): Use match function instead of strstr.
20050 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20052         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20054 2013-01-23  David S. Miller  <davem@davemloft.net>
20056         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20057         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20058         argument of CAS if possible.
20059         * sysdeps/sparc/sparc64/bits/atomic.h
20060         (__arch_compare_and_exchange_val_32_acq): Likewise.
20061         (__arch_compare_and_exchange_val_64_acq): Likewise.
20063 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20065         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20066         * sysdeps/posix/ulimit.c: ... this.
20067         Include <limits.h>.
20068         * sysdeps/unix/bsd/ulimit.c: Remove file.
20070 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20072         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20073         (LDFLAGS-tst-array5): Likewise.
20075 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20077         [BZ #15036]
20078         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20079         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20080         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20081         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20083 2013-01-21  David S. Miller  <davem@davemloft.net>
20085         * sysdeps/sparc/backtrace.c: New file.
20086         * sysdeps/sparc/sparc32/backtrace.h: New file.
20087         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20088         * sysdeps/sparc/sparc64/backtrace.h: New file.
20089         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20090         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20091         -funwind-tables.
20093 2013-01-21  Andreas Schwab  <schwab@suse.de>
20095         [BZ #15020]
20096         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20097         closed its stdout.
20099 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20101         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20102         "mpa2.h".
20103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20105 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20106             Mark Mitchell  <mark@codesourcery.com>
20107             Tom de Vries  <tom@codesourcery.com>
20108             Paul Pluzhnikov  <ppluzhnikov@google.com>
20110         * debug/tst-backtrace2.c: New file.
20111         * debug/tst-backtrace3.c: Likewise.
20112         * debug/tst-backtrace4.c: Likewise.
20113         * debug/tst-backtrace5.c: Likewise.
20114         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20115         (CFLAGS-tst-backtrace3.c): Likewise.
20116         (CFLAGS-tst-backtrace4.c): Likewise.
20117         (CFLAGS-tst-backtrace5.c): Likewise.
20118         (LDFLAGS-tst-backtrace2): Likewise.
20119         (LDFLAGS-tst-backtrace3): Likewise.
20120         (LDFLAGS-tst-backtrace4): Likewise.
20121         (LDFLAGS-tst-backtrace5): Likewise.
20122         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20123         tst-backtrace4 and tst-backtrace5.
20125 2013-01-18  Anton Blanchard  <anton@samba.org>
20126             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20128         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20129         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20130         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20131         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20133         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20134         "+r" and remove output regs list as redundant.  Add explicit inline
20135         asm to specify register of return val to work around compiler codegen
20136         bug.  Remove (int) cast on return value.  Add return type parameter to
20137         use in macro so that this macro does not truncate return value for
20138         64-bit values.
20139         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20140         pass to INTERNAL_VSYSCALL_NCS.
20141         (INLINE_VSYSCALL): Add 'long int' as return type to
20142         INTERNAL_VSYSCALL_NCS macro invocation.
20143         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20144         INTERNAL_VSYSCALL_NCS macro invocation.
20145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20147 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20149         [BZ #14496]
20150         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20151         Fix application of SIMD FP exception mask.
20153         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20154         mp_no from a power of two.
20155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20156         __mpexp_twomm1.  Use __pow_mp.
20158         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20159         multiplication.
20161 2013-01-17  David S. Miller  <davem@davemloft.net>
20163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20165 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20167         [BZ #15023]
20168         * include/complex.h: Condition contents on [!_COMPLEX_H].
20169         (__kernel_casinhf): New prototype.
20170         (__kernel_casinh): Likewise.
20171         (__kernel_casinhl): Likewise.
20172         * math/Makefile (libm_calls): Add k_casinh.
20173         * math/k_casinh.c: New file.
20174         * math/k_casinhf.c: Likewise.
20175         * math/k_casinhl.c: Likewise.
20176         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20177         finite nonzero arguments.
20178         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20179         finite nonzero arguments.
20180         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20181         finite nonzero arguments.
20182         * math/s_casinh.c: Do not include <float.h>.
20183         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20184         * math/s_casinhf.c: Do not include <float.h>.
20185         (__casinhf): Move code for finite nonzero arguments to
20186         k_casinhf.c.
20187         * math/s_casinhl.c: Do not include <float.h>.
20188         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20189         redefine.
20190         (__casinhl): Move code for finite nonzero arguments to
20191         k_casinhl.c.
20192         * math/libm-test.inc (cacos_test): Add more tests.
20193         * sysdeps/i386/fpu/libm-test-ulps: Update.
20194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20196 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20198         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20199         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20200         [!HAVE_MREMAP]: Remove [defined linux] case.
20201         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20203 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20205         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20207 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20209         * elf/elf.h (R_386_SIZE32): New relocation.
20210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20211         R_386_SIZE32.
20212         (elf_machine_rela): Likewise.
20213         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20214         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20216 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20218         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20219         (FP_FAST_FMA): Do not define.
20220         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20221         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20222         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20223         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20224         !_SOFT_FLOAT]: Likewise.
20225         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20226         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20227         value.
20228         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20229         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20230         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20231         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20232         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20233         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20234         file.
20236 2013-01-16  Andreas Schwab  <schwab@suse.de>
20238         [BZ #14327]
20239         * include/stdlib.h (__mktemp): Add declaration.
20240         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20241         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20243 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20245         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20246         definitions.
20247         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20248         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20249         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20250         definitions here.
20251         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20252         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20253         definitions.
20254         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20255         and ONE.
20256         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20257         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20258         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20259         definitions.
20260         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20261         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20262         definitions.
20263         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20265         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20267 2013-01-15  David S. Miller  <davem@davemloft.net>
20269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20270         trunc{,f} to libm-sysdep_routes.
20271         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20273         file.
20274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20276         file.
20277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20278         file.
20279         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20280         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20281         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20282         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20283         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20284         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20285         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20286         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20288         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20289         nearbyint{,f} to libm-sysdep_routes.
20290         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20291         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20292         New file.
20293         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20294         file.
20295         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20296         New file.
20297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20298         file.
20299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20301         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20302         file.
20303         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20304         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20305         file.
20306         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20307         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20308         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20310         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20311         libc_feholdexcept and libc_fesetenv.
20313 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20315         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20317 2013-01-14  David S. Miller  <davem@davemloft.net>
20319         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20320         (SPARC_ASM_VIS2_IFUNC): Likewise.
20321         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20323         use of 'siam' instruction.
20324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20325         Likewise.
20326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20327         Likewise.
20328         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20329         Likewise.
20330         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20331         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20332         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20333         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20335         file.
20336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20337         file.
20338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20339         file.
20340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20341         file.
20342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20343         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20344         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20347         new VIS2 routines.
20348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20351         Likewise.
20352         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20353         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20354         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20355         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20357         routines to libm-sysdep_routines.
20358         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20360         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20361         fdim/fdimf to libm-sysdep_routines.
20362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20363         file.
20364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20366         file.
20367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20370         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20371         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20372         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20373         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20375 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20377         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20378         to optimize copies.
20380         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20381         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20382         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20384         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20385         local variable MPTWO.
20386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20387         Likewise.
20389 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20391         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20392         GLOB_NOESCAPE.
20394 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20396         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20398 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20400         * manual/pattern.texi (glob_t): Document gl_flags.
20401         (glob64_t): Likewise.
20403 2013-01-11  David S. Miller  <davem@davemloft.net>
20405         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20406         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20407         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20408         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20409         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20410         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20411         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20412         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20413         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20414         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20415         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20416         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20417         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20419         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20420         sparc V9 rather than using V8 code.
20421         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20422         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20424         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20425         Move to...
20426         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20427         Here.
20429 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20431         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20432         not in the main loop.
20433         * configure: Regenerated.
20435 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20437         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20438         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20439         to just #else.
20440         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20441         [!__GLIBC_HAVE_LONG_LONG] case.
20442         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20443         condition to just #else.
20444         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20445         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20446         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20447         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20448         unconditional.
20449         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20450         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20451         #elif condition to just #else.
20452         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20453         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20454         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20455         #elif condition to just #else.
20457 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20459         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20460         (EF_MIPS_ARCH_64): Fix value.
20461         (EF_MIPS_ARCH_32R2): New.
20462         (EF_MIPS_ARCH_64R2): New.
20464 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20466         * Makeconfig (+link-pie-before-libc): New.
20467         (+link-pie-after-libc): Likewise.
20468         (+link-pie-tests): Likewise.
20469         (+link-pie): Rewritten.
20470         (link-before-libc): Remove $(config-LDFLAGS).
20471         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20472         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20473         (config-LDFLAGS): Renamed to ...
20474         (rtld-LDFLAGS): This.
20475         (rtld-tests-LDFLAGS): New macro.
20476         (link-libc-rpath-link): Likewise.
20477         (link-libc-tests-rpath-link): Likewise.
20478         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20479         (link-libc): Prepand $(link-libc-rpath-link).
20480         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20481         (test-program-prefix): New macro.
20482         (test-via-rtld-prefix): Likewise.
20483         (test-program-cmd): Likewise.
20484         (host-test-program-cmd): Likewise.
20485         * Makefile ($(common-objpfx)testrun.sh): Replace
20486         $(run-program-prefix) with $(test-program-prefix).
20487         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20488         $(rtld-LDFLAGS).
20489         ($(common-objpfx)shlib.lds): Likewise.
20490         (build-module-helper): Likewise.
20491         ($(common-objpfx)format.lds): Likewise.
20492         * Rules (binaries-pie-tests): New.
20493         (binaries-pie-notests): Likewise.
20494         (binaries-pie): Rewritten.
20495         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20496         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20497         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20498         (make-test-out): Replace $(host-built-program-cmd) with
20499         $(host-test-program-cmd).
20500         * config.make.in (build-hardcoded-path-in-tests): New variable.
20501         * configure.in (--enable-hardcoded-path-in-tests): New configure
20502         option.
20503         (hardcoded_path_in_tests): New AC_SUBST.
20504         * configure: Regenerated.
20505         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20506         $(built-program-cmd) with $(test-program-cmd).
20507         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20508         (test_program_cmd): This.
20509         * elf/Makefile ($(objpfx)order.out): Run test with
20510         $(test-program-prefix).
20511         ($(objpfx)order2.out): Likewise.
20512         ($(objpfx)tst-initorder.out): Likewise.
20513         ($(objpfx)tst-initorder2.out): Likewise.
20514         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20515         $(test-program-cmd).
20516         ($(objpfx)tst-array1-static.out): Likewise.
20517         ($(objpfx)tst-array2.out): Likewise.
20518         ($(objpfx)tst-array3.out): Likewise.
20519         ($(objpfx)tst-array4.out): Likewise.
20520         ($(objpfx)tst-array5.out): Likewise.
20521         ($(objpfx)tst-array5-static.out): Likewise.
20522         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20523         $(test-program-cmd).
20524         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20525         $(run-program-prefix) with $(test-program-prefix).
20526         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20527         (test_program_prefix): This.
20528         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20529         $(run-program-prefix) with $(test-program-prefix).
20530         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20531         (test_program_prefix): This.
20532         * iconvdata/tst-tables.sh: Likewise.
20533         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20534         $(run-program-prefix) with $(test-program-prefix).
20535         ($(objpfx)tst-translit.out): Likewise.
20536         ($(objpfx)tst-gettext2.out): Likewise.
20537         ($(objpfx)tst-gettext4.out): Likewise.
20538         ($(objpfx)tst-gettext6.out): Likewise.
20539         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20540         (test_program_prefix): This.
20541         * intl/tst-gettext2.sh: Likewise.
20542         * intl/tst-gettext4.sh  Likewise.
20543         * intl/tst-gettext6.sh: Likewise.
20544         * intl/tst-translit.sh: Likewise.
20545         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20546         with $(test-program-cmd).
20547         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20548         $(run-program-prefix) with $(test-program-prefix).
20549         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20550         (test_program_prefix): This.
20551         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20552         $(run-program-prefix) with $(test-program-prefix).
20553         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20554         (test_program_prefix): This.
20555         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20556         * posix/Makefile ($(objpfx)globtest.out): Replace
20557         $(run-via-rtld-prefix) and $(test-wrapper) with
20558         $(test-program-prefix) and $(test-via-rtld-prefix).
20559         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20560         $(test-program-prefix).
20561         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20562         $(host-test-program-cmd).
20563         (tst-spawn-ARGS): Likewise.
20564         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20565         $(test-program-prefix).
20566         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20567         (test_via_rtld_prefix): This.
20568         (test_wrapper): Renamed to ...
20569         (test_program_prefix): This.
20570         (run_program_prefix): Replaced by test_program_prefix.
20571         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20572         (test_program_prefix): This.
20573         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20574         with $(host-test-program-cmd).
20575         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20576         $(run-program-prefix) with $(test-program-prefix).
20577         ($(objpfx)tst-printf.out): Likewise.
20578         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20579         $(test-program-cmd).
20580         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20581         (test_program_prefix): This.
20582         * stdio-common/tst-unbputc.sh: Likewise.
20583         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20584         $(run-program-prefix) with $(test-program-prefix).
20585         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20586         (test_program_prefix): This.
20587         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20588         $(built-program-cmd) with $(test-program-cmd).
20590 2013-01-11  Andreas Jaeger  <aj@suse.de>
20592         [BZ #15003]
20593         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20594         value. Sync with Linux 3.7.
20596 2013-01-10  David S. Miller  <davem@davemloft.net>
20598         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20599         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20600         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20602 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20604         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20605         never set.
20606         * configure: Regenerated.
20608 2013-01-10  David S. Miller  <davem@davemloft.net>
20610         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20611         sparc V9 rather than using V8 code.
20612         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20613         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20615 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20617         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20618         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20619         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20620         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20621         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20622         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20623         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20624         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20625         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20626         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20627         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20628         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20629         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20630         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20631         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20632         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20633         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20634         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20635         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20636         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20637         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20638         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20639         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20640         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20641         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20642         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20643         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20645 2013-01-10  David S. Miller  <davem@davemloft.net>
20647         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20649 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20651         * posix/Makefile (tests-static): New variable.
20652         (tests): Add $(tests-static).
20653         (tst-exec-static-ARGS): New variable.
20654         (tst-spawn-static-ARGS): Likewise.
20655         * posix/tst-exec-static.c: New file.
20656         * posix/tst-spawn-static.c: Likewise.
20657         * posix/tst-exec.c: Support run directly.
20658         * posix/tst-spawn.c: Likewise.
20660 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20662         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20663         long.
20664         * math/bits/mathcalls.h (llrint): Likewise.
20665         (llround): Likewise.
20666         * stdlib/stdlib.h (struct drand48_data): Likewise.
20667         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20668         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20669         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20670         Likewise.
20671         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20672         Likewise.
20673         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20674         (elf_greg_t): Likewise.
20675         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20676         (__jmp_buf): Likewise.
20677         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20678         definitions.
20679         (llrint): Likewise, for all definitions.
20680         (llrintl): Likewise.
20682         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20683         Remove [__GNUC__] condition.
20684         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20685         condition to just [__USE_ISOC99].
20686         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20688 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20690         [BZ #14200]
20691         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20692         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20693         defined.
20694         (_POSIX_V6_ILP32_OFF32): Likewise.
20695         (_XBS5_ILP32_OFF32): Likewise.
20696         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20697         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20699 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20701         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20703         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20704         doubles __mpexp_twomm1.  Adjust usage.
20705         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20706         Remove.
20708 2013-01-10  Andreas Schwab  <schwab@suse.de>
20710         [BZ #14964]
20711         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20712         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20714 2013-01-09  David S. Miller  <davem@davemloft.net>
20716         [BZ #15003]
20717         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20718         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20719         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20720         (TCP_FASTOPEN): Define.
20721         (tcp_repair_opt): New structure.
20722         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20723         enum values.
20724         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20725         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20726         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20727         (tcp_cookie_transactions): New structure.
20729 2013-01-09  Anton Blanchard  <anton@samba.org>
20731         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20732         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20733         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20734         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20736 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20738         * include/features.h (__USE_ANSI): Remove.
20740 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20742         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20744         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20746 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20748         * sysdeps/s390/fpu/libm-test-ulps: Update.
20750         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20752         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20753         (__acr): Likewise.
20754         (__cpy): Likewise.
20755         (norm): Likewise.
20756         (denorm): Likewise.
20757         (__mp_dbl): Likewise.
20758         (__dbl_mp): Likewise.
20759         (add_magnitudes): Likewise.
20760         (sub_magnitudes): Likewise.
20761         (__add): Likewise.
20762         (__sub): Likewise.
20763         (__mul): Likewise.
20764         (__inv): Likewise.
20765         (__dvd): Likewise.
20766         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20767         (__acr): Likewise.
20768         (__cpy): Likewise.
20769         (norm): Likewise.
20770         (denorm): Likewise.
20771         (__mp_dbl): Likewise.
20772         (__dbl_mp): Likewise.
20773         (add_magnitudes): Likewise.
20774         (sub_magnitudes): Likewise.
20775         (__add): Likewise.
20776         (__sub): Likewise.
20777         (__mul): Likewise.
20778         (__inv): Likewise.
20779         (__dvd): Likewise.
20780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20781         (__acr): Likewise.
20782         (__cpy): Likewise.
20783         (norm): Likewise.
20784         (denorm): Likewise.
20785         (__mp_dbl): Likewise.
20786         (__dbl_mp): Likewise.
20787         (add_magnitudes): Likewise.
20788         (sub_magnitudes): Likewise.
20789         (__add): Likewise.
20790         (__sub): Likewise.
20791         (__mul): Likewise.
20792         (__inv): Likewise.
20793         (__dvd): Likewise.
20795 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20797         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20798         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20799         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20800         2 && __USE_EXTERN_INLINES]: Likewise.
20802 2013-01-08  Andreas Jaeger  <aj@suse.de>
20804         [BZ# 14985]
20805         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20806         Remove.
20807         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20808         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20810 2013-01-07  Anton Blanchard  <anton@samba.org>
20812         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20813         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20814         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20815         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20816         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20817         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20818         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20819         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20820         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20821         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20822         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20823         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20824         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20825         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20826         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20827         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20828         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20829         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20830         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20831         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20832         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20833         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20834         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20835         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20836         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20837         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20838         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20839         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20840         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20841         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
20842         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
20843         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20844         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
20845         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
20846         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
20847         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
20848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20849         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
20850         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
20851         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20852         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
20853         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
20854         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
20856 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
20858         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
20859         (__MALLOC_PMT): Likewise.
20860         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
20861         [__GNUC__], only on [_LIBC].
20862         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20863         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
20864         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
20865         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
20866         forward declaration.
20867         (realloc_hook_ini): Likewise.
20868         (memalign_hook_ini): Likewise.
20869         (__libc_memalign): Do not use __MALLOC_PMT in variable
20870         declaration.
20871         (__libc_valloc): Likewise.
20872         (__libc_pvalloc): Likewise.
20873         (__libc_calloc): Likewise.
20874         (__posix_memalign): Likewise.
20876         [BZ #14996]
20877         * math/s_casinh.c: Include <float.h>.
20878         (__casinh): Do not do computation with squaring and square root
20879         for large arguments.
20880         * math/s_casinhf.c: Include <float.h>.
20881         (__casinhf): Do not do computation with squaring and square root
20882         for large arguments.
20883         * math/s_casinhl.c: Include <float.h>.
20884         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
20885         (__casinhl): Do not do computation with squaring and square root
20886         for large arguments.
20887         * math/libm-test.inc (casin_test): Add more tests.
20888         (casinh_test): Likewise.
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
20894         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
20895         (__x86_64_raw_data_cache_size): Likewise.
20896         (__x86_64_data_cache_size_half): Likewise.
20897         (__x86_64_raw_data_cache_size_half): Likewise.
20898         (__x86_64_shared_cache_size): Likewise.
20899         (__x86_64_raw_shared_cache_size): Likewise.
20900         (__x86_64_shared_cache_size_half): Likewise.
20901         (__x86_64_raw_shared_cache_size_half): Likewise.
20902         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
20903         to ...
20904         (__x86_data_cache_size): This.
20905         (__x86_64_raw_data_cache_size): Renamed to ...
20906         (__x86_raw_data_cache_size): This.
20907         (__x86_64_data_cache_size_half): Renamed to ...
20908         (__x86_data_cache_size_half): This.
20909         (__x86_64_raw_data_cache_size_half): Renamed to ...
20910         (__x86_raw_data_cache_size_half): This.
20911         (__x86_64_shared_cache_size): Renamed to ...
20912         (__x86_shared_cache_size): This.
20913         (__x86_64_raw_shared_cache_size): Renamed to ...
20914         (__x86_raw_shared_cache_size): This.
20915         (__x86_64_shared_cache_size_half): Renamed to ...
20916         (__x86_shared_cache_size_half): This.
20917         (__x86_64_raw_shared_cache_size_half): Renamed to ...
20918         (__x86_raw_shared_cache_size_half): This.
20919         * sysdeps/x86_64/memcpy.S: Updated.
20920         * sysdeps/x86_64/memset.S: Likewise.
20921         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20922         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20923         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20925 2013-01-04  David S. Miller  <davem@davemloft.net>
20927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20929 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
20931         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
20932         1 to avoid redefinition warning.
20933         (__USE_GNU): Don't define.
20934         (init_signaling_nan): Protoize.
20936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20938 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20940         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
20941         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
20942         (__cpymn): Likewise.
20943         (norm): Remove commented code.
20944         (denorm): Likewise.
20945         (__mp_dbl): Likewise.
20946         (__inv): Likewise.
20947         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
20948         (__cpymn): Likewise.
20949         (norm): Remove commented code.
20950         (denorm): Likewise.
20951         (__mp_dbl): Likewise.
20952         (__inv): Likewise.
20954         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
20955         mp_no value for 1.0 and 2.0.
20956         (norm): Use RADIXI instead of radixi.d.
20957         (denorm): Likewise.
20958         (__mul): Use 0.0 instead of zero.d.
20959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
20960         mp_no value for 1.0 and 2.0.
20961         (norm): Use RADIXI instead of radixi.d.
20962         (denorm): Likewise.
20963         (__mul): Use 0.0 instead of zero.d.
20965 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
20967         [BZ #14994]
20968         * math/s_casinh.c (__casinh): Reduce finite argument to first
20969         quadrant then set signs of results at the end.
20970         * math/s_casinhf.c (__casinhf): Likewise.
20971         * math/s_casinhl.c (__casinhl): Likewise.
20972         * math/libm-test.inc (casin_test): Add more tests.
20973         (casinh_test): Likewise.
20974         * sysdeps/i386/fpu/libm-test-ulps: Update.
20975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20977 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20979         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
20981         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
20983         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
20984         declarations.
20985         (denorm): Likewise.
20986         (__mp_dbl): Likewise.
20987         (__inv): Likewise.
20989         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
20990         and adjust the header comment.
20992         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
20993         variable name from declaration.
20995 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
20997         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20998         Initialize COMMON_CPUID_INDEX_7 element.
20999         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21000         (CPUID_RTM): Likewise.
21001         (HAS_RTM): Likewise.
21002         (COMMON_CPUID_INDEX_7): New enum.
21004 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21006         [BZ #14981]
21007         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21008         size is zero, record memory as freed.
21010 2013-01-03  Andreas Jaeger  <aj@suse.de>
21012         * po/ia.po: Add new Interlingua translation.
21014 2012-01-03  Allan McRae  <allan@archlinux.org>
21016         * locale/programs/localedef.c: Fix description of '--posix' flag.
21018 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21020         * NEWS: Update dates in second copyright notice.
21021         * README: Update copyright dates in example.
21022         * manual/libc.texinfo: Update copyright dates.
21023         * scripts/test-installation.pl: Update copyright date in --version
21024         output.
21026         * hurd/ctty-input.c: Fix copyright notice formatting.
21027         * hurd/ctty-output.c: Likewise.
21028         * hurd/dtable.c: Likewise.
21029         * hurd/hurd-raise.c: Likewise.
21030         * hurd/hurdprio.c: Likewise.
21031         * hurd/msgportdemux.c: Likewise.
21032         * misc/sys/file.h: Likewise.
21033         * misc/sys/ioctl.h: Likewise.
21034         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21035         * sysdeps/mach/hurd/chdir.c: Likewise.
21036         * sysdeps/mach/hurd/fchdir.c: Likewise.
21037         * sysdeps/mach/hurd/rename.c: Likewise.
21038         * sysdeps/mach/hurd/rmdir.c: Likewise.
21039         * sysdeps/mach/hurd/seekdir.c: Likewise.
21040         * sysdeps/mach/hurd/setsid.c: Likewise.
21041         * sysdeps/posix/wait3.c: Likewise.
21043         * All files with FSF copyright notices: Update copyright dates
21044         using scripts/update-copyrights.
21045         * intl/plural.c: Regenerated.
21046         * locale/programs/charmap-kw.h: Likewise.
21047         * locale/programs/locfile-kw.h: Likewise.
21049 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21051         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21052         four values.
21054         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21055         calculation loop and add branch prediction.
21057         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21058         check access beyond bounds of m1np.
21060         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21061         MPTWO.
21062         (__inv): Remove local variable MPTWO to use the global
21063         constant.
21064         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21066         variable MPTWO.
21067         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21068         MP3HALFS static const.
21070 2013-01-01  David S. Miller  <davem@davemloft.net>
21072         * po/ca.po: Update from translation team.
21074 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21076         * scripts/update-copyrights: New file.
21077         * Makeconfig: Reformat copyright notice.
21078         * ctype/ctype.h: Likewise.
21079         * debug/swprintf_chk.c: Likewise.
21080         * elf/dl-cache.c: Likewise.
21081         * elf/dl-debug.c: Likewise.
21082         * elf/dl-object.c: Likewise.
21083         * grp/initgroups.c: Likewise.
21084         * hurd/Makefile: Likewise.
21085         * hurd/hurd/signal.h: Likewise.
21086         * hurd/hurdfault.c: Likewise.
21087         * hurd/hurdioctl.c: Likewise.
21088         * hurd/hurdlookup.c: Likewise.
21089         * hurd/intr-msg.c: Likewise.
21090         * iconv/gconv_open.c: Likewise.
21091         * libio/swprintf.c: Likewise.
21092         * locale/lc-ctype.c: Likewise.
21093         * locale/nl_langinfo.c: Likewise.
21094         * mach/Machrules: Likewise.
21095         * mach/Makefile: Likewise.
21096         * malloc/obstack.h: Likewise.
21097         * manual/Makefile: Likewise.
21098         * manual/tsort.awk: Likewise.
21099         * misc/bits/stab.def: Likewise.
21100         * nis/nis_print_group_entry.c: Likewise.
21101         * nis/nis_table.c: Likewise.
21102         * nis/nss_compat/compat-pwd.c: Likewise.
21103         * nis/nss_compat/compat-spwd.c: Likewise.
21104         * po/Makefile: Likewise.
21105         * posix/fnmatch.c: Likewise.
21106         * posix/regex.h: Likewise.
21107         * resolv/Makefile: Likewise.
21108         * resolv/nss_dns/dns-network.c: Likewise.
21109         * resolv/res_hconf.c: Likewise.
21110         * scripts/gen-sorted.awk: Likewise.
21111         * soft-fp/soft-fp.h: Likewise.
21112         * stdio-common/printf.h: Likewise.
21113         * stdlib/monetary.h: Likewise.
21114         * stdlib/random.c: Likewise.
21115         * stdlib/random_r.c: Likewise.
21116         * sysdeps/generic/Makefile: Likewise.
21117         * sysdeps/gnu/Makefile: Likewise.
21118         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21119         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21120         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21121         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21122         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21125         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21126         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21127         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21128         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21129         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21130         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21131         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21132         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21133         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21134         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21135         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21136         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21137         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21138         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21139         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21140         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21141         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21142         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21143         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21144         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21145         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21146         * sysdeps/mach/hurd/errnos.awk: Likewise.
21147         * sysdeps/mach/hurd/fork.c: Likewise.
21148         * sysdeps/mach/hurd/getcwd.c: Likewise.
21149         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21150         * sysdeps/mach/hurd/mmap.c: Likewise.
21151         * sysdeps/mach/hurd/utimes.c: Likewise.
21152         * sysdeps/mach/hurd/xmknod.c: Likewise.
21153         * sysdeps/posix/profil.c: Likewise.
21154         * sysdeps/posix/readdir_r.c: Likewise.
21155         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21156         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21157         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21158         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21160         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21161         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21162         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21163         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21164         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21165         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21166         * sysdeps/pthread/lio_listio.c: Likewise.
21167         * sysdeps/sparc/dl-procinfo.h: Likewise.
21168         * sysdeps/unix/i386/sysdep.S: Likewise.
21169         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21170         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21171         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21172         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21174         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21175         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21176         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21177         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21178         * sysdeps/wordsize-32/divdi3.c: Likewise.
21179         * time/sys/time.h: Likewise.
21180         * wcsmbs/Makefile: Likewise.
21182 2013-01-01  David S. Miller  <davem@davemloft.net>
21184         * po/fr.po: Update from translation team.
21186         * catgets/gencat.c: Update copyright year.
21187         * csu/version.c: Likewise.
21188         * debug/catchsegv.sh: Likewise.
21189         * debug/pcprofiledump.c: Likewise.
21190         * debug/xtrace.sh: Likewise.
21191         * elf/ldconfig.c: Likewise.
21192         * elf/ldd.bash.in: Likewise.
21193         * elf/pldd.c: Likewise.
21194         * elf/sotruss.ksh: Likewise.
21195         * elf/sprof.c: Likewise.
21196         * iconv/iconv_prog.c: Likewise.
21197         * iconv/iconvconfig.c: Likewise.
21198         * locale/programs/locale.c: Likewise.
21199         * locale/programs/localedef.c: Likewise.
21200         * login/programs/pt_chown.c: Likewise.
21201         * malloc/memusage.sh: Likewise.
21202         * malloc/memusagestat.c: Likewise.
21203         * malloc/mtrace.pl: Likewise.
21204         * nscd/nscd.c: Likewise.
21205         * nss/getent.c: Likewise.
21206         * nss/makedb.c: Likewise.
21207         * posix/getconf.c: Likewise.
21209 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21211         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21212         numbers.
21214 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21216         * math/bits/mathcalls.h (modf): Use __nonnull.
21218 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21220         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21221         (split): Use macro CN instead of the bare value.
21222         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21223         could be used.
21224         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21225         instead of the bare value.
21226         (power1): Likewise.
21228 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21230         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21231         __ATAN_TWOM.
21232         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21234         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21235         their values.
21236         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21237         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21238         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21239         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21241 2012-12-28  Andreas Jaeger  <aj@suse.de>
21243         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21244         values are from Linux 3.7.
21246         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21247         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21249 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21251         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21252         TRUE case.
21254         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21255         (norm): Likewise.
21256         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21257         variables with preprocessor constants.
21258         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21259         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21260         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21262 2012-12-27  Bruno Haible  <bruno@clisp.org>
21264         [BZ #14317]
21265         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21266         only if needed.
21268 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21271         and use variable directly.
21272         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21274         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21275         MPONE.
21276         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21277         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21278         variable MPONE.
21279         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21280         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21281         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21282         include directive.  Remove local variable MPONE.
21283         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21284         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21285         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21287 2012-12-25  David S. Miller  <davem@davemloft.net>
21289         * version.h (RELEASE): Set to "development".
21290         (VERSION): Set to "2.17.90".
21291         * NEWS: Add 2.18 section.
21293 2012-12-21  David S. Miller  <davem@davemloft.net>
21295         * po/hr.po: Update from translation team.
21297 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21299         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21301 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21303         * NEWS:  Mention new memcpy for MIPS.
21305 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21307         * manual/contrib.texi (Contributors): Spelling correction.
21309 2012-12-15  David S. Miller  <davem@davemloft.net>
21311         * po/ru.po: Update from translation team.
21313 2012-12-13  David S. Miller  <davem@davemloft.net>
21315         * NEWS: Mention IFUNC testsuite enhancements.
21317         * po/pl.po: Update from translation team.
21318         * po/bg.po: Likewise.
21320         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21321         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21323 2012-12-11  David S. Miller  <davem@davemloft.net>
21325         * po/sv.po: Update from translation team.
21327         * po/vi.po: Update from translation team.
21329         * po/cs.po: Update from translation team.
21331         * po/de.po: Update from translation team.
21332         * po/eo.po: Likewise.
21333         * po/nl.po: Likewise.
21335 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21337         [BZ #14246]
21338         * manual/argp.texi (Argp Helper Functions): Move node to follow
21339         Argp Parsing State.
21341         [BZ #14872]
21342         * manual/conf.texi (Limits on File System Capacity): Mention if
21343         terminating null is included in the max size.
21345 2012-12-10  Andreas Jaeger  <aj@suse.de>
21347         * po/cs.po: Update from translation team.
21349 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21351         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21352         void pointer and cast to uintptr_t.
21353         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21354         path.
21355         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21356         * sysdeps/s390/s390-64/memset.S: Likewise.
21358 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21360         [BZ #14833]
21361         * menual/message.texi (Message Translation): Fix typos.
21362         (Helper programs for gettext): Likewise.
21364 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21366         [BZ #14898]
21367         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21368         Change to -1.
21370 2012-12-07  David S. Miller  <davem@davemloft.net>
21372         * po/libc.pot: Update.
21374 2012-12-07  Richard Henderson  <rth@redhat.com>
21376         [BZ #10114]
21377         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21378         normal/normal case to before the switch.
21379         (_FP_DIV): Likewise.
21381 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21382             Mike Frysinger  <vapier@gentoo.org>
21384         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21385         check for __NR_fadvise64_64.
21387 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21389         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21390         0, not just to plain "0" as a statement.
21391         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21392         with cw.
21394 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21396         * NEWS: Use sourceware.org in Bugzilla URL.
21398 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21401         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21403         * stdio-common/tst-put-error.c (do_test): Add newline to the
21404         padded test to ensure flush.
21406 2012-12-05  Jeff Law  <law@redhat.com>
21408         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21410 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21412         * README: Don't refer to ports add-on as distributed separately.
21413         Mention AArch64 in list of systems supported in the ports add-on.
21415         * LICENSES: Add more non-FSF copyright and license notices.
21417         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21418         ((unused)).
21420         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21422         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21423         10000 as width of padded output.
21425 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21427         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21429         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21430         variable LX with __attribute__ ((unused)).
21431         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21432         Likewise.
21433         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21434         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21435         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21436         with __attribute__ ((unused)).
21438 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21440         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21442 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21444         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21445         (CFLAGS-nldbl-acos.c): New variable.
21446         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21447         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21448         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21449         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21450         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21451         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21452         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21453         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21454         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21455         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21456         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21457         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21458         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21459         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21460         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21461         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21462         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21463         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21464         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21465         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21466         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21467         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21468         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21469         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21470         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21471         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21472         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21473         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21474         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21475         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21476         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21477         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21478         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21479         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21480         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21481         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21482         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21483         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21484         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21485         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21486         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21487         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21488         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21489         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21490         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21491         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21492         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21493         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21494         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21495         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21496         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21497         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21498         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21499         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21500         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21501         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21502         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21503         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21504         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21505         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21506         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21507         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21508         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21509         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21510         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21511         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21512         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21513         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21514         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21515         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21516         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21517         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21518         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21519         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21520         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21521         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21522         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21523         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21524         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21525         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21526         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21527         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21528         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21529         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21530         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21531         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21532         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21533         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21534         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21535         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21536         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21537         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21538         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21539         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21540         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21541         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21542         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21545         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21547         [BZ #14914]
21548         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21549         whole low double instead of just low 47 bits when splitting values
21550         into two parts.
21552 2012-12-03  Allan McRae  <allan@archlinux.org>
21554         * manual/stdio.texi (Predefined Printf Handlers): Remove
21555         @hsep and @vsep usage.
21557 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21559         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21560         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21562 2012-12-03  Jeff Law  <law@redhat.com>
21564         * time/sys/time.h (settimeofday): Do not mark TV argument
21565         as __nonnull.
21567 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21569         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21570         when currently writing and seek to current position when not.
21571         * libio/Makefile (tests): Remove bug-fclose1.
21572         * libio/bug-fclose1.c: Delete.
21574 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21576         * manual/arith.texi (feenableexcept): Fix typo.
21577         (fedisableexcept): Likewise.
21579 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21581         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21582         second, differently-typed declaration, rather than a cast.
21584 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21586         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21587         * include/rpc/svc.h: ... here.
21589 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21591         [BZ #13013]
21592         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21593         depending n and resplen2 to catch cases where answer
21594         equals answerp2.
21596 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21598         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21599         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21601 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21603         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21605 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21607         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21609 2012-11-28  Jeff Law  <law@redhat.com>
21611         [BZ #13761]
21612         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21613         dataset_temporary.  Track alloca usage into alloca_used.
21614         If dataset is large allocate and release it via malloc/free.
21616 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21618         [BZ #14197]
21619         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21621 2012-11-28  David S. Miller  <davem@davemloft.net>
21623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21625 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21627         [BZ #14803]
21628         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21629         of pi/2 rounded to nearest to 64 bits.
21630         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21631         nearest to 64 bits.
21632         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21633         bits.
21635 2012-11-28  Jeff Law <law@redhat.com>
21636             Martin Osvald <mosvald@redhat.com>
21638         [BZ #14889]
21639         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21640         * sunrpc/svc.c: Include time.h.
21641         (__svc_accept_failed): New function.
21642         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21643         any reason other than EINTR, call __svc_accept_failed.
21644         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21645         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21647 2012-11-28  Andreas Schwab  <schwab@suse.de>
21649         * scripts/abilist.awk: Also handle indirect functions in .opd
21650         section.
21652 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21654         [BZ #13881]
21655         * sysdeps/x86/fpu/powl_helper.c: New file.
21656         * sysdeps/x86/fpu/Makefile: Likewise.
21657         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21658         (p3): New object.
21659         (__ieee754_powl): Use __powl_helper for finite arguments except
21660         integer exponents below 8.
21661         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21662         (p3): New object.
21663         (__ieee754_powl): Use __powl_helper for finite arguments except
21664         integer exponents below 8.
21665         * math/libm-test.inc (pow_test): Add more tests and enable some
21666         previously disabled tests.
21667         * sysdeps/i386/fpu/libm-test-ulps: Update.
21668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21670 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21671             Carlos O'Donell  <carlos_odonell@mentor.com>
21673         * nss/makedb.c (is_prime): Assert that input is odd and greater
21674         than 4.  Note that fact in a comment too.
21675         (next_prime): Add 4 to input.
21677 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21679         [BZ #11741]
21680         * libio/Makefile (tests): Add test case tst-fwrite-error.
21681         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21682         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21683         * libio/tst-fwrite-error.c: New test case.
21685 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21687         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21688         before casting to void *.
21689         * include/libc-internal.h (__pointer_type): New macro.
21690         (__integer_if_pointer_type_sub): Likewise.
21691         (__integer_if_pointer_type): Likewise.
21692         (cast_to_integer): Likewise.
21693         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21694         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21695         before casting to atomic64_t.
21696         (atomic_exchange_acq): Likewise.
21697         (__arch_exchange_and_add_body): Likewise.
21698         (__arch_add_body): Likewise.
21699         (atomic_add_negative): Likewise.
21700         (atomic_add_zero): Likewise.
21702 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21704         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21705         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21706         (add_fdes): Likewise.
21707         (linear_search_fdes): Likewise.
21708         (binary_search_unencoded_fdes): Likewise.
21710 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21712         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21714 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21716         * configure.in: Autodetect C++ header directories.
21717         * configure: Regenerated.
21719 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21721         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21723 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21725         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21727 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21729         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21730         LDBL_MANT_DIG == 106]: Disable some tests.
21731         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21732         Likewise.
21733         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21734         Likewise.
21736         [BZ #14871]
21737         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21738         input for small inputs.  Return +/- pi/2 for large inputs.
21739         * math/libm-test.inc (atan_test): Add more tests.
21741         * sysdeps/generic/unwind-dw2-fde-glibc.c
21742         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21743         __attribute__ ((unused)).
21745         [BZ #14645]
21746         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21747         x * y if x and y are nonzero and z is zero.
21749         [BZ #14811]
21750         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21751         nonzero exponents with absolute value below 0x1p-117 to +/-
21752         0x1p-117.
21754         [BZ #14869]
21755         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21756         up arguments below 2**-450, not just those below 2**-500.
21757         * math/libm-test.inc (hypot_test): Add another test.
21759         [BZ #14868]
21760         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21761         Return a+b for ratio over 2**120, not 2**60.
21762         * math/libm-test.inc (hypot_test): Add another test.
21764         * math/libm-test.inc (clog_test): Use
21765         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21766         (clog10_test): Likewise.
21768         [BZ #6778]
21769         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21771 2012-11-22  Andreas Schwab  <schwab@suse.de>
21773         * sysdeps/i386/fpu/libm-test-ulps: Update.
21775 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21777         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21778         printf output with newline.
21780 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21782         [BZ #14865]
21783         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21784         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21785         -z nodlopen, -z initfirst and -z execstack support.
21786         * configure: Regenerated.
21788         * elf/elf.h (DF_1_NODIRECT): New macro.
21789         (DF_1_IGNMULDEF): Likewise.
21790         (DF_1_NOKSYMS): Likewise.
21791         (DF_1_NOHDR): Likewise.
21792         (DF_1_EDITED): Likewise.
21793         (DF_1_NORELOC): Likewise.
21794         (DF_1_SYMINTPOSE): Likewise.
21795         (DF_1_GLOBAUDIT): Likewise.
21796         (DF_1_SINGLETON): Likewise.
21797         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21798         DT_1_SUPPORTED_MASK bits.
21799         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21801 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21803         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21805 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21807         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21808         macro.
21810         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21811         (sendmmsg): Move declarations...
21812         * socket/sys/socket.h: ... here.
21813         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21814         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21815         include it from...
21816         * socket/recvmmsg.c: ... this new file.
21817         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21818         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21819         definition of __sendmmsg hidden.
21820         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21821         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21822         Move ENOSYS stub into and include it from...
21823         * socket/sendmmsg.c: ... this new file.
21824         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21825         (sysdep_routines): Move recvmmsg and sendmmsg...
21826         * socket/Makefile (routines): ... here.
21827         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21828         (GLIBC_PRIVATE): Add __sendmmsg.
21829         * include/sys/socket.h (__sendmmsg): Add declarations.
21830         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21831         sendmmsg.
21833 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21835         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21836         variable I1 with __attribute__ ((unused)).
21837         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21839 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21841         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
21842         DUMMY variables with __attribute__ ((unused)).
21844         * bits/byteswap.h: Include <bits/types.h>.
21845         (__bswap_64): Use __uint64_t instead of unsigned long long int.
21847 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
21849         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
21850         string_t.  Do not manually set errno.
21851         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
21852         length with __strnlen.  Make sure to both set errno and return it on
21853         failure.
21855 2012-11-19  David S. Miller  <davem@davemloft.net>
21857         With help from Joseph Myers.
21858         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
21859         very large arguments properly.
21860         * math/libm-test.inc (atan_test): New tests.
21861         (atan2_test): New tests.
21862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21863         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21865 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21867         [BZ #14856]
21868         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
21869         Define to 3.
21871         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
21872         [POSIX] (EADDRNOTAVAIL): Likewise.
21873         [POSIX] (EAFNOSUPPORT): Likewise.
21874         [POSIX] (EALREADY): Likewise.
21875         [POSIX] (ECONNABORTED): Likewise.
21876         [POSIX] (ECONNREFUSED): Likewise.
21877         [POSIX] (ECONNRESET): Likewise.
21878         [POSIX] (EDESTADDRREQ): Likewise.
21879         [POSIX] (EDQUOT): Likewise.
21880         [POSIX] (EHOSTUNREACH): Likewise.
21881         [POSIX] (EIDRM): Likewise.
21882         [POSIX] (EISCONN): Likewise.
21883         [POSIX] (ELOOP): Likewise.
21884         [POSIX] (EMULTIHOP): Likewise.
21885         [POSIX] (ENETDOWN): Likewise.
21886         [POSIX] (ENETUNREACH): Likewise.
21887         [POSIX] (ENOBUFS): Likewise.
21888         [POSIX] (ENODATA): Likewise.
21889         [POSIX] (ENOLINK): Likewise.
21890         [POSIX] (ENOMSG): Likewise.
21891         [POSIX] (ENOPROTOOPT): Likewise.
21892         [POSIX] (ENOSR): Likewise.
21893         [POSIX] (ENOSTR): Likewise.
21894         [POSIX] (ENOTCONN): Likewise.
21895         [POSIX] (ENOTSOCK): Likewise.
21896         [POSIX] (EOPNOTSUPP): Likewise.
21897         [POSIX] (EOVERFLOW): Likewise.
21898         [POSIX] (EPROTO): Likewise.
21899         [POSIX] (EPROTONOSUPPORT): Likewise.
21900         [POSIX] (EPROTOTYPE): Likewise.
21901         [POSIX] (ESTALE): Likewise.
21902         [POSIX] (ETIME): Likewise.
21903         [POSIX] (ETXTBSY): Likewise.
21904         [POSIX] (EWOULDBLOCK): Likewise.
21905         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
21906         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
21907         [POSIX] (SEEK_CUR): Likewise.
21908         [POSIX] (SEEK_END): Likewise.
21909         [POSIX || UNIX98] (mode_t): Do not require.
21910         [POSIX] (off_t): Likewise.
21911         [POSIX] (pid_t): Likewise.
21912         [POSIX] (sys/stat.h): Do not allow header.
21913         [POSIX] (unistd.h): Likewise.
21914         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
21915         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
21916         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
21917         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
21918         require.
21919         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
21920         sigevent): Specify elements.
21921         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
21922         entry.
21923         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
21924         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
21926         * conform/data/cpio.h-data [POSIX]: Disable whole file.
21927         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
21928         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
21929         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
21930         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
21931         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
21932         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
21933         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
21934         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
21935         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
21936         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
21937         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
21938         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
21939         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
21940         Likewise.
21941         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
21942         Likewise.
21943         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
21944         Likewise.
21945         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
21946         Likewise.
21947         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
21948         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
21949         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
21950         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
21951         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
21952         Specify lower bound on value.
21953         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
21954         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
21955         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
21956         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
21957         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
21958         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
21959         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
21960         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
21961         value.
21962         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
21963         as optional.
21964         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
21965         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
21966         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
21967         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
21968         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
21969         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
21970         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
21971         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
21972         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
21973         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
21974         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
21975         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
21976         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
21977         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
21978         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
21979         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
21980         entry.
21981         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
21982         optional.
21983         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
21984         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
21985         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
21986         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
21987         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
21988         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
21989         Likewise.
21990         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
21991         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
21992         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
21993         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
21994         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
21995         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
21996         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
21997         as optional.
21998         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
21999         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22000         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22001         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22002         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22003         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22004         specify as optional.
22005         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22006         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22007         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22008         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22009         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22010         [XPG3] (NL_LANGMAX): Likewise.
22011         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22012         [POSIX || XPG3] (NL_NMAX): Likewise.
22013         [POSIX || XPG3] (NL_SETMAX): Likewise.
22014         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22015         [XPG3] (NZERO): Likewise.
22016         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22017         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22018         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22019         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22020         (REG_ERANGE): Expect.
22021         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22022         optional-constant.
22023         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22024         Use (void) in prototype.
22025         [POSIX] (*_t): Allow.
22026         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22027         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22028         (WRDE_BADVAL): Expect.
22030         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22031         expect.
22032         [XPG3 || XPG4] (O_RSYNC): Likewise.
22033         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22034         Likewise.
22035         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22036         [XPG3 || XPG4] (sigqueue): Likewise.
22037         [XPG3 || XPG4] (sigtimedwait): Likewise.
22038         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22039         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22040         [XPG3 || XPG4] (vsnprintf): Likewise.
22041         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22042         Likewise.
22043         [XPG3 || XPG4] (blksize_t): Likewise.
22044         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22045         Likewise.
22046         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22047         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22048         [XPG3 || XPG4] (struct itimerspec): Likewise.
22049         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22050         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22051         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22052         [XPG3 || XPG4] (clockid_t): Likewise.
22053         [XPG3 || XPG4] (timer_t): Likewise.
22054         [XPG3 || XPG4] (clock_getres): Likewise.
22055         [XPG3 || XPG4] (clock_gettime): Likewise.
22056         [XPG3 || XPG4] (clock_settime): Likewise.
22057         [XPG3 || XPG4] (nanosleep): Likewise.
22058         [XPG3 || XPG4] (timer_create): Likewise.
22059         [XPG3 || XPG4] (timer_delete): Likewise.
22060         [XPG3 || XPG4] (timer_gettime): Likewise.
22061         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22062         [XPG3 || XPG4] (timer_settime): Likewise.
22063         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22064         [XPG3 || XPG4] (getlogin_r): Likewise.
22065         [XPG3 || XPG4] (pread): Likewise.
22066         [XPG3 || XPG4] (pthread_atfork): Likewise.
22067         [XPG3 || XPG4] (pwrite): Likewise.
22069         [BZ #14835]
22070         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22071         <bits/siginfo.h>.
22073 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22075         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22076         finalizing MALLSTREAM.
22078         * sysdeps/mach/hurd/syncfs.c: New file.
22080 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082         [BZ #14719]
22083         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22084         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22086         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22087         (_nss_dns_gethostbyname4_r): Likewise.
22088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22089         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22091 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22093         [BZ #13763]
22094         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22096 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22098         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22099         * elf/cache.c (print_entry): Print ",AArch64" for
22100         FLAG_AARCH64_LIB64
22102         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22103         * elf/cache.c (print_entry): Print ",hard-float" for
22104         FLAG_ARM_LIBHF.
22106 2012-11-18  David S. Miller  <davem@davemloft.net>
22108         With help from Joseph Myers.
22109         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22110         cutoff to 2**-13.
22111         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22112         cutoff to 2**-25.
22113         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22114         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22115         small.
22116         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22117         * math/libm-test.inc (y0_test): New tests.
22118         (y1_test): New tests.
22119         * sysdeps/i386/fpu/libm-test-ulps: Update.
22120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22123 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22125         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22126         64-bit targets.
22127         * configure: Regenerated.
22129 2012-11-17  David S. Miller  <davem@davemloft.net>
22131         [BZ #14811]
22132         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22133         nonzero exponents with absolute value below 0x1p-128 to +/-
22134         0x1p-128.
22136 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22138         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22140         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22142         * posix/getconf-speclist.c: New file.
22143         * posix/posix-envs.def: Likewise.
22144         * posix/confstr.c (START_ENV_GROUP): New macro.
22145         (END_ENV_GROUP): Likewise.
22146         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22147         (KNOWN_PRESENT_ENV_STRING): Likewise.
22148         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22149         (UNKNOWN_ENVIRONMENT): Likewise.
22150         (confstr): Include posix-envs.def instead of handling
22151         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22152         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22153         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22154         (END_ENV_GROUP): Likewise.
22155         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22156         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22157         (UNKNOWN_ENVIRONMENT): Likewise.
22158         (__sysconf): Include posix-envs.def instead of handling associated
22159         cases directly here.
22160         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22161         preprocessing getconf-speclist.c rather than running getconf or
22162         generating empty file.
22164 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22166         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22168 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22170         [BZ #14672]
22171         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22173 2012-11-16  David S. Miller  <davem@davemloft.net>
22175         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22176         smaller than LDBL_EPSILON/2.0L, just return xm1.
22178 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22180         * elf/tst-array1.c (init): Set constructor priority to 1000.
22181         (fini): Set destructor priority to 1000.
22182         * elf/tst-array2dep.c: Likewise.
22184 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22186         [BZ #11741]
22187         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22188         (_IO_new_file_xsputn): Also return EOF if none of the input
22189         data was written when overflow failed.
22190         * libio/iopadn.c (_IO_padn): Likewise.
22191         * libio/iowpadn.c (_IO_wpadn): Likewise.
22192         * stdio-common/tst-put-error.c: Add copyright notice.
22193         (do_test): Add case for printing padded string.
22194         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22195         _IO_padn returned error.
22196         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22197         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22198         return EOF.
22200 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22202         * libio/libioP.h: Add comment note that the references to C++
22203         bits are now obsolete.
22205 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22207         * math/libm-test.inc (check_complex): Use asprintf.
22209 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22211         * debug/pcprofiledump.c (print_version): Update copyright year.
22212         * malloc/memusagestat.c (print_version): Likewise.
22214 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22216         [BZ #14831]
22217         * elf/Makefile (tests): Add tst-audit8.
22218         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22219         ($(objpfx)tst-audit8.out): New target.
22220         (tst-audit8-ENV): New variable.
22221         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22222         audit if l_reloc_result is NULL.
22223         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22224         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22225         * elf/tst-audit8.c: New file.
22227 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22229         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22230         * misc/Makefile (CFLAGS-select.c): Define.
22231         * posix/Makefile (CFLAGS-pause.c): Define.
22233 2012-11-13  David S. Miller  <davem@davemloft.net>
22235         * crypt/Makefile: Move test targets after toplevel Rules
22236         inclusion.  Grab any necessary sysdep routines when linking.
22237         * crypt/md5.c (md5_process_block): Remove define, we will always
22238         name it __md5_process_block.
22239         (md5_finish_ctx): Update md5_process_block call.
22240         (md5_stream): Likewise.
22241         (md5_process_bytes): Likewise.
22242         (md5_process_block): Rename to __md5_process_block and move to ...
22243         * crypt/md5-block.c: ... here.
22244         * crypt/sha256.c (sha256_process_block): Move to ...
22245         * crypt/sha256-block.c: ... here.
22246         * crypt/sha512.c (sha512_process_block): Move to ...
22247         * crypt/sha512-block.c: ... here.
22248         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22249         path.
22250         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22251         * sysdeps/sparc/sparc64/multiarch/Makefile
22252         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22253         crypt subdir.
22254         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22255         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22256         multiarch changes.
22257         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22258         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22259         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22260         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22261         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22262         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22263         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22264         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22265         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22266         file.
22267         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22268         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22269         file.
22270         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22272 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22274         * timezone/tzselect.ksh: Update from tzcode git revision
22275         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22276         * timezone/zdump.c: Likewise.
22277         * timezone/zic.c: Likewise.
22278         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22279         in TZVERSION setting, not $(PKGVERSION).
22280         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22281         REPORT_BUGS_TO settings.
22283         [BZ #14838]
22284         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22285         macro.
22287 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22289         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22290         detection to immediately after _FP_ROUND().
22291         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22292         bits are 0.
22294 2012-11-11  David S. Miller  <davem@davemloft.net>
22296         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22297         inttypes.h
22298         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22299         __close rather than their public counterparts.
22301 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22303         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22304         file.
22305         [UNIX98] (sem_timedwait): Do not expect.
22306         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22307         [XPG4 || UNIX98] (sockatmark): Do not expect.
22308         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22309         (clock_getcpuclockid): Do not expect.
22310         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22311         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22312         Do not expect.
22313         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22314         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22315         [UNIX98] (vwscanf): Likewise.
22316         [UNIX98] (vswscanf): Likewise.
22318 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22320         * timezone/version.h: Remove file.
22321         * timezone/README: Do not refer to version.h.
22322         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22323         $(objpfx)version.h.
22324         ($(objpfx)zdump.o): Likewise.
22325         ($(objpfx)version.h): New target.
22327         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22328         2012i.
22329         * timezone/README: Don't mention modification to tzselect.ksh.
22330         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22331         work on unmodified tzselect.ksh.  Substitute version numbers in
22332         tzselect.ksh.
22334         * Makefile (format-me): Remove.
22335         (INSTALL): Adjust indentation.  Use commands directly instead of
22336         using $(format-me).
22338         * aclocal.m4 (ACX_PKGVERSION): New macro.
22339         (ACX_BUGURL): Likewise.
22340         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22341         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22342         (REPORT_BUGS_TO): Likewise.
22343         * configure: Regenerated.
22344         * config.h.in (PKGVERSION): New macro.
22345         (REPORT_BUGS_TO): Likewise.
22346         * config.make.in (PKGVERSION): New variable.
22347         (PKGVERSION_TEXI): Likewise.
22348         (REPORT_BUGS_TO): Likewise.
22349         (REPORT_BUGS_TEXI): Likewise.
22350         * Makefile (format-me): Use -I$(common-objpfx)manual.
22351         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22352         ($(common-objpfx)manual/%): New target.
22353         (manual/%): Remove target.
22354         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22355         (print_version): Use PKGVERSION.
22356         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22357         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22358         and REPORT_BUGS_TO.
22359         ($(objpfx)xtrace): Likewise.
22360         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22361         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22362         (print_version): Use PKGVERSION.
22363         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22364         (do_version): Use PKGVERSION.
22365         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22366         REPORT_BUGS_TO.
22367         (common-ldd-rewrite): Likewise.
22368         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22369         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22370         (print_version): Use PKGVERSION.
22371         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22372         * elf/pldd.c (argp_program_bug_address): Remove variable.
22373         (more_help): New function.
22374         (argp): Use more_help.
22375         (print_version): Use PKGVERSION.
22376         * elf/sln.c (main): Use PKGVERSION.
22377         (usage): Use REPORT_BUGS_TO.
22378         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22379         (top level): Use PKGVERSION.
22380         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22381         (print_version): Use PKGVERSION.
22382         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22383         (print_version): Use PKGVERSION.
22384         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22385         (print_version): Use PKGVERSION.
22386         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22387         (print_version): Use PKGVERSION.
22388         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22389         (print_version): Use PKGVERSION.
22390         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22391         (print_version): Use PKGVERSION.
22392         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22393         and BUGURL.
22394         ($(objpfx)memusage): Likewise.
22395         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22396         (do_version): Use PKGVERSION.
22397         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22398         (print_version): Use PKGVERSION.
22399         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22400         ($PKGVERSION): New variable.
22401         ($REPORT_BUGS_TO): Likewise.
22402         (usage): Use $REPORT_BUGS_TO.
22403         (top level): Use $PKGVERSION.
22404         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22405         ($(objpfx)pkgvers.texi): New rule.
22406         ($(objpfx)stamp-pkgvers): Likewise.
22407         * manual/install.texi: Include pkgvers.texi.
22408         (--with-pkgversion): Document new configure option.
22409         (--with-bugurl): Likewise.
22410         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22411         than necessarily for this particular distribution.  Use
22412         REPORT_BUGS_TO for where to report bugs.
22413         * INSTALL: Regenerated.
22414         * manual/libc.texinfo: Include pkgvers.texi.
22415         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22416         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22417         (print_version): Use PKGVERSION.
22418         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22419         (print_version): Use PKGVERSION.
22420         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22421         (print_version): Use PKGVERSION.
22422         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22423         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22424         macro.
22425         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22426         (print_version): Use PKGVERSION.
22427         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22428         (print_version): Use PKGVERSION.
22429         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22430         and PKGVERSION.
22432         * timezone/checktab.awk: Update from tzcode 2012i.
22433         * timezone/ialloc.c: Likewise.
22434         * timezone/private.h: Likewise.
22435         * timezone/scheck.c: Likewise.
22436         * timezone/tzfile.h: Likewise.
22437         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22438         (TZVERSION): Hardcode tzcode version number.
22439         * timezone/zdump.c: Update from tzcode 2012i.
22440         * timezone/zic.c: Likewise.
22441         * timezone/version.h: New file.
22442         * timezone/README: Describe version.h.  Update upstream location.
22444         [BZ #14824]
22445         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22446         (mktemp): Enable declaration.
22447         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22448         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22449         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22450         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22451         Likewise.
22452         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22453         Likewise.
22454         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22455         Likewise.
22456         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22457         Likewise.
22458         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22459         Likewise.
22460         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22461         Likewise.
22463         [BZ #14821]
22464         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22465         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22466         for copies of such integer values.
22467         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22468         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22470 2012-11-09  Andreas Jaeger  <aj@suse.de>
22472         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22473         definitions and declarations that are provided by
22474         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22476 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22478         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22479         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22480         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22481         definition.
22483 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22485         * elf/elf.h: Update comment before AArch64 relocations.
22487 2012-11-07  David S. Miller  <davem@davemloft.net>
22489         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22490         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22491         (__start_context): Declare.
22492         (__makecontext_ret): Delete.
22493         (__makecontext): Hook up __start_context instead of
22494         __makecontext_ret.
22495         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22496         (sysdep_routines): Add __start_context when in stdlib.
22498 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22500         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22501         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22502         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22503         hardcoded "nm".
22504         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22505         (READELF): New variable.  Use it instead of hardcoded "readelf".
22507 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22509         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22510         * sysdeps/x86/Makefile: Here.
22511         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22512         * sysdeps/x86/tst-xmmymm.sh: This.
22514 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22516         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22517         expectations.
22518         [UNIX98] (pthread_barrier_t): Do not expect.
22519         [UNIX98] (pthread_barrierattr_t): Likewise.
22520         [UNIX98] (pthread_spinlock_t): Likewise.
22521         [UNIX98] (pthread_barrier_destroy): Likewise.
22522         [UNIX98] (pthread_barrier_init): Likewise.
22523         [UNIX98] (pthread_barrier_wait): Likewise.
22524         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22525         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22526         [UNIX98] (pthread_barrierattr_init): Likewise.
22527         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22528         [UNIX98] (pthread_getcpuclockid): Likewise.
22529         [UNIX98] (pthread_mutex_timedlock): Likewise.
22530         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22531         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22532         [UNIX98] (pthread_sigmask): Likewise.
22533         [UNIX98] (pthread_spin_destroy): Likewise.
22534         [UNIX98] (pthread_spin_init): Likewise.
22535         [UNIX98] (pthread_spin_lock): Likewise.
22536         [UNIX98] (pthread_spin_trylock): Likewise.
22537         [UNIX98] (pthread_spin_unlock): Likewise.
22538         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22539         Do not expect.
22540         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22541         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22542         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22543         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22544         [XPG3 || XPG4] (pthread_key_t): Likewise.
22545         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22546         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22547         [XPG3 || XPG4] (pthread_once_t): Likewise.
22548         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22549         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22550         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22551         [XPG3 || XPG4] (pthread_t): Likewise.
22553         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22554         not expect.
22555         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22557         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22558         Change function return type to int.
22560         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22561         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22562         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22563         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22564         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22565         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22566         [!POSIX] (posix_madvise): Likewise.
22567         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22568         && !UNIX98].
22569         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22570         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22571         (mode_t): Likewise.
22572         (posix_mem_offset): Likewise.
22573         (posix_typed_mem_get_info): Likewise.
22574         (posix_typed_mem_open): Likewise.
22576         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22577         Change condition to [XOPEN2K8].
22579         * conform/conformtest.pl: Preprocess allow-header data with -x c
22580         instead of from stdin.
22581         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22582         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22583         [C99-based standards] (cerfc): Likewise.
22584         [C99-based standards] (cexp2): Likewise.
22585         [C99-based standards] (cexpm1): Likewise.
22586         [C99-based standards] (clog10): Likewise.
22587         [C99-based standards] (clog1p): Likewise.
22588         [C99-based standards] (clog2): Likewise.
22589         [C99-based standards] (clgamma): Likewise.
22590         [C99-based standards] (ctgamma): Likewise.
22591         [C99-based standards] (cerff): Likewise.
22592         [C99-based standards] (cerfcf): Likewise.
22593         [C99-based standards] (cexp2f): Likewise.
22594         [C99-based standards] (cexpm1f): Likewise.
22595         [C99-based standards] (clog10f): Likewise.
22596         [C99-based standards] (clog1pf): Likewise.
22597         [C99-based standards] (clog2f): Likewise.
22598         [C99-based standards] (clgammaf): Likewise.
22599         [C99-based standards] (ctgammaf): Likewise.
22600         [C99-based standards] (cerfl): Likewise.
22601         [C99-based standards] (cerfcl): Likewise.
22602         [C99-based standards] (cexp2l): Likewise.
22603         [C99-based standards] (cexpm1l): Likewise.
22604         [C99-based standards] (clog10l): Likewise.
22605         [C99-based standards] (clog1pl): Likewise.
22606         [C99-based standards] (clog2l): Likewise.
22607         [C99-based standards] (clgammal): Likewise.
22608         [C99-based standards] (ctgammal): Likewise.
22609         * conform/data/inttypes.h-data [C99-based standards]: Include
22610         stdint.h-data.  Remove all expectations for stdint.h contents.
22611         [C99-based standards] (PRI*): Do not allow.
22612         [C99-based standards] (SCN*): Likewise.
22613         [C99-based standards] (*_t): Likewise.
22614         [C99-based-standards] (PRId8): Expect macro.
22615         [C99-based-standards] (PRIi8): Likewise.
22616         [C99-based-standards] (PRIo8): Likewise.
22617         [C99-based-standards] (PRIu8): Likewise.
22618         [C99-based-standards] (PRIx8): Likewise.
22619         [C99-based-standards] (PRIX8): Likewise.
22620         [C99-based-standards] (SCNd8): Likewise.
22621         [C99-based-standards] (SCNi8): Likewise.
22622         [C99-based-standards] (SCNo8): Likewise.
22623         [C99-based-standards] (SCNu8): Likewise.
22624         [C99-based-standards] (SCNx8): Likewise.
22625         [C99-based-standards] (PRIdLEAST8): Likewise.
22626         [C99-based-standards] (PRIiLEAST8): Likewise.
22627         [C99-based-standards] (PRIoLEAST8): Likewise.
22628         [C99-based-standards] (PRIuLEAST8): Likewise.
22629         [C99-based-standards] (PRIxLEAST8): Likewise.
22630         [C99-based-standards] (PRIXLEAST8): Likewise.
22631         [C99-based-standards] (SCNdLEAST8): Likewise.
22632         [C99-based-standards] (SCNiLEAST8): Likewise.
22633         [C99-based-standards] (SCNoLEAST8): Likewise.
22634         [C99-based-standards] (SCNuLEAST8): Likewise.
22635         [C99-based-standards] (SCNxLEAST8): Likewise.
22636         [C99-based-standards] (PRIdFAST8): Likewise.
22637         [C99-based-standards] (PRIiFAST8): Likewise.
22638         [C99-based-standards] (PRIoFAST8): Likewise.
22639         [C99-based-standards] (PRIuFAST8): Likewise.
22640         [C99-based-standards] (PRIxFAST8): Likewise.
22641         [C99-based-standards] (PRIXFAST8): Likewise.
22642         [C99-based-standards] (SCNdFAST8): Likewise.
22643         [C99-based-standards] (SCNiFAST8): Likewise.
22644         [C99-based-standards] (SCNoFAST8): Likewise.
22645         [C99-based-standards] (SCNuFAST8): Likewise.
22646         [C99-based-standards] (SCNxFAST8): Likewise.
22647         [C99-based-standards] (PRId16): Likewise.
22648         [C99-based-standards] (PRIi16): Likewise.
22649         [C99-based-standards] (PRIo16): Likewise.
22650         [C99-based-standards] (PRIu16): Likewise.
22651         [C99-based-standards] (PRIx16): Likewise.
22652         [C99-based-standards] (PRIX16): Likewise.
22653         [C99-based-standards] (SCNd16): Likewise.
22654         [C99-based-standards] (SCNi16): Likewise.
22655         [C99-based-standards] (SCNo16): Likewise.
22656         [C99-based-standards] (SCNu16): Likewise.
22657         [C99-based-standards] (SCNx16): Likewise.
22658         [C99-based-standards] (PRIdLEAST16): Likewise.
22659         [C99-based-standards] (PRIiLEAST16): Likewise.
22660         [C99-based-standards] (PRIoLEAST16): Likewise.
22661         [C99-based-standards] (PRIuLEAST16): Likewise.
22662         [C99-based-standards] (PRIxLEAST16): Likewise.
22663         [C99-based-standards] (PRIXLEAST16): Likewise.
22664         [C99-based-standards] (SCNdLEAST16): Likewise.
22665         [C99-based-standards] (SCNiLEAST16): Likewise.
22666         [C99-based-standards] (SCNoLEAST16): Likewise.
22667         [C99-based-standards] (SCNuLEAST16): Likewise.
22668         [C99-based-standards] (SCNxLEAST16): Likewise.
22669         [C99-based-standards] (PRIdFAST16): Likewise.
22670         [C99-based-standards] (PRIiFAST16): Likewise.
22671         [C99-based-standards] (PRIoFAST16): Likewise.
22672         [C99-based-standards] (PRIuFAST16): Likewise.
22673         [C99-based-standards] (PRIxFAST16): Likewise.
22674         [C99-based-standards] (PRIXFAST16): Likewise.
22675         [C99-based-standards] (SCNdFAST16): Likewise.
22676         [C99-based-standards] (SCNiFAST16): Likewise.
22677         [C99-based-standards] (SCNoFAST16): Likewise.
22678         [C99-based-standards] (SCNuFAST16): Likewise.
22679         [C99-based-standards] (SCNxFAST16): Likewise.
22680         [C99-based-standards] (PRId32): Likewise.
22681         [C99-based-standards] (PRIi32): Likewise.
22682         [C99-based-standards] (PRIo32): Likewise.
22683         [C99-based-standards] (PRIu32): Likewise.
22684         [C99-based-standards] (PRIx32): Likewise.
22685         [C99-based-standards] (PRIX32): Likewise.
22686         [C99-based-standards] (SCNd32): Likewise.
22687         [C99-based-standards] (SCNi32): Likewise.
22688         [C99-based-standards] (SCNo32): Likewise.
22689         [C99-based-standards] (SCNu32): Likewise.
22690         [C99-based-standards] (SCNx32): Likewise.
22691         [C99-based-standards] (PRIdLEAST32): Likewise.
22692         [C99-based-standards] (PRIiLEAST32): Likewise.
22693         [C99-based-standards] (PRIoLEAST32): Likewise.
22694         [C99-based-standards] (PRIuLEAST32): Likewise.
22695         [C99-based-standards] (PRIxLEAST32): Likewise.
22696         [C99-based-standards] (PRIXLEAST32): Likewise.
22697         [C99-based-standards] (SCNdLEAST32): Likewise.
22698         [C99-based-standards] (SCNiLEAST32): Likewise.
22699         [C99-based-standards] (SCNoLEAST32): Likewise.
22700         [C99-based-standards] (SCNuLEAST32): Likewise.
22701         [C99-based-standards] (SCNxLEAST32): Likewise.
22702         [C99-based-standards] (PRIdFAST32): Likewise.
22703         [C99-based-standards] (PRIiFAST32): Likewise.
22704         [C99-based-standards] (PRIoFAST32): Likewise.
22705         [C99-based-standards] (PRIuFAST32): Likewise.
22706         [C99-based-standards] (PRIxFAST32): Likewise.
22707         [C99-based-standards] (PRIXFAST32): Likewise.
22708         [C99-based-standards] (SCNdFAST32): Likewise.
22709         [C99-based-standards] (SCNiFAST32): Likewise.
22710         [C99-based-standards] (SCNoFAST32): Likewise.
22711         [C99-based-standards] (SCNuFAST32): Likewise.
22712         [C99-based-standards] (SCNxFAST32): Likewise.
22713         [C99-based-standards] (PRId64): Likewise.
22714         [C99-based-standards] (PRIi64): Likewise.
22715         [C99-based-standards] (PRIo64): Likewise.
22716         [C99-based-standards] (PRIu64): Likewise.
22717         [C99-based-standards] (PRIx64): Likewise.
22718         [C99-based-standards] (PRIX64): Likewise.
22719         [C99-based-standards] (SCNd64): Likewise.
22720         [C99-based-standards] (SCNi64): Likewise.
22721         [C99-based-standards] (SCNo64): Likewise.
22722         [C99-based-standards] (SCNu64): Likewise.
22723         [C99-based-standards] (SCNx64): Likewise.
22724         [C99-based-standards] (PRIdLEAST64): Likewise.
22725         [C99-based-standards] (PRIiLEAST64): Likewise.
22726         [C99-based-standards] (PRIoLEAST64): Likewise.
22727         [C99-based-standards] (PRIuLEAST64): Likewise.
22728         [C99-based-standards] (PRIxLEAST64): Likewise.
22729         [C99-based-standards] (PRIXLEAST64): Likewise.
22730         [C99-based-standards] (SCNdLEAST64): Likewise.
22731         [C99-based-standards] (SCNiLEAST64): Likewise.
22732         [C99-based-standards] (SCNoLEAST64): Likewise.
22733         [C99-based-standards] (SCNuLEAST64): Likewise.
22734         [C99-based-standards] (SCNxLEAST64): Likewise.
22735         [C99-based-standards] (PRIdFAST64): Likewise.
22736         [C99-based-standards] (PRIiFAST64): Likewise.
22737         [C99-based-standards] (PRIoFAST64): Likewise.
22738         [C99-based-standards] (PRIuFAST64): Likewise.
22739         [C99-based-standards] (PRIxFAST64): Likewise.
22740         [C99-based-standards] (PRIXFAST64): Likewise.
22741         [C99-based-standards] (SCNdFAST64): Likewise.
22742         [C99-based-standards] (SCNiFAST64): Likewise.
22743         [C99-based-standards] (SCNoFAST64): Likewise.
22744         [C99-based-standards] (SCNuFAST64): Likewise.
22745         [C99-based-standards] (SCNxFAST64): Likewise.
22746         [C99-based-standards] (PRIdMAX): Likewise.
22747         [C99-based-standards] (PRIiMAX): Likewise.
22748         [C99-based-standards] (PRIoMAX): Likewise.
22749         [C99-based-standards] (PRIuMAX): Likewise.
22750         [C99-based-standards] (PRIxMAX): Likewise.
22751         [C99-based-standards] (PRIXMAX): Likewise.
22752         [C99-based-standards] (SCNdMAX): Likewise.
22753         [C99-based-standards] (SCNiMAX): Likewise.
22754         [C99-based-standards] (SCNoMAX): Likewise.
22755         [C99-based-standards] (SCNuMAX): Likewise.
22756         [C99-based-standards] (SCNxMAX): Likewise.
22757         [C99-based-standards] (PRIdPTR): Likewise.
22758         [C99-based-standards] (PRIiPTR): Likewise.
22759         [C99-based-standards] (PRIoPTR): Likewise.
22760         [C99-based-standards] (PRIuPTR): Likewise.
22761         [C99-based-standards] (PRIxPTR): Likewise.
22762         [C99-based-standards] (PRIXPTR): Likewise.
22763         [C99-based-standards] (SCNdPTR): Likewise.
22764         [C99-based-standards] (SCNiPTR): Likewise.
22765         [C99-based-standards] (SCNoPTR): Likewise.
22766         [C99-based-standards] (SCNuPTR): Likewise.
22767         [C99-based-standards] (SCNxPTR): Likewise.
22768         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22769         allow.
22770         * conform/data/stdint.h-data: Update comments to clarify
22771         requirements.
22772         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22773         type.
22774         [C99-based standards] (INT8_MAX): Likewise.
22775         [C99-based standards] (INT16_MIN): Likewise.
22776         [C99-based standards] (INT16_MAX): Likewise.
22777         [C99-based standards] (INT32_MIN): Likewise.
22778         [C99-based standards] (INT32_MAX): Likewise.
22779         [C99-based standards] (INT64_MIN): Likewise.
22780         [C99-based standards] (INT64_MAX): Likewise.
22781         [C99-based standards] (UINT8_MAX): Likewise.
22782         [C99-based standards] (UINT16_MAX): Likewise.
22783         [C99-based standards] (UINT32_MAX): Likewise.
22784         [C99-based standards] (UINT64_MAX): Likewise.
22785         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22786         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22787         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22788         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22789         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22790         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22791         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22792         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22793         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22794         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22795         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22796         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22797         [C99-based standards] (INT_FAST8_MIN): Likewise.
22798         [C99-based standards] (INT_FAST8_MAX): Likewise.
22799         [C99-based standards] (INT_FAST16_MIN): Likewise.
22800         [C99-based standards] (INT_FAST16_MAX): Likewise.
22801         [C99-based standards] (INT_FAST32_MIN): Likewise.
22802         [C99-based standards] (INT_FAST32_MAX): Likewise.
22803         [C99-based standards] (INT_FAST64_MIN): Likewise.
22804         [C99-based standards] (INT_FAST64_MAX): Likewise.
22805         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22806         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22807         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22808         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22809         [C99-based standards] (INTPTR_MIN): Likewise.
22810         [C99-based standards] (INTPTR_MAX): Likewise.
22811         [C99-based standards] (UINTPTR_MAX): Likewise.
22812         [C99-based standards] (INTMAX_MIN): Likewise.
22813         [C99-based standards] (INTMAX_MAX): Likewise.
22814         [C99-based standards] (UINTMAX_MAX): Likewise.
22815         [C99-based standards] (PTRDIFF_MIN): Likewise.
22816         [C99-based standards] (PTRDIFF_MAX): Likewise.
22817         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22818         [C99-based standards] (SIZE_MAX): Likewise.
22819         [C99-based standards] (WCHAR_MAX): Likewise.
22820         [C99-based standards] (WINT_MAX): Likewise.
22821         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22822         constraint on value.
22823         [C99-based standards] (WCHAR_MIN): Likewise.
22824         [C99-based standards] (WINT_MIN): Likewise.
22825         [C99-based standards] (*_t): Allow.
22826         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22827         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22828         Include math.h-data and complex.h-data.  Remove all expectations
22829         of math.h and complex.h contents.
22830         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22831         at end of line.
22832         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22833         (struct tm): Expect tag.
22834         [C99-based-standards] (wcstof): Expect function.
22835         [C99-based-standards] (wcstold): Likewise.
22836         [C99-based-standards] (wcstoll): Likewise.
22837         [C99-based-standards] (wcstoull): Likewise.
22838         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22839         macro-int-constant.  Specify type.
22840         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22841         constraint on value.
22842         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22843         Specify type.
22844         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
22845         Specify value.
22846         [ISO C standards]: Do not allow headers.
22847         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
22848         wcs[abcdefghijklmnopqrstuvwxyz]*.
22849         [ISO C standards] (*_t): Do not allow.
22850         * conform/data/wctype.h-data [C99-based standards] (iswblank):
22851         Expect function.
22852         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
22853         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
22854         Specify type.
22855         [ISO C standards]: Do not allow headers.
22856         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
22857         is[abcdefghijklmnopqrstuvwxyz]*.
22858         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
22859         to[abcdefghijklmnopqrstuvwxyz]*.
22860         [ISO C standards] (*_t): Do not allow.
22861         * conform/data/stdalign.h-data: New file.
22862         * conform/data/stdbool.h-data: Likewise.
22863         * conform/data/stdnoreturn.h-data: Likewise.
22865 2012-11-07  Roland McGrath  <roland@hack.frob.com>
22867         [BZ #14815]
22868         * manual/filesys.texi (Directory Entries): Typo fix.
22869         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
22871 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22873         * elf/elf.h (EM_AARCH64): New macro.
22874         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
22875         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
22876         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
22877         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
22878         (R_AARCH64_TLSDESC): Likewise.
22879         (NT_ARM_TLS): Likewise.
22880         (NT_ARM_HW_BREAK): Likewise.
22881         (NT_ARM_HW_WATCH): Likewise.
22883 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #14811]
22886         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
22887         (__ieee754_powl): Saturate nonzero exponents with absolute value
22888         below 0x1p-79 to +/- 0x1p-79.
22889         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
22890         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
22891         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
22892         nonzero exponents with absolute value below 0x1p-32 to +/-
22893         0x1p-32.
22894         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
22895         (__ieee754_powl): Saturate nonzero exponents with absolute value
22896         below 0x1p-79 to +/- 0x1p-79.
22897         * math/libm-test.inc (pow_test): Add more tests.
22899 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22901         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
22902         _dl_s390_cap_flags with kernel. Increase string length.
22903         (_dl_s390_platforms): Add z196 and zEC12.
22905 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22907         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
22908         Change XOPEN21K to XOPEN2K.
22910 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
22912         * string/memmove.c: Use memcpy when possible.
22914 2012-11-06  Andreas Jaeger  <aj@suse.de>
22916         * po/eo.po: Update from translation team.
22918 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
22920         [BZ #14793]
22921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
22922         exponent and small x and y exponents, scale x or y up.  Increase
22923         by 2 the exponent used in scaling up.
22924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22925         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22926         * math/libm-test.inc (fma_test): Add more tests.
22927         (fma_test_towardzero): Likewise.
22928         (fma_test_downward): Likewise.
22929         (fma_test_upward): Likewise.
22931 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
22933         [BZ #14805]
22934         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
22935         fenv_t *.
22937         [BZ #14801]
22938         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
22939         namespace for names of struct fields.
22940         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
22941         fenv_t fields.
22942         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
22943         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
22945 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22947         [BZ #3665]
22948         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
22950 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22952         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
22953         PTR_DEMANGLE.
22955         [BZ #5246]
22956         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
22957         PTR_DEMANGLE.
22959 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
22961         [BZ #14797]
22962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
22963         definitely overflow as x * y not x * y + z.
22964         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22965         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22966         * math/libm-test.inc (fma_test): Add more tests.
22967         (fma_test_towardzero): Likewise.
22968         (fma_test_downward): Likewise.
22969         (fma_test_upward): Likewise.
22971 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
22973         [BZ #157]
22975         * include/stub-tag.h: Remove file.
22976         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
22977         '#include' of it.
22978         * manual/maint.texi (Porting): Don't reference it.
22979         * Makerules ($(objpfx)stubs): Likewise.
22980         * dirent/closedir.c: Don't include <stub-tag.h>.
22981         * dirent/dirfd.c: Likewise.
22982         * dirent/fdopendir.c: Likewise.
22983         * dirent/getdents.c: Likewise.
22984         * dirent/getdents64.c: Likewise.
22985         * dirent/opendir.c: Likewise.
22986         * dirent/readdir.c: Likewise.
22987         * dirent/readdir64.c: Likewise.
22988         * dirent/readdir64_r.c: Likewise.
22989         * dirent/readdir_r.c: Likewise.
22990         * dirent/rewinddir.c: Likewise.
22991         * dirent/seekdir.c: Likewise.
22992         * dirent/telldir.c: Likewise.
22993         * gmon/profil.c: Likewise.
22994         * grp/setgroups.c: Likewise.
22995         * inet/if_index.c: Likewise.
22996         * io/access.c: Likewise.
22997         * io/chdir.c: Likewise.
22998         * io/chmod.c: Likewise.
22999         * io/chown.c: Likewise.
23000         * io/close.c: Likewise.
23001         * io/dup.c: Likewise.
23002         * io/dup2.c: Likewise.
23003         * io/dup3.c: Likewise.
23004         * io/euidaccess.c: Likewise.
23005         * io/faccessat.c: Likewise.
23006         * io/fchdir.c: Likewise.
23007         * io/fchmod.c: Likewise.
23008         * io/fchmodat.c: Likewise.
23009         * io/fchown.c: Likewise.
23010         * io/fchownat.c: Likewise.
23011         * io/fcntl.c: Likewise.
23012         * io/flock.c: Likewise.
23013         * io/fstatfs.c: Likewise.
23014         * io/fstatfs64.c: Likewise.
23015         * io/fstatvfs.c: Likewise.
23016         * io/fstatvfs64.c: Likewise.
23017         * io/futimens.c: Likewise.
23018         * io/fxstat.c: Likewise.
23019         * io/fxstat64.c: Likewise.
23020         * io/fxstatat.c: Likewise.
23021         * io/fxstatat64.c: Likewise.
23022         * io/getcwd.c: Likewise.
23023         * io/isatty.c: Likewise.
23024         * io/lchmod.c: Likewise.
23025         * io/lchown.c: Likewise.
23026         * io/link.c: Likewise.
23027         * io/linkat.c: Likewise.
23028         * io/lseek.c: Likewise.
23029         * io/lseek64.c: Likewise.
23030         * io/lxstat64.c: Likewise.
23031         * io/mkdir.c: Likewise.
23032         * io/mkdirat.c: Likewise.
23033         * io/mkfifo.c: Likewise.
23034         * io/mkfifoat.c: Likewise.
23035         * io/open.c: Likewise.
23036         * io/open64.c: Likewise.
23037         * io/openat.c: Likewise.
23038         * io/openat64.c: Likewise.
23039         * io/pipe.c: Likewise.
23040         * io/pipe2.c: Likewise.
23041         * io/poll.c: Likewise.
23042         * io/posix_fadvise.c: Likewise.
23043         * io/posix_fadvise64.c: Likewise.
23044         * io/posix_fallocate.c: Likewise.
23045         * io/posix_fallocate64.c: Likewise.
23046         * io/read.c: Likewise.
23047         * io/readlink.c: Likewise.
23048         * io/readlinkat.c: Likewise.
23049         * io/rmdir.c: Likewise.
23050         * io/sendfile.c: Likewise.
23051         * io/sendfile64.c: Likewise.
23052         * io/statfs.c: Likewise.
23053         * io/statfs64.c: Likewise.
23054         * io/statvfs.c: Likewise.
23055         * io/statvfs64.c: Likewise.
23056         * io/symlink.c: Likewise.
23057         * io/symlinkat.c: Likewise.
23058         * io/ttyname.c: Likewise.
23059         * io/ttyname_r.c: Likewise.
23060         * io/umask.c: Likewise.
23061         * io/unlink.c: Likewise.
23062         * io/unlinkat.c: Likewise.
23063         * io/utime.c: Likewise.
23064         * io/utimensat.c: Likewise.
23065         * io/write.c: Likewise.
23066         * io/xmknod.c: Likewise.
23067         * io/xmknodat.c: Likewise.
23068         * io/xstat.c: Likewise.
23069         * io/xstat64.c: Likewise.
23070         * login/getpt.c: Likewise.
23071         * login/grantpt.c: Likewise.
23072         * login/unlockpt.c: Likewise.
23073         * math/e_acoshl.c: Likewise.
23074         * math/e_acosl.c: Likewise.
23075         * math/e_asinl.c: Likewise.
23076         * math/e_atan2l.c: Likewise.
23077         * math/e_atanhl.c: Likewise.
23078         * math/e_coshl.c: Likewise.
23079         * math/e_expl.c: Likewise.
23080         * math/e_fmodl.c: Likewise.
23081         * math/e_gammal_r.c: Likewise.
23082         * math/e_hypotl.c: Likewise.
23083         * math/e_j0l.c: Likewise.
23084         * math/e_j1l.c: Likewise.
23085         * math/e_jnl.c: Likewise.
23086         * math/e_lgammal_r.c: Likewise.
23087         * math/e_log10l.c: Likewise.
23088         * math/e_log2l.c: Likewise.
23089         * math/e_logl.c: Likewise.
23090         * math/e_powl.c: Likewise.
23091         * math/e_rem_pio2l.c: Likewise.
23092         * math/e_sinhl.c: Likewise.
23093         * math/e_sqrtl.c: Likewise.
23094         * math/fclrexcpt.c: Likewise.
23095         * math/fedisblxcpt.c: Likewise.
23096         * math/feenablxcpt.c: Likewise.
23097         * math/fegetenv.c: Likewise.
23098         * math/fegetexcept.c: Likewise.
23099         * math/fegetround.c: Likewise.
23100         * math/feholdexcpt.c: Likewise.
23101         * math/fesetenv.c: Likewise.
23102         * math/fesetround.c: Likewise.
23103         * math/feupdateenv.c: Likewise.
23104         * math/fgetexcptflg.c: Likewise.
23105         * math/fraiseexcpt.c: Likewise.
23106         * math/fsetexcptflg.c: Likewise.
23107         * math/ftestexcept.c: Likewise.
23108         * math/k_cosl.c: Likewise.
23109         * math/k_rem_pio2l.c: Likewise.
23110         * math/k_sinl.c: Likewise.
23111         * math/k_tanl.c: Likewise.
23112         * math/s_asinhl.c: Likewise.
23113         * math/s_atanl.c: Likewise.
23114         * math/s_cbrtl.c: Likewise.
23115         * math/s_erfl.c: Likewise.
23116         * math/s_expm1l.c: Likewise.
23117         * math/s_log1pl.c: Likewise.
23118         * math/s_tanhl.c: Likewise.
23119         * misc/acct.c: Likewise.
23120         * misc/brk.c: Likewise.
23121         * misc/chflags.c: Likewise.
23122         * misc/chroot.c: Likewise.
23123         * misc/fchflags.c: Likewise.
23124         * misc/fgetxattr.c: Likewise.
23125         * misc/flistxattr.c: Likewise.
23126         * misc/fremovexattr.c: Likewise.
23127         * misc/fsetxattr.c: Likewise.
23128         * misc/fsync.c: Likewise.
23129         * misc/ftruncate.c: Likewise.
23130         * misc/futimes.c: Likewise.
23131         * misc/futimesat.c: Likewise.
23132         * misc/getdomain.c: Likewise.
23133         * misc/getdtsz.c: Likewise.
23134         * misc/gethostid.c: Likewise.
23135         * misc/gethostname.c: Likewise.
23136         * misc/getloadavg.c: Likewise.
23137         * misc/getpagesize.c: Likewise.
23138         * misc/getsysstats.c: Likewise.
23139         * misc/getxattr.c: Likewise.
23140         * misc/gtty.c: Likewise.
23141         * misc/ioctl.c: Likewise.
23142         * misc/lgetxattr.c: Likewise.
23143         * misc/listxattr.c: Likewise.
23144         * misc/llistxattr.c: Likewise.
23145         * misc/lremovexattr.c: Likewise.
23146         * misc/lsetxattr.c: Likewise.
23147         * misc/lutimes.c: Likewise.
23148         * misc/madvise.c: Likewise.
23149         * misc/mincore.c: Likewise.
23150         * misc/mlock.c: Likewise.
23151         * misc/mlockall.c: Likewise.
23152         * misc/mmap.c: Likewise.
23153         * misc/mprotect.c: Likewise.
23154         * misc/msync.c: Likewise.
23155         * misc/munlock.c: Likewise.
23156         * misc/munlockall.c: Likewise.
23157         * misc/munmap.c: Likewise.
23158         * misc/preadv.c: Likewise.
23159         * misc/preadv64.c: Likewise.
23160         * misc/ptrace.c: Likewise.
23161         * misc/pwritev.c: Likewise.
23162         * misc/pwritev64.c: Likewise.
23163         * misc/readv.c: Likewise.
23164         * misc/reboot.c: Likewise.
23165         * misc/remap_file_pages.c: Likewise.
23166         * misc/removexattr.c: Likewise.
23167         * misc/revoke.c: Likewise.
23168         * misc/select.c: Likewise.
23169         * misc/setdomain.c: Likewise.
23170         * misc/setegid.c: Likewise.
23171         * misc/seteuid.c: Likewise.
23172         * misc/sethostid.c: Likewise.
23173         * misc/sethostname.c: Likewise.
23174         * misc/setregid.c: Likewise.
23175         * misc/setreuid.c: Likewise.
23176         * misc/setxattr.c: Likewise.
23177         * misc/sstk.c: Likewise.
23178         * misc/stty.c: Likewise.
23179         * misc/swapoff.c: Likewise.
23180         * misc/swapon.c: Likewise.
23181         * misc/sync.c: Likewise.
23182         * misc/syncfs.c: Likewise.
23183         * misc/syscall.c: Likewise.
23184         * misc/truncate.c: Likewise.
23185         * misc/ualarm.c: Likewise.
23186         * misc/usleep.c: Likewise.
23187         * misc/ustat.c: Likewise.
23188         * misc/utimes.c: Likewise.
23189         * misc/vhangup.c: Likewise.
23190         * misc/writev.c: Likewise.
23191         * posix/_exit.c: Likewise.
23192         * posix/alarm.c: Likewise.
23193         * posix/execve.c: Likewise.
23194         * posix/fexecve.c: Likewise.
23195         * posix/fork.c: Likewise.
23196         * posix/fpathconf.c: Likewise.
23197         * posix/getaddrinfo.c: Likewise.
23198         * posix/getegid.c: Likewise.
23199         * posix/geteuid.c: Likewise.
23200         * posix/getgid.c: Likewise.
23201         * posix/getgroups.c: Likewise.
23202         * posix/getlogin.c: Likewise.
23203         * posix/getlogin_r.c: Likewise.
23204         * posix/getpgid.c: Likewise.
23205         * posix/getpid.c: Likewise.
23206         * posix/getppid.c: Likewise.
23207         * posix/getresgid.c: Likewise.
23208         * posix/getresuid.c: Likewise.
23209         * posix/getsid.c: Likewise.
23210         * posix/getuid.c: Likewise.
23211         * posix/glob64.c: Likewise.
23212         * posix/nanosleep.c: Likewise.
23213         * posix/pathconf.c: Likewise.
23214         * posix/pause.c: Likewise.
23215         * posix/posix_madvise.c: Likewise.
23216         * posix/pread.c: Likewise.
23217         * posix/pread64.c: Likewise.
23218         * posix/pwrite.c: Likewise.
23219         * posix/pwrite64.c: Likewise.
23220         * posix/sched_getaffinity.c: Likewise.
23221         * posix/sched_getp.c: Likewise.
23222         * posix/sched_gets.c: Likewise.
23223         * posix/sched_primax.c: Likewise.
23224         * posix/sched_primin.c: Likewise.
23225         * posix/sched_rr_gi.c: Likewise.
23226         * posix/sched_setaffinity.c: Likewise.
23227         * posix/sched_setp.c: Likewise.
23228         * posix/sched_sets.c: Likewise.
23229         * posix/sched_yield.c: Likewise.
23230         * posix/setgid.c: Likewise.
23231         * posix/setlogin.c: Likewise.
23232         * posix/setpgid.c: Likewise.
23233         * posix/setresgid.c: Likewise.
23234         * posix/setresuid.c: Likewise.
23235         * posix/setsid.c: Likewise.
23236         * posix/setuid.c: Likewise.
23237         * posix/sleep.c: Likewise.
23238         * posix/spawni.c: Likewise.
23239         * posix/sysconf.c: Likewise.
23240         * posix/times.c: Likewise.
23241         * posix/wait.c: Likewise.
23242         * posix/wait3.c: Likewise.
23243         * posix/wait4.c: Likewise.
23244         * posix/waitpid.c: Likewise.
23245         * resolv/gai_sigqueue.c: Likewise.
23246         * resource/getpriority.c: Likewise.
23247         * resource/getrlimit.c: Likewise.
23248         * resource/getrusage.c: Likewise.
23249         * resource/nice.c: Likewise.
23250         * resource/setpriority.c: Likewise.
23251         * resource/setrlimit.c: Likewise.
23252         * resource/ulimit.c: Likewise.
23253         * rt/aio_cancel.c: Likewise.
23254         * rt/aio_fsync.c: Likewise.
23255         * rt/aio_read.c: Likewise.
23256         * rt/aio_sigqueue.c: Likewise.
23257         * rt/aio_suspend.c: Likewise.
23258         * rt/aio_write.c: Likewise.
23259         * rt/clock_getres.c: Likewise.
23260         * rt/clock_gettime.c: Likewise.
23261         * rt/clock_nanosleep.c: Likewise.
23262         * rt/clock_settime.c: Likewise.
23263         * rt/lio_listio.c: Likewise.
23264         * rt/mq_close.c: Likewise.
23265         * rt/mq_getattr.c: Likewise.
23266         * rt/mq_notify.c: Likewise.
23267         * rt/mq_open.c: Likewise.
23268         * rt/mq_receive.c: Likewise.
23269         * rt/mq_send.c: Likewise.
23270         * rt/mq_setattr.c: Likewise.
23271         * rt/mq_timedreceive.c: Likewise.
23272         * rt/mq_timedsend.c: Likewise.
23273         * rt/mq_unlink.c: Likewise.
23274         * rt/shm_open.c: Likewise.
23275         * rt/shm_unlink.c: Likewise.
23276         * rt/timer_create.c: Likewise.
23277         * rt/timer_delete.c: Likewise.
23278         * rt/timer_getoverr.c: Likewise.
23279         * rt/timer_gettime.c: Likewise.
23280         * rt/timer_settime.c: Likewise.
23281         * setjmp/__longjmp.c: Likewise.
23282         * setjmp/setjmp.c: Likewise.
23283         * signal/kill.c: Likewise.
23284         * signal/killpg.c: Likewise.
23285         * signal/raise.c: Likewise.
23286         * signal/sigaction.c: Likewise.
23287         * signal/sigaltstack.c: Likewise.
23288         * signal/sigblock.c: Likewise.
23289         * signal/sigignore.c: Likewise.
23290         * signal/sigintr.c: Likewise.
23291         * signal/signal.c: Likewise.
23292         * signal/sigpause.c: Likewise.
23293         * signal/sigpending.c: Likewise.
23294         * signal/sigqueue.c: Likewise.
23295         * signal/sigreturn.c: Likewise.
23296         * signal/sigset.c: Likewise.
23297         * signal/sigsetmask.c: Likewise.
23298         * signal/sigstack.c: Likewise.
23299         * signal/sigsuspend.c: Likewise.
23300         * signal/sigtimedwait.c: Likewise.
23301         * signal/sigvec.c: Likewise.
23302         * signal/sigwait.c: Likewise.
23303         * signal/sigwaitinfo.c: Likewise.
23304         * signal/sysv_signal.c: Likewise.
23305         * socket/accept.c: Likewise.
23306         * socket/accept4.c: Likewise.
23307         * socket/bind.c: Likewise.
23308         * socket/connect.c: Likewise.
23309         * socket/getpeername.c: Likewise.
23310         * socket/getsockname.c: Likewise.
23311         * socket/getsockopt.c: Likewise.
23312         * socket/isfdtype.c: Likewise.
23313         * socket/listen.c: Likewise.
23314         * socket/recv.c: Likewise.
23315         * socket/recvfrom.c: Likewise.
23316         * socket/recvmsg.c: Likewise.
23317         * socket/send.c: Likewise.
23318         * socket/sendmsg.c: Likewise.
23319         * socket/sendto.c: Likewise.
23320         * socket/setsockopt.c: Likewise.
23321         * socket/shutdown.c: Likewise.
23322         * socket/sockatmark.c: Likewise.
23323         * socket/socket.c: Likewise.
23324         * socket/socketpair.c: Likewise.
23325         * stdio-common/ctermid.c: Likewise.
23326         * stdio-common/cuserid.c: Likewise.
23327         * stdio-common/remove.c: Likewise.
23328         * stdio-common/rename.c: Likewise.
23329         * stdio-common/renameat.c: Likewise.
23330         * stdio-common/tempname.c: Likewise.
23331         * stdlib/getcontext.c: Likewise.
23332         * stdlib/makecontext.c: Likewise.
23333         * stdlib/setcontext.c: Likewise.
23334         * stdlib/swapcontext.c: Likewise.
23335         * stdlib/system.c: Likewise.
23336         * streams/fattach.c: Likewise.
23337         * streams/fdetach.c: Likewise.
23338         * streams/getmsg.c: Likewise.
23339         * streams/getpmsg.c: Likewise.
23340         * streams/putmsg.c: Likewise.
23341         * streams/putpmsg.c: Likewise.
23342         * sysdeps/unix/bsd/getpt.c: Likewise.
23343         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23344         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23345         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23347         Likewise.
23348         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23349         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23350         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23351         * sysvipc/msgctl.c: Likewise.
23352         * sysvipc/msgget.c: Likewise.
23353         * sysvipc/msgrcv.c: Likewise.
23354         * sysvipc/msgsnd.c: Likewise.
23355         * sysvipc/semctl.c: Likewise.
23356         * sysvipc/semget.c: Likewise.
23357         * sysvipc/semop.c: Likewise.
23358         * sysvipc/semtimedop.c: Likewise.
23359         * sysvipc/shmat.c: Likewise.
23360         * sysvipc/shmctl.c: Likewise.
23361         * sysvipc/shmdt.c: Likewise.
23362         * sysvipc/shmget.c: Likewise.
23363         * termios/tcdrain.c: Likewise.
23364         * termios/tcflow.c: Likewise.
23365         * termios/tcflush.c: Likewise.
23366         * termios/tcgetattr.c: Likewise.
23367         * termios/tcgetpgrp.c: Likewise.
23368         * termios/tcsendbrk.c: Likewise.
23369         * termios/tcsetattr.c: Likewise.
23370         * termios/tcsetpgrp.c: Likewise.
23371         * time/adjtime.c: Likewise.
23372         * time/clock.c: Likewise.
23373         * time/getitimer.c: Likewise.
23374         * time/gettimeofday.c: Likewise.
23375         * time/setitimer.c: Likewise.
23376         * time/settimeofday.c: Likewise.
23377         * time/stime.c: Likewise.
23378         * time/time.c: Likewise.
23380 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23382         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23383         /usr/old/bin.
23385         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23386         instead of spaces.
23387         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23389 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23391         [BZ #14796]
23392         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23393         FE_TONEAREST before applying Dekker multiplication and Knuth
23394         addition.  Clear inexact exceptions and check for exact zero
23395         results afterwards.
23396         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23397         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23399         * math/libm-test.inc (fma_test): Add more tests.
23400         (fma_test_towardzero): Likewise.
23401         (fma_test_downward): Likewise.
23402         (fma_test_upward): Likewise.
23403         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23404         function.
23405         (libc_fesetround): New macro.
23406         (libc_fesetroundf): Likewise.
23407         (libc_fesetroundl): Likewise.
23408         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23409         function.
23410         (libc_fesetround_387): Likewise.
23411         (libc_fesetroundf): New macro.
23412         (libc_fesetround): Likewise.
23413         (libc_fesetroundl): Likewise.
23414         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23415         function.
23416         (libc_fesetroundf): New macro.
23417         (libc_fesetround): Likewise.
23418         (libc_fesetroundl): Likewise.
23419         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23420         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23421         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23422         libm_hidden_ver.
23423         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23424         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23425         libm_hidden_def.
23426         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23427         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23428         libm_hidden_ver.
23429         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23430         libm_hidden_def.
23432         [BZ #3439]
23433         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23434         integer constant usable in #if and use that to give value to enum
23435         constant.
23436         (FE_DIVBYZERO): Likewise.
23437         (FE_UNDERFLOW): Likewise.
23438         (FE_OVERFLOW): Likewise.
23439         (FE_INVALID): Likewise.
23440         (FE_INVALID_SNAN): Likewise.
23441         (FE_INVALID_ISI): Likewise.
23442         (FE_INVALID_IDI): Likewise.
23443         (FE_INVALID_ZDZ): Likewise.
23444         (FE_INVALID_IMZ): Likewise.
23445         (FE_INVALID_COMPARE): Likewise.
23446         (FE_INVALID_SOFTWARE): Likewise.
23447         (FE_INVALID_SQRT): Likewise.
23448         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23449         (FE_TONEAREST): Likewise.
23450         (FE_TOWARDZERO): Likewise.
23451         (FE_UPWARD): Likewise.
23452         (FE_DOWNWARD): Likewise.
23453         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23454         (FE_DIVBYZERO): Likewise.
23455         (FE_OVERFLOW): Likewise.
23456         (FE_UNDERFLOW): Likewise.
23457         (FE_INEXACT): Likewise.
23458         (FE_TONEAREST): Likewise.
23459         (FE_DOWNWARD): Likewise.
23460         (FE_UPWARD): Likewise.
23461         (FE_TOWARDZERO): Likewise.
23462         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23463         (FE_UNDERFLOW): Likewise.
23464         (FE_OVERFLOW): Likewise.
23465         (FE_DIVBYZERO): Likewise.
23466         (FE_INVALID): Likewise.
23467         (FE_TONEAREST): Likewise.
23468         (FE_TOWARDZERO): Likewise.
23469         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23470         (FE_OVERFLOW): Likewise.
23471         (FE_UNDERFLOW): Likewise.
23472         (FE_DIVBYZERO): Likewise.
23473         (FE_INEXACT): Likewise.
23474         (FE_TONEAREST): Likewise.
23475         (FE_TOWARDZERO): Likewise.
23476         (FE_UPWARD): Likewise.
23477         (FE_DOWNWARD): Likewise.
23478         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23479         (FE_DIVBYZERO): Likewise.
23480         (FE_OVERFLOW): Likewise.
23481         (FE_UNDERFLOW): Likewise.
23482         (FE_INEXACT): Likewise.
23483         (FE_TONEAREST): Likewise.
23484         (FE_DOWNWARD): Likewise.
23485         (FE_UPWARD): Likewise.
23486         (FE_TOWARDZERO): Likewise.
23488 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23490         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23492 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23494         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23495         commands.  Quote $PWD.
23496         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23497         -x" by "export".
23498         (remove_newlines): Remove.
23500 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23502         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23503         * stdlib/stdlib.h (atof): Moved to ...
23504         * include/bits/stdlib-float.h: Here.  New file.
23505         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23506         * stdlib/bits/stdlib-float.h: New file.
23507         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23508         -mno-sse -mno-mmx.
23509         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23510         <xmmintrin.h>.
23512 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23514         * conform/conformtest.pl (@headers): Add fenv.h.
23515         * conform/data/fenv.h-data: New file.
23516         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23517         include of <math/fenv.h>.
23519         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23520         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23521         && !UNIX98].  Enables tests for XOPEN2K8.
23522         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23523         POSIX2008]: Likewise.
23525         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23526         (struct rusage): Do not expect type or its members.
23528         [BZ #3439]
23529         * math/math.h (FP_NAN): Define macro to integer constant usable in
23530         #if and use that to give value to enum constant.
23531         (FP_INFINITE): Likewise.
23532         (FP_ZERO): Likewise.
23533         (FP_SUBNORMAL): Likewise.
23534         (FP_NORMAL): Likewise.
23536 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23538         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23539         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23540         arguments.
23542 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23544         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23545         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23546         autoconf-time if not.
23547         * configure.in: Remove AC_PREREQ.
23549 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23551         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23552         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23553         of the internal implementation.
23555 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23557         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23558         except include of <misc/sys/syslog.h>.
23560 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23563         function returns with a NULL context exit with zero.
23565 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23567         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23569 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23571         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23572         (run_program_cmd): This.
23573         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23574         (tst_langinfo): New variable.  Use it.
23576 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23578         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23579         floating point opcodes.
23581 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23583         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23584         variable.
23586         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23588         * sysdeps/mach/hurd/powerpc: Remove directory.
23589         * sysdeps/mach/powerpc: Likewise.
23591 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23593         * scripts/check-local-headers.sh: Ignore c++ headers.
23595 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23597         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23598         __libc_cleanup_region_start argument.
23600 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23602         [BZ #14784]
23603         [BZ #14785]
23604         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23605         x * y using scaling, not as x * y + z.
23606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23608         * math/libm-test.inc (fma_test): Add more tests.
23609         (fma_test_towardzero): Likewise.
23610         (fma_test_downward): Likewise.
23611         (fma_test_upward): Likewise.
23613 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23615         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23617 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23619         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23620         New variable.
23622 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23624         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23626 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23629         Fix sort order.
23630         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23631         Likewise.
23633 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23636         Fix the order of the list for glibc 2.17.
23637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23638         Likewise.
23640 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23644 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23646         [BZ #14610]
23647         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23648         for low part of x being zero before using __atanl (y).
23649         * math/libm-test.inc (atan2_test): Add another test.
23651         * manual/install.texi (Configuring and compiling): Document
23652         general use of test-wrapper and test-wrapper-env.
23653         * INSTALL: Regenerated.
23655         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23656         (__fma): Do not extract and scale down low bits on after-rounding
23657         systems when result rounded to normal precision would have normal
23658         exponent.
23659         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23660         (__fmal): Do not extract and scale down low bits on after-rounding
23661         systems when result rounded to normal precision would have normal
23662         exponent.
23663         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23664         (__fmal): Do not extract and scale down low bits on after-rounding
23665         systems when result rounded to normal precision would have normal
23666         exponent.
23667         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23668         macro.
23669         (fma_test): Add more tests.
23670         (fma_test_towardzero): Likewise.
23671         (fma_test_downward): Likewise.
23672         (fma_test_upward): Likewise.
23674 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23676         * sysdeps/i386/tininess.h: Renamed to ...
23677         * sysdeps/x86/tininess.h: This.
23678         * sysdeps/x86_64/tininess.h: Removed.
23680 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23682         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23683         input.  Use $(build-program-cmd).
23684         ($(objpfx)tst-array1-static.out): Likewise.
23685         ($(objpfx)tst-array2.out): Likewise.
23686         ($(objpfx)tst-array3.out): Likewise.
23687         ($(objpfx)tst-array4.out): Likewise.
23688         ($(objpfx)tst-array5.out): Likewise.
23689         ($(objpfx)tst-array5-static.out): Likewise.
23691 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23693         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23694         if defined.
23696         * nss/nsswitch.h (nss_interface_function): Provide new
23697         macro for use with NSS functions.
23698         * grp/initgroups.c: Use new macro.
23699         * nss/getXXbyYY.c: Likewise.
23700         * nss/getXXbyYY_r.c: Likewise.
23701         * nss/getXXent.c: Likewise.
23702         * nss/getXXent_r.c: Likewise.
23703         * sysdeps/posix/getaddrinfo.c: Likewise.
23705 2012-10-30  Andreas Jaeger  <aj@suse.de>
23707         * po/ru.po: Update Russion translation from translation project.
23709 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23711         [BZ #14152]
23712         [BZ #14783]
23713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23714         result and shift together with sticky bit instead of replicating
23715         round-to-nearest rounding.
23716         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23717         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23718         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23719         missing underflow exceptions.
23720         (fma_test_towardzero): Add more tests.
23721         (fma_test_downward): Likewise.
23722         (fma_test_upward): Likewise.
23724         [BZ #14047]
23725         * sysdeps/generic/tininess.h: New file.
23726         * sysdeps/i386/tininess.h: Likewise.
23727         * sysdeps/sh/tininess.h: Likewise.
23728         * sysdeps/x86_64/tininess.h: Likewise.
23729         * stdlib/tst-strtod-underflow.c: Likewise.
23730         * stdlib/tst-tininess.c: Likewise.
23731         * stdlib/strtod_l.c: Include <tininess.h>.
23732         (round_and_return): Do not set errno for exact underflow cases.
23733         Force an underflow exception when setting errno for underflow.
23734         Determine underflow based on rounding to normal precision if
23735         TININESS_AFTER_ROUNDING.
23736         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23737         ERANGE for exact underflow cases.
23738         * stdlib/Makefile (tests): Add tst-tininess and
23739         tst-strtod-underflow.
23740         ($(objpfx)tst-tininess): Use $(link-libm).
23741         ($(objpfx)tst-strtod-underflow): Likewise.
23743 2012-10-30  Andreas Jaeger  <aj@suse.de>
23745         [BZ#14767]
23746         * elf/Makefile (tests): Remove conditional for have-initfini-array
23747         since this is now always required and the variable does not exist
23748         anymore.
23749         (tests-static): Likewise.
23750         (modules-names): Likewise.
23752         * po/eo.po: Add Esperanto translation from translation project.
23754         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23755         merged with constructor/destructor.
23756         (init_array): Likewise.
23757         * elf/tst-array2dep.c (fini_array): Likewise.
23758         (init_array): Likewise.
23760 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23762         * manual/message.texi: Delete @cartouche tags.
23764 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23766         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23767         EOPNOTSUPP.
23768         * sysdeps/mach/hurd/fsync.c: Likewise.
23770         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23771         [_POSIX_REALTIME_SIGNALS]: Change condition to
23772         [_POSIX_REALTIME_SIGNALS > 0].
23774 2012-10-27  Andreas Jaeger  <aj@suse.de>
23776         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23777         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23778         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23779         [__WORDSIZE != 64]: Likewise.
23781 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23783         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23784         *  iconvdata/tst-tables.sh: Likewise.
23786 2012-10-25  David S. Miller  <davem@davemloft.net>
23788         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23789         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23790         of strtoull.
23792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23793         ifunc-impl-list.c
23794         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23795         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23796         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23797         file.
23799 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23801         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23802         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23803         __getdirentries.
23805 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23806             Jim Blandy  <jimb@codesourcery.com>
23808         * scripts/cross-test-ssh.sh: New file.
23809         * manual/install.texi (Configuring and compiling): Document use of
23810         cross-test-ssh.sh.
23811         * INSTALL: Regenerated.
23813 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23815         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23816         EOPNOTSUPP.
23818 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23820         * Makeconfig (run-program-prefix): Fix comment.
23822 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23823             Jim Blandy  <jimb@codesourcery.com>
23825         * Makeconfig (test-wrapper): New variable,
23826         (test-wrapper-env): Likewise.
23827         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23828         (run-built-tests): Define to yes.
23829         (run-program-prefix): Use $(test-wrapper).
23830         (built-program-cmd): Likewise.
23831         * Rules (make-test-out): Use $(test-wrapper-env) and
23832         $(host-built-program-cmd).
23833         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23834         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23835         tst-pathopt.sh.
23836         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23837         $(test-wrapper-env) to tst-rtld-load-self.sh.
23838         ($(objpfx)order2.out): Use $(test-wrapper).
23839         ($(objpfx)tst-initorder.out): Likewise.
23840         ($(objpfx)tst-initorder2.out): Likewise.
23841         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
23842         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
23843         (test_wrapper_env): New variable.  Use it to run ld.so.
23844         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
23845         Use it to run ld.so.
23846         (test_wrapper_env): Likewise.
23847         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
23848         $(test-wrapper) to run-iconv-test.sh.
23849         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
23850         (ICONV): Use $test_wrapper.
23851         * posix/Makefile ($(objpfx)globtest.out): Pass
23852         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
23853         globtest.sh, not $(run-program-prefix).
23854         * posix/globtest.sh (run_via_rtld_prefix): New variable.
23855         (test_wrapper): Likewise.
23856         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
23857         set together with run_via_rtld_prefix.
23858         (run_program_prefix): Define in terms of test_wrapper and
23859         run_via_rtld_prefix.
23861 2012-10-24  Roland McGrath  <roland@hack.frob.com>
23863         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
23864         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
23865         Targets removed.
23867         [BZ #14743]
23868         * include/time.h: Remove librt_hidden_proto (clock_gettime).
23869         Declare __clock_getres, __clock_gettime, __clock_settime,
23870         __clock_nanosleep, and __clock_getcpuclockid.
23871         * rt/clock_gettime.c: Define __clock_gettime as an alias.
23872         Remove librt_hidden_def (clock_gettime).
23873         * sysdeps/unix/clock_gettime.c: Likewise.
23874         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
23875         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
23876         * rt/clock_getres.c: Define __clock_getres as an alias.
23877         * sysdeps/posix/clock_getres.c: Likewise.
23878         * rt/clock_settime.c: Define __clock_settime as an alias.
23879         * sysdeps/unix/clock_settime.c: Likewise.
23880         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
23881         * sysdeps/unix/clock_nanosleep.c: Likewise.
23882         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
23883         * rt/clock-compat.c: New file.
23884         * rt/Makefile (librt-routines): Add clock-compat and move
23885         $(clock-routines) to ...
23886         (routines): ... here, new variable.
23887         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
23888         Don't add get_clockfreq here.
23889         * rt/Versions (libc: GLIBC_2.17): New version set.
23890         Add clock_* symbols here.
23891         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
23892         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
23893         (GLIBC_2.17): Add clock_* symbols.
23894         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23898         Likewise.
23899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23900         Likewise.
23901         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23902         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
23903         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23905         * NEWS: Mention the move.
23907         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
23908         Use __open, __read, __close rather than their public counterparts.
23909         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23910         (__get_clockfreq_via_cpuinfo): Likewise.
23911         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
23912         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
23914         * config.h.in (HAVE_IFUNC): New #undef.
23915         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
23916         was successful.
23917         * configure: Regenerated.
23919 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23921         * configure.in: Move READELF check to start of file.
23922         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
23923         libc_cv_asm_gnu_indirect_function in the process.
23924         * configure: Regenerated.
23926 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
23928         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
23929         send the output to /dev/null.
23930         (libc_cv_cc_with_libunwind): Likewise.
23931         (libc_cv_as_noexecstack): Likewise.
23932         * configure: Regenerate.
23934 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23936         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
23938         * posix/globtest.sh (TMPDIR): Do not set.
23939         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
23940         (testout): Likewise.
23942 2012-10-24  Andreas Jaeger  <aj@suse.de>
23944         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
23945         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
23946         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
23947         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
23948         posix_fadvise64, posix_fallocate64.
23950         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
23951         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
23952         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
23953         Likewise.
23954         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
23955         Likewise.
23956         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
23958         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
23959         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
23960         <bits/fcntl-linux.h>.
23961         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
23963         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
23964         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
23965         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
23966         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
23967         [__WORDSIZE != 64]: Likewise.
23969 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
23971         * Makeconfig (run-built-tests): New variable.
23972         * Rules [$(cross-compiling) = yes]: Change condition to
23973         [$(run-built-tests) = no].
23974         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
23975         to [$(run-built-tests) = yes].
23976         * elf/Makefile [$(cross-compiling) = no]: Likewise
23977         * grp/Makefile [$(cross-compiling) = no]: Likewise.
23978         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
23979         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
23980         * intl/Makefile [$(cross-compiling) = no]: Likewise.
23981         * io/Makefile [$(cross-compiling) = no]: Likewise.
23982         * libio/Makefile [$(cross-compiling) = no]: Likewise.
23983         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
23984         * misc/Makefile [$(cross-compiling) = no]: Likewise.
23985         * posix/Makefile [$(cross-compiling) = no]: Likewise.
23986         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
23987         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
23988         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
23989         * string/Makefile [$(cross-compiling) = no]: Likewise.
23991         * posix/Makefile ($(objpfx)globtest.out): Pass
23992         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
23993         $(rtld-installed-name).
23994         * posix/globtest.sh (elf_objpfx): Remove variable.
23995         (rtld_installed_name): Likewise.
23996         (library_path): Likewise.
23997         (run_program_prefix): New variable.  Use for running globtest
23998         binary.
24000 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24001             Joseph Myers  <joseph@codesourcery.com>
24003         * Makeconfig (host-built-program-cmd): New variable.
24004         * elf/Makefile (tst-stackguard1-ARGS): Use
24005         $(host-built-program-cmd).
24006         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24007         (tst-spawn-ARGS): Likewise.
24008         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24010 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24011             Jim Blandy  <jimb@codesourcery.com>
24013         * Makeconfig (run-via-rtld-prefix): New variable.
24014         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24015         (built-program-cmd): Likewise.
24017 2012-10-22  Andreas Jaeger  <aj@suse.de>
24019         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24020         __O_RSYNC if it exists, otherwise to O_SYNC.
24022 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24023             Joseph Myers  <joseph@codesourcery.com>
24025         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24026         /dev/null.
24027         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24028         from /dev/null
24029         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24030         /dev/null.
24032 2012-10-22  Andreas Jaeger  <aj@suse.de>
24034         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24035         Define always.
24036         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24038         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24039         bits/fcntl-linux.h.
24041         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24042         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24044         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24045         to __O_LARGEFILE.
24046         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24047         to __O_LARGEFILE.
24049 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24050             Joseph Myers  <joseph@codesourcery.com>
24052         * config.make.in (NM): New variable.
24054 2012-10-21  Andreas Jaeger  <aj@suse.de>
24056         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24057         definitions and declarations that are provided by
24058         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24060 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24062         [BZ #14683]
24063         * elf/Makefile (tests-static): Add tst-leaks1-static.
24064         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24065         ($(objpfx)tst-leaks1-static): New rule.
24066         ($(objpfx)tst-leaks1-static-mem): Likewise.
24067         (tst-leaks1-static-ENV): New macro.
24068         * elf/dl-open.c (dl_open_worker): Check the main application
24069         only if SHARED is defined.
24070         * elf/tst-leaks1-static.c: New file.
24072 2012-10-20  Andreas Jaeger  <aj@suse.de>
24074         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24075         generic values for Linux.
24076         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24077         and declarations that are provided by <bits/fcntl-linux.h> and
24078         include <bits/fcntl-linux.h>.
24079         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24080         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24082 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24084         * io/fcntl.h: Move include of <bits/types.h> to the top and
24085         include it unconditionally.
24087 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24089         * wcsmbs/Makefile (tests-ifunc): New variable.
24090         (tests): Add $(tests-ifunc).
24091         * wcsmbs/test-wcschr-ifunc.c: New file.
24092         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24093         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24094         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24095         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24096         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24098         * string/Makefile (tests-ifunc): New variable.
24099         (tests): Add $(tests-ifunc).
24100         * string/test-memccpy.c (TEST_NAME): New macro.
24101         * string/test-memchr.c (TEST_NAME): Likewise.
24102         * string/test-memcmp.c (TEST_NAME): Likewise.
24103         * string/test-memcpy.c (TEST_NAME): Likewise.
24104         * string/test-memmem.c (TEST_NAME): Likewise.
24105         * string/test-memmove.c (TEST_NAME): Likewise.
24106         * string/test-memset.c (TEST_NAME): Likewise.
24107         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24108         * string/test-stpcpy.c (TEST_NAME): Likewise.
24109         * string/test-stpncpy.c (TEST_NAME): Likewise.
24110         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24111         * string/test-strcasestr.c (TEST_NAME): Likewise.
24112         * string/test-strcat.c (TEST_NAME): Likewise.
24113         * string/test-strchr.c (TEST_NAME): Likewise.
24114         * string/test-strcmp.c(TEST_NAME): Likewise.
24115         * string/test-strcpy.c (TEST_NAME): Likewise.
24116         * string/test-strcspn.c (TEST_NAME): Likewise.
24117         * string/test-strlen.c (TEST_NAME): Likewise.
24118         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24119         * string/test-strncmp.c (TEST_NAME): Likewise.
24120         * string/test-strncpy.c (TEST_NAME): Likewise.
24121         * string/test-strnlen.c (TEST_NAME): Likewise.
24122         * string/test-strpbrk.c (TEST_NAME): Likewise.
24123         * string/test-strrchr.c (TEST_NAME): Likewise.
24124         * string/test-strspn.c (TEST_NAME): Likewise.
24125         * string/test-strstr.c (TEST_NAME): Likewise.
24126         * string/test-bcopy-ifunc.c: New file.
24127         * string/test-bzero-ifunc.c: Likewise.
24128         * string/test-memccpy-ifunc.c: Likewise.
24129         * string/test-memchr-ifunc.c: Likewise.
24130         * string/test-memcmp-ifunc.c: Likewise.
24131         * string/test-memcpy-ifunc.c: Likewise.
24132         * string/test-memmem-ifunc.c: Likewise.
24133         * string/test-memmove-ifunc.c: Likewise.
24134         * string/test-mempcpy-ifunc.c: Likewise.
24135         * string/test-memset-ifunc.c: Likewise.
24136         * string/test-rawmemchr-ifunc.c: Likewise.
24137         * string/test-stpcpy-ifunc.c: Likewise.
24138         * string/test-stpncpy-ifunc.c: Likewise.
24139         * string/test-strcasecmp-ifunc.c: Likewise.
24140         * string/test-strcasestr-ifunc.c: Likewise.
24141         * string/test-strcat-ifunc.c: Likewise.
24142         * string/test-strchr-ifunc.c: Likewise.
24143         * string/test-strchrnul-ifunc.c: Likewise.
24144         * string/test-strcmp-ifunc.c: Likewise.
24145         * string/test-strcpy-ifunc.c: Likewise.
24146         * string/test-strcspn-ifunc.c: Likewise.
24147         * string/test-strlen-ifunc.c: Likewise.
24148         * string/test-strncasecmp-ifunc.c: Likewise.
24149         * string/test-strncat-ifunc.c: Likewise.
24150         * string/test-strncmp-ifunc.c: Likewise.
24151         * string/test-strncpy-ifunc.c: Likewise.
24152         * string/test-strnlen-ifunc.c: Likewise.
24153         * string/test-strpbrk-ifunc.c: Likewise.
24154         * string/test-strrchr-ifunc.c: Likewise.
24155         * string/test-strspn-ifunc.c: Likewise.
24156         * string/test-strstr-ifunc.c: Likewise.
24158         * debug/Makefile (tests-ifunc): New variable.
24159         (tests): Add $(tests-ifunc).
24160         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24161         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24162         * debug/test-stpcpy_chk-ifunc.c: New file.
24163         * debug/test-strcpy_chk-ifunc.c: Likewise.
24165 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24167         [BZ #13601]
24168         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24169         header is not read in.
24171 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24173         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24174         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24175         directly.  Pass built executable to script as
24176         $(built-program-cmd).
24177         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24178         $testprogram without using LD_LIBRARY_PATH and $ldso.
24180         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24181         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24182         $(rtld-installed-name).
24183         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24184         (rtld_installed_name): Likewise.
24185         (library_path): Likewise.
24186         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24187         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24188         $(run-program-prefix) to tst-tables.sh.
24189         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24190         it to run tst-table-from and tst-table-to.
24191         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24192         Pass it to tst-table.sh.
24193         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24194         $(run-program-prefix) to tst-gettext.sh.
24195         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24196         tst-translit.sh.
24197         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24198         tst-gettext2.sh.
24199         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24200         to run tst-gettext.
24201         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24202         to run tst-gettext2.
24203         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24204         to run tst-translit.
24205         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24206         $(run-program-prefix) to tst-mtrace.sh.
24207         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24208         to run tst-mtrace.
24209         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24210         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24211         $(rtld-installed-name).
24212         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24213         (rtld_installed_name): Likewise.
24214         (run_program_prefix): New variable.  Use it to run wordexp-test.
24216         * Makeconfig (ARCH): Remove all definitions.
24217         (machine): Likewise.
24218         [ARCH]: Remove conditional code.
24219         [!objdir]: Give error.
24220         [!objdir] (objpfx): Remove.
24221         [!objdir] (common-objpfx): Likewise.
24222         [!objdir] (common-objdir): Likewise.
24223         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24224         AC_CONFIG_FILES call.
24225         * configure: Regenerated.
24227         [BZ #13888]
24228         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24229         or TMPDIR.
24230         (testout): Likewise.
24232         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24233         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24234         $(rtld-installed-name).
24235         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24236         (rtld_installed_name): Likwise.
24237         (runit): Remove function.
24238         (run_getconf): New variable,  Use it for running getconf binary.
24240 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24242         [BZ #14716]
24243         * string/test-memmem.c (check_result): New function.
24244         (do_one_test): Use it.
24245         (check1): New function.
24246         (test_main): Use it.
24248 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24250         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24252 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24254         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24255         (_G_LSEEK64): Likewise.
24256         (_G_MMAP64): Likewise.
24257         (_G_FSTAT64): Likewise.
24258         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24259         (_G_LSEEK64): Likewise.
24260         (_G_MMAP64): Likewise.
24261         (_G_FSTAT64): Likewise.
24262         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24263         unconditional.  Call __mmap64 directly.
24264         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24265         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24266         __lseek64 directly.
24267         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24268         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24269         __mmap64 directly.
24270         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24271         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24272         __lseek64 directly.
24273         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24274         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24275         __lseek64 directly.
24276         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24277         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24278         __lseek64 directly.
24279         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24280         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24281         __fxstat64 directly.
24282         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24283         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24284         unconditional.
24285         (freopen64) [!_G_OPEN64]: Remove conditional code.
24286         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24287         unconditional.
24288         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24289         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24290         unconditional.
24291         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24292         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24293         unconditional.
24294         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24295         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24296         unconditional.
24297         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24298         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24299         unconditional.
24300         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24301         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24302         unconditional.
24303         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24304         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24305         unconditional.
24306         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24308 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24310         [BZ #12140]
24311         * manual/memory.texi (Malloc Tunable Parameters): Add note
24312         about free list pointers overwriting some perturb bytes.
24313         Wording suggested by Roland McGrath.
24315 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24317         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24318         (lgamma_test): Likewise.
24319         (tgamma_test): Likewise.
24321 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24323         [BZ #14700]
24324         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24325         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24327 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24329         * NEWS: Mention BZ #14716.
24330         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24331         when removing AVAILABLE1_USES_J macro.
24333 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24335         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24336         (__bswap_64): __uint64_t for unsigned 64-bit int.
24338 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24340         * include/string.h (memmem): Declare libc hidden alias.
24341         * string/memmem.c (memmem): Define libc hidden alias.
24342         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24343         __read, __close instead of open, read, close.
24345 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24348         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24349         global and hidden.
24350         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24351         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24352         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24353         Likewise.
24354         (__rawmemchr_sse2): Likewise.
24355         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24356         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24357         (__strchr_sse2): Likewise.
24358         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24359         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24360         (__strcasecmp_sse2): Likewise.
24361         (__strncasecmp_sse2): Likewise.
24362         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24363         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24364         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24365         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24366         (__strrchr_sse2): Likewise.
24367         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24368         ifunc-impl-list.c.
24369         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24370         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24371         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24372         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24373         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24374         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24375         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24376         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24377         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24378         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24379         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24380         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24381         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24382         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24383         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24384         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24385         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24386         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24387         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24388         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24389         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24390         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24391         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24392         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24393         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24394         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24395         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24396         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24397         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24398         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24400         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24401         global and hidden.
24402         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24403         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24404         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24405         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24406         Likewise.
24407         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24408         Likewise.
24409         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24410         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24411         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24412         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24413         ifunc-impl-list.c.
24414         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24415         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24416         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24417         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24418         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24419         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24420         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24421         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24422         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24423         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24424         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24425         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24426         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24427         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24428         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24429         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24430         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24431         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24432         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24433         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24434         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24435         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24436         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24437         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24438         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24439         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24440         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24441         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24442         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24443         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24444         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24445         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24446         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24447         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24448         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24449         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24450         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24451         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24452         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24453         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24454         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24456         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24457         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24458         * include/ifunc-impl-list.h: New file.
24459         * misc/ifunc-impl-list.c: Likewise.
24460         * misc/Makefile (routines): Add ifunc-impl-list.
24461         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24462         * string/test-string.h: Include <ifunc-impl-list.h>.
24463         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24464         TEST_NAME]: New variables.
24465         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24466         are defined.
24467         (test_init): Call __libc_ifunc_impl_list to initialize
24468         func_list if TEST_IFUNC and TEST_NAME are defined.
24470         * string/Makefile (strop-tests): Add bcopy and bzero.
24471         * string/test-bcopy.c: New file.
24472         * string/test-bzero.c: Likewise.
24473         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24474         defined.
24475         * string/test-memset.c: Support bzero test if TEST_BZERO is
24476         defined.
24477         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24478         __libc_memmove.
24479         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24480         __libc_memset.
24481         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24482         of memset.
24484 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24486         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24487         * configure: Regenerated.
24489         * Makeconfig (+link-static-before-libc): Don't include
24490         $(link-static-libc).
24492         * libio/libio.h (_IO_pos_t): Remove.
24494 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24496         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24497         McGrath.
24499 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24501         * crypt/crypt-entry.c: Include fips-private.h.
24502         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24503         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24504         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24505         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24507 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24509         * crypt/crypt-private.h: Include stdbool.h.
24510         (_ufc_setup_salt_r): Return bool.
24511         * crypt/crypt-entry.c: Include errno.h.
24512         (__crypt_r): Return NULL with EINVAL for bad salt.
24513         * crypt/crypt_util.c (bad_for_salt): New.
24514         (_ufc_setup_salt_r): Check that salt is long enough and within
24515         the specified alphabet.
24516         * crypt/badsalttest.c: New file.
24517         * crypt/Makefile (tests): Add it.
24518         ($(objpfx)badsalttest): New.
24520 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24522         * NEWS: Add entry for BZ #14602.
24524 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24526         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24527         type-generic.
24528         * math/libm-test.inc: Update comment listing what functions and
24529         macros are tested.
24530         (isgreater_test): New function.
24531         (isgreaterequal_test): Likewise.
24532         (isless_test): Likewise.
24533         (islessequal_test): Likewise.
24534         (islessgreater_test): Likewise.
24535         (isunordered_test): Likewise.
24536         (main): Call the new functions.
24538 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24540         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24541         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24542         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24543         * sysdeps/i386/configure: Regenerated.
24544         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24545         * sysdeps/mach/configure: Regenerated.
24546         * sysdeps/mach/hurd/configure: Regenerated.
24547         * sysdeps/powerpc/configure: Regenerated.
24548         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24549         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24550         * sysdeps/s390/s390-32/configure: Regenerated.
24551         * sysdeps/s390/s390-64/configure: Regenerated.
24552         * sysdeps/sh/configure: Regenerated.
24553         * sysdeps/sparc/configure: Regenerated.
24554         * sysdeps/unix/sysv/linux/configure: Regenerated.
24555         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24556         * sysdeps/x86_64/configure: Regenerated.
24558         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24559         defined.  Don't check if MAP is NULL.
24561 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24563         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24564         (_G_stat64): Likewise.
24565         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24566         (_G_stat64): Likewise.
24567         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24568         instead of struct _G_stat64.
24569         * libio/fileops.c (mmap_remap_check): Likewise.
24570         (decide_maybe_mmap): Likewise.
24571         (_IO_new_file_seekoff): Likewise.
24572         (_IO_file_stat): Likewise.
24573         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24574         _G_off64_t.
24575         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24576         instead of struct _G_stat64.
24577         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24579 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24581         [BZ #14602]
24582         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24583         Replace with ...
24584         (CHECK_EOL): New macro.
24585         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24586         CHECK_EOL.
24587         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24588         Replace with CHECK_EOL.
24589         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24590         Replace with CHECK_EOL.
24592 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24594         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24595         type-generic.
24596         * math/libm-test.inc: Update comment listing what functions and
24597         macros are tested.
24598         (finite_test): New function.
24599         (isinf_test): Likewise.
24600         (isnan_test): Likewise.
24601         (fpclassify_test): Test subnormal input.
24602         (isfinite_test): Likewise.
24603         (isnormal_test): Likewise.
24604         (main): Call the new functions.
24606 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24608         [BZ #14660]
24609         * Makerules (%.dynsym): Force C locale when running
24610         $(OBJDUMP) --dynamic-syms.
24612 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24614         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24615         <stdint.h>.
24617 2012-10-06  David S. Miller  <davem@davemloft.net>
24619         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24620         upper 32-bits of the length value in %o2 since we use branch-on-register
24621         tests which consider the entire 64-bit register.
24623 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24625         * string/test-strstr.c (check2): Add a test for page boundary.
24627 2012-10-05  David S. Miller  <davem@davemloft.net>
24629         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24630         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24631         file.
24632         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24633         sysdep_routines.
24634         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24635         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24636         and bzero when HWCAP_SPARC_CRYPTO is present.
24638 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24640         [BZ #14602]
24641         * string/test-strstr.c (check2): New function.
24642         (test_main): Call check2.
24644         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24645         and bug-strchr1.
24646         * string/bug-strcasestr1.c (do_test): Moved to ...
24647         * string/test-strcasestr.c (check1): Here.  New function.
24648         (do_one_test): Break out result checking code into ...
24649         (check_result): This.  New function.
24650         (do_one_test): Call check_result.
24651         (test_main): Call check1.
24652         * string/bug-strchr1.c (do_test): Moved to ...
24653         * string/test-strchr.c (check1): Here.  New function.
24654         (do_one_test): Break out result checking code into ...
24655         (check_result): This.  New function.
24656         (do_one_test): Call check_result.
24657         (test_main): Call check1.
24658         * string/bug-strstr1.c (main): Moved to ...
24659         * string/test-strstr.c (check1): Here.  New function.
24660         (do_one_test): Break out result checking code into ...
24661         (check_result): This.  New function.
24662         (do_one_test): Call check_result.
24663         (test_main): Call check1.
24664         * string/bug-strcasestr1.c: Removed.
24665         * string/bug-strchr1.c: Likewise.
24666         * string/bug-strstr1.c: Likewise.
24668         * elf/Makefile (dl-routines): Add hwcaps.
24669         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24670         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24671         (_dl_important_hwcaps): Moved to ...
24672         * elf/dl-hwcaps.c: Here.  New file.
24673         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24675         [BZ #14557]
24676         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24677         if IS_IN_rtld isn't defined.
24679         * elf/dl-support.c (_dl_sysinfo_map): New.
24680         Include "get-dynamic-info.h" and "setup-vdso.h".
24681         (_dl_non_dynamic_init): Call setup_vdso.
24682         * elf/dynamic-link.h: Don't include <assert.h>.
24683         (elf_get_dynamic_info): Moved to ...
24684         * elf/get-dynamic-info.h: Here.  New file.
24685         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24686         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24687         * elf/setup-vdso.h: Here.  New file.
24688         * elf/rtld.c: Include "setup-vdso.h".
24689         (dl_main): Call setup_vdso.
24691 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24693         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24694         creal in comment listing functions tested.  List finite, isinf,
24695         isnan, isless, islessequal, isgreater, isgreaterequal,
24696         islessgreater, isunordered, lgamma_r and pow10 as functions and
24697         macros not tested.  Mention which functions not tested are aliases
24698         for other functions.  Fix typo.  Note that signs of NaNs are not
24699         tested.
24701         * scripts/config.guess: Update from config.git.
24702         * scripts/config.sub: Likewise.
24704 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24706         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24707         * misc/madvise.c (madvise): Renamed to __madvise.
24708         Make madvise a weak alias.
24709         * include/sys/mman.h: Declare __madvise.
24710         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24711         * sysdeps/unix/syscalls.list
24712         (madvise): Make __madvise the strong name, and madvise a weak alias.
24713         * sysdeps/unix/sysv/linux/syscalls.list
24714         (madvise, mmap): Remove redundant entries.
24715         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24716         * malloc/malloc.c (mtrim): Likewise.
24717         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24719 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24721         * sysdeps/mach/hurd/dl-cache.c: File removed.
24722         * config.h.in (USE_LDCONFIG): New #undef.
24723         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24724         * configure: Regenerated.
24725         * elf/Makefile (dl-routines): Add dl-cache only under
24726         [$(use-ldconfig) = yes].
24727         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24728         cache on [USE_LDCONFIG].
24729         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24730         [USE_LDCONFIG].
24731         * elf/rtld.c (dl_main): Likewise.
24733 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24735         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24736         _SC_LEVEL4_CACHE_LINESIZE.
24738 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24740         * sysdeps/unix/bsd/confstr.h: File removed.
24742 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24744         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24745         sys/sdt-config.h.
24747 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24749         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24750         Make 'mapoff' field ElfW(Off) rather than off_t.
24752 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24754         * nscd/Makefile: Remove nscd-cflags and all its users.
24755         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24756         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24758         [BZ #10631]
24759         * malloc.c (malloc_printerr): Clarify error message.
24761 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24763         [BZ #14648]
24764         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24765         Set bit_FMA_Usable if FMA is supported.
24766         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24767         macro.
24768         (bit_FMA4_Usable): Updated.
24769         (index_FMA_Usable): New macro.
24770         (CPUID_FMA): Likewise
24771         (HAS_FMA): Defined with bit_FMA_Usable.
24773 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24775         * bits/types.h (__swblk_t): Type removed.
24776         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24777         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24778         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24779         (__SWBLK_T_TYPE): Likewise.
24780         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24781         (__SWBLK_T_TYPE): Likewise.
24782         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24783         (__SWBLK_T_TYPE): Likewise.
24784         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24785         (__SWBLK_T_TYPE): Likewise.
24787 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24788             Honza Horak <hhorak@redhat.com>
24790         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24791         (xdr_mapname): Use YPMAXMAP as maxsize.
24792         (xdr_peername): Use YPMAXPEER as maxsize.
24793         (xdr_keydat): Use YPAXRECORD as maxsize.
24794         (xdr_valdat): Use YPMAXRECORD as maxsize.
24796 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24798         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24800         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24801         * csu/init-first.c: ... here.
24802         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24803         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24804         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24805         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24806         * sysdeps/i386/init-first.c: File removed.
24807         * sysdeps/sh/init-first.c: File removed.
24809 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24811         [BZ #14645]
24812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24813         if x * y might underflow to zero and z is zero.
24814         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24815         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24816         * math/libm-test.inc (min_subnorm_value): New variable.
24817         (fma_test): Add more tests.
24818         (fma_test_towardzero): Likewise.
24819         (fma_test_downward): Likewise
24820         (fma_test_upward): Likewise.
24821         (initialize): Set min_subnorm_value.
24823 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24825         [BZ #14638]
24826         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24827         0 + 0.
24828         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24829         mode for addition resulting in exact zero.
24830         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24831         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24832         exact 0 + 0.
24833         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24834         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24835         * math/libm-test.inc (fma_test): Add more tests.
24836         (fma_test_towardzero): New function.
24837         (fma_test_downward): Likewise.
24838         (fma_test_upward): Likewise.
24839         (main): Call the new functions.
24841 2012-09-28  David S. Miller  <davem@davemloft.net>
24843         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
24845 2012-09-28  Roland McGrath  <roland@hack.frob.com>
24847         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
24848         instead of SIGALRM.
24850         * sysdeps/gnu/_G_config.h: Moved to ...
24851         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
24852         * sysdeps/mach/hurd/_G_config.h: Moved to ...
24853         * sysdeps/generic/_G_config.h: ... here.
24855         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
24857         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
24859         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
24860         Conditionalize target on [libnss_test1.so-version].
24862         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
24864         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
24865         (elfobjdir): Move out of conditionals.
24867         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
24868         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
24869         (__nss_lookup_function): Conditionalize label remove_from_tree on
24870         [!DO_STATIC_NSS || SHARED], matching its only use.
24872 2012-09-28  David S. Miller  <davem@davemloft.net>
24874         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
24875         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
24876         file.
24877         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24878         sysdep_routines.
24879         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24880         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
24881         when HWCAP_SPARC_CRYPTO is present.
24883 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24885         * io/tst-mknodat.c: Create a FIFO instead of a socket.
24887 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
24889         [BZ #6530]
24890         * stdio-common/vfprintf.c (process_string_arg): Revert
24891         2000-07-22 change.
24893 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
24895         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
24896         for testcase.
24897         * stdio-common/tst-sprintf.c: Include <locale.h>
24898         (main): Test sprintf's handling of incomplete multibyte
24899         characters.
24901 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
24903         * elf/dl-runtime.c (VERSYMIDX): Removed.
24904         * elf/dl-version.c (VERSYMIDX): Likewise.
24905         * elf/do-rel.h (VERSYMIDX): Likewise.
24906         (VALIDX): Likewise.
24907         * elf/dynamic-link.h (VERSYMIDX): Likewise.
24908         * elf/rtld.c (VALIDX): Likewise.
24909         (ADDRIDX): Likewise.
24910         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
24911         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
24912         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
24913         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
24914         (VALIDX): Likewise.
24915         (ADDRIDX): Likewise.
24917 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24919         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
24921 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
24923         [BZ #11438]
24924         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
24925         to global scope.
24926         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
24927         addresses are in the same scope as 192.0.2/24.
24928         * posix/gai.conf: Document new scope table defaults.
24930 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24932         [BZ #5298]
24933         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
24934         for ftell.  Compute offsets from write pointers instead.
24935         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24937 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24939         [BZ #14543]
24940         * libio/Makefile (tests): New test case tst-fseek.
24941         * libio/tst-fseek.c: New test case to verify that fseek/ftell
24942         combination works in wide mode.
24943         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
24944         state when the external buffer state changes.
24946 2012-09-27  David S. Miller  <davem@davemloft.net>
24948         [BZ #14376]
24949         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
24950         pass reloc->r_addend in as the 'high' argument to
24951         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
24953         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24955 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
24957         * rt/tst-aio2.c: Include <pthread.h>.
24958         * rt/tst-aio3.c: Likewise.
24960 2012-09-27  Steve Ellcey  <sellcey@mips.com>
24962         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
24964 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
24966         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
24967         contents on [SHARED].
24969 2012-09-26  Marek Polacek  <polacek@redhat.com>
24971         [BZ #14530]
24972         [BZ #13741]
24973         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
24974         for C++ and GCC <4.3 as well as for non GCC compilers.
24976 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
24978         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24980 2012-09-25  Roland McGrath  <roland@hack.frob.com>
24982         * Makefile.in (all, install): Declare with .PHONY.
24983         Reported by Michael Hope <michael.hope@linaro.org>.
24985 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24987         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
24988         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
24989         system header.
24990         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
24991         Likewise.
24992         (sydep_routines): Add the new and the internal functions.
24993         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
24994         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
24995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
24996         (GLIBC_2.17): Add the new function.
24997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24998         (GLIBC_2.17): Likewise.
24999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25000         (GLIBC_2.17): Likewise.
25001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25002         (GLIBC_2.17): Likewise.
25003         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25005 2012-09-25  Alan Modra  <amodra@gmail.com>
25007         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25008         Add release barrier before setting once_control to say
25009         initialisation is done.  Add hints on lwarx.  Use macro in
25010         place of isync.
25011         (clear_once_control): Add release barrier.
25013 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25015         [BZ #13629]
25016         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25017         specially.
25018         * math/s_clog10.c (__clog10): Likewise.
25019         * math/s_clog10f.c (__clog10f): Likewise.
25020         * math/s_clog10l.c (__clog10l): Likewise.
25021         * math/s_clogf.c (__clogf): Likewise.
25022         * math/s_clogl.c (__clogl): Likewise.
25023         * math/Makefile (libm-calls): Add x2y2m1.
25024         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25025         (__x2y2m1): Likewise.
25026         (__x2y2m1l): Likewise.
25027         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25028         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25029         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25030         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25031         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25032         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25033         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25034         * sysdeps/i386/fpu/libm-test-ulps: Update.
25035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25037         [BZ #14621]
25038         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25039         int as type of variable DEPTH.
25040         (glob): Use size_t instead of int as type of variables NEWCOUNT
25041         and OLD_PATHC.
25043 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25045         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25046         Add s_sincosf-sse2.
25047         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25048         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25049         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25050         macros for using routine as __sincosf_ia32.
25051         Use macro for function declaration and weak_alias.
25052         * sysdeps/i386/fpu/libm-test-ulps: Update.
25054         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25055         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25057         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25058         subnormal argument.
25059         * math/s_cexpf.c (__cexpf): Likewise.
25060         * math/s_csinf.c (__csinf): Likewise.
25061         * math/s_csinhf.c (__csinhf): Likewise.
25062         * math/s_ctanf.c (__ctanf): Likewise.
25063         * math/s_ctanhf.c (__ctanhf): Likewise.
25064         * math/s_ccosh.c (__ccoshf): Likewise.
25065         * math/s_cexp.c (__cexpl): Likewise.
25066         * math/s_csin.c (__csin): Likewise.
25067         * math/s_csinh.c (__csinh): Likewise.
25068         * math/s_ctan.c (__ctan): Likewise.
25069         * math/s_ctanh.c (ctanh): Likewise.
25070         * math/s_ccoshl.c (__ccoshl): Likewise.
25071         * math/s_cexpl.c (__cexpl): Likewise.
25072         * math/s_csinl.c (__csinl): Likewise.
25073         * math/s_csinhl.c (__csinhl): Likewise.
25074         * math/s_ctanl.c (__ctanl): Likewise.
25075         * math/s_ctanhl.c (__ctanhl): Likewise.
25077 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25079         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25080         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25081         (_IO_off_t): Define to __off_t, not _G_off_t.
25082         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25083         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25084         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25085         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25086         type of __dummy and __dummy2 fields.
25087         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25088         (_G_ssize_t): Likewise.
25089         (_G_off_t): Likewise.
25090         (_G_pid_t): Likewise.
25091         (_G_uid_t): Likewise.
25092         (_G_wchar_t): Likewise.
25093         (_G_wint_t): Likewise.
25094         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25095         (_G_ssize_t): Likewise.
25096         (_G_off_t): Likewise.
25097         (_G_pid_t): Likewise.
25098         (_G_uid_t): Likewise.
25099         (_G_wchar_t): Likewise.
25100         (_G_wint_t): Likewise.
25101         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25102         (_G_ssize_t): Likewise.
25103         (_G_off_t): Likewise.
25104         (_G_pid_t): Likewise.
25105         (_G_uid_t): Likewise.
25106         (_G_wchar_t): Likewise.
25107         (_G_wint_t): Likewise.
25109 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25111         * malloc/arena.c: Include malloc-sysdep.h.
25112         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25113         is sufficient to shrink the heap or an unmap is needed.
25114         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25115         new function check_may_shrink_heap.
25116         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25117         new function check_may_shrink_heap.
25119 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25121         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25122         comments.
25124 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25126         * catgets/test-gencat.sh: Add "set -e".
25127         * elf/tst-pathopt.sh: Likewise.
25128         * grp/tst_fgetgrent.sh: Likewise.
25129         * iconvdata/run-iconv-test.sh: Likewise.
25130         * intl/tst-gettext.sh: Likewise.
25131         * intl/tst-gettext2.sh: Likewise.
25132         * intl/tst-gettext4.sh: Likewise.
25133         * intl/tst-gettext6.sh: Likewise.
25134         * intl/tst-translit.sh: Likewise.
25135         * io/ftwtest-sh: Likewise.
25136         * libio/test-freopen.sh: Likewise.
25137         * malloc/tst-mtrace.sh: Likewise.
25138         * posix/globtest.sh: Likewise.
25139         * posix/tst-getconf.sh: Likewise.
25140         * posix/wordexp-tst.sh: Likewise.
25141         * stdio-common/tst-printf.sh: Likewise.
25142         * stdio-common/tst-unbputc.sh: Likewise.
25143         * stdlib/tst-fmtmsg.sh: Likewise.
25144         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25145         * catgets/Makefile: Do not specify -e option when running
25146         testsuite shell scripts.
25147         * elf/Makefile: Likewise.
25148         * grp/Makefile: Likewise.
25149         * iconvdata/Makefile: Likewise.
25150         * intl/Makefile: Likewise.
25151         * io/Makefile: Likewise.
25152         * libio/Makefile: Likewise.
25153         * malloc/Makefile: Likewise.
25154         * posix/Makefile: Likewise.
25155         * stdio-common/Makefile: Likewise.
25156         * stdlib/Makefile: Likewise.
25157         * sysdeps/x86_64/Makefile: Likewise.
25159         * io/ftwtest-sh: Add copyright header.
25160         * posix/globtest.sh: Likewise.
25161         * posix/tst-getconf.sh: Likewise.
25162         * posix/wordexp-tst.sh: Likewise.
25163         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25165 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25167         [BZ #13679]
25168         * Makeconfig (+link): Defined as $(+link-static) if
25169         $(build-shared) isn't yes.
25170         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25171         isn't yes.
25172         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25174         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25176         [BZ #14562]
25177         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25178         new chunk size with MALLOC_ALIGN_MASK.
25180 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25182         [BZ #5044]
25183         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25184         <rounding-mode.h>.
25185         (__printf_fphex): Determine rounding using get_rounding_mode and
25186         round_away.
25187         * stdio-common/tst-printf-round.c (struct hex_test): New
25188         structure.
25189         (hex_tests): New variable.
25190         (test_hex_in_one_mode): New function.
25191         (do_test): Also run tests for hex float output.
25193 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25195         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25196         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25197         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25198         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25199         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25200         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25201         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25202         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25204 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25206         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25207         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25208         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25209         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25211 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25213         [BZ #14579]
25214         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25215         mode only.
25216         * elf/tst-rtld-load-self.sh: New test.
25217         * elf/Makefile: Run it.
25219 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25221         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25222         (tst-writev-ENV): Remove.
25223         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25225 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25227         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25229 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25231         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25232         unconditional.
25233         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25234         Likewise.
25235         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25236         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25237         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25238         Likewise.
25240 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25242         [BZ #14587]
25243         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25244         * config.make.in (have-cpp-asm-debuginfo): Removed.
25245         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25246         * configure: Regenerated.
25248 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25250         [BZ #5044]
25251         * stdio-common/printf_fp.c: Include <stdbool.h> and
25252         <rounding-mode.h>.
25253         (___printf_fp): Determine rounding using get_rounding_mode and
25254         round_away.
25255         * stdio-common/tst-printf-round.c: New file.
25256         * stdio-common/Makefile (tests): Add tst-printf-round.
25257         (link-libm): New variable.
25258         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25260 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25262         [BZ #14576]
25263         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25264         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25265         Likewise.
25266         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25267         Likewise.
25269 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25271         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25272         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25273         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25274         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25276 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25278         [BZ #14518]
25279         * include/rounding-mode.h: New file.
25280         * sysdeps/generic/get-rounding-mode.h: Likewise.
25281         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25282         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25283         (MAX_VALUE): New macro.
25284         (MIN_VALUE): Likewise.
25285         (overflow_value): New function.
25286         (underflow_value): Likewise.
25287         (round_and_return): Use overflow_value and underflow_value to
25288         determine return values in overflow and underflow cases.  Use
25289         round_away to determine rounding depending on rounding mode.
25290         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25291         determine return values in overflow and underflow cases.
25292         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25293         (struct test_results): New structure.
25294         (struct test): Use struct test_results to store expected results
25295         for all rounding modes.
25296         (TEST): Include expected results for all rounding modes.
25297         (test_in_one_mode): New function.
25298         (do_test): Use test_in_one_mode to compute and check results.
25299         Check results for all rounding modes.
25300         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25301         $(link-libm).
25303 2012-12-09  Allan McRae  <allan@archlinux.org>
25305         * sysdeps/i386/fpu/libm-test-ulps: Update
25307 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25309         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25310         (_G_int32_t): Likewise.
25311         (_G_uint16_t): Likewise.
25312         (_G_uint32_t): Likewise.
25313         (_G_HAVE_BOOL): Likewise.
25314         (_G_HAVE_ATEXIT): Likewise.
25315         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25316         (_G_HAVE_IO_FILE_OPEN): Likewise.
25317         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25318         (_G_int32_t): Likewise.
25319         (_G_uint16_t): Likewise.
25320         (_G_uint32_t): Likewise.
25321         (_G_HAVE_BOOL): Likewise.
25322         (_G_HAVE_ATEXIT): Likewise.
25323         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25324         (_G_HAVE_IO_FILE_OPEN): Likewise.
25325         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25326         (_G_int32_t): Likewise.
25327         (_G_uint16_t): Likewise.
25328         (_G_uint32_t): Likewise.
25329         (_G_HAVE_BOOL): Likewise.
25330         (_G_HAVE_ATEXIT): Likewise.
25331         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25332         (_G_HAVE_IO_FILE_OPEN): Likewise.
25334 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25336         * csu/libc-tls.c: Update copyright years.
25338 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25340         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25341         [!_G_USING_THUNKS]: Remove conditional code.
25342         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25343         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25345         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25346         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25347         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25348         (_G_VTABLE_LABEL_PREFIX): Likewise.
25349         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25350         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25351         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25352         (_G_VTABLE_LABEL_PREFIX): Likewise.
25353         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25354         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25355         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25356         (_G_VTABLE_LABEL_PREFIX): Likewise.
25357         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25359 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25361         * libio/Makefile: Include ../Makeconfig before tests.
25362         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25363         only if $(build-shared) is yes.
25365         * iconv/gconv_db.c: Update copyright years.
25367 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25369         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25370         unwind info if defined PIC. Fix special cases description.
25371         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25373         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25374         DP_HI_MASK entry.
25375         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25377 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25379         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25381         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25382         is NULL.
25384         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25385         (LDLIBS-tst-chk4): This.
25386         (LDFLAGS-tst-chk5): Renamed to ...
25387         (LDLIBS-tst-chk5): This.
25388         (LDFLAGS-tst-chk6): Renamed to ...
25389         (LDLIBS-tst-chk6): This.
25390         (LDFLAGS-tst-lfschk4): Renamed to ...
25391         (LDLIBS-tst-lfschk4): This.
25392         (LDFLAGS-tst-lfschk5): Renamed to ...
25393         (LDLIBS-tst-lfschk5): This.
25394         (LDFLAGS-tst-lfschk6): Renamed to ...
25395         (LDLIBS-tst-lfschk6): This.
25397         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25398         on $(common-objpfx)soversions.mk.
25400 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25402         [BZ #10014]
25403         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25404         example host name.
25406 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25408         * malloc/arena.c (arena_get_retry): New function that gets
25409         another arena for the caller to try its request on.
25410         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25411         current arena cannot fulfill the request.
25412         (__libc_memalign): Likewise.
25413         (__libc_memalign): Likewise.
25414         (__libc_pvalloc): Likewise.
25415         (__libc_calloc): Likewise.
25417 2012-09-05  John Tobey  <john.tobey@gmail.com>
25419         [BZ #13542]
25420         * manual/arith.texi (Operations on Complex): Fix description
25421         of carg branch cut.
25423 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25425         [BZ #10014]
25426         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25427         host name.
25429         [BZ #10038]
25430         * manual/memory.texi (Memory): Make order of menu items match
25431         order of sections.
25433 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25435         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25436         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25437         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25439 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25441         * csu/libc-tls.c (static_dtv): Renamed to ...
25442         (_dl_static_dtv): This.  Make it global.
25443         (_dl_initial_dtv): Removed.
25444         (__libc_setup_tls): Updated.
25445         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25446         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25447         DL_INITIAL_DTV.
25449 2012-09-06  Petr Machata  <pmachata@redhat.com>
25451         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25452         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25453         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25454         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25456 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25458         [BZ #14545]
25459         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25460         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25461         freeing dtv[-1].
25463 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25465         [BZ #14544]
25466         * Makeconfig (link-static-before-libc): Replace $(+prector)
25467         with $(+prectorT).
25468         (link-static-after-libc): Replace $(+postctor) with
25469         $(+postctorT).
25470         (link-bounded): Replace $(+prector)/$(+postctor) with
25471         $(+prectorT)/$(+postctorT).
25472         (+prectorT): New macro.
25473         (+postctorT): Likewise.
25475 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25477         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25478         (round_str): Handle values above the maximum for IBM long double
25479         as inexact.
25480         * stdlib/tst-strtod-round.c (tests): Regenerated.
25482 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25484         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25485         assembler flag.
25486         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25487         zarch_nohighgprs around the zarch optimized routines.
25488         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25489         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25490         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25491         for zarch.
25493 2012-09-05  David S. Miller  <davem@davemloft.net>
25495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25497         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25498         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25499         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25500         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25501         entries.
25503 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25505         * malloc/arena.c: Fold copyright years.
25506         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25508 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25510         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25512 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25514         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25516 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25518         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25519         change internal state upon failure.
25521 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25523         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25524         * malloc/memusage.c (mmap): Likewise.
25525         (mmap64, mremap): Likewise.  Adjust name in comment.
25527 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25529         * libio/fileops.c: Fix typos in comments.
25530         * libio/oldfileops.c: Likewise.
25531         * libio/wfileops.c: Likewise.
25533 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25535         [BZ #1349]
25536         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25537         (tst-malloc-usable-ENV): Set environment for test case.
25538         * malloc/hooks.c (malloc_check_get_size): New function to get
25539         requested size.
25540         * malloc/malloc.c (musable): Use malloc_check_get_size.
25541         * malloc/tst-malloc-usable.c: New test case.
25543 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25545         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25547 2012-09-05  Allan McRae  <allan@archlinux.org>
25549         [BZ #13966]
25550         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25551         determine header location.
25552         * configure: Regenerated.
25554 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25556         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25557         float format.
25558         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25559         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25560         format.
25561         (test): Regenerate.
25563 2012-09-04  David S. Miller  <davem@davemloft.net>
25565         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25566         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25567         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25569 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25571         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25572         failures.
25574         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25576 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25578         [BZ #9914]
25579         * libio/iogetdelim.c: Include <limits.h>.
25580         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25581         + len + 1 would overflow.
25583 2012-09-03  Andreas Jaeger  <aj@suse.de>
25585         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25586         * sysdeps/i386/fpu/libm-test-ulps: Update.
25588 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25590         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25591         Add s_sinf-sse2, s_conf-sse2.
25593         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25594         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25595         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25596         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25598         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25599         for using routine as __sinf_ia32.
25600         Use macro for function declaration and weak_alias.
25601         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25602         for using routine as __cosf_ia32.
25603         Use macro for function declaration and weak_alias.
25605         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25606         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25608         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25609         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25610         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25612         * math/libm-test.inc (cos_test): Add more test cases.
25613         (sin_test): Likewise.
25614         (sincos_test): Likewise.
25616 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25618         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25619         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25620         hidden.
25621         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25623 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25625         [BZ #14538]
25626         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25627         first element of the GOT.
25628         (elf_machine_load_address): Return the difference between
25629         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25631 2012-09-01  Allan McRae  <allan@archlinux.org>
25633         [BZ #13412]
25634         * configure.in (AWK): Require gawk version 3.0 or later.
25635         * configure: Regenerated.
25637 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25639         * sysdeps/unix/sysv/linux/kernel-features.h
25640         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25641         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25642         [__NR_clock_getres]: Make code unconditional.
25643         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25644         (clock_getcpuclockid): Remove code left unreachable by removal of
25645         conditionals.
25646         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25647         code unconditional.
25648         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25649         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25650         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25651         Make code unconditional.
25652         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25653         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25654         * sysdeps/unix/sysv/linux/clock_settime.c
25655         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25656         conditional code.
25657         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25658         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25660 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25662         [BZ #14476]
25663         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25664         scripts/test-installation.pl.
25666         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25667         and $ld_so_version if it is set.
25669 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25671         [BZ #14516]
25672         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25673         failure if reading from procfs failed.
25674         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25676 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25678         * sysdeps/unix/sysv/linux/kernel-features.h
25679         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25680         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25681         Remove conditional code.
25682         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25683         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25684         Remove conditional code.
25685         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25686         * sysdeps/unix/sysv/linux/i386/fxstat.c
25687         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25688         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25689         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25690         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25691         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25692         * sysdeps/unix/sysv/linux/i386/lxstat.c
25693         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25694         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25695         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25696         Remove conditional code.
25697         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25698         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25699         Remove conditional code.
25700         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25701         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25702         <kernel-features.h>.
25703         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25704         Remove.
25705         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25706         Remove conditional code.
25707         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25708         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25709         Remove conditional.
25711 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25713         [BZ #5400]
25714         * NEWS: Add fixed bug number.
25716 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25718         [BZ #14519]
25719         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25720         underflowing exponent in case of negative sign.
25721         * stdlib/tst-strtod-round-data: Add more tests.
25722         * stdlib/tst-strtod-round.c (tests): Regenerated.
25724         [BZ #3479]
25725         * stdlib/strtod_l.c (NDIG): Remove.
25726         (HEXNDIG): Likewise.
25727         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25728         smallest representable value.
25729         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25730         lie within an exact representation of 1/2 ulp of the result.
25731         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25732         unconditionally.
25733         (TENS_P9_IDX): Define unconditionally.
25734         (TENS_P9_SIZE): Likewise.
25735         (TENS_P10_IDX): Likewise.
25736         (TENS_P10_SIZE): Likewise.
25737         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25738         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25739         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25740         entries for 10^2^13 and 10^2^14.
25741         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25742         (TENS_P13_IDX): Define.
25743         (TENS_P13_SIZE): Likewise.
25744         (TENS_P14_IDX): Likewise.
25745         (TENS_P14_SIZE): Likewise.
25746         (_fpioconst_pow10): Change array size to
25747         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25748         unconditional.
25749         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25750         1024]: Add entries for 10^2^13 and 10^2^14.
25751         [LAST_POW10 > _LAST_POW10]: Remove #error.
25752         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25753         (_fpioconst_pow10): Change array size to
25754         FPIOCONST_POW10_ARRAY_SIZE.
25755         * stdlib/gen-fpioconst.c: New file.
25756         * stdlib/gen-tst-strtod-round.c: Likewise.
25757         * stdlib/tst-strtod-round-data: Likewise.
25758         * stdlib/tst-strtod-round.c: Likewise.
25759         * stdlib/Makefile (tests): Add tst-strtod-round.
25761         [BZ #14459]
25762         * stdlib/strtod_l.c: Include <stdint.h>.
25763         (NDEBUG): Do not define.
25764         (round_and_return): Change EXPONENT parameter to type intmax_t.
25765         Rearrange calculations to avoid internal overflow possibilities.
25766         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25767         Rearrange calculations to avoid internal overflow possibilities.
25768         Assert that number fits inside MPNSIZE limbs.
25769         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25770         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25771         calculations and add assertions to avoid internal overflow
25772         possibilities.  Add casts to avoid signed/unsigned operations.
25773         * stdlib/tst-strtod-overflow.c: New file.
25774         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25776 2012-08-25  Marek Polacek  <polacek@redhat.com>
25778         * time/time.h: Fix some typos in comments.
25780 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25782         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25783         * posix/tst-rfc3484-2.c: Likewise.
25784         * posix/tst-rfc3484-3.c: Likewise.
25786 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25788         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25789         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25791 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25793         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25794         #include of fxstatat64.c.
25796 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25798         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25799         * shadow/getspent_r.c: Likewise.
25800         * shadow/getspnam.c: Likewise.
25801         * shadow/getspnam_r.c: Likewise.
25802         * gshadow/getsgent.c: Likewise.
25803         * gshadow/getsgent_r.c: Likewise.
25804         * gshadow/getsgnam.c: Likewise.
25805         * gshadow/getsgnam_r.c: Likewise.
25806         * inet/getnetbyad.c: Likewise.
25807         * inet/getnetbyad_r.c: Likewise.
25808         * inet/getnetbynm.c: Likewise.
25809         * inet/getnetbynm_r.c: Likewise.
25810         * inet/getnetent.c: Likewise.
25811         * inet/getnetent_r.c: Likewise.
25812         * inet/getproto.c: Likewise.
25813         * inet/getproto_r.c: Likewise.
25814         * inet/getprtent.c: Likewise.
25815         * inet/getprtent_r.c: Likewise.
25816         * inet/getprtname.c: Likewise.
25817         * inet/getprtname_r.c: Likewise.
25818         * inet/getrpcbyname.c: Likewise.
25819         * inet/getrpcbyname_r.c: Likewise.
25820         * inet/getrpcbynumber.c: Likewise.
25821         * inet/getrpcbynumber_r.c: Likewise.
25822         * inet/getrpcent.c: Likewise.
25823         * inet/getrpcent_r.c: Likewise.
25824         * inet/getaliasent.c: Likewise.
25825         * inet/getaliasent_r.c: Likewise.
25826         * inet/getaliasname.c: Likewise.
25827         * inet/getaliasname_r.c: Likewise.
25828         * nscd/getgrgid_r.c: Likewise.
25829         * nscd/getgrnam_r.c: Likewise.
25830         * nscd/gethstbyad_r.c: Likewise.
25831         * nscd/gethstbynm3_r.c: Likewise.
25832         * nscd/getpwnam_r.c: Likewise.
25833         * nscd/getpwuid_r.c: Likewise.
25834         * nscd/getsrvbynm_r.c: Likewise.
25835         * nscd/getsrvbypt_r.c: Likewise.
25836         * nscd/gai.c: Likewise.
25838         * configure.in (build_nscd): New substituted variable, set
25839         by --disable-build-nscd and defaults to $use_nscd.
25840         * configure: Regenerated.
25841         * config.make.in (build-nscd): New substituted variable.
25842         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
25843         Change conditional to require [$(build-nscd) = yes] as well.
25844         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
25846         [BZ# 13696]
25847         * configure.in (use_nscd): New substituted variable, set by
25848         --disable-nscd.  If enabled, define USE_NSCD.
25849         * configure: Regenerated.
25850         * config.h.in: Add USE_NSCD.
25851         * config.make.in (use-nscd): New substituted variable.
25852         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
25853         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
25854         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
25855         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
25856         (CFLAGS-getgrnam_r.c): Likewise.
25857         (CFLAGS-initgroups.c): Likewise.
25858         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
25859         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
25860         Variables removed.
25861         * inet/getnetgrent_r.c
25862         (nscd_setnetgrent): New function, broken out of ...
25863         (setnetgrent): ... here.  Call it.
25864         (innetgr): Conditionalize nscd bits on [USE_NSCD].
25865         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
25866         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
25867         * nscd/Makefile (routines, aux): Move definitions after include of
25868         Makeconfig.  Conditionalize on [$(use-nscd) != no].
25869         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
25870         Conditionalize on [USE_NSCD].
25871         (is_nscd, nscd_init_cb): Likewise.
25872         (nss_load_library): Conditionalize init callback on [USE_NSCD].
25873         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
25874         * nss/nss_db/db-init.c: Likewise.
25875         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
25876         [USE_NSCD].
25877         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
25878         (make_request): Use it.
25879         (cache_valid_p): New function.
25880         (__check_pf): Use it.
25881         * NEWS: Add item for --disable-nscd.
25883 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
25885         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
25886         to support sed >= 4.2.1-20-ga9bf076.
25887         * configure: Regenerated.
25889 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25891         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
25892         Conditionalize whole body on [IREL].
25894 2012-08-22  Jeff Law <law@redhat.com>
25896         [BZ #14505]
25897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
25898         if the family is PF_UNSPEC.
25900 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
25902         * Makerules (lib-version): Rename from V.
25903         (install-lib-nosubdir): Change V to lib-version.
25905 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
25907         [BZ #14252]
25908         * powerpc32/power6/wcschr.c: New file.
25909         * powerpc32/power6/wcscpy.c: New file.
25910         * powerpc32/power6/wcsrchr.c: New file.
25911         * powerpc64/power6/wcschr.c: New file.
25912         * powerpc64/power6/wcscpy.c: New file.
25913         * powerpc64/power6/wcsrchr.c: New file.
25915 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25917         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
25918         (two_way_short_needle): Use it.
25919         * string/strstr.c (AVAILABLE1_USES_J): Define.
25920         * string/strcasestr.c: Likewise.
25922         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
25923         array references.
25924         * string/strcasestr.c (TOLOWER): Make side-effect safe.
25926         [BZ #11607]
25927         * NEWS: Add an entry.
25928         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
25929         define their defaults.
25930         (two_way_short_needle): Detect end-of-string on-the-fly.
25931         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
25932         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
25933         * string/bug-strcasestr1.c: New test.
25934         * string/Makefile: Run it.
25936 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
25938         [BZ #11607]
25939         * string/str-two-way.h (two_way_short_needle): Optimize matching of
25940         the first character.
25942 2012-08-21  Roland McGrath  <roland@hack.frob.com>
25944         * csu/elf-init.c (__libc_csu_irel): Function removed.
25945         * csu/libc-start.c (apply_irel): New function.
25946         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
25948 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
25950         * sysdeps/unix/sysv/linux/kernel-features.h
25951         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
25952         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
25953         <kernel-features.h>.
25954         [__NR_fadvise64_64]: Make code unconditional.
25955         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
25956         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25957         !__NR_fadvise64_64)]: Likewise.
25958         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
25959         !__NR_fadvise64_64))]: Likewise.
25960         [__NR_fadvise64]: Make code unconditional.
25961         [!__NR_fadvise64]: Remove conditional code.
25962         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
25963         <kernel-features.h>.
25964         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25965         unconditional.
25966         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25967         conditional code.
25968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
25969         not include <kernel-features.h>.
25970         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25971         unconditional.
25972         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25973         conditional code.
25974         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
25975         include <kernel-features.h>.
25976         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
25977         unconditional.
25978         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
25979         conditional code.
25981 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
25983         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
25984         slight instruction rearrangements per scrollpipe analysis.
25985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
25987 2012-08-20  Roland McGrath  <roland@hack.frob.com>
25989         * manual/syslog.texi (syslog; vsyslog, closelog):
25990         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
25991         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
25993         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
25994         DSOCAPS to match condition on defining it.
25996 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
25998         * sysdeps/unix/sysv/linux/kernel-features.h
25999         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26001         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26002         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26004         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26005         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26007         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26008         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26010         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26011         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26013         * sysdeps/unix/sysv/linux/kernel-features.h
26014         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26015         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26016         unconditional.
26017         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26018         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26019         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26020         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26021         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26022         Make code unconditional.
26023         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26024         (__mmap64) [!__NR_mmap2]: Likewise.
26025         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26026         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26027         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26028         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26029         [__NR_mmap2]: Make code unconditional.
26030         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26031         (__mmap64) [!__NR_mmap2]: Likewise.
26033 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26035         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26037 2012-08-18  Andreas Jaeger  <aj@suse.de>
26039         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26041 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26043         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26044         * include/unistd.h (__have_sock_cloexec): Likewise.
26045         (__have_pipe2): Likewise.
26046         (__have_dup3): Likewise.
26048 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26050         [BZ #9685]
26051         * include/unistd.h (__have_pipe2): Change define into an extern int.
26052         (__have_dup3): Likewise.
26053         * socket/have_sock_cloexec.c: Include fcntl.h.
26054         (__have_pipe2): New variable.
26055         (__have_dup3): Likewise.
26057 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26059         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26061 2012-08-17  Marek Polacek  <polacek@redhat.com>
26063         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26064         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26066 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26068         * configure.in: Add AC_SUBST for sysheaders.
26069         * configure: Regenerated.
26070         * config.make.in (sysheaders): New substituted variable.
26072         * sysdeps/unix/mkfifo.c: Moved ...
26073         * sysdeps/posix/mkfifo.c: ... here.
26074         * sysdeps/unix/mkfifoat.c: Moved ...
26075         * sysdeps/posix/mkfifoat.c: ... here.
26077         * sysdeps/unix/utime.c: Moved ...
26078         * sysdeps/posix/utime.c: ... here.
26080         * sysdeps/unix/time.c: Moved ...
26081         * sysdeps/posix/time.c: ... here.
26082         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26083         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26085         * sysdeps/unix/nice.c: Moved ...
26086         * sysdeps/posix/nice.c: ... here.
26088         * sysdeps/unix/alarm.c: Moved ...
26089         * sysdeps/posix/alarm.c: ... here.
26091         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26093 2012-08-17  Jeff Law <law@redhat.com>
26095         * intl/Makefile (codeset_mo): New variable.
26096         ($(codeset_mo)): New target.
26097         (tst-codeset.out): Depend on that.  Remove explicit rule.
26098         (tst-gettext3.out, tst-gettext5.out): Likewise.
26099         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26100         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26101         * intl/tst-codeset.sh: Remove.
26102         * intl/tst-gettext3.sh: Likewise.
26103         * intl/tst-gettext5.sh: Likewise.
26105 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26107         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26108         * sysdeps/unix/syscalls.list: ... here.
26110         * sysdeps/posix/getaddrinfo.c
26111         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26112         (gaiconf_init, gaiconf_reload): Use them.
26113         [!_STATBUF_ST_NSEC]
26114         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26115         Define using time_t rather than struct timespec.
26117         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26118         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26119         Macros removed.
26120         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26121         [!NO_THREADS].
26122         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26123         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26124         Likewise.
26126         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26127         __libc_cleanup_push argument.
26129         * bits/param.h: New file.
26130         * misc/sys/param.h: New file.
26131         * include/sys/param.h: New file.
26132         * misc/Makefile (headers): Add bits/param.h.
26133         * sysdeps/generic/sys/param.h: File removed.
26134         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26135         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26136         * sysdeps/mach/hurd/bits/param.h: New file.
26137         * sysdeps/mach/hurd/sys/param.h: File removed.
26139         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26140         last change.
26142         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26143         [_IO_MTSAFE_IO].
26144         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26145         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26146         New macros.
26148         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26149         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26150         rather than -D_IO_MTSAFE_IO conditionally.
26151         * stdio-common/Makefile (CPPFLAGS): Likewise.
26152         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26153         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26154         Use $(libio-mtsafe).
26155         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26156         of -D_IO_MTSAFE_IO.
26157         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26158         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26159         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26160         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26161         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26162         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26163         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26164         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26165         (CFLAGS-fread_u_chk.c): Likewise.
26166         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26167         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26168         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26169         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26170         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26171         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26172         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26173         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26174         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26176         * libio/Makefile: Test [$(libc-reentrant) = yes]
26177         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26179         * Makeconfig
26180         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26181         * sysdeps/pthread/configure: File removed.
26182         * sysdeps/pthread/Makeconfig: New file.
26183         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26184         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26186 2012-08-16  Gary Benson  <gbenson@redhat.com>
26188         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26189         unmapping the first object in a namespace.
26191 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26193         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26194         (__internal_setnetgrent): ... this.  Add internal_function to
26195         definition.  Add libc_hidden_def.
26196         (setnetgrent): Update caller.
26197         (internal_endnetgrent): Renamed to ...
26198         (__internal_endnetgrent): ... this.  Add internal_function to
26199         definition.  Add libc_hidden_def.
26200         (endnetgrent): Update caller.
26201         (internal_getnetgrent_r): Renamed to ...
26202         (__internal_getnetgrent_r): ... this.  Add internal_function to
26203         definition.  Add libc_hidden_def.
26204         (__getnetgrent_r): Update caller.
26205         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26207 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26209         * stdlib/longlong.h: Update from GCC.
26211 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26213         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26214         on _QL, which is set by umul_ppmm but never used.
26215         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26216         variables, which are set by GMP macros but never used.
26217         * stdio-common/_itowa.c (_itowa): Likewise.
26218         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26219         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26221 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26223         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26224         struct La_sh_regs is not constant.
26225         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26226         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26227         and struct La_sparc64_regs are not constant.
26229 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26231         * sysdeps/unix/sysv/linux/kernel-features.h
26232         (__ASSUME_POSIX_TIMERS): Remove.
26233         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26234         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26235         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26236         Make code unconditional.
26237         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26238         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26239         Make code unconditional.
26240         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26241         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26242         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26243         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26244         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26245         Make code unconditional.
26246         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26247         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26248         (__libc_missing_posix_timers): Remove.
26250 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26252         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26253         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26255         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26257         * elf/dl-sym.c: Include <stdlib.h>.
26259         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26260         constants, which avoids warnings in 32-bit builds.
26262         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26263         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26265         * misc/lseek.c: File moved to ...
26266         * io/lseek.c: ... here.
26268         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26270         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26271         shifting LEN more than 31 bits at once.
26273 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26275         [BZ #14195]
26276         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26277         segmentation fault for a case of two empty input strings.
26278         * string/test-strncasecmp.c (check1): Renamed to...
26279         (bz12205): ...this.
26280         (bz14195): Add new testcase for two empty input strings and N > 0.
26281         (test_main): Call new testcase, adapt for renamed function.
26283 2012-08-15  Andreas Jaeger  <aj@suse.de>
26285         [BZ #14090]
26286         * crypt/md5test2.c: New test, based on test supplied by Serge
26287         Belyshev <belyshev@depni.sinp.msu.ru>.
26288         * crypt/Makefile (xtests): Add md5test-giant..
26289         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26291 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26293         [BZ #14090]
26294         * crypt/md5.c (md5_process_block): Don't assume the buffer
26295         length is less than 2**32.
26296         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26297         length is less than 2**64.
26299 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26301         * string/str-two-way.h: Include <sys/param.h>.
26302         (MAX): Macro removed.
26304         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26305         Move #define and #undef of memmove to just before and after
26306         including <string.h>.
26308         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26309         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26310         and after including <string.h>.  Move declarations of
26311         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26312         to before #include "string/memmove.c".
26314         * include/dirent.h: Declare __getdirentries.
26316         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26317         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26319 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26321         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26322         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26323         * sysdeps/i386/configure: Regenerated.
26324         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26325         STABS_CURRENT_FILE, and STABS_FUN.
26326         (END): Remove call to STABS_FUN_END.
26327         (STABS_CURRENT_FILE1): Delete.
26328         (STABS_CURRENT_FILE): Likewise.
26329         (STABS_FUN): Likewise.
26330         (STABS_FUN_END): Likewise.
26331         (STABS_FUN2): Likewise.
26332         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26333         * sysdeps/x86_64/configure: Regenerated.
26335 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26337         * elf/dl-open.c: Include <atomic.h>.
26338         * elf/dl-lookup.c: Likewise.
26340 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26342         * sysdeps/unix/sysv/linux/kernel-features.h
26343         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26344         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26345         unconditionally.
26346         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26347         unconditionally.
26348         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26349         condition on __ASSUME_CLONE_THREAD_FLAGS.
26351 2012-08-14  Andreas Jaeger  <aj@suse.de>
26353         * sysdeps/i386/fpu/libm-test-ulps: Update.
26355 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26357         * include/atomic.h (atomic_exchange_and_add): Split into ...
26358         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26359         New atomic macros.
26361 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26363         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26365 2012-08-13  Jeff Law <law@redhat.com>
26367         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26368         null byte in the output string.
26370 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26372         * sysdeps/unix/sysv/linux/kernel-features.h
26373         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26374         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26375         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26376         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26377         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26378         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26379         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26381 2012-08-09  Jeff Law <law@redhat.com>
26383         [BZ #13939]
26384         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26385         When avoid_arena is set, don't retry in the that arena.  Pick the
26386         next one, whatever it might be.
26387         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26388         (arena_lock): Pass in new parameter to arena_get2.
26389         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26390         arena_get2.
26391         (__libc_malloc): Unify retrying after main arena failure with
26392         __libc_memalign version.
26393         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26395 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26397         [BZ #14166]
26398         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26399         to __redirect_strstr.
26400         (__strstr_sse42): Use typeof __redirect_strstr.
26401         (__strstr_ia32): Likewise.
26402         (__libc_strstr): New prototype.
26403         (strstr): Renamed to ...
26404         (__libc_strstr): This.
26405         (strstr): New strong alias of __libc_strstr.
26406         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26407         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26408         __redirect_time.
26409         Include <time.h>.
26410         (__libc_time): New prototype.
26411         (time_ifunc): Replace time with __libc_time.
26412         (time): New strong alias and hidden definition of __libc_time.
26413         (__GI_time): Remove strong alias.
26414         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26415         Include <stddef.h>.
26416         (memmove): Redefined to __redirect_memmove.
26417         (__memmove_sse2): Use typeof __redirect_memmove.
26418         (__memmove_ssse3): Likewise.
26419         (__memmove_ssse3_back): Likewise.
26420         (__libc_memmove): New prototype.
26421         (memmove): Renamed to ...
26422         (__libc_memmove): This.
26423         (memmove): New strong alias of __libc_memmove.
26425 2012-08-08  Mark Salter  <msalter@redhat.com>
26427         * elf/elf.h
26428         (R_MN10300_TLS_GD): Define.
26429         (R_MN10300_TLS_LD): Likewise.
26430         (R_MN10300_TLS_LDO): Likewise.
26431         (R_MN10300_TLS_GOTIE): Likewise.
26432         (R_MN10300_TLS_IE): Likewise.
26433         (R_MN10300_TLS_LE): Likewise.
26434         (R_MN10300_TLS_DTPMOD): Likewise.
26435         (R_MN10300_TLS_DTPOFF): Likewise.
26436         (R_MN10300_TLS_TPOFF): Likewise.
26437         (R_MN10300_SYM_DIFF): Likewise.
26438         (R_MN10300_ALIGN): Likewise.
26439         (R_MN10300_NUM): Update.
26441 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26444         Remove.
26446 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26448         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26450         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26451         sysdeps/unix -> sysdeps/posix move.
26452         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26454 2012-08-07      Allan McRae     <allan@archlinux.org>
26456         [BZ #14303]
26457         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26458         (SUNOS_CPP): Likewise.
26459         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26460         not found.
26461         (open_input): Call CPP using execvp.
26463 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26465         * sysdeps/unix/sysv/linux/kernel-features.h
26466         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26467         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26468         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26469         (__ASSUME_WAITID_SYSCALL): Likewise.
26470         * sysdeps/unix/sysv/linux/dl-execstack.c
26471         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26472         code unconditional.
26473         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26474         conditional code.
26475         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26476         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26477         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26478         code.
26479         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26480         unconditional.
26481         [__ASSUME_WAITID_SYSCALL]: Likewise.
26482         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26484 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26486         * sysdeps/unix/closedir.c: Renamed to ...
26487         * sysdeps/posix/closedir.c: ... here.
26488         * sysdeps/unix/dirfd.c: Renamed to ...
26489         * sysdeps/posix/dirfd.c: ... here.
26490         * sysdeps/unix/dirstream.h: Renamed to ...
26491         * sysdeps/posix/dirstream.h: ... here.
26492         * sysdeps/unix/fdopendir.c: Renamed to ...
26493         * sysdeps/posix/fdopendir.c: ... here.
26494         * sysdeps/unix/opendir.c: Renamed to ...
26495         * sysdeps/posix/opendir.c: ... here.
26496         * sysdeps/unix/readdir.c: Renamed to ...
26497         * sysdeps/posix/readdir.c: ... here.
26498         * sysdeps/unix/readdir_r.c: Renamed to ...
26499         * sysdeps/posix/readdir_r.c: ... here.
26500         * sysdeps/unix/rewinddir.c: Renamed to ...
26501         * sysdeps/posix/rewinddir.c: ... here.
26502         * sysdeps/unix/seekdir.c: Renamed to ...
26503         * sysdeps/posix/seekdir.c: ... here.
26504         * sysdeps/unix/telldir.c: Renamed to ...
26505         * sysdeps/posix/telldir.c: ... here.
26506         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26507         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26508         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26509         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26511         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26512         * bits/fcntl.h: ... here.
26514         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26515         not 0.
26516         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26517         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26518         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26519         (struct flock): Move l_start, l_len to the beginning.
26520         Use __pid_t for l_pid.
26521         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26522         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26523         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26524         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26525         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26526         [__USE_LARGEFILE64] (struct flock64): New type.
26527         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26529         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26530         * bits/dirent.h: ... here.
26532         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26533         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26535 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26537         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26538         Change from 2.6.0 to 2.6.16.
26539         * sysdeps/unix/sysv/linux/configure: Regenerated.
26540         * sysdeps/unix/sysv/linux/kernel-features.h
26541         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26542         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26543         version.
26544         (__ASSUME_UTIMES): Likewise.
26545         (__ASSUME_CLONE_STOPPED): Remove.
26546         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26547         architectures, not kernel version.
26548         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26549         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26550         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26551         (__ASSUME_WAITID_SYSCALL): Likewise.
26552         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26553         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26554         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26555         refer to older versions.
26557 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26559         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26560         Define alphasort64 as an alias.
26561         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26562         Define versionsort64 as an alias.
26563         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26564         Define scandir64 as an alias.
26565         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26566         Define scandirat64 as an alias.
26567         * dirent/alphasort64.c (alphasort64):
26568         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26569         * dirent/versionsort64.c: Likewise.
26570         * dirent/scandir64.c: Likewise.
26571         * dirent/scandirat64.c: Likewise.
26572         * sysdeps/wordsize-64/alphasort.c: File removed.
26573         * sysdeps/wordsize-64/alphasort64.c: File removed.
26574         * sysdeps/wordsize-64/scandir.c: File removed.
26575         * sysdeps/wordsize-64/scandir64.c: File removed.
26576         * sysdeps/wordsize-64/scandirat.c: File removed.
26577         * sysdeps/wordsize-64/scandirat64.c: File removed.
26578         * sysdeps/wordsize-64/versionsort.c: File removed.
26579         * sysdeps/wordsize-64/versionsort64.c: File removed.
26580         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26581         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26582         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26583         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26584         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26585         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26586         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26587         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26589         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26591         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26592         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26593         [defined __arch64__ || defined __sparcv9]
26594         (__INO_T_MATCHES_INO64_T): New macro.
26595         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26596         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26597         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26598         * sysdeps/unix/sysv/linux/bits/dirent.h
26599         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26600         (_DIRENT_MATCHES_DIRENT64): New macro.
26602         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26603         Define lockf64 as an alias.
26604         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26605         Define fseeko64 as an alias.
26606         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26607         Define ftello64 as an alias.
26608         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26609         Define _IO_fgetpos64 and fgetpos64 as aliases.
26610         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26611         Define _IO_fsetpos64 and fsetpos64 as aliases.
26612         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26613         Conditionalize body on this.
26614         * libio/fseeko64.c: Likewise.
26615         * libio/ftello64.c: Likewise.
26616         * libio/iofgetpos64.c: Likewise.
26617         * libio/iofsetpos64.c: Likewise.
26618         * sysdeps/wordsize-64/lockf.c: File removed.
26619         * sysdeps/wordsize-64/lockf64.c: File removed.
26620         * sysdeps/wordsize-64/fseeko.c: File removed.
26621         * sysdeps/wordsize-64/fseeko64.c: File removed.
26622         * sysdeps/wordsize-64/ftello.c: File removed.
26623         * sysdeps/wordsize-64/ftello64.c: File removed.
26624         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26625         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26626         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26627         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26628         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26629         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26630         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26631         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26632         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26633         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26634         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26635         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26636         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26637         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26639         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26640         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26641         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26642         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26643         [defined __arch64__ || defined __sparcv9]
26644         (__OFF_T_MATCHES_OFF64_T): New macro.
26645         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26646         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26647         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26648         (__OFF_T_MATCHES_OFF64_T): New macro.
26650 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26652         * stdlib/secure-getenv.c (__secure_getenv): Replace
26653         GLIBC_2_16 with GLIBC_2_17.
26655 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26657         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26658         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26660 2012-08-03  David S. Miller  <davem@davemloft.net>
26662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26664 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26666         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26667         Remove.
26668         (__ASSUME_CORRECT_SI_PID): Likewise.
26669         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26670         (__ASSUME_TMPFS_NAME): Likewise.
26671         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26672         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26673         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26674         (HAVE_AUX_SECURE): Make definition unconditional.
26675         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26676         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26678 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26680         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26681         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26682         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26683         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26684         __eloop_threshold instead of SYMLOOP_MAX.
26686         * sysdeps/generic/eloop-threshold.h: New file.
26687         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26688         of MAXSYMLINKS.
26689         * elf/chroot_canon.c (chroot_canon): Likewise.
26691 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26693         [BZ #13717]
26694         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26695         Change to 2.6.0 everywhere.
26696         * sysdeps/unix/sysv/linux/configure: Regenerated.
26697         * sysdeps/unix/sysv/linux/kernel-features.h
26698         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26699         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26700         kernel versions.
26701         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26702         (__ASSUME_FUTEX_REQUEUE): Remove.
26703         (__ASSUME_STATFS64): Define unconditionally.
26704         (__ASSUME_AT_SECURE): Likewise.
26705         (__ASSUME_CORRECT_SI_PID): Likewise.
26706         (__ASSUME_TGKILL): Define without depending on kernel version for
26707         i386.
26708         (__ASSUME_UTIMES): Likewise.
26709         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26710         kernel version.
26711         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26712         (__ASSUME_TMPFS_NAME): Likewise.
26713         * README: Update reference to Linux kernel versions.
26715 2012-08-02  Marek Polacek  <polacek@redhat.com>
26717         [BZ# 14150]
26718         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26719         libc_cv_asm_type_prefix with %.
26720         * configure: Regenerated.
26721         * include/libc-symbols.h: Remove comment about
26722         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26723         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26724         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26725         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26726         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26727         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26728         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26729         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26730         * elf/tst-unique2mod1.c: Likewise.
26731         * elf/tst-unique1mod2.c: Likewise.
26732         * elf/tst-unique1mod1.c: Likewise.
26733         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26734         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26735         Replace ASM_TYPE_DIRECTIVE with .type.
26736         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26737         * sysdeps/i386/sysdep.h: Likewise.
26738         * sysdeps/x86_64/sysdep.h: Likewise.
26739         * sysdeps/sh/sysdep.h: Likewise.
26740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26741         Do not define ASM_TYPE_DIRECTIVE.
26742         * sysdeps/powerpc/sysdep.h: Likewise.
26743         * sysdeps/powerpc/powerpc32/sysdep.h:
26744         Replace ASM_TYPE_DIRECTIVE with .type.
26745         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26746         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26747         * sysdeps/i386/fpu/e_powf.S: Likewise.
26748         * sysdeps/i386/fpu/e_expl.S: Likewise.
26749         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26750         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26751         * sysdeps/i386/fpu/e_pow.S: Likewise.
26752         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26753         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26754         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26755         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26756         * sysdeps/i386/fpu/e_log2.S: Likewise.
26757         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26758         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26759         * sysdeps/i386/fpu/e_powl.S: Likewise.
26760         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26761         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26762         * sysdeps/i386/fpu/e_logl.S: Likewise.
26763         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26764         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26765         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26766         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26767         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26768         * sysdeps/i386/fpu/e_log.S: Likewise.
26769         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26770         * sysdeps/i386/fpu/e_logf.S: Likewise.
26771         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26772         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26773         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26774         * sysdeps/i386/fpu/e_log10.S: Likewise.
26775         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26776         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26777         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26778         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26779         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26780         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26781         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26782         * sysdeps/i386/i686/strtok.S: Likewise.
26783         * sysdeps/i386/i386-mcount.S: Likewise.
26784         * sysdeps/i386/strtok.S: Likewise.
26785         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26786         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26787         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26788         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26789         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26790         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26791         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26792         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26793         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26794         * sysdeps/x86_64/_mcount.S: Likewise.
26795         * sysdeps/x86_64/strtok.S: Likewise.
26796         * sysdeps/sh/_mcount.S: Likewise.
26798 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26800         * libio/iofopen.c: Include <fcntl.h>.
26801         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26802         (_IO_fopen64, fopen64): Define as aliases.
26803         * libio/iofopen64.c: Include <fcntl.h>.
26804         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26805         Conditionalize body on this.
26806         * sysdeps/wordsize-64/iofopen.c: File removed.
26807         * sysdeps/wordsize-64/iofopen64.c: File removed.
26809 2012-08-01  Marek Polacek  <polacek@redhat.com>
26811         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26812         Use dlfcn directly instead of a variable.
26813         (binfmt-subdir): Do not define.
26814         (dlfcn): Likewise.
26816 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26819         Remove all definitions.
26820         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26821         <kernel-features.h>.
26822         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26823         (miss_F_GETOWN_EX): Remove all definitions.
26824         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26825         macro definition.
26826         [!__ASSUME_FCNTL64]: Remove conditional code.
26827         [__ASSUME_FCNTL64]: Make code unconditional.
26828         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26829         <kernel-features.h>.
26830         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26831         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26832         (lockf64) [__NR_fcntl64]: Make code unconditional.
26833         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26835         * sysdeps/unix/sysv/linux/kernel-features.h
26836         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26837         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26838         Make code unconditional.
26839         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26840         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
26842         [__NR_vfork]: Make code unconditional.
26843         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26844         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
26846         [__NR_vfork]: Make code unconditional.
26847         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26848         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26850 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26852         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
26853         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
26855         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26856         Define mkstemp64 as an alias.
26857         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26858         Define mkstemps64 as an alias.
26859         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26860         Define mkostemp64 as an alias.
26861         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
26862         Define mkostemps64 as an alias.
26863         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
26864         Conditionalize body on this.
26865         * misc/mkostemp64.c: Likewise.
26866         * misc/mkostemps64.c: Likewise.
26867         * misc/mkstemps64.c: Likewise.
26868         * sysdeps/wordsize-64/mkstemp64.c: File removed.
26869         * sysdeps/wordsize-64/mkostemp64.c: File removed.
26870         * sysdeps/wordsize-64/mkostemp.c: File removed.
26871         * sysdeps/wordsize-64/mkstemp.c: File removed.
26872         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
26873         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
26874         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
26875         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
26877         [BZ #14138]
26878         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
26879         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
26880         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
26881         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
26883         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
26884         compat_symbol macros from <shlib-compat.h> rather than the underlying
26885         default_symbol_version and symbol_version macros, so that DEFAULT
26886         lines in shlib-versions are respected.
26887         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
26889 2012-08-01  Florian Weimer  <fweimer@redhat.com>
26891         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
26892         Declare with warn_unused_result.
26893         (setgid, setregid, setegid, setresgid): Likewise.
26894         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
26895         Likewise.
26896         * WUR-REPORT: Remove set*id functions.
26898 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
26900         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
26902 2012-07-31  Roland McGrath  <roland@hack.frob.com>
26904         [BZ #10191]
26905         * include/sys/socket.h (__libc_accept, __libc_accept4):
26906         Add attribute_hidden.
26907         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
26909         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
26910         use of PTR_MANGLE.
26911         * inet/getnetgrent_r.c (setup): Likewise.
26913         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
26915 2012-07-31  David S. Miller  <davem@davemloft.net>
26917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26919 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
26921         [BZ #13629]
26922         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
26923         value between 1.0 and 2.0 and smaller part has absolute value less
26924         than 1.0.
26925         * math/s_clog10.c (__clog10): Likewise.
26926         * math/s_clog10f.c (__clog10f): Likewise.
26927         * math/s_clog10l.c (__clog10l): Likewise.
26928         * math/s_clogf.c (__clogf): Likewise.
26929         * math/s_clogl.c (__clogl): Likewise.
26930         * math/libm-test.inc (clog_test): Add more tests.
26931         (clog10_test): Likewise.
26932         * sysdeps/i386/fpu/libm-test-ulps: Update.
26933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26935 2012-07-31  Florian Weimer  <fweimer@redhat.com>
26937         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
26938         Exit with zero in case no suitable GID is found, and write a
26939         message to standard error.
26941 2012-07-30  Roland McGrath  <roland@hack.frob.com>
26943         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
26944         rather than to 1.
26945         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
26946         (MAXPATHLEN): Removed.
26947         (NOGROUP, NODEV): New macros.
26948         (setbit, clrbit, isset, isclr): New macros.
26949         (howmany, roundup, powerof2): New macros.
26950         (DEV_BSIZE): New macro.
26952         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
26953         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
26955         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
26956         definition on [!__NO_LONG_DOUBLE_MATH].
26958         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
26959         PTR_MANGLE and PTR_DEMANGLE.
26961         * socket/accept4.c (accept4): Rename to __libc_accept4.
26962         Define accept4 as a weak alias.
26964         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
26965         on [_DIRENT_HAVE_D_TYPE].
26966         * io/ftw.c (ftw_dir): Likewise.
26968         * io/xmknod.c (__xmknod): Don't check PATH for being null.
26970         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
26972         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
26973         Use the BSD numbers rather than the arbitrary ones we had.
26974         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
26975         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
26976         (SIGXCPU, SIGXFSZ): New macros.
26977         (_NSIG): Now 32.
26979         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
26980         initializer on [_LIBC_REENTRANT].
26982         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
26983         definitions inside [_POSIX_MAPPED_FILES].
26985         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
26987         * dirent/opendir.c: Include <fcntl.h>.
26989         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
26990         (__libc_getspecific): Likewise.
26991         (__libc_key_create): Likewise.
26993         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
26994         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
26995         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
26996         (tmpfile64): Define as alias.
26997         * sysdeps/wordsize-64/tmpfile.c: File removed.
26998         * sysdeps/wordsize-64/tmpfile64.c: File removed.
26999         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27000         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27002         * stdio-common/vfscanf.c: Include <stdbool.h>.
27003         * nss/makedb.c: Likewise.
27004         * stdio-common/_i18n_number.h: Likewise.
27005         * argp/argp-help.c: Likewise.
27006         * posix/wordexp.c: Likewise.
27007         * sysdeps/posix/spawni.c: Likewise.
27008         * nss/nss_files/files-initgroups.c: Likewise.
27009         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27010         * nss/nss_files/files-initgroups.c: Likewise.
27011         * nss/nss_db/db-netgrp.c: Likewise.
27012         * nss/nss_db/db-initgroups.c: Likewise.
27013         * io/fchmodat.c: Include <sys/stat.h>.
27015         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27016         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27018         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27019         [HAVE_MMAP].
27021         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27022         Add multiple inclusion protection.
27024 2012-07-27  David S. Miller  <davem@davemloft.net>
27026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27028 2012-07-27  Gary Benson  <gbenson@redhat.com>
27030         [BZ #14298]
27031         * elf/rtld.c: Include <stap-probe.h>.
27032         (dl_main): Added static probes "init_start" and "init_complete".
27033         * elf/dl-load.c: Include <stap-probe.h>.
27034         (lose): Take new parameter "nsid".
27035         Added static probe "map_failed".
27036         (_dl_map_object_from_fd): Pass namespace id to lose.
27037         Added static probe "map_start".
27038         (open_verify): Pass namespace id to lose.
27039         * elf/dl-open.c: Include <stap-probe.h>.
27040         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27041         and "reloc_complete".
27042         * elf/dl-close.c: Include <stap-probe.h>.
27043         (_dl_close_worker): Added static probes "unmap_start" and
27044         "unmap_complete".
27045         * elf/rtld-debugger-interface.txt: New file documenting the above.
27047 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27049         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27050         rather than a string variable.
27051         * sunrpc/rpc_main.c (h_output): Likewise.
27052         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27054 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27056         * inet/check_native.c: New file.
27058 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27060         [BZ #13629]
27061         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27062         if larger part has absolute value 1.0.
27063         * math/s_clog10.c (__clog10): Likewise.
27064         * math/s_clog10f.c (__clog10f): Likewise.
27065         * math/s_clog10l.c (__clog10l): Likewise.
27066         * math/s_clogf.c (__clogf): Likewise.
27067         * math/s_clogl.c (__clogl): Likewise.
27068         * math/libm-test.inc (clog_test): Add more tests.
27069         (clog10_test): Likewise.
27070         * sysdeps/i386/fpu/libm-test-ulps: Update.
27071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27073         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27074         (pltexit): Likewise.
27075         (La_regs): Likewise.
27076         (La_retval): Likewise.
27077         (int_retval): Likewise.
27078         Update #error for removed macros to refer only to definitions in
27079         tst-audit.h.
27080         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27081         macro.
27082         (pltexit): Likewise.
27083         (La_regs): Likewise.
27084         (La_retval): Likewise.
27085         (int_retval): Likewise.
27086         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27087         macro.
27088         (pltexit): Likewise.
27089         (La_regs): Likewise.
27090         (La_retval): Likewise.
27091         (int_retval): Likewise.
27092         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27093         macro.
27094         (pltexit): Likewise.
27095         (La_regs): Likewise.
27096         (La_retval): Likewise.
27097         (int_retval): Likewise.
27098         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27099         macro.
27100         (pltexit): Likewise.
27101         (La_regs): Likewise.
27102         (La_retval): Likewise.
27103         (int_retval): Likewise.
27104         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27105         macro.
27106         (pltexit): Likewise.
27107         (La_regs): Likewise.
27108         (La_retval): Likewise.
27109         (int_retval): Likewise.
27110         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27111         macro.
27112         (pltexit): Likewise.
27113         (La_regs): Likewise.
27114         (La_retval): Likewise.
27115         (int_retval): Likewise.
27116         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27117         macro definitions in tst-audit.h.
27118         * sysdeps/i386/tst-audit.h: New file.
27119         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27120         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27121         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27122         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27123         * sysdeps/sh/tst-audit.h: Likewise.
27124         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27125         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27126         * sysdeps/x86_64/tst-audit.h: Likewise.
27128 2012-07-26  Andreas Jaeger  <aj@suse.de>
27130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27131         ptrace.
27133         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27134         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27135         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27136         PTRACE_O_MASK.
27137         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27138         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27139         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27141         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27142         value.
27144         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27145         _sigsys.
27146         (si_call_addr, si_syscall, si_arch): Define new macro.
27147         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27148         _sigsys.
27149         (si_call_addr, si_syscall, si_arch): Define new marcro.
27150         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27151         _sigsys.
27152         (si_call_addr, si_syscall, si_arch): Define new macro.
27153         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27154         _sigsys.
27155         (si_call_addr, si_syscall, si_arch): Define new macro.
27157 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27159         [BZ #13717]
27160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27161         Change to 2.4.21 where previously 2.4.1.
27162         * sysdeps/unix/sysv/linux/configure: Regenerated.
27163         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27164         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27165         Linux kernel version.
27166         (__ASSUME_STD_AUXV): Remove.
27167         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27168         kernel version.
27169         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27170         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27171         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27172         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27173         (__ASSUME_NETLINK_SUPPORT): Likewise.
27174         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27175         (__no_netlink_support): Remove conditional definition.
27176         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27177         Remove.
27178         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27179         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27180         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27181         (if_nameindex_ioctl): Remove.
27182         (if_nameindex_netlink): Do not handle __no_netlink_support.
27183         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27184         code.
27185         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27186         Remove conditional code.
27187         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27188         code.
27189         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27190         unconditional.
27191         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27192         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27193         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27194         Remove.
27195         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27196         [!__ASSUME_STD_AUXV]: Remove conditional code.
27197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27198         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27199         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27201         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27202         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27203         code.
27204         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27206         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27207         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27208         conditional code.
27209         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27211         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27212         code.
27213         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27214         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27215         conditional code.
27216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27217         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27218         code unconditional.
27219         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27220         conditional code.
27221         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27222         unconditional.
27223         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27224         conditional code.
27225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27226         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27227         unconditional.
27228         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27229         conditional code.
27230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27231         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27232         code unconditional.
27233         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27234         conditional code.
27235         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27236         unconditional.
27237         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27238         conditional code.
27239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27240         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27241         code unconditional.
27242         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27243         conditional code.
27244         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27245         unconditional.
27246         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27247         conditional code.
27249 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27251         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27252         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27253         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27254         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27255         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27256         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27257         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27258         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27259         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27260         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27261         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27262         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27263         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27264         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27265         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27266         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27267         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27268         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27269         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27270         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27271         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27272         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27273         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27275 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27277         * Versions.def: Add GLIBC_2.17.
27278         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27279         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27280         Introduce __libc_secure_getenv.
27281         * stdlib/Versions (2.17): Add secure_getenv
27282         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27283         * stdlib/secure-getenv.c: Rename __secure_getenv to
27284         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27285         symbol __secure_getenv for GLIBC_2.0.
27286         * stdlib/tst-secure-getenv.c: New.
27287         * stdlib/Makefile (tests): Add testcase.
27288         * manual/startup.texi (Environment Access): Document
27289         secure_getenv.
27290         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27291         __libc_secure_getenv.
27292         * inet/ruserpass.c (ruserpass): Likewise.
27293         * malloc/mtrace.c (mtrace): Likewise.
27294         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27295         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27296         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27297         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27298         HAVE_SECURE_GETENV.
27299         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27300         __secure_getenv to __libc_secure_getenv.
27301         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27303         Likewise.
27304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27305         Likewise.
27306         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27309         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27310         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27314 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27316         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27317         (struct La_i86_retval): Likewise.
27318         (struct La_x86_64_regs): Likewise.
27319         (struct La_x86_64_retval): Likewise.
27320         (struct La_x32_regs): Likewise.
27321         (struct La_x32_retval): Likewise.
27322         (struct La_ppc32_regs): Likewise.
27323         (struct La_ppc32_retval): Likewise.
27324         (struct La_ppc64_regs): Likewise.
27325         (struct La_ppc64_retval): Likewise.
27326         (struct La_sh_regs): Likewise.
27327         (struct La_sh_retval): Likewise.
27328         (struct La_s390_32_regs): Likewise.
27329         (struct La_s390_32_retval): Likewise.
27330         (struct La_s390_64_regs): Likewise.
27331         (struct La_s390_64_retval): Likewise.
27332         (struct La_sparc32_regs): Likewise.
27333         (struct La_sparc32_retval): Likewise.
27334         (struct La_sparc64_regs): Likewise.
27335         (struct La_sparc64_retval): Likewise.
27336         (struct audit_ifaces): Remove architecture-specific pltenter and
27337         pltexit members.
27338         * sysdeps/i386/ldsodefs.h: New file.
27339         * sysdeps/powerpc/ldsodefs.h: Likewise.
27340         * sysdeps/s390/ldsodefs.h: Likewise.
27341         * sysdeps/sh/ldsodefs.h: Likewise.
27342         * sysdeps/sparc/ldsodefs.h: Likewise.
27343         * sysdeps/x86_64/ldsodefs.h: Likewise.
27345 2012-07-25  Marek Polacek  <polacek@redhat.com>
27347         [BZ #6808]
27348         * math/libm-test.inc (yn_test): Add another test.
27349         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27350         to ERANGE when the result is +-Inf.
27351         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27352         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27353         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27354         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27356 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27358         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27359         equal to 0.
27360         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27361         clock_t.
27362         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27364 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27366         * configure.in <sysdeps resolving>: Correct printing
27367         Implies_before.
27368         * configure: Regenerate.
27370 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27372         * math/w_ilogb.c: Include <limits.h>.
27373         * math/w_ilogbl.c: Likewise.
27375 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27377         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27378         va_copy.  Document allowing for unavailable va_copy only as
27379         pre-C99 compatibility.
27380         * manual/string.texi (Copying and Concatenation): Use va_copy
27381         instead of __va_copy in concat example.
27383 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27385         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27386         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27387         it if not null.
27389         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27390         with O_NOLINK passed to __file_name_lookup.
27392         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27393         with O_NOLINK passed to __file_name_lookup.
27395         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27396         negative N or less than NGIDS.
27398         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27399         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27400         enough.  Use memcpy instead of strncpy.
27402 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27404         * elf/Makefile (check-data): Remove.
27405         (localplt.data): New vpath directive.
27406         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27407         instead of $(check-data).
27408         * scripts/data/localplt-generic.data: Move to ...
27409         * sysdeps/generic/localplt.data: ... here.
27410         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27411         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27412         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27414         ... here.
27415         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27417         ... here.
27418         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27420         ... here.
27421         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27423         ... here.
27424         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27426         ... here.
27427         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27428         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27429         ... here.
27431 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27433         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27434         PPC32 and PPC64 files.
27435         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27436         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27438 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27440         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27441         __makecontext_ret to ...
27442         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27443         ... here and call exit if uc_link is NULL.  New file.
27444         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27445         __makecontext_ret.S.
27446         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27447         __makecontext_ret to ...
27448         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27449         ... here and call exit if uc_link is NULL.  New file.
27450         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27451         __makecontext_ret.S.
27453 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27455         * elf/elf.h (R_390_IRELATIVE): New definition.
27456         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27457         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27458         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27459         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27460         (elf_machine_lazy_rel): Likewise.
27461         * sysdeps/s390/dl-irel.h: New file.
27462         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27463         * sysdeps/s390/s390-64/memset.S: New asm code.
27464         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27465         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27466         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27467         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27468         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27469         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27470         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27471         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27472         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27473         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27474         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27475         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27476         * sysdeps/s390/s390-32/memset.S: New asm code.
27477         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27479 2012-07-17  Marek Polacek  <polacek@redhat.com>
27481         [BZ #14349]
27482         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27483         * sysdeps/s390/s390-64/configure.in: Likewise.
27484         * sysdeps/sparc/configure.in: Likewise.
27485         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27486         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27487         * sysdeps/i386/configure.in: Likewise.
27488         * sysdeps/x86_64/configure.in: Likewise.
27489         * sysdeps/sh/configure.in: Likewise.
27490         * sysdeps/s390/s390-32/configure: Regenerated.
27491         * sysdeps/s390/s390-64/configure: Likewise.
27492         * sysdeps/x86_64/configure: Likewise.
27493         * sysdeps/sh/configure: Likewise.
27494         * sysdeps/powerpc/powerpc64/configure: Likewise.
27495         * sysdeps/powerpc/powerpc32/configure: Likewise.
27496         * sysdeps/sparc/configure: Likwise.
27497         * sysdeps/i386/configure: Likewise.
27499         * elf/dl-open.c: Comment fixes.
27501 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27503         * Makefile [CXX] (check-data): Remove.
27504         [CXX] (c++-types.data): New vpath directive.
27505         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27506         vpath.  Do not allow for C++ type data being missing.
27507         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27508         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27509         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27510         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27511         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27512         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27513         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27515         ... here.
27516         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27518         ... here.
27519         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27521         ... here.
27522         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27523         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27524         ... here.
27525         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27527         ... here.
27528         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27529         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27530         ... here.
27531         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27532         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27533         ... here.
27534         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27535         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27537         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27538         definitions to architecture-specific files.
27539         (TLS_IE): Likewise.
27540         (TLS_LD): Likewise.
27541         (TLS_GD): Likewise.
27542         * sysdeps/i386/tls-macros.h: New file.
27543         * sysdeps/powerpc/tls-macros.h: Likewise.
27544         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27545         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27546         * sysdeps/sh/tls-macros.h: Likewise.
27547         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27548         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27549         * sysdeps/x86_64/tls-macros.h: Likewise.
27551 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27553         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27554         zero value for regular exit case.
27556         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27557         (__start_context): Preserve zero value for regular exit case.
27559 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27560             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27562         * manual/setjmp.texi (setcontext): Clarify normal process
27563         termination when uc_link is the null pointer.
27564         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27565         exit call.
27567 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27569         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27570         preprocessor.  Test for each exception mask separately.
27572 2012-07-16  Andreas Jaeger  <aj@suse.de>
27574         * po/ru.po: Update from translation team.
27576 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27578         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27579         equal to 0.
27580         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27581         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27582         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27583         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27584         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27586 2012-07-13  Andreas Jaeger  <aj@suse.de>
27588         * po/fr.po: Update from translation team.
27590 2012-07-12  Marek Polacek  <polacek@redhat.com>
27592         [BZ #14173]
27593         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27594         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27595         loop condition.
27597 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27599         [BZ #13717]
27600         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27601         Change to 2.4.1 where previously 2.4.0.
27602         * sysdeps/unix/sysv/linux/configure: Regenerated.
27603         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27604         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27605         version.
27606         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27607         (__ASSUME_AT_CLKTCK): Remove.
27608         (__ASSUME_AT_PAGESIZE): Likewise.
27609         (__ASSUME_AT_XID): Likewise.
27610         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27611         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27612         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27613         unconditionally.
27614         (HAVE_AUX_PAGESIZE): Likewise.
27615         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27616         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27617         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27619 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27621         [BZ #14307]
27622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27623         the temporary buffer used to invoke __gethostbyname2_r,
27624         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27625         host_data / struct gaih_addrtuple.
27626         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27627         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27628         header file nss/nsswitch.h.
27629         * nss/nsswitch.h (global scope): Add definition of implementation
27630         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27631         resolv/nss_dns/dns-host.c).
27633 2012-07-11  Andreas Jaeger  <aj@suse.de>
27635         * po/fr.po: Update from translation team.
27637         * po/sv.po: Update from translation team
27638         * po/fr.po: Another update from translation team.
27640 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27642         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27643         for subnormals or multiply small sinh result by itself.
27644         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27645         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27647 2012-07-11  David S. Miller  <davem@davemloft.net>
27649         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27651 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27653         [BZ #14347]
27654         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27655         (INTERNAL_MARK): Shift it here.
27657 2012-07-10  Marek Polacek  <polacek@redhat.com>
27659         [BZ #14151]
27660         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27661         libc_cv_asm_global_directive with .globl.
27662         * configure: Regenerated.
27663         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27664         with .globl.
27665         * sysdeps/i386/configure: Regenerated.
27666         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27667         with .globl.
27668         * sysdeps/x86_64/configure: Regenerated.
27669         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27670         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27671         * elf/tst-unique2mod2.c: Likewise.
27672         * elf/tst-unique2mod1.c: Likewise.
27673         * elf/tst-unique1mod2.c: Likewise.
27674         * elf/tst-unique1mod1.c: Likewise.
27675         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27676         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27677         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27678         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27679         * sysdeps/mach/sysdep.h: Likewise.
27680         * sysdeps/i386/sysdep.h: Likewise.
27681         * sysdeps/i386/i386-mcount.S: Likewise.
27682         * sysdeps/x86_64/_mcount.S: Likewise.
27683         * sysdeps/x86_64/sysdep.h: Likewise.
27684         * sysdeps/sh/_mcount.S: Likewise.
27685         * sysdeps/sh/sysdep.h: Likewise.
27686         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27687         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27688         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27689         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27690         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27691         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27692         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27693         * locale/localeinfo.h: Likewise.
27694         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27695         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27697 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27699         [BZ #14336]
27700         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27701         system".
27702         * manual/message.texi (The Uniforum approach): Likewise.
27703         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27704         (glibc iconv Implementation): Likewise.
27706 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27708         [BZ #14337]
27709         * math/s_clog.c (__clog): Avoid scaling a value down where that
27710         could result in underflow.
27711         * math/s_clog10.c (__clog10): Likewise.
27712         * math/s_clog10f.c (__clog10f): Likewise.
27713         * math/s_clog10l.c (__clog10l): Likewise.
27714         * math/s_clogf.c (__clogf): Likewise.
27715         * math/s_clogl.c (__clogl): Likewise.
27716         * math/libm-test.inc (clog_test): Add more tests.
27717         (clog10_test): Likewise.
27718         * sysdeps/i386/fpu/libm-test-ulps: Update.
27719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27721 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27723         [BZ #14283]
27724         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27725         by 7 not 8 to examine high bit of fractional part.
27727         [BZ #14042]
27728         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27729         for call to __mcount_internal.
27730         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27731         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27732         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27734 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27736         [BZ #14154]
27737         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27738         approximation for values within 0x1p-13f of an odd multiple of
27739         pi/4.
27740         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27741         exception.  Add more tests.
27742         * sysdeps/i386/fpu/libm-test-ulps: Update.
27744         [BZ #6778]
27745         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27746         inputs and return -1 for them.  Do not check for +Inf in case not
27747         reachable for +Inf.
27748         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27749         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27750         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27751         and return -1 for them.  Do not check for +Inf in case not
27752         reachable for +Inf.
27753         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27754         define.
27755         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27756         and return -1 for them.  Do not check for +Inf in case not
27757         reachable for +Inf.
27758         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27759         spurious underflow.
27760         * sysdeps/i386/fpu/libm-test-ulps: Update.
27761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27763 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27765         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27767 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27769         [BZ #14157]
27770         [BZ #14331]
27771         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27772         could result in spurious underflow.  Scale down values above
27773         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27774         * math/s_csqrtf.c (__csqrtf): Likewise.
27775         * math/s_csqrtl.c (__csqrtl): Likewise.
27776         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27777         spurious underflow.
27778         * sysdeps/i386/fpu/libm-test-ulps: Update.
27779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27781 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27783         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27784         xopen-msg.sed.
27785         * catgets/xopen-msg.awk: New file.
27786         * catgets/xopen-msg.sed: Removed.
27788         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27789         po2text.sed.
27790         * intl/po2test.awk: New file.
27791         * intl/po2test.sed: Removed.
27793 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27795         [BZ #14328]
27796         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27797         or multiply small sinh result by itself.
27798         * math/s_ctanf.c (__ctanf): Likewise.
27799         * math/s_ctanh.c (__ctanh): Likewise.
27800         * math/s_ctanhf.c (__ctanhf): Likewise.
27801         * math/s_ctanhl.c (__ctanhl): Likewise.
27802         * math/s_ctanl.c (__ctanl): Likewise.
27803         * math/libm-test.inc (ctan_test_tonearest): New function.
27804         (ctan_test_towardzero): Likewise.
27805         (ctan_test_downward): Likewise.
27806         (ctan_test_upward): Likewise.
27807         (ctanh_test_tonearest): Likewise.
27808         (ctanh_test_towardzero): Likewise.
27809         (ctanh_test_downward): Likewise.
27810         (ctanh_test_upward): Likewise.
27811         (main): Call these new functions.
27812         * sysdeps/i386/fpu/libm-test-ulps: Update.
27813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27815 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27817         * .gitignore: Delete /ports entry.
27819 2012-07-03  Andreas Jaeger  <aj@suse.de>
27821         * po/bg.po: Update from translation team.
27822         * po/cs.po: Likewise.
27823         * po/de.po: Likewise.
27824         * po/hr.po: Likewise.
27825         * po/nl.pl: Likewise.
27826         * po/pl.po: Likewise.
27827         * po/vi.po: Likewise.
27829 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27831         * Makeconfig [!+link] (+link-before-libc): New variable.
27832         [!+link] (+link-after-libc): Likewise.
27833         [!+link] (+link-tests): Likewise.
27834         [!+link] (+link): Define in terms of $(+link-before-libc) and
27835         $(+link-after-libc).
27836         [!+link-static] (+link-static-before-libc): New variable.
27837         [!+link-static] (+link-static-after-libc): Likewise.
27838         [!+link-static] (+link-static-tests): Likewise.
27839         [!+link-static] (+link-static): Define in terms of
27840         $(+link-static-before-libc) and $(+link-static-after-libc).
27841         [build-shared] (link-libc-before-gnulib): New variable.
27842         [build-shared] (link-libc-tests): Likewise.
27843         [build-shared] (link-libc): Define in terms of
27844         $(link-libc-before-gnulib).
27845         [!build-shared] (link-libc-tests): New variable.
27846         (link-libc-static-tests): New variable.
27847         [!gnulib] (gnulib-arch): New variable.
27848         [!gnulib] (gnulib-tests): Likewise.
27849         [!gnulib] (static-gnulib-arch): Likewise.
27850         [!gnulib] (static-gnulib-tests): Likewise.
27851         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
27852         Define with "=" instead of ":=".
27853         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
27854         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
27855         * Rules (binaries-all-notests): New variable.
27856         (binaries-all-tests): Likewise.
27857         (binaries-static-notests): Likewise.
27858         (binaries-static-tests): Likewise.
27859         (binaries-all): Define using $(binaries-all-notests) and
27860         $(binaries-all-tests).
27861         (binaries-static): Define using $(binaries-static-notests) and
27862         $(binaries-static-tests).
27863         (binaries-shared-tests): New variable.
27864         (binaries-shared-notests): Likewise.
27865         (binaries-shared): Remove variable.
27866         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
27867         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
27868         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
27869         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
27870         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
27871         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
27872         * elf/Makefile (sln-modules): New variable.
27873         (extra-objs): Add $(sln-modules:=.o).
27874         (ldconfig-modules): Add static-stubs.
27875         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
27876         * elf/static-stubs.c: New file.
27878         [BZ #14283]
27879         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
27880         by 7 not 8 to examine high bit of fractional part.  Use volatile
27881         variables when splitting into final array of floats if
27882         __FLT_EVAL_METHOD__ != 0.
27883         * math/libm-test.inc (cos_test): Add another test.
27884         (sin_test): Likewise.
27885         * sysdeps/i386/fpu/libm-test-ulps: Update.
27887         [BZ #14273]
27888         * math/libm-test.inc (cosh_test): Add more tests.
27890         * version.h (RELEASE): Set to "development".
27891         (VERSION): Set to "2.16.90".
27893 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
27895         * NEWS: Update copyright. Remove last-updated date.
27896         Mention math library bug fixes and timezone data changes.
27897         * README: Mention GNU/Hurd, x32, and HPPA support status.
27899 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
27901         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
27903 2012-06-27  Andreas Jaeger  <aj@suse.de>
27905         * manual/contrib.texi (Contributors): Add Samuel Thibault.
27907 2012-06-25  Andreas Jaeger  <aj@suse.de>
27909         * sysdeps/s390/fpu/libm-test-ulps: Update.
27911 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
27912             Thomas Schwinge  <thomas@codesourcery.com>
27914         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
27915         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
27916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
27917         fanotify_mark.
27919 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
27921         * sysdeps/mach/start.c: Remove file.
27922         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
27923         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
27924         * sysdeps/sh/init-first.c: Likewise.
27926         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
27927         registers for frame unwinding purposes, add CFI directives.
27928         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27929         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
27930         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
27931         Likewise.
27933         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
27934         __fortify_fail returning.
27935         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
27937         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
27938         sysdeps/sh/____longjmp_chk.S.
27939         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
27940         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
27941         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
27942         (gen-as-const-headers): Append sigaltstack-offsets.sym.
27944         * sysdeps/sh/abort-instr.h: New file.
27945         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
27946         process in case exit returns.
27948         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
27949         initialize the GOT register before use.
27951         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
27952         calculation of ARGC > 4.
27954         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
27955         meaningful names to some local labels.
27957 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
27958             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27960         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
27961         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
27962         (__arch_compare_and_exchange_val_16_acq): Likewise.
27963         (__arch_compare_and_exchange_val_32_acq): Likewise.
27964         (atomic_exchange_and_add): Fix gUSA sequence.
27965         (atomic_add): Likewise.
27966         (atomic_add_negative): Likewise.
27967         (atomic_add_zero): Likewise.
27968         (atomic_bit_test_set): Likewise.
27970 2012-06-22  Andreas Schwab  <schwab@redhat.com>
27972         [BZ #13579]
27973         * include/link.h (struct link_map): Add l_free_initfini.
27974         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
27975         l_initfini.
27976         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
27977         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
27978         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
27979         set.
27981 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
27983         * configure.in: Use AC_LANG_SOURCE.
27984         * configure: Regenerate.
27986 2012-06-22  Roland McGrath  <roland@hack.frob.com>
27988         * configure.in (libc_cv_localstatedir): New substituted variable.
27989         * configure: Regenerated.
27990         * config.make.in (localstatedir): New variable, substituted from
27991         libc_cv_localstatedir.
27992         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
27993         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
27994         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
27995         * sysdeps/gnu/configure: Regenerated.
27997 2012-06-21  Jeff Law  <law@redhat.com>
27999         [BZ #14277]
28000         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28001         free.  Simplify list management for _LIBC case.
28003 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28005         [BZ #14273]
28006         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28007         Clear sign bit of 64-bit integer value before comparing against
28008         overflow value.
28010         * sysdeps/mach/configure: Regenerated.
28012 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28014         [BZ #14278]
28015         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28017 2012-06-21  Jeff Law  <law@redhat.com>
28019         [BZ #13882]
28020         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28021         uint16_t for elements in the "seen" array to avoid char overflows.
28022         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28023         * elf/dl-open.c (dl_open_worker): Likewise.
28025 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28027         * scripts/list-sources.sh: Scan PORTS for translations.
28028         * po/libc.pot: Regenerated.
28030 2012-06-21  Andreas Jaeger  <aj@suse.de>
28032         [BZ #12194]
28033         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28034         warning.
28035         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28036         * bits/byteswap-16.h (__bswap_16): Likewise.
28037         * bits/byteswap.h (__bswap_constant_16): Likewise.
28039 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28041         [BZ #14117]
28042         * sysdeps/i386/fpu_control.h: Removed.
28043         * sysdeps/x86_64/fpu_control.h: Moved to ...
28044         * sysdeps/x86/fpu_control.h: Here.
28046         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28047         (_FPU_SETCW): Likewise.
28049 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28051         [BZ #14117]
28052         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28053         * sysdeps/x86/fpu/bits/mathinline.h: This.
28054         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28056         [BZ #14050]
28057         [BZ #14117]
28058         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28059         functions if __x86_64__ is defined.
28061 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28063         * string/endian.h: Add !__ASSEMBLER__ condition for including
28064         conversion interfaces.
28066 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28068         [BZ #14241]
28069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28070         of ABS(x) in calculating zero to negative powers other than odd
28071         integers.
28072         * math/libm-test.inc (pow_test): Add more tests.
28074 2012-06-15  Andreas Jaeger  <aj@suse.de>
28076         * manual/contrib.texi (Contributors): Update entry of Liubov
28077         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28078         Machado Filho.
28080 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28082         * string/string.h: Add __wur to GNU version of strerror_r.
28084 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28086         [BZ #14229]
28087         * string/Makefile (tests): Add tst-strtok_r.
28088         * string/tst-strtok_r.c: New file.
28089         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28090         RAX_LP/RDX_LP on SAVE_PTR.
28092 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28094         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28096 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28098         * libm_test.inc (csqrt_test): Allow more spurious underflow
28099         exceptions.
28100         (j0_test): Likewise.
28101         (j1_test): Likewise.
28102         (y0_test): Likewise.
28103         (y1_test): Likewise.
28105 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28107         * po/Makefile (libc.pot): Use UTF-8 charset.
28109 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28111         [BZ #14210]
28112         Suppress sign-conversion warning from FD_SET.
28113         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28114         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28115         not unsigned long int.
28116         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28118 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28120         [BZ #14050]
28121         [BZ #14117]
28122         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28123         __extern_always_inline instead of __extern_inline.
28124         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28125         (__signbit): Likewise.
28126         (__signbitl): Support C++ namespace.
28127         (lrintf): New inline function.
28128         (lrint): Likewise.
28129         (llrintf): Likewise.
28130         (llrint): Likewise.
28131         (fmaxf): Likewise.
28132         (fmax): Likewise.
28133         (fminf): Likewise.
28134         (fmin): Likewise.
28135         (rint): Likewise.
28136         (rintf): Likewise.
28137         (ceil): Likewise.
28138         (ceilf): Likewise.
28139         (floor): Likewise.
28140         (floorf): Likewise.
28141         (nearbyint): Likewise.
28142         (nearbyintf): Likewise.
28144 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28146         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28147         non-default versions.
28149 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28151         [BZ #14218]
28152         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28154 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28156         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28157         (FE_UPWARD, FE_DOWNWARD): Don't define.
28158         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28159         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28161         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28162         reading it.
28163         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28164         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28166 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28168         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28169         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28170         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28171         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28173 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28175         [BZ #14117]
28176         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28177         * sysdeps/i386/fpu/Implies: New file.
28178         * sysdeps/x86_64/fpu/Implies: Likewise.
28179         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28180         * sysdeps/x86/fpu/bits/fenv.h: This.
28182         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28183         __SSE_MATH__.
28185 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28187         [BZ #14134]
28188         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28189         character 0xffff that matches the last element of the
28190         conversion table.
28192 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28194         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28195         fmodl commit.
28197 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28199         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28200         values higher than 25.6283.
28202 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28204         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28205         subnormal exponent extraction and add some __builtin_expect.
28206         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28207         Fix for subnormal mantissa calculation.
28209 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28211         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28212         cpu2 is -1 and errno is not ENOSYS.
28214 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28216         [BZ #14117]
28217         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28218         * sysdeps/x86/bits/string.h: This.
28219         * sysdeps/x86_64/bits/string.h: Removed.
28221         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28222         if not compiling for x86-64, but compiling for >= i486.
28224         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28225         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28227         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28228         New macro from Linux kernel 3.4.0.
28229         (FP_XSTATE_MAGIC2): Likewise.
28230         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28231         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28232         (struct _fpx_sw_bytes): New struct.
28233         (struct _xsave_hdr): Likewise.
28234         (struct _ymmh_state): Likewise.
28235         (struct _xstate): Likewise.
28237         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28238         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28239         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28240         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28241         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28242         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28244         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28245         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28246         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28247         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28248         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28249         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28251 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28253         [BZ #13743]
28254         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28255         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28256         (sysdep_headers): Include sys/platform/ppc.h.
28257         * sysdeps/powerpc/test-gettimebase.c: Test for
28258         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28259         * manual/Makefile (appendices): Include platform.texi.
28260         * manual/contrib.texi (Contributors): Update @node pointers.
28261         * manual/maint.texi (Maintenance): Likewise.
28262         (Platform): New node.
28263         * manual/platform.texi: New file.  Document the new features.
28265 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28266             Jakub Jelinek  <jakub@redhat.com>
28268         [BZ #14188]
28269         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28270         where __builtin_expect is unavailable.
28272 2012-06-03  David S. Miller  <davem@davemloft.net>
28274         * stdlib/longlong.h: Updated from GCC.
28276 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28278         [BZ #14042]
28279         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28280         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28281         __mcount_internal.
28282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28283         (GLIBC_2.16): Likewise.
28285 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28287         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28289 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28292         (default-abi): New variable.
28293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28294         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28295         variable.
28296         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28297         Likewise.
28298         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28299         Likewise.
28300         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28301         Likewise.
28303         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28304         definition.  Document in comment.
28306 2012-06-01  David S. Miller  <davem@davemloft.net>
28308         * stdlib/longlong.h: Updated from GCC.
28310 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28312         [BZ #14117]
28313         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28314         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28315         sys/debugreg.h sys/io.h here.
28316         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28317         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28318         sys/io.h.
28319         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28320         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28321         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28322         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28323         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28324         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28326         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28327         Define only if __x86_64__ is defined.
28329 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28331         [BZ #14048]
28332         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28333         Use int64_t for variable i.
28334         * math/libm-test.inc (fmod_test): Add more tests.
28336         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28337         z computation is not scheduled after fetestexcept.
28338         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28339         Use math_force_eval instead of asm to ensure calculation scheduled
28340         before exception test.
28341         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28342         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28344 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28346         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28347         computation is not scheduled after fetestexcept.
28349 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28351         [BZ #14117]
28352         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28353         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28355 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28357         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28358         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28360 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28362         [BZ #14117]
28363         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28364         <bits/wordsize.h>.
28365         (__WCHAR_MIN): Support __WORDSIZE == 64.
28366         (__WCHAR_MAX): Likewise.
28368         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28369         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28371         [BZ #14183]
28372         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28373         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28375         [BZ #14117]
28376         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28377         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28379         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28380         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28382         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28383         Defined to 1 if __x86_64__ isn't defined.
28384         (_STAT_VER_LINUX_OLD): New.
28385         (st_atime): Remove duplicate.
28386         (st_mtime): Likewise.
28387         (st_ctime): Likewise.
28389 2012-05-31  David S. Miller  <davem@davemloft.net>
28391         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28392         entries.
28394 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28396         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28397         gen-libm-test.pl.
28399         [BZ #14132]
28400         * elf/dl-reloc.c: Include <_itoa.h>.
28401         (_dl_reloc_bad_type): Remove use of INTUSE.
28402         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28403         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28404         * stdio-common/psiginfo.c (psiginfo): Likewise.
28405         * stdio-common/psignal.c (psignal): Likewise.
28406         * string/strsignal.c (strsignal): Likewise.
28407         * include/signal.h (_sys_siglist): Declare hidden proto.
28408         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28409         INTVARDEF with libc_hidden_data_def.
28410         * stdio-common/itoa-udigits.c: Likewise.
28411         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28412         (_itoa_lower_digits_internal): Remove declaration.
28413         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28414         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28415         (_sys_sigabbrev_internal): Remove aliases.
28416         (_sys_siglist): Define hidden alias.
28418 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28421         bits/sysctl.h.
28423 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28425         [BZ #14117]
28426         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28427         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28429         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28430         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28431         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28432         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28433         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28434         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28436         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28437         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28438         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28440         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28441         with __addr.
28442         (insw): Likewise.
28443         (insl): Likewise.
28444         (outsb): Likewise.
28445         (outsw): Likewise.
28446         (outsl): Likewise.
28448         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28449         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28450         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28452         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28453         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28454         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28455         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28456         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28457         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28459         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28460         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28462         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28463         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28465         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28466         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28467         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28469         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28470         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28471         to ...
28472         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28474         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28475         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28476         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28478         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28479         for x86-64.
28480         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28482 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28484         * math/math.h (M_El): Use two more decimal places.
28485         (M_LOG2El): Likewise.
28486         (M_LOG10El): Likewise.
28487         (M_LN2l): Likewise.
28488         (M_LN10l): Likewise.
28489         (M_PIl): Likewise.
28490         (M_PI_2l): Likewise.
28491         (M_PI_4l): Likewise.
28492         (M_1_PIl): Likewise.
28493         (M_2_PIl): Likewise.
28494         (M_2_SQRTPIl): Likewise.
28495         (M_SQRT2l): Likewise.
28496         (M_SQRT1_2l): Likewise.
28498 2012-05-31  David S. Miller  <davem@davemloft.net>
28500         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28501         values between float registers.
28502         * sysdeps/sparc/sparc64/memset.S: Likewise.
28503         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28505 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28507         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28508         -D_FORTIFY_SOURCE=1.
28509         (CPPFLAGS-tst-longjmp_chk.c): Define.
28510         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28511         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28512         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28513         CFLAGS-tst-wchar-h.c.
28515 2012-05-31  Marek Polacek  <polacek@redhat.com>
28517         [BZ #14132]
28518         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28519         __endmntent_internal): Remove declaration.
28520         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28521         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28522         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28524 2012-05-30  David S. Miller  <davem@davemloft.net>
28526         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28527         (___Q_simulate_exceptions): Use real FP ops rather than writing
28528         into the %fsr.
28529         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28530         Likewise.
28532 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28534         [BZ #14117]
28535         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28536         * sysdeps/x86/bits/xtitypes.h: This.
28538         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28539         * sysdeps/x86/bits/wordsize.h: This.
28541         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28542         * sysdeps/x86/bits/huge_vall.h: This.
28544         * sysdeps/i386/bits/select.h: Removed.
28545         * sysdeps/x86_64/bits/select.h: Renamed to ...
28546         * sysdeps/x86/bits/select.h: This.
28548         * sysdeps/i386/bits/setjmp.h: Removed.
28549         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28550         * sysdeps/x86/bits/setjmp.h: This.
28552         * sysdeps/i386/bits/mathdef.h: Removed.
28553         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28554         * sysdeps/x86/bits/mathdef.h: This.
28556 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28558         [BZ #14132]
28559         * include/sys/socket.h (__connect_internal)
28560         (__libc_sa_len_internal): Remove declaration.
28561         (__connect, __libc_sa_len): Declare hidden_proto.
28562         (SA_LEN): Remove use of INTUSE.
28563         * socket/connect.c: Add libc_hidden_def.
28564         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28565         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28566         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28567         alias.
28568         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28569         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28570         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28571         of adding _internal alias.
28573 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28575         [BZ #14117]
28576         * sysdeps/i386/bits/link.h: Removed.
28577         * sysdeps/i386/bits/linkmap.h: Likewise.
28578         * sysdeps/x86_64/bits/link.h: Renamed to ...
28579         * sysdeps/x86/bits/link.h: This.
28580         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28581         * sysdeps/x86/bits/linkmap.h: This.
28583         * sysdeps/i386/bits/endian.h: Removed.
28584         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28585         * sysdeps/x86/bits/endian.h: This.
28587         * sysdeps/i386/bits/byteswap.h: Removed.
28588         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28589         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28590         * sysdeps/x86/bits/byteswap.h: This.
28591         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28592         * sysdeps/x86/bits/byteswap-16.h: This.
28593         * sysdeps/i386/Implies: Add x86.
28594         * sysdeps/x86_64/Implies: Likewise.
28596 2012-05-30  David S. Miller  <davem@davemloft.net>
28598         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28599         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28600         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28601         (FP_TRAPPING_EXCEPTIONS): Define.
28602         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28603         (FP_TRAPPING_EXCEPTIONS): Define.
28604         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28605         subnormals only when inexact has been signalled or underflow
28606         exceptions are enabled.
28607         (_FP_PACK_CANONICAL): Likewise.
28609 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28611         [BZ #14183]
28612         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28613         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28615 2012-05-30  Richard Henderson  <rth@twiddle.net>
28617         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28618         with #ifndef NOT_IN_libc.
28620         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28621         marked to avoid plt entry.
28623 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28625         [BZ #14112]
28626         * Makeconfig (default-abi): New macro.
28627         (abi-includes): Likewise.
28628         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28629         $(abi-$(default-abi)-lib-soname) for soname if defined.
28630         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28631         abi-variants.
28632         * Makefile (installed-stubs): Likewise.
28633         * include/stubs-biarch.h: Removed.
28634         * scripts/lib-names.awk: Only handle one library at a time.
28635         * scripts/soversions.awk: Remove WORDSIZE support.
28636         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28637         entries.
28638         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28639         Removed.
28640         (syscall-list-default-condition): Likewise.
28641         (syscall-list-default-condition): Likewise.
28642         (syscall-list-includes): Likewise.
28643         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28644         syscall-list-* with abi-*.  Handle undefined abi-variants.
28645         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28646         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28647         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28648         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28649         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28650         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28651         Removed.
28652         (syscall-list-32-options): Likewise.
28653         (syscall-list-32-condition): Likewise.
28654         (syscall-list-64-options): Likewise.
28655         (syscall-list-64-condition): Likewise.
28656         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28657         macro.
28658         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28659         Renamed to ...
28660         (abi-*): This.
28661         (abi-64-ld-soname): New macro.
28662         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28663         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28664         Renamed to ...
28665         (abi-*): This.
28666         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28667         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28669 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28671         * sysdeps/unix/sysv/linux/kernel-features.h
28672         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28673         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28674         include <kernel-features.h>.
28675         [!__NR_ftruncate64]: Remove conditional code.
28676         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28677         [__NR_ftruncate64]: Make code unconditional.
28678         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28679         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28680         include <kernel-features.h>.
28681         [!__NR_ftruncate64]: Remove conditional code.
28682         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28683         [__NR_ftruncate64]: Make code unconditional.
28684         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28686         include <kernel-features.h>.
28687         [!__NR_ftruncate64]: Remove conditional code.
28688         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28689         [__NR_ftruncate64]: Make code unconditional.
28690         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28692         include <kernel-features.h>.
28693         [!__NR_ftruncate64]: Remove conditional code.
28694         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28695         [__NR_ftruncate64]: Make code unconditional.
28696         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28698         * configure.in (libc_cv_fpie): Weaken to a compile test using
28699         LIBC_TRY_CC_OPTION.
28700         * configure: Regenerated.
28702 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28708         Refreshed.
28709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28710         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28712         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28714         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28715         Refreshed.
28717 2012-05-27  David S. Miller  <davem@davemloft.net>
28719         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28720         (___Q_zero): New.
28721         (__Q_simulate_exceptions): Return void.  Change to simulate
28722         exceptions by writing into the %fsr.
28723         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28724         (__Qp_handle_exceptions): Likewise.
28725         (numbers): Delete.
28726         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28727         __Qp_handle_exceptions.
28728         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28729         __Qp_handle_exceptions.
28730         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28731         as unused and give dummy FP_RND_NEAREST initializer.
28732         (FP_INHIBIT_RESULTS): Define.
28733         (___Q_simulate_exceptions): Update declaration.
28734         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28735         formatting.
28736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28737         as unused and give dummy FP_RND_NEAREST initializer.
28738         (__Qp_handle_exceptions): Update declaration.
28739         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28740         formatting.
28742 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28744         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28745         the temporary FPU control word.
28746         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28747         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28748         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28749         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28750         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28751         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28752         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28753         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28754         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28755         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28756         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28758 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28760         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28761         fields.
28763 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28765         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28766         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28767         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28768         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28769         Likewise.
28770         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28771         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28772         Likewise.
28774 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28776         * po/h.po: Update from translation team.
28778 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28780         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28782         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28783         handling of denormals.
28784         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28785         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28786         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28787         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28789         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28791         Likewise.
28793 2012-05-26  Marek Polacek  <polacek@redhat.com>
28795         [BZ #14152]
28796         * math/libm-test.inc (fma_test): Don't always expect underflow
28797         exception.
28799 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28801         [BZ #12416]
28802         * elf/tst-execstack.c: Include stackinfo.h.
28803         (do_test): Adjust test case to ensure that pthread_getattr_np
28804         behaviour remains the same after marking stack executable.
28806 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28808         * sysdeps/unix/sysv/linux/kernel-features.h
28809         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28810         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28811         kernel-features.h.
28812         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28813         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28814         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28815         kernel-features.h.
28816         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28817         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28819 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28821         * configure.in: Define the default includes to being none.
28822         * configure: Regenerated.
28824 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28826         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28827         * sysdeps/x86_64/setjmp.S: Likewise.
28828         * sysdeps/i386/bsd-setjmp.S: Likewise.
28829         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28830         * sysdeps/i386/setjmp.S: Likewise.
28831         * sysdeps/i386/__longjmp.S: Likewise.
28832         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28833         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28835         * include/stap-probe.h: New file.
28836         * configure.in: Handle --enable-systemtap.
28837         * configure: Regenerated.
28838         * config.h.in (USE_STAP_PROBE): New #undef.
28839         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28840         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28841         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28843 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28845         [BZ #13717]
28846         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
28847         to 2.4.0 where earlier.
28848         * sysdeps/unix/sysv/linux/configure: Regenerated.
28849         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28850         <kernel-features.h>.
28851         [__ASSUME_32BITUIDS]: Make code unconditional.
28852         [!__ASSUME_32BITUIDS]: Remove conditional code.
28853         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
28854         <kernel-features.h>.
28855         [__ASSUME_32BITUIDS]: Make code unconditional.
28856         [!__ASSUME_32BITUIDS]: Remove conditional code.
28857         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
28858         [__ASSUME_32BITUIDS]: Make code unconditional.
28859         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
28860         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
28861         <kernel-features.h>.
28862         [__ASSUME_32BITUIDS]: Make code unconditional.
28863         [!__ASSUME_32BITUIDS]: Remove conditional code.
28864         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
28865         <kernel-features.h>.
28866         [__ASSUME_32BITUIDS]: Make code unconditional.
28867         [!__ASSUME_32BITUIDS]: Remove conditional code.
28868         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
28869         <kernel-features.h>.
28870         [__ASSUME_32BITUIDS]: Make code unconditional.
28871         [!__ASSUME_32BITUIDS]: Remove conditional code.
28872         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
28873         <kernel-features.h>.
28874         [__ASSUME_32BITUIDS]: Make code unconditional.
28875         [!__ASSUME_32BITUIDS]: Remove conditional code.
28876         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28877         <kernel-features.h>.
28878         [__ASSUME_32BITUIDS]: Make code unconditional.
28879         [!__ASSUME_32BITUIDS]: Remove conditional code.
28880         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28881         <kernel-features.h>.
28882         [__ASSUME_32BITUIDS]: Make code unconditional.
28883         [!__ASSUME_32BITUIDS]: Remove conditional code.
28884         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
28885         <kernel-features.h>.
28886         [__ASSUME_32BITUIDS]: Make code unconditional.
28887         [!__ASSUME_32BITUIDS]: Remove conditional code.
28888         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28889         <kernel-features.h>.
28890         [__ASSUME_32BITUIDS]: Make code unconditional.
28891         [!__ASSUME_32BITUIDS]: Remove conditional code.
28892         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28893         <kernel-features.h>.
28894         [__ASSUME_32BITUIDS]: Make code unconditional.
28895         [!__ASSUME_32BITUIDS]: Remove conditional code.
28896         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
28897         <kernel-features.h>.
28898         [__ASSUME_32BITUIDS]: Make code unconditional.
28899         [!__ASSUME_32BITUIDS]: Remove conditional code.
28900         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
28901         <kernel-features.h>.
28902         [__NR_setresgid] (__setresgid): Do not declare.
28903         [__ASSUME_32BITUIDS]: Make code unconditional.
28904         [!__ASSUME_32BITUIDS]: Remove conditional code.
28905         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
28906         <kernel-features.h>.
28907         [__NR_setresuid] (__setresuid): Do not declare.
28908         [__ASSUME_32BITUIDS]: Make code unconditional.
28909         [!__ASSUME_32BITUIDS]: Remove conditional code.
28910         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/setregid.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/setresgid.c: Do not include
28931         <kernel-features.h>.
28932         [__ASSUME_32BITUIDS]: Make code unconditional.
28933         [!__ASSUME_32BITUIDS]: Remove conditional code.
28934         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
28935         <kernel-features.h>.
28936         [__ASSUME_32BITUIDS]: Make code unconditional.
28937         [!__ASSUME_32BITUIDS]: Remove conditional code.
28938         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
28939         <kernel-features.h>.
28940         [__ASSUME_32BITUIDS]: Make code unconditional.
28941         [!__ASSUME_32BITUIDS]: Remove conditional code.
28942         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
28943         <kernel-features.h>.
28944         [__ASSUME_32BITUIDS]: Make code unconditional.
28945         [!__ASSUME_32BITUIDS]: Remove conditional code.
28946         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28947         <kernel-features.h>.
28948         [__ASSUME_32BITUIDS]: Make code unconditional.
28949         [!__ASSUME_32BITUIDS]: Remove conditional code.
28950         * sysdeps/unix/sysv/linux/kernel-features.h
28951         (__ASSUME_SETRESUID_SYSCALL): Remove.
28952         (__ASSUME_SETRESGID_SYSCALL): Likewise.
28953         (__ASSUME_32BITUIDS): Likewise.
28954         (__ASSUME_LDT_WORKS): Likewise.
28955         (__ASSUME_O_DIRECTORY): Likewise.
28956         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
28957         architecture but not kernel version.
28958         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
28959         (__ASSUME_MMAP2_SYSCALL): Likewise.
28960         (__ASSUME_STAT64_SYSCALL): Likewise.
28961         (__ASSUME_IPC64): Likewise.
28962         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
28963         <kernel-features.h>.
28964         [__ASSUME_32BITUIDS]: Make code unconditional.
28965         [!__ASSUME_32BITUIDS]: Remove conditional code.
28966         * sysdeps/unix/sysv/linux/opendir.c: Do not include
28967         <kernel-features.h>.
28968         [__ASSUME_O_DIRECTORY]: Make code unconditional.
28969         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
28970         132096]: Remove conditional code.
28971         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
28972         * sysdeps/unix/sysv/linux/s390/s390-32/chown.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/s390/s390-32/lchown.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/setegid.c: Do not include
28981         <kernel-features.h>.
28982         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
28983         unconditional.
28984         (__setresgid): Do not declare.
28985         [__ASSUME_32BITUIDS]: Make code unconditional.
28986         [!__ASSUME_32BITUIDS]: Remove conditional code.
28987         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
28988         <kernel-features.h>.
28989         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
28990         unconditional.
28991         (__setresuid): Do not declare.
28992         [__ASSUME_32BITUIDS]: Make code unconditional.
28993         [!__ASSUME_32BITUIDS]: Remove conditional code.
28994         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28995         <kernel-features.h>.
28996         [__ASSUME_32BITUIDS]: Make code unconditional.
28997         [!__ASSUME_32BITUIDS]: Remove conditional code.
28998         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
28999         <kernel-features.h>.
29000         [__ASSUME_32BITUIDS]: Make code unconditional.
29001         [!__ASSUME_32BITUIDS]: Remove conditional code.
29003 2012-05-25  Richard Henderson  <rth@twiddle.net>
29005         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29006         dl_hwcap to ifunc resolver.
29007         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29008         elf_ifunc_invoke.
29009         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29010         dl_hwcap to ifunc resolver.
29011         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29013 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29015         [BZ #14153]
29016         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29017         for |x| <= 2**-26, not 2**-57.
29018         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29019         exception.
29021 2012-05-24  Jeff Law  <law@redhat.com>
29023         * stdio-common/Makefile (tests): Add bug25.
29024         * stdio-common/bug25.c: New test.
29026 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29028         [BZ #13576]
29029         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29030         multiple of MALLOC_ALIGNMENT in size.
29031         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29033 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29035         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29036         Require >= 256.
29037         (FILENAME_MAX): Use macro-int-constant.
29038         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29039         (_IOFBF): Use macro-int-constant.
29040         (_IOLBF): Likewise.
29041         (_IONBF): Likewise.
29042         (SEEK_CUR): Likewise.
29043         (SEEK_END): Likewise.
29044         (SEEK_SET): Likewise.
29045         (TMP_MAX): Likewise.
29046         (EOF): Use macro-int-constant.  Require < 0.
29047         (NULL): Use macro-constant.  Require == 0.
29048         (stdin): Require type to be FILE *.
29049         (stdout): Likewise.
29050         (stderr): Likewise.
29051         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29052         macro-int-constant.
29053         (EXIT_SUCCESS): Likewise.
29054         (NULL): Use macro-constant.  Require == 0.
29055         (RAND_MAX): Use macro-int-constant.
29056         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29057         [C99-based standards] (strtof): Require function.
29058         [C99-based standards] (strtold): Likewise.
29059         [C99-based standards] (strtoll): Likewise.
29060         [C99-based standards] (strtoull): Likewise.
29061         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29062         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29063         [ISO || ISO99 || ISO11] (math.h): Likewise.
29064         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29065         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29066         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29068 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29070         [BZ #14132]
29071         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29072         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29073         * intl/dgettext.c (DCGETTEXT): Likewise.
29074         * intl/gettext.c (DCGETTEXT): Likewise.
29075         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29076         * posix/regex_internal.h (gettext): Likewise.
29077         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29078         Remove declaration.
29079         * include/argz.h (__argz_count_internal)
29080         (__argz_stringify_internal): Remove declaration.
29081         (__argz_count, __argz_stringify): Declare hidden proto.
29082         * intl/dcgettext.c: Remove use of INTDEF.
29083         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29084         * string/argz-stringify.c: Likewise.
29085         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29086         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29087         Declare hidden proto.
29088         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29089         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29090         Declare hidden proto.
29091         * include/stdio.h (__asprintf_internal): Don't declare.
29092         (__asprintf): Don't define as macro.  Declare hidden proto.
29093         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29094         (__fsetlocking): Declare hidden proto.
29095         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29096         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29097         hidden proto.
29098         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29099         (_IO_setlinebuf): Remove use of INTUSE.
29100         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29101         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29102         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29103         Remove declaration.
29104         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29105         (_IO_do_flush): Remove use of INTUSE.
29106         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29107         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29108         (_IO_adjust_column, _IO_least_wmarker)
29109         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29110         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29111         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29112         (_IO_default_doallocate, _IO_wdefault_doallocate)
29113         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29114         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29115         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29116         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29117         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29118         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29119         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29120         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29121         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29122         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29123         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29124         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29125         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29126         proto.
29127         (_IO_flush_all_internal, _IO_adjust_column_internal)
29128         (_IO_default_uflow_internal, _IO_default_finish_internal)
29129         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29130         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29131         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29132         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29133         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29134         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29135         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29136         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29137         (_IO_file_close_internal, _IO_file_close_it_internal)
29138         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29139         (_IO_file_init_internal, _IO_file_attach_internal)
29140         (_IO_file_fopen_internal, _IO_file_read_internal)
29141         (_IO_file_sync_internal, _IO_file_seek_internal)
29142         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29143         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29144         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29145         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29146         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29147         (_IO_list_all_internal, _IO_link_in_internal)
29148         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29149         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29150         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29151         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29152         (_IO_do_write_internal, _IO_padn_internal)
29153         (_IO_getline_info_internal, _IO_getline_internal)
29154         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29155         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29156         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29157         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29158         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29159         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29160         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29161         with libc_hidden_ver, remove use of INTUSE.
29162         * libio/genops.c: Likewise.
29163         * libio/freopen.c: Likewise.
29164         * libio/freopen64.c: Likewise.
29165         * libio/iofclose.c: Likewise.
29166         * libio/iofdopen.c: Likewise.
29167         * libio/iofflush.c: Likewise.
29168         * libio/iofflush_u.c: Likewise.
29169         * libio/iofgets.c: Likewise.
29170         * libio/iofgets_u.c: Likewise.
29171         * libio/iofopen.c: Likewise.
29172         * libio/iofopncook.c: Likewise.
29173         * libio/iofread.c: Likewise.
29174         * libio/iofread_u.c: Likewise.
29175         * libio/ioftell.c: Likewise.
29176         * libio/iofwrite.c: Likewise.
29177         * libio/iogetline.c: Likewise.
29178         * libio/iogets.c: Likewise.
29179         * libio/iogetwline.c: Likewise.
29180         * libio/iopadn.c: Likewise.
29181         * libio/iopopen.c: Likewise.
29182         * libio/ioseekoff.c: Likewise.
29183         * libio/ioseekpos.c: Likewise.
29184         * libio/iosetbuffer.c: Likewise.
29185         * libio/iosetvbuf.c: Likewise.
29186         * libio/ioungetc.c: Likewise.
29187         * libio/ioungetwc.c: Likewise.
29188         * libio/iovdprintf.c: Likewise.
29189         * libio/iovsprintf.c: Likewise.
29190         * libio/iovsscanf.c: Likewise.
29191         * libio/memstream.c: Likewise.
29192         * libio/obprintf.c: Likewise.
29193         * libio/oldfileops.c: Likewise.
29194         * libio/oldiofclose.c: Likewise.
29195         * libio/oldiofdopen.c: Likewise.
29196         * libio/oldiofopen.c: Likewise.
29197         * libio/oldiopopen.c: Likewise.
29198         * libio/oldstdfiles.c: Likewise.
29199         * libio/putc.c: Likewise.
29200         * libio/setbuf.c: Likewise.
29201         * libio/setlinebuf.c: Likewise.
29202         * libio/stdfiles.c: Likewise.
29203         * libio/strops.c: Likewise.
29204         * libio/vasprintf.c: Likewise.
29205         * libio/vscanf.c: Likewise.
29206         * libio/vsnprintf.c: Likewise.
29207         * libio/vswprintf.c: Likewise.
29208         * libio/wfiledoalloc.c: Likewise.
29209         * libio/wfileops.c: Likewise.
29210         * libio/wgenops.c: Likewise.
29211         * libio/wmemstream.c: Likewise.
29212         * libio/wstrops.c: Likewise.
29213         * libio/__fpurge.c: Likewise.
29214         * libio/__fsetlocking.c: Likewise.
29215         * assert/assert.c: Likewise.
29216         * debug/fgets_chk.c: Likewise.
29217         * debug/fgets_u_chk.c: Likewise.
29218         * debug/fread_chk.c: Likewise.
29219         * debug/fread_u_chk.c: Likewise.
29220         * debug/gets_chk.c: Likewise.
29221         * debug/obprintf_chk.c: Likewise.
29222         * debug/vasprintf_chk.c: Likewise.
29223         * debug/vdprintf_chk.c: Likewise.
29224         * debug/vsnprintf_chk.c: Likewise.
29225         * debug/vsprintf_chk.c: Likewise.
29226         * malloc/mtrace.c: Likewise.
29227         * misc/error.c: Likewise.
29228         * misc/syslog.c: Likewise.
29229         * stdio-common/asprintf.c: Likewise.
29230         * stdio-common/fxprintf.c: Likewise.
29231         * stdio-common/getw.c: Likewise.
29232         * stdio-common/isoc99_fscanf.c: Likewise.
29233         * stdio-common/isoc99_scanf.c: Likewise.
29234         * stdio-common/isoc99_vfscanf.c: Likewise.
29235         * stdio-common/isoc99_vscanf.c: Likewise.
29236         * stdio-common/isoc99_vsscanf.c: Likewise.
29237         * stdio-common/printf-prs.c: Likewise.
29238         * stdio-common/printf_fp.c: Likewise.
29239         * stdio-common/printf_fphex.c: Likewise.
29240         * stdio-common/printf_size.c: Likewise.
29241         * stdio-common/putw.c: Likewise.
29242         * stdio-common/scanf.c: Likewise.
29243         * stdio-common/sprintf.c: Likewise.
29244         * stdio-common/tmpfile.c: Likewise.
29245         * stdio-common/vfprintf.c: Likewise.
29246         * stdio-common/vfscanf.c: Likewise.
29247         * stdlib/strfmon_l.c: Likewise.
29248         * sunrpc/openchild.c: Likewise.
29249         * sunrpc/xdr_stdio.c: Likewise.
29250         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29251         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29253 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29255         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29257         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29258         in the third column, to generate for the shared library an IFUNC
29259         that uses _dl_vdso_vsym.
29260         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29261         * Makeconfig (object-suffixes-noshared): New variable.
29263         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29264         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29265         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29266         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29268         [BZ #14132]
29269         * include/sys/time.h (__gettimeofday): Remove macro.
29270         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29271         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29272         Remove INTDEF.
29273         (__gettimeofday): Add libc_hidden_def.
29274         (gettimeofday): Add libc_hidden_weak.
29275         * sysdeps/mach/gettimeofday.c: Likewise.
29276         * sysdeps/posix/gettimeofday.c: Likewise.
29277         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29278         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29279         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29280         (__gettimeofday_internal): Remove strong_alias.
29281         (__gettimeofday): Add libc_hidden_def.
29282         (gettimeofday): Add libc_hidden_weak.
29283         * sysdeps/unix/syscalls.list (gettimeofday):
29284         Remove __gettimeofday_internal alias.
29286 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29287             H.J. Lu  <hongjiu.lu@intel.com>
29289         [BZ #12495]
29290         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29291         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29292         (largebin_index_32_big): New.
29293         (largebin_index): Use it for 16-byte alignment.
29294         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29295         correction with front_misalign.
29297 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29301         Likewise.
29302         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29303         Likewise.
29304         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29305         Likewise.
29306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29307         Likewise.
29308         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29309         Likewise.
29310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29311         Likewise.
29312         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29313         Likewise.
29314         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29315         Likewise.
29316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29317         Likewise.
29318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29319         Likewise.
29320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29321         Likewise.
29322         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29323         Likewise.
29325         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29326         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29328 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29330         [BZ #10846]
29331         [BZ #14036]
29332         * math/libm-test.inc (exp_test): Add test from bug 14036.
29333         (pow_test): Add test from bug 10846.
29335         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29336         and other flags.
29337         (special_function): Do not include flags in test name.
29338         (parse_args): Likewise.
29339         * sysdeps/i386/fpu/libm-test-ulps: Update.
29340         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29341         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29342         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29345         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29346         exceptions.
29347         * math/libm-test.inc ("Philosophy"): Update comment about
29348         exception testing.
29349         (UNDERFLOW_EXCEPTION): New macro.
29350         (UNDERFLOW_EXCEPTION_OK): Likewise.
29351         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29352         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29353         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29354         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29355         (INVALID_EXCEPTION_OK): Update value.
29356         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29357         (OVERFLOW_EXCEPTION_OK): Likewise.
29358         (IGNORE_ZERO_INF_SIGN): Likewise.
29359         (test_exceptions): Handle underflow exceptions.
29360         (acos_test): Update for underflow exception expectations.
29361         (cexp_test): Likewise.
29362         (clog_test): Likewise.
29363         (clog10_test): Likewise.
29364         (csqrt_test): Likewise.
29365         (ctan_test): Likewise.
29366         (ctanh_test): Likewise.
29367         (exp_test): Likewise.
29368         (exp10_test): Likewise.
29369         (exp2_test): Likewise.
29370         (expm1_test): Likewise.
29371         (fma_test): Likewise.
29372         (j0_test): Likewise.
29373         (jn_test): Likewise.
29374         (nexttoward_test): Likewise.
29375         (pow_test): Likewise.
29376         (scalbn_test): Likewise.
29377         (scalbln_test): Likewise.
29378         (tan_test): Likewise.
29379         (y1_test): Likewise.
29380         * sysdeps/i386/fpu/libm-test-ulps: Update.
29381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29383 2012-05-23  David S. Miller  <davem@davemloft.net>
29385         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29386         (__libc_sigaction): Remove unused local variables.
29388 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29390         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29392 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29394         mktime: avoid signed integer overflow
29395         * time/mktime.c (__mktime_internal): Do not mishandle the case
29396         where diff == INT_MIN.
29398         mktime: simplify computation of average
29399         * time/mktime.c (ranged_convert): Use new time_t_avg function
29400         instead of rolling our own (probably-slower) code.
29402         mktime: do not assume signed right shift propagates sign bit
29403         * time/mktime.c (isdst_differ): New static function.
29404         (__mktime_internal): No need to normalize tm_isdst now.
29405         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29406         tm_isdst values.
29408         mktime: merge another wrapv change from gnulib
29409         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29410         from some compilers.
29412         mktime: remove incorrect attempt at unusual arithmetics
29413         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29414         The code didn't really work on such machines anyway.
29415         (TYPE_MINIMUM): Assume two's complement.
29416         (twos_complement_arithmetic): Verify that long_int and time_t
29417         are two's complement (or unsigned, in the latter case).
29419         mktime: check signed shifts on long_int and time_t, too
29420         * time/mktime.c (SHR): Check that shifts work as desired
29421         on the types long_int and time_t too, as SHR is used on
29422         such types.
29424         mktime: do not assume 'long' is wide enough
29425         * time/mktime.c (verify): Move decl up.
29426         (long_int): New type.
29427         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29428         to remove assumption in the code that 'long' is wide enough to
29429         store year values.  This assumption is not true on x32 and on
29430         some non-glibc platforms.
29432         mktime: merge wrapv change from gnulib
29433         * time/mktime.c (WRAPV): New macro.
29434         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29435         (guess_time_tm, __mktime_internal): Do not assume that signed
29436         integer overflow wraps around; modern compilers generate code
29437         where this assumption is no longer valid.
29439 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29441         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29442         Replace "jmp L(pseudo_end)" with "ret".
29443         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29444         Likewise.
29446 2012-05-23  Andreas Jaeger  <aj@suse.de>
29448         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29449         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29451 2012-05-23  Andreas Jaeger  <aj@suse.de>
29452             Maximilian Attems  <max@stro.at>
29454         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29455         New macros.
29457 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29459         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29460         code so that pseudo_end is just ret and the stack pointer is
29461         correct also for static library in error case.
29463 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29465         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29466         move to syscalls.list.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29472         * manual/install.texi (Running make install): Do not mention Linux
29473         kernel version for which pt_chown is not needed.
29474         (Linux): Do not mention problems with nscd with 2.0 kernels.
29475         * INSTALL: Regenerated.
29477 2012-05-23  Andreas Jaeger  <aj@suse.de>
29479         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29480         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29481         macro.
29482         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29483         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29484         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29485         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29486         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29487         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29488         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29489         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29490         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29491         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29492         * sysdeps/unix/sysv/linux/bits/in.h
29493         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29495 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29497         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29498         (PREPARE_VERSION): Just use assert instead, it will be elided
29499         under [NDEBUG] anyway.
29501 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29503         * sysdeps/unix/sysv/linux/Makefile: Include
29504         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29505         (sysdep_routines): Remove sysctl.
29506         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29507         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29508         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29509         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29510         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29512 2012-05-22  Andreas Jaeger  <aj@suse.de>
29514         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29515         that pseudo_end is just ret and the stack pointer is correct also
29516         for static library in error case.
29518 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29520         [BZ #14122]
29521         * nss/nsswitch.c (defconfig_entries): New variable.
29522         (__nss_database_lookup): Don't leak defconfig entries.
29523         (nss_parse_service_list): Don't leak on error paths.
29524         (free_database_entries): New function.
29525         (free_defconfig): New function.
29526         (free_mem): Move common code to free_database_entries.
29528 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29530         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29531         Add arch_prctl.
29532         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29534         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29535         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29536         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29537         New macro.
29538         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29539         (INTERNAL_SYSCALL_TYPES): Likewise.
29540         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29541         (LOAD_REGS_TYPES_[1-6]): Likewise.
29542         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29543         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29545 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29547         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29548         copysignl for GLIBC_2_0.
29549         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29550         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29551         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29552         logbl for GLIBC_2_0.
29553         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29554         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29556 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29558         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29559         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29561         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29562         Use "neg %eax".
29564         * time/mktime.c: Update copyright years.
29566 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29568         mktime: merge comment-quoting-style change from gnulib
29569         * time/mktime.c: Quote 'like this' in comments.
29570         The GNU coding standards suggest that we no longer quote `like this',
29571         as "`" and "'" are typically rendered asymmetrically nowadays.
29572         The typical gnulib style is to quote 'like this' when quoting
29573         code, and "like this" when quoting English.
29575         * time/mktime.c (compile-command): Add "-I.".
29577         mktime: merge mktime-internal.h change from gnulib
29578         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29580         mktime: merge time_r change from gnulib
29581         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29583         mktime: merge DEBUG change from gnulib
29584         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29585         case system <time.h> has a #define.
29587         mktime: merge <sys/types.h> change from gnulib
29588         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29589         since <time.t> is now guaranteed to define time_t.
29591         mktime: merge HAVE_CONFIG_H change from gnulib
29592         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29594 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29596         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29597         Use "neg %eax".
29599         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29600         __rlim_t cast.
29601         (struct rusage): Use anonymous union to pad each field to
29602         __syscall_slong_t.
29604 2012-05-21  David S. Miller  <davem@davemloft.net>
29606         * Makefules (o-iterator): Remove .s cases.
29607         (compile-command.s): Delete.
29608         (COMPILE.s): Delete.
29609         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29611 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29613         * configure.in (libc_cv_predef_stack_protector): Only consider
29614         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29615         * configure: Regenerated.
29617 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29619         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29620         New macro.  Use R*LP on int and pointer.
29621         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29622         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29623         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29624         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29626         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29627         [__WORDSIZE_TIME64_COMPAT32] instead of
29628         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29629         (struct utmp): Likewise.
29630         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29631         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29632         Renamed to ...
29633         (__WORDSIZE_TIME64_COMPAT32): This.
29634         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29635         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29636         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29637         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29638         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29639         (__WORDSIZE_TIME64_COMPAT32): New macro.
29641 2012-05-21  Andreas Jaeger  <aj@suse.de>
29643         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29644         only if [SHARED]. Add prototype for __wcschr_ia32.
29646 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29648         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29649         of %rbp unmolested in the jmp_buf while mangling the low bits.
29650         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29651         unmolested high bits of %rbp while demangling the low bits.
29652         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29654 2012-05-21  Andreas Jaeger  <aj@suse.de>
29656         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29657         * sunrpc/svc_simple.c: Use it for registerrpc.
29658         * sunrpc/xcrypt.c: Use it for passwd2des.
29660         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29662 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29664         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29665         Don't define if [__SYSCALL_WORDSIZE != 32].
29666         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29667         New macro.
29669 2012-05-21  Bruno Haible  <bruno@clisp.org>
29670             Andreas Jaeger  <aj@suse.de>
29672         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29673         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29674         inptr and inend for must_buffer_ch.
29675         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29676         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29677         * stdio-common/Makefile (tests): Remove bug15.
29678         (bug15-ENV): Remove macro.
29679         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29680         anymore.
29682 2012-05-19  Andreas Jaeger  <aj@suse.de>
29683             Roland McGrath  <roland@hack.frob.com>
29685         * manual/contrib.texi: Completely rewritten. It contains now an
29686         alphabetical list of contributors and their contributions.
29688 2012-05-21  Richard Henderson  <rth@twiddle.net>
29690         * misc/getauxval.c (__getauxval): Use unsigned long int.
29691         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29692         (getauxval): Use unsigned long int.
29694 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29696         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29698 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29700         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29701         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29702         __alignof__ (long double).
29704 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29708 2012-05-20  Richard Henderson  <rth@twiddle.net>
29710         * misc/getauxval.c: New file.
29711         * misc/sys/auxv.h: New file.
29712         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29713         (routines): Add getauxval.
29714         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29715         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29716         * elf/dl-sysdep.c (_dl_auxv): Remove.
29717         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29718         * elf/dl-support.c (_dl_auxv): New variable.
29719         (_dl_aux_init): Initialize it.
29720         * manual/startup.texi (Auxiliary Vector): New node.
29721         * sysdeps/generic/bits/hwcap.h: New file.
29722         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29723         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29724         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29725         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29726         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29729         Update.
29730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29734         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29739 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29741         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29743 2012-05-19  David S. Miller  <davem@davemloft.net>
29745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29747 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29749         [BZ #14123]
29750         * math/s_ccosh.c: Include <float.h>
29751         (__ccosh): Avoid internal overflow calculating sinh and cosh
29752         values before multiplying by sin and cos values.
29753         * math/s_ccoshf.c: Likewise.
29754         * math/s_ccoshl.c: Likewise.
29755         * math/s_csin.c: Likewise.
29756         * math/s_csinf.c: Likewise.
29757         * math/s_csinl.c: Likewise.
29758         * math/s_csinh.c: Likewise.
29759         * math/s_csinhf.c: Likewise.
29760         * math/s_csinhl.c: Likewise.
29761         * math/libm-test.inc (ccos_test): Add more tests.
29762         (ccosh_test): Likewise.
29763         (csin_test): Likewise.
29764         (csinh_test): Likewise.
29765         * sysdeps/i386/fpu/libm-test-ulps: Update.
29766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29768 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29770         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29771         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29773         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29775 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29777         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29778         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29779         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29780         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29781         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29782         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29783         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29784         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29785         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29786         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29787         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29788         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29789         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29790         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29791         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29792         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29793         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29794         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29795         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29796         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29797         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29798         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29799         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29800         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29801         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29802         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29803         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29804         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29805         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29806         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29807         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29809 2012-05-18  Andreas Jaeger  <aj@suse.de>
29811         * csu/.gitignore: Delete.
29813 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29815         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29816         (timex): Use __syscall_slong_t.
29818 2012-05-18  Andreas Jaeger  <aj@suse.de>
29819             Carlos O'Donell  <carlos_odonell@mentor.com>
29821         * manual/install.texi (Configuring and compiling): Update
29822         description about files modified in the source directory.
29823         * INSTALL: Regenerated.
29825 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29827         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29828         value.  Use "or" to set return value to -1.
29829         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29830         negate return value.
29832 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29834         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29835         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29836         failure if the compiler has Graphite support disabled.
29837         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29838         Likewise.
29839         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29840         (CFLAGS-memmove.c): Likewise.
29841         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
29842         Likewise.
29844 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29846         * sysdeps/x86_64/x32/_itoa.h: New file.
29848         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
29849         getdents system call only if kernel and user dirents have the
29850         same d_ino and d_off.
29852         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29853         LLONG_MAX != LONG_MAX.
29854         (_itoa_word): Use _ITOA_WORD_TYPE on value.
29855         (_fitoa_word): Likewise.
29857         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
29858         years.
29859         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
29860         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
29861         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
29863         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
29864         include <bits/wordsize.h>.  Check __x86_64__ instead of
29865         __WORDSIZE.
29866         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
29867         if __x86_64__ is defined.  Use anonymous union on fpstate.
29869         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
29870         anonymous union.
29872 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
29874         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
29875         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
29876         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
29877         Refer to _rtld_local_ro instead of _rtld_global_ro.
29878         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
29879         Likewise.
29880         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
29881         Likewise.
29882         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
29883         Likewise.
29884         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
29885         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
29886         of _rtld_global, and rtld_progname instead of _dl_argv[0].
29888         * sysdeps/powerpc/powerpc32/dl-machine.c
29889         (__elf_machine_runtime_setup) [PROF]: Don't reference
29890         _dl_prof_resolve.
29892 2012-05-18  Andreas Jaeger  <aj@suse.de>
29894         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
29895         function only available for GCCs before 3.4 since GCC 3.4
29896         introduced a builtin.
29897         (lrint): Likewise.
29898         (llrintf): Likewise.
29899         (llrint): Likewise.
29900         (fmaxf): Likewise.
29901         (fmax): Likewise.
29902         (fminf): Likewise.
29903         (fmin): Likewise.
29904         (rint): Likewise.
29905         (rintf): Likewise.
29906         (nearbyint): Likewise.
29907         (nearbyintf): Likewise.
29908         (ceil): Likewise.
29909         (ceilf): Likewise.
29910         (floor): Likewise.
29911         (floorf): Likewise.
29913 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29915         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
29916         on both fields and cast pointer to __syscall_ulong_t.
29918         * bits/types.h (__fsword_t): New type.
29919         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
29920         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
29921         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29922         (__FSWORD_T_TYPE): Likewise.
29923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29924         (__FSWORD_T_TYPE): Likewise.
29925         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29926         (__FSWORD_T_TYPE): Likewise.
29927         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
29928         (__FSWORD_T_TYPE): Likewise.
29929         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
29930         __SWORD_TYPE with __fsword_t.
29931         (statfs64): Likewise.
29933 2012-05-17  David S. Miller  <davem@davemloft.net>
29935         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
29937 2012-05-17  Andreas Jaeger  <aj@suse.de>
29939         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
29940         warning.
29942 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29944         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
29946 2012-05-17  Andreas Jaeger  <aj@suse.de>
29948         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
29949         when it is used.
29951 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29953         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
29955 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
29957         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
29958         * sysdeps/x86_64/tst-mallocalign1.c: New file.
29960 2012-05-17  Andreas Jaeger  <aj@suse.de>
29961             Carlos O'Donell  <carlos_odonell@mentor.com>
29963         [BZ #14059]
29964         * sysdeps/x86_64/multiarch/init-arch.h
29965         (bit_YMM_Usable): Rename to...
29966         (bit_AVX_Usable): ... this.
29967         (bit_FMA4_Usable): New macro.
29968         (bit_XMM_state): New macro.
29969         (bit_YMM_state): New macro.
29970         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
29971         [__ASSEMBLER__] (index_AVX_Usable): ... this.
29972         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
29973         (CPUID_OSXSAVE): New macro.
29974         (CPUID_AVX): New macro.
29975         (CPUID_FMA4): New macro.
29976         (index_YMM_Usable): Rename to...
29977         (index_AVX_Usable): ... this.
29978         (HAS_AVX): Use HAS_ARCH_FEATURE.
29979         (HAS_FMA4): Likewise.
29980         (HAS_YMM_USABLE): Remove.
29981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29982         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
29983         are present.
29984         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
29985         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
29986         * sysdeps/x86_64/multiarch/Makefile: Likewise.
29987         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
29988         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
29990 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
29992         * math/libm-test.c: Support platforms without multiple rounding modes.
29993         * math/bug-nextafter.c: Support platforms without FP exceptions.
29994         * math/bug-nexttoward.c: Likewise.
29995         * math/test-fenv.c: Likewise.
29996         * math/test-misc.c: Likewise.
29997         * stdlib/bug-getcontext.c: Likewise.
29999 2012-05-17  Andreas Jaeger  <aj@suse.de>
30001         * manual/examples/search.c (critter_cmp): Change signature to
30002         avoid warnings.
30003         * manual/string.texi (Collation Functions): Likewise.
30005 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30007         * bits/types.h: Fold copyright years.
30008         * bits/typesizes.h: Likewise.
30009         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30010         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30011         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30012         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30013         * time/time.h: Likewise.
30015 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30017         [BZ #208]
30018         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30019         in instead of returning them.  Return void.
30020         (__libc_mallinfo): Accumulate over all arenas.
30021         (__malloc_stats): Adjust for change in int_mallinfo interface.
30023 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30025         [BZ #10375]
30026         * configure.in (NM): Add AC_CHECK_TOOL for it.
30027         (libc_extra_cflags): New substituted variable.
30028         Check for -fstack-protector being used implicitly.
30029         * configure: Regenerated.
30030         * config.make.in (config-extra-cflags): New variable,
30031         gets @libc_extra_cflags@.
30032         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30034         [BZ #10375]
30035         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30036         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30037         * configure: Regenerated.
30038         * config.make.in (CPPUNDEFS): New substituted variable.
30039         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30040         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30041         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30043 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30045         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30046         (mq_attr): Use __syscall_slong_t.
30048 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30050         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30051         Check __x86_64__ instead of __WORDSIZE.
30052         (_STAT_VER_LINUX): Likewise.
30053         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30054         __syscall_ulong_t and __syscall_slong_t.
30055         (stat64): Likewise.
30057 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30059         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30061 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30063         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30065 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30067         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30068         __syscall_ulong_t.
30070         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30071         include <bits/wordsize.h>.  Check __x86_64__ instead of
30072         __WORDSIZE.
30073         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30074         defined.
30075         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30077         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30078         include <bits/wordsize.h>.  Check __x86_64__ instead of
30079         __WORDSIZE.
30080         (user_regs_struct): Use "__extension__ unsigned long long"
30081         instead of "unsigned long" if __x86_64__ is defined.
30082         (user): Likewise.  Pad after pointer field if __ILP32__ is
30083         defined.
30085 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30087         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30088         versions 5 to 9.
30089         * configure: Regenerated.
30090         * manual/install.texi (texinfo): Increase version requirement to
30091         4.5 or later.
30092         * INSTALL: Regenerated.
30094         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30096 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30098         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30100         * sysdeps/x86_64/x32/ffs.c: New file.
30102         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30103         __syscall_ulong_t.
30104         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30105         defined.  Use __syscall_ulong_t.
30106         (shminfo): Use __syscall_ulong_t.
30107         (shm_info): Likewise.
30109         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30110         __syscall_ulong_t.
30112         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30113         <bits/wordsize.h>.
30114         (msgqnum_t): Use __syscall_ulong_t.
30115         (msglen_t): Likewise.
30116         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30117         __syscall_ulong_t.
30119         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30120         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30122         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30124         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30125         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30127         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30128         __syscall_slong_t.
30130         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30131         include <bits/wordsize.h>.  Check __x86_64__ instead of
30132         __WORDSIZE.
30134         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30135         "unsigned long long int" if __x86_64__ is defined.
30136         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30138         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30139         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30140         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30142         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30143         <stdint.h>.
30144         (GET_PC): Cast to uintptr_t first.
30145         (GET_FRAME): Likewise.
30146         (GET_STACK): Likewise.
30148         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30149         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30150         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30151         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30152         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30153         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30154         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30155         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30156         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30157         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30158         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30159         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30160         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30161         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30162         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30163         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30164         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30165         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30166         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30167         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30168         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30169         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30170         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30171         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30172         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30173         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30174         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30175         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30176         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30178 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30180         * Makerules (+depfiles): Also collect depfiles from .oS in
30181         $(extra-objs).
30182         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30183         .oS, $(libnldbl-routines)).
30185         * Makerules (native-compile-mkdep-flags): Define.
30186         * sunrpc/Makefile (extra-objs): Add $(addprefix
30187         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30188         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30189         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30190         calling $(make-target-directory).
30192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30194         * bits/types.h (__snseconds_t): Removed.
30195         * time/time.h (struct timespec): Replace __snseconds_t with
30196         __syscall_slong_t.
30197         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30198         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30199         Likewise.
30200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30201         (__SNSECONDS_T_TYPE): Likewise.
30202         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30203         (__SNSECONDS_T_TYPE): Likewise.
30204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30205         (__SNSECONDS_T_TYPE): Likewise.
30207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30209         * sysdeps/mach/hurd/bits/typesizes.h
30210         (__SYSCALL_SLONG_TYPE): New macro.
30211         (__SYSCALL_ULONG_TYPE): Likewise.
30213 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30215         * bits/types.h (__syscall_slong_t): New type.
30216         (__syscall_ulong_t): Likewise.
30218         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30219         (__SYSCALL_ULONG_TYPE): Likewise.
30220         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30221         (__SYSCALL_SLONG_TYPE): Likewise.
30222         (__SYSCALL_ULONG_TYPE): Likewise.
30223         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30224         (__SYSCALL_SLONG_TYPE): Likewise.
30225         (__SYSCALL_ULONG_TYPE): Likewise.
30226         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30227         (__SYSCALL_SLONG_TYPE): Likewise.
30228         (__SYSCALL_ULONG_TYPE): Likewise.
30230 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30232         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30233         Add sigaltstack-offsets.sym.
30234         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30235         <sigaltstack-offsets.h>.
30236         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30237         longjmp_msg pointer.
30238         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30239         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30240         signal stack.
30241         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30243 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30245         * elf/stackguard-macros.h: Remove file.
30246         * sysdeps/generic/stackguard-macros.h: New file.
30247         * sysdeps/i386/stackguard-macros.h: Likewise.
30248         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30249         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30250         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30251         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30252         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30253         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30254         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30255         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30256         <elf/stackguard-macros.h>.
30258         [BZ #14109]
30259         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30260         __aligned__ in attribute.
30261         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30262         (gregset_t): Likewise.
30264 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30266         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30267         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30268         * sysdeps/x86_64/x32/Implies-after: New file.
30270 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30272         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30273         and access return value for _dl_profile_fixup.  Use R10_LP to
30274         load frame size.
30276 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30278         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30280 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30282         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30283         * sysdeps/x86_64/x32/sysdep.h: New file.
30285 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30287         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30288         * sysdeps/x86_64/setjmp.S: Likewise.
30290 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30292         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30293         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30294         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30295         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30296         remove unused global constant.
30298 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30300         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30301         include of <not-cancel.h>.
30303 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30305         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30307 2012-05-15  Jeff Law  <law@redhat.com>
30308             Andreas Jaeger  <aj@suse.de>
30310         [BZ #13594]
30311         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30312         out from...
30313         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30314         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30315         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30316         code changing __hst_map_handle.map.
30318 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30320         * configure.in (sysnames): Look for Implies-before and Implies-after
30321         files.
30322         * configure: Regenerated.
30324 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30326         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30327         8-byte data alignment with LP_SIZE alignment.
30329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30331         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30332         into R10_LP.
30334 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30336         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30340         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30341         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30342         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30343         Likewise.
30344         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30346 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30348         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30349         (stackinfo_sub_sp): Likewise.
30351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30353         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30354         RAX_LP.
30356 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30358         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30359         into R*_LP.
30361 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30363         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30364         sizes into R*_LP.
30366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30368         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30372         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30373         into R11_LP and load __x86_64_shared_cache_size_half into
30374         R8_LP.
30376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30378         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30379         R8_LP.
30381 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30384         logb for POWER7.
30385         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30386         logbf for POWER7.
30387         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30388         logbl for POWER7.
30389         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30390         powerpc32/power7/fpu/s_logb.c via #include.
30391         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30392         powerpc32/power7/fpu/s_logbf.c via #include.
30393         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30394         powerpc32/power7/fpu/s_logbl.c via #include.
30396 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30398         * README.libm: Remove file.
30400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30402         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30403         count for x32.  Use R*_LP and omit operand-size suffix.
30405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30407         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30408         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30409         * sysdeps/x86_64/x32/shlib-versions: New file.
30411 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30413         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30414         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30415         Use _dl_fatal_printf instead.
30417 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30419         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30420         set if not set by the user.  Do not allow for being unset.
30421         * sysdeps/unix/sysv/linux/configure: Regenerated.
30423 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30425         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30426         the `q' suffix from lea and replace .quad with ASM_ADDR.
30428 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30431         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30432         instead of $17.
30433         (PTR_DEMANGLE): Likewise.
30435 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30437         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30438         (LP_OP): Likewise.
30439         (ASM_ADDR): Likewise.
30440         (RAX_LP): Likewise.
30441         (RBP_LP): Likewise.
30442         (RBX_LP): Likewise.
30443         (RCX_LP): Likewise.
30444         (RDI_LP): Likewise.
30445         (RSI_LP): Likewise.
30446         (RSP_LP): Likewise.
30447         (R8_LP): Likewise.
30448         (R9_LP): Likewise.
30449         (R10_LP): Likewise.
30450         (R10_LP): Likewise.
30451         (R11_LP): Likewise.
30452         (R12_LP): Likewise.
30453         (R13_LP): Likewise.
30454         (R14_LP): Likewise.
30455         (R15_LP): Likewise.
30457 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30459         * sysdeps/x86_64/x32/dl-machine.h: New file.
30461 2012-05-14  Andreas Jaeger  <aj@suse.de>
30463         * manual/Makefile (subdir): Remove export of subdir.
30464         (all): Remove target.
30465         (.PHONY): Remove all from list.
30466         (mkinstalldirs): Remove.
30467         (.PHONY): Remove installdirs from list.
30468         ($(inst_infodir)/libc.info): Use make-target-directory.
30469         (installdirs): Remove.
30470         (subdir_%): Remove.
30471         (glibc-targets): Remove.
30472         (lib): Remove.
30473         (stubs): Remove.
30474         ($(objpfx)stubs ../po/manual.pot): Remove.
30475         ($(objpfx)stamp%): Remove.
30476         (make-target-directory): Remove.
30477         (subdir_install): Remove.
30478         (routines): Remove.
30479         (aux): Remove.
30480         (sources): Remove.
30481         (objects): Remove.
30482         (headers): Remove.
30484         [BZ #13750]
30485         * manual/.gitignore: Remove, it's not needed anymore.
30486         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30487         all files in it.
30488         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30489         directory.
30490         (texis): Renamed to $(objpfx)texis.
30491         (texis-path): New, contains path to generated files.
30492         (chapters.%): Use texis-path for complete path, add extra argument
30493         libc-texinfo.sh.
30494         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30495         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30496         (summary,texi, stamp-summary): Use complete path of
30497         files. Generate files in build dir.
30498         (dir-add.texi): Build in build dir.
30499         (libm-err.texi,stamp-libm-err): Likewise.
30500         (version.texi, stamp-version): Likewise.
30501         (.%c.texi): Likewise.
30502         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30503         (mostlyclean): Remove target.
30504         (realclean): Remove target.
30505         (generated): Add new variable with contents from mostlyclean and
30506         realclean, remove entries duplicated in common-mostlyclean, add
30507         stamp-libm-err and stamp-version.
30508         (generated-dirs): Add libc directory.
30509         ($(inst_infodir)/libc.info): Install files from build dir.
30511         * manual/install.texi (Configuring and compiling): Adjust since
30512         the info files are not part of the tar ball anymore.
30514 2012-05-14  Andreas Jaeger  <aj@suse.de>
30516         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30517         variable.
30519 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30521         [BZ #13717]
30522         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30523         to 2.2.0 where earlier.
30524         * sysdeps/unix/sysv/linux/configure: Regenerated.
30525         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30526         Remove conditional code.
30527         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30528         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30529         Remove conditional code.
30530         [!__NR_lchown]: Likewise.
30531         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30532         [__NR_lchown]: Likewise.
30533         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30534         comment referencing __ASSUME_LCHOWN_SYSCALL.
30535         * sysdeps/unix/sysv/linux/i386/sigaction.c
30536         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30537         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30538         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30539         Remove conditional code.
30540         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30541         (__protocol_available): Remove #if 0 code.
30542         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30543         conditional code.
30544         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30545         * sysdeps/unix/sysv/linux/kernel-features.h
30546         (__ASSUME_GETCWD_SYSCALL): Don't define.
30547         (__ASSUME_REALTIME_SIGNALS): Likewise.
30548         (__ASSUME_PREAD_SYSCALL): Likewise.
30549         (__ASSUME_PWRITE_SYSCALL): Likewise.
30550         (__ASSUME_POLL_SYSCALL): Likewise.
30551         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30552         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30553         non-SPARC.
30554         (__ASSUME_SIOCGIFNAME): Don't define.
30555         (__ASSUME_MSG_NOSIGNAL): Likewise.
30556         (__ASSUME_SENDFILE): Define unconditionally.
30557         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30558         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30559         conditional code.
30560         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30561         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30562         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30563         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30564         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30565         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30566         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30568         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30569         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30571         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30572         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30574         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30575         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30577         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30580         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30581         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30583         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30586         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30587         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30589         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30591         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30592         Remove conditional code.
30593         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30594         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30595         Remove conditional code.
30596         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30597         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30598         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30599         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30600         Remove conditional code.
30601         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30602         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30603         Remove conditional code.
30604         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30605         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30606         Remove conditional code.
30607         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30608         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30609         Remove conditional code.
30610         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30611         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30612         Remove conditional code.
30613         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30614         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30615         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30616         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30617         * sysdeps/unix/sysv/linux/sigaction.c
30618         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30619         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30620         * sysdeps/unix/sysv/linux/sigpending.c
30621         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30622         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30623         * sysdeps/unix/sysv/linux/sigprocmask.c
30624         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30625         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30626         * sysdeps/unix/sysv/linux/sigsuspend.c
30627         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30628         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30629         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30630         (__libc_missing_rt_sigs): Remove.
30631         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30632         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30633         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30634         Remove conditional code.
30635         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30636         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30637         return 1.
30638         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30639         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30640         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30641         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30643 2012-05-14  Andreas Jaeger  <aj@suse.de>
30645         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30646         it's not used in glibc.
30647         (__coshm1): Likewise.
30648         (__acosh1p): Likewise.
30649         (__sgn): Likewise.
30651         * manual/string.texi (Copying and Concatenation): Add missing
30652         variable in concat example.
30653         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30655 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30657         [BZ #14103]
30658         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30659         __builtin_clzl with __builtin_clzll.
30661 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30663         [BZ #14104]
30664         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30665         libc_freeres_ptr.
30667 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30669         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30670         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30671         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30672         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30674 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30676         * NEWS: Update ia64 info.
30678 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30680         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30681         used as bcopy.
30683 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30685         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30686         * sysdeps/unix/syscalls.list (dup3): Likewise.
30687         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30688         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30690 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30692         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30693         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30695 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30697         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30698         thread pointer.
30699         (TLS_IE): Use mov/add instead of movq/addq to load thread
30700         pointer.
30701         (TLS_GD_PREFIX): New.
30702         (TLS_GD): Use it.
30704 2012-05-11  David S. Miller  <davem@davemloft.net>
30706         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30707         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30708         (_FPU_SETCW): Likewise.
30710 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30712         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30713         is 32-byte aligned.
30715 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30717         [BZ #11837]
30718         * iconvdata/gb18030.c: Update tables.
30719         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30720         characters specially.
30721         (BODY for TO_LOOP): Add encoding of missing ranges.
30723 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30725         [BZ #13673]
30726         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30727         * sysdeps/mach/hurd/dup3.c: Likewise.
30728         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30729         * sysdeps/powerpc/memmove.c:: Likewise.
30731 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30733         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30734         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30736 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30738         * elf/elf.h (R_X86_64_RELATIVE64): New.
30739         (R_X86_64_NUM): Updated.
30740         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30741         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30742         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30743         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30744         tst-quad1pie tst-quad2pie
30745         (modules-names): Add tst-quadmod1 tst-quadmod2.
30746         ($(objpfx)tst-quad1): New dependency.
30747         ($(objpfx)tst-quad2): Likewise.
30748         ($(objpfx)tst-quad1pie): Likewise.
30749         ($(objpfx)tst-quad2pie): Likewise.
30750         * sysdeps/x86_64/tst-quad1.c: New file.
30751         * sysdeps/x86_64/tst-quad1pie.c: New file.
30752         * sysdeps/x86_64/tst-quad2.c: Likewise.
30753         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30754         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30755         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30756         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30757         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30759 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30761         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30762         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30763         * streams/stropts.h (t_scalar_t): Define type.
30765         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30766         (_PATH_PRESERVE): Set to "/var/lib".
30767         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30769         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30770         instead of int.
30772         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30773         if __dir_mkfile succeeded.
30775         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30776         checking for _hurd_dtablesize.  Unlock it right after having
30777         finished _hurd_dtable allocation.
30779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30781         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30782         * sysdeps/mach/hurd/configure: Regenerated.
30783         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30784         special-casing to...
30785         * sysdeps/gnu/configure.in: ... this new file.
30786         * sysdeps/unix/sysv/linux/configure: Regenerated.
30787         * sysdeps/gnu/configure: New generated file.
30789         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30790         for Linux: use nsec instead of usec, as well as:
30791         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30792         members of type struct timespec.
30793         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30794         New macros.
30795         (struct stat64): Likewise.
30796         (_STATBUF_ST_NSEC): New macro.
30797         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30799         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30800         __strtoul_internal rather than strtoul.
30802 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30804         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30805         and reject them.
30807 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30809         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30810         which preserves existing values.
30811         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30813 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30815         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30816         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30817         greater than FD_SETSIZE.
30819 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30821         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30822         allocated, call __vm_protect to finish enabling the existing space, and
30823         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30824         allocate the remainder.
30826 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30828         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30829         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30831 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30833         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30834         sysdeps/mach/hurd/readlink.c.
30836         * posix/tst-sysconf.c (posix_options): Only use
30837         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30838         _POSIX_SYNCHRONIZED_IO when they are defined
30839         * sysdeps/mach/hurd/bits/posix_opt.h:
30840         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30841         (_XOPEN_REALTIME): Undefine macro.
30842         (_XOPEN_REALTIME_THREADS): Undefine macro.
30843         (_XOPEN_SHM): Undefine macro.
30844         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
30845         macro to -1.
30846         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
30847         macro to -1.
30848         (_POSIX_ASYNC_IO): Undefine macro.
30849         (_POSIX_PRIORITIZED_IO): Undefine macro.
30850         (_POSIX_SPIN_LOCKS): Define macro to -1.
30852         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
30853         SA_NODEFER, SA_RESETHAND.
30854         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
30855         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
30856         F_DUPFD_CLOEXEC.
30858 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30860         * elf/Makefile (pldd-modules): Define unconditionally.
30862 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30864         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
30866 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30868         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
30869         Return ENOENT when name is empty.
30870         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
30872 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30874         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
30876         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
30878 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30880         Fix mlock in all cases except non-readable pages.
30881         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
30882         instead of VM_PROT_ALL as parameter to __vm_wire function.
30884         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
30885         (__mkdir): When path is `/', just fail with EEXIST.
30886         * sysdeps/mach/hurd/mkdirat.c: Likewise.
30888 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30890         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
30891         <sys/uio.h> (for writev).
30892         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
30893         and <sys/param.h> (for MIN).
30895 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30897         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
30898         REQUESTED_TIME.  Properly set the remaining time and return EINTR
30899         if interrupted.
30901 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30903         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
30904         Depend on against $(link-rpcuserlibs).
30906 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30908         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
30909         (__libc_stack_end): Do not use attribute_relro.
30910         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
30911         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
30912         to libthread-provided value.
30913         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
30914         attribute_relro.
30916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30918         [BZ #3748]
30919         * bits/libc-lock.h (__libc_once_get): New macro.
30920         * sysdeps/mach/bits/libc-lock.h: Likewise.
30921         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
30922         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
30923         instead of using implementation details.
30925         * libio/fileops.c: Unconditionally include <kernel-features.h>.
30926         * libio/freopen.c: Likewise.
30927         * libio/freopen64.c: Likewise.
30928         * misc/syslog.c: Likewise.
30929         * nscd/connections.c: Likewise.
30930         * nscd/netgroupcache.c: Likewise.
30931         * sysdeps/posix/getcwd.c: Likewise.
30933 2012-05-10  Roland McGrath  <roland@hack.frob.com>
30935         * math/w_ilogbf.c: Add #include <limits.h>.
30937 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30939         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
30940         path instead of returning without unlocking.
30942         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
30943         immediate-write ioctls.
30944         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
30946 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30948         * sysdeps/mach/hurd/i386/init-first.c (init): Use
30949         __builtin_frame_address instead of making assumptions about the
30950         location of the return address relative to DATA.  Force early load of
30951         the return address.
30952         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
30953         __builtin_frame_address.
30955         dup3 for GNU Hurd.
30956         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
30957         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
30958         implement dup3 and do some further code clean-ups.
30959         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
30960         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
30962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30964         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
30966         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
30967         HURD_CRITICAL_END around holding _hurd_dtable_lock.
30968         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
30969         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
30970         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
30971         d->port.lock.
30973         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
30974         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
30975         when handler == SIG_ERR, not when handler != SIG_ERR.
30977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30979         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
30980         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
30981         definitions.
30983         accept4 for GNU Hurd.
30984         * include/sys/socket.h (__libc_accept4): New prototype.
30985         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
30986         to implement __libc_accept4.
30987         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
30988         __libc_accept4.
30989         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
30991         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
30992         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
30993         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
30994         signal-defines.sym.
30996 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30998         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31002         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31003         assertion on O_CLOEXEC flag.
31004         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31005         * hurd/intern-fd.c: Likewise.
31006         * hurd/port2fd.c: Likewise.
31008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31010         [BZ #3906]
31011         * bits/in.h (IPV6_PKTINFO): Define new macro.
31012         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31014 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31016         [BZ #13954]
31017         [BZ #13955]
31018         [BZ #13956]
31019         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31020         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31021         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31022         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31023         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31024         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31025         * math/libm-test.inc (logb_test) : Additional logb tests.
31027 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31028             Andreas Jaeger  <aj@suse.de>
31030         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31031         * configure: Regenerated.
31032         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31033         * config.make.in (link-obsolete-rpc): New substituted variable.
31034         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31035         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31036         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31037         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31038         so that libc.a contains the symbols.
31039         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31040         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31041         * sunrpc/auth_none.c: Likewise.
31042         * sunrpc/auth_unix.c: Likewise.
31043         * sunrpc/authdes_prot.c: Likewise.
31044         * sunrpc/authuxprot.c: Likewise.
31045         * sunrpc/clnt_gen.c: Likewise.
31046         * sunrpc/clnt_perr.c: Likewise.
31047         * sunrpc/clnt_raw.c: Likewise.
31048         * sunrpc/clnt_simp.c: Likewise.
31049         * sunrpc/clnt_tcp.c: Likewise.
31050         * sunrpc/clnt_udp.c: Likewise.
31051         * sunrpc/clnt_unix.c: Likewise.
31052         * sunrpc/des_crypt.c: Likewise.
31053         * sunrpc/des_soft.c: Likewise.
31054         * sunrpc/get_myaddr.c: Likewise.
31055         * sunrpc/key_call.c: Likewise.
31056         * sunrpc/key_prot.c: Likewise.
31057         * sunrpc/netname.c: Likewise.
31058         * sunrpc/pm_getmaps.c: Likewise.
31059         * sunrpc/pm_getport.c: Likewise.
31060         * sunrpc/pmap_clnt.c: Likewise.
31061         * sunrpc/pmap_prot.c: Likewise.
31062         * sunrpc/pmap_prot2.c: Likewise.
31063         * sunrpc/pmap_rmt.c: Likewise.
31064         * sunrpc/publickey.c: Likewise.
31065         * sunrpc/rpc_cmsg.c: Likewise.
31066         * sunrpc/rpc_common.c: Likewise.
31067         * sunrpc/rpc_dtable.c: Likewise.
31068         * sunrpc/rpc_prot.c: Likewise.
31069         * sunrpc/rpc_thread.c: Likewise.
31070         * sunrpc/rtime.c: Likewise.
31071         * sunrpc/svc.c: Likewise.
31072         * sunrpc/svc_auth.c: Likewise.
31073         * sunrpc/svc_raw.c: Likewise.
31074         * sunrpc/svc_run.c: Likewise.
31075         * sunrpc/svc_tcp.c: Likewise.
31076         * sunrpc/svc_udp.c: Likewise.
31077         * sunrpc/svc_unix.c: Likewise.
31078         * sunrpc/svcauth_des.c: Likewise.
31079         * sunrpc/xcrypt.c: Likewise.
31080         * sunrpc/xdr.c: Likewise.
31081         * sunrpc/xdr_array.c: Likewise.
31082         * sunrpc/xdr_float.c: Likewise.
31083         * sunrpc/xdr_intXX_t.c: Likewise.
31084         * sunrpc/xdr_mem.c: Likewise.
31085         * sunrpc/xdr_rec.c: Likewise.
31086         * sunrpc/xdr_ref.c: Likewise.
31087         * sunrpc/xdr_sizeof.c: Likewise.
31088         * sunrpc/xdr_stdio.c: Likewise.
31090 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31092         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31093         change.  Update copyright years.
31095 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31097         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31099 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31100             Joseph Myers  <joseph@codesourcery.com>
31101             Paul Pluzhnikov  <ppluzhnikov@google.com>
31103         [BZ #14012]
31104         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31105         requiring rpcgen.
31106         [cross-compiling] (extra-libs): Likewise.
31107         [cross-compiling] (extra-libs-others): Likewise.
31108         [cross-compiling] (librpcsvc-routines): Likewise.
31109         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31110         [cross-compiling] (omit-deps): Likewise.
31111         (sunrpc-CPPFLAGS): New variable.
31112         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31113         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31114         (cross-rpcgen-objs): New variable.
31115         (extra-objs): Append $(cross-rpcgen-objs).
31116         ($(cross-rpcgen-objs)): New rule.
31117         ($(objpfx)cross-rpcgen): Likewise.
31118         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31119         comment.
31120         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31121         ($(objpfx)x%.stmp): Likewise.
31122         * sunrpc/proto.h [IS_IN_build] (_): Define.
31123         [IS_IN_build] (_libc_intl_domainname): Likewise.
31125 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31127         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31128         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31129         and R_X86_64_TPOFF64.
31131 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31133         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31134         sysdeps/unix/sysv/syscalls.list.
31135         (stime): Likewise.
31136         (utime): Likewise.
31137         * sysdeps/unix/sysv/syscalls.list: Remove file.
31139 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31141         [BZ #3440]
31142         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31143         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31144         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31145         (__LC_IDENTIFICATION): Make these macros useful in #if
31146         expressions, as required by C99.
31148 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31150         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31151         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31152         after this.
31154 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31156         * stdlib/longlong.h: Updated from GCC.
31158 2012-05-09  Andreas Jaeger  <aj@suse.de>
31160         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31161         default is first entry.
31162         (run_mode): Set type.
31163         (main): Remove informal message about syslog.
31164         (options): Fix typo.
31166         [BZ #14053]
31167         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31168         to asm.
31169         (lrint): Likewise.
31170         (llrintf): Likewise.
31171         (llrint): Likewise.
31172         (rint): Likewise.
31173         (rintf): Likewise.
31174         (nearbyint): Likewise.
31175         (nearbyintf): Likewise.
31177 2012-05-09  Andreas Jaeger  <aj@suse.de>
31178             Pedro Alves  <palves@redhat.com>
31180         * nscd/nscd.c (run_mode): Use enum.
31181         (main): Cleanup coding style issue.
31183 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31184             Andreas Jaeger  <aj@suse.de>
31186         * nscd/nscd.c (go_background): Replaced with...
31187         (run_mode): ... this.
31188         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31189         (options): Add -F --foreground.
31190         (main): Implement it.
31191         (parse_opt): Parse it.
31193 2012-05-09  Andreas Jaeger  <aj@suse.de>
31195         [BZ #14083]
31196         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31197         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31198         -Wconversion warning.
31199         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31200         Likewise.
31202 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31204         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31205         == 0.
31206         (LC_ALL): Use macro-int-constant.
31207         (LC_COLLATE): Likewise.
31208         (LC_CTYPE): Likewise.
31209         (LC_MESSAGES): Likewise.
31210         (LC_MONETARY): Likewise.
31211         (LC_NUMERIC): Likewise.
31212         (LC_TIME): Likewise.
31213         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31214         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31215         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31216         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31217         Specify type.
31218         [C99-based standards] (float_t): Expect type.
31219         [C99-based standards] (double_t): Expect type.
31220         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31221         type.
31222         [C99-based standards] (HUGE_VALL): Likewise.
31223         [C99-based standards] (INFINITY): Likewise.
31224         [C99-based standards] (NAN): Likewise.
31225         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31226         [C99-based standards] (FP_NAN): Likewise.
31227         [C99-based standards] (FP_NORMAL): Likewise.
31228         [C99-based standards] (FP_SUBNORMAL): Likewise.
31229         [C99-based standards] (FP_ZERO): Likewise.
31230         [C99-based standards] (FP_FAST_FMA): Use
31231         optional-macro-int-constant.  Specify type.  Require == 1.
31232         [C99-based standards] (FP_FAST_FMAF): Likewise.
31233         [C99-based standards] (FP_FAST_FMAL): Likewise.
31234         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31235         [C99-based standards] (FP_ILOGBNAN): Likewise.
31236         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31237         Specify type.
31238         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31239         [C99-based standards] (math_errhandling): Specify type.
31240         [ISO99 || ISO11] (signgam): Do not allow.
31241         [non-C99-based standards] (copysignf): Do not allow.
31242         [non-C99-based standards] (exp2f): Likewise.
31243         [non-C99-based standards] (log2f): Likewise.
31244         [non-C99-based standards] (modff): Allow.
31245         [non-C99-based standards] (erff): Do not allow.
31246         [non-C99-based standards] (erfcf): Likewise.
31247         [non-C99-based standards] (gammaf): Likewise.
31248         [non-C99-based standards] (hypotf): Likewise.
31249         [non-C99-based standards] (j0f): Likewise.
31250         [non-C99-based standards] (j1f): Likewise.
31251         [non-C99-based standards] (jnf): Likewise.
31252         [non-C99-based standards] (lgammaf): Likewise.
31253         [non-C99-based standards] (tgammaf): Likewise.
31254         [non-C99-based standards] (y0f): Likewise.
31255         [non-C99-based standards] (y1f): Likewise.
31256         [non-C99-based standards] (ynf): Likewise.
31257         [non-C99-based standards] (isnanf): Likewise.
31258         [non-C99-based standards] (acoshf): Likewise.
31259         [non-C99-based standards] (asinhf): Likewise.
31260         [non-C99-based standards] (atanhf): Likewise.
31261         [non-C99-based standards] (cbrtf): Likewise.
31262         [non-C99-based standards] (expm1f): Likewise.
31263         [non-C99-based standards] (ilogbf): Likewise.
31264         [non-C99-based standards] (log1pf): Likewise.
31265         [non-C99-based standards] (logbf): Likewise.
31266         [non-C99-based standards] (nextafterf): Likewise.
31267         [non-C99-based standards] (remainderf): Likewise.
31268         [non-C99-based standards] (rintf): Likewise.
31269         [non-C99-based standards] (scalbf): Likewise.
31270         [non-C99-based standards] (copysignl): Likewise.
31271         [non-C99-based standards] (exp2l): Likewise.
31272         [non-C99-based standards] (log2l): Likewise.
31273         [non-C99-based standards] (modfl): Allow.
31274         [non-C99-based standards] (erfl): Do not allow.
31275         [non-C99-based standards] (erfcl): Likewise.
31276         [non-C99-based standards] (gammal): Likewise.
31277         [non-C99-based standards] (hypotl): Likewise.
31278         [non-C99-based standards] (j0l): Likewise.
31279         [non-C99-based standards] (j1l): Likewise.
31280         [non-C99-based standards] (jnl): Likewise.
31281         [non-C99-based standards] (lgammal): Likewise.
31282         [non-C99-based standards] (tgammal): Likewise.
31283         [non-C99-based standards] (y0l): Likewise.
31284         [non-C99-based standards] (y1l): Likewise.
31285         [non-C99-based standards] (ynl): Likewise.
31286         [non-C99-based standards] (isnanl): Likewise.
31287         [non-C99-based standards] (acoshl): Likewise.
31288         [non-C99-based standards] (asinhl): Likewise.
31289         [non-C99-based standards] (atanhl): Likewise.
31290         [non-C99-based standards] (cbrtl): Likewise.
31291         [non-C99-based standards] (expm1l): Likewise.
31292         [non-C99-based standards] (ilogbl): Likewise.
31293         [non-C99-based standards] (log1pl): Likewise.
31294         [non-C99-based standards] (logbl): Likewise.
31295         [non-C99-based standards] (nextafterl): Likewise.
31296         [non-C99-based standards] (remainderl): Likewise.
31297         [non-C99-based standards] (rintl): Likewise.
31298         [non-C99-based standards] (scalbl): Likewise.
31299         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31300         [non-C99-based standards] (FP_*): Do not allow.
31301         [C99-based standards] (FP_*): Change to
31302         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31303         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31304         allow.
31305         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31306         (SIG_ERR): Likewise.
31307         [X/Open-based standards] (SIG_HOLD): Likewise.
31308         (SIG_IGN): Likewise.
31309         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31310         positive value.
31311         (SIGFPE): Likewise.
31312         (SIGILL): Likewise.
31313         (SIGINT): Likewise.
31314         (SIGSEGV): Likewise.
31315         (SIGTER): Likewise.
31316         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31317         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31318         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31319         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31320         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31321         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31322         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31323         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31324         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31325         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31326         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31327         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31328         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31329         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31330         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31331         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31332         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31333         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31334         [X/Open-based standards] (SIGTRAP): Likewise.
31335         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31336         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31337         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31338         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31339         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31340         allow.
31342 2012-05-08  Ian Wienand  <ianw@vmware.com>
31344         [BZ #14080]
31345         * time/tzset.c (__tzset_parse_tz): Update default rules for
31346         daylight time changes in the Energy Policy Act of 2005.
31348 2012-05-09  Andreas Jaeger  <aj@suse.de>
31350         [BZ #13983]
31351         * elf/ldconfig.c (parse_conf): Change string to make clear that
31352         ldconfig only issued a warning if ld.so.conf does not exist.
31354 2012-05-08  David S. Miller  <davem@davemloft.net>
31356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31357         movxtod instead of popping the value on the stack.
31359         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31361 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31363         * config.h.in: Add HAVE_ARM_PCS_VFP.
31365 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31367         [BZ #13979]
31368         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31369         checking but the checks are disabled for any reason.
31371 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31373         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31374         and ELF64_R_TYPE with ELFW(R_TYPE).
31376 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31378         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31379         (ulimit): Likewise.
31381         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31382         (settimeofday): Likewise.
31384 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31386         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31387         a struct th_u2 inside the union, and move tu_block/tu_code into
31388         a new th_u3 union of tu_block/tu_code inside of that.  Move
31389         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31390         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31391         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31392         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31393         (th_stuff): Change to th_u1.tu_stuff.
31394         (th_data): Define.
31395         (th_msg): Change to th_u1.th_u2.tu_data.
31397 2012-05-07  David S. Miller  <davem@davemloft.net>
31399         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31401         [BZ #14074]
31402         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31403         (SETUP_PIC_REG): Use it.
31404         (SETUP_PIC_REG_LEAF): Use it.
31406 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31408         [BZ #13885]
31409         [BZ #13923]
31410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31411         USE_AS_EXPM1L.
31412         (EXPL_FINITE): Likewise.
31413         (FLDLOG): Likewise.
31414         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31415         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31416         e_expl.S.
31417         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31418         USE_AS_EXPM1L.
31419         (EXPL_FINITE): Likewise.
31420         (FLDLOG): Likewise.
31421         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31422         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31423         e_expl.S.
31424         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31425         test of -max_value argument for long double.
31426         * sysdeps/i386/fpu/libm-test-ulps: Update.
31427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31429 2012-05-06  David S. Miller  <davem@davemloft.net>
31431         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31432         quad soft-float symbols whose references which are compiler
31433         generated.
31434         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31436 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31438         [BZ #13884]
31439         [BZ #13914]
31440         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31441         USE_AS_EXP10L.
31442         (EXPL_FINITE): Likewise.
31443         (FLDLOG): Likewise.
31444         (c0): Likewise.
31445         (c1): Likewise.
31446         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31447         Adjust comments for base varying.
31448         (__expl_finite): Change alias to EXPL_FINITE.
31449         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31450         e_expl.S.
31451         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31452         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31453         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31454         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31455         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31456         USE_AS_EXP10L.
31457         (EXPL_FINITE): Likewise.
31458         (FLDLOG): Likewise.
31459         (c0): Likewise.
31460         (c1): Likewise.
31461         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31462         Adjust comments for base varying.
31463         (__expl_finite): Change alias to EXPL_FINITE.
31464         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31465         tests for bugs.
31466         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31468         [BZ #14064]
31469         * math/libm-test.inc (check_float_internal): Correct ulp
31470         calculation for subnormal expected results.
31472 2012-05-06  Andreas Jaeger  <aj@suse.de>
31474         * Makeconfig (+math-flags): New, set to -frounding-math.
31475         (+cflags): Add +math-flags so that all of glibc gets compiled with
31476         it.
31478         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31480 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31482         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31483         Disable one test.
31485         [BZ #13787]
31486         [BZ #13922]
31487         [BZ #14036]
31488         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31489         (__ieee754_expl): Allow for and saturate large arguments.
31490         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31491         (u_threshold): Likewise.
31492         (__exp): Call __ieee754_exp before checking for overflow and
31493         underflow.
31494         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31495         (u_threshold): Likewise.
31496         (__expf): Call __ieee754_expf before checking for overflow and
31497         underflow.
31498         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31499         (u_threshold): Likewise.
31500         (__expl): Call __ieee754_expl before checking for overflow and
31501         underflow.
31502         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31503         (__ieee754_expl): Allow for and saturate large arguments.
31504         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31505         missing overflow exception on overflow.
31506         (expm1_test): Do not allow missing overflow exception on overflow.
31508         * sysdeps/i386/fpu/e_expl.c: Move to ...
31509         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31510         rather than using inline asm.
31511         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31512         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31513         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31515         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31516         (nice): Likewise.
31517         (poll): Likewise.
31518         (signal): Likewise.
31519         (time): Likewise.
31520         (times): Likewise.
31522 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31524         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31525         sysdeps/unix/common/syscalls.list.
31526         (fchmod): Likewise.
31527         (fchown): Likewise.
31528         (ftruncate): Likewise.
31529         (getrusage): Likewise.
31530         (gettimeofday): Likewise.
31531         (setpgid): Likewise.
31532         (setregid): Likewise.
31533         (setreuid): Likewise.
31534         (sigaction): Likewise.
31535         (truncate): Likewise.
31536         (vhangup): Likewise.
31537         * sysdeps/unix/common/syscalls.list: Remove file.
31538         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31539         * sysdeps/unix/sysv/linux/Implies: Likewise.
31541 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31543         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31544         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31545         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31546         Moved to ...
31547         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31548         Here.
31549         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31550         to ...
31551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31552         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31553         to ...
31554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31555         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31556         to ...
31557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31558         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31559         to ...
31560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31561         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31562         to ...
31563         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31564         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31565         to ...
31566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31567         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31568         to ...
31569         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31570         Here.
31571         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31572         to ...
31573         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31574         Here.
31575         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31576         to ...
31577         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31578         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31579         Moved to ...
31580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31581         Here.
31582         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31583         to ...
31584         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31586 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31588         * sysdeps/unix/common/bits/dirent.h: Remove file.
31589         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31591         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31592         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31593         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31594         * sysdeps/unix/bsd/isatty.c: Likewise.
31595         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31596         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31597         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31599 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31601         [BZ #13563]
31602         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31603         long double comparison inaccuracies.
31604         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31607 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31609         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31610         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31612 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31614         [BZ #14049]
31615         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31616         nonzero digits before rounding a hex value.
31617         * stdlib/tst-strtod.c (tests): Add another test.
31619 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31621         * sysdeps/s390/fpu/libm-test-ulps: Update.
31623 2012-05-03  Andreas Jaeger  <aj@suse.de>
31625         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31626         does not get optimized out.
31627         (malloc_opt_barrier): New.
31629 2012-05-03  Andreas Jaeger  <aj@suse.de>
31630             Roland McGrath  <roland@hack.frob.com>
31632         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31633         intermediate file deletion.
31634         (generated): Add .symlist files.
31636 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31638         [BZ #13775]
31639         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31640         Redirect under this condition.
31641         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31642         [__USE_GNU] (__dprintf_chk): Not under this condition.
31643         [__USE_GNU] (__vdprintf_chk): Likewise.
31644         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31645         under this condition.
31646         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31647         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31648         [__USE_XOPEN2K8] (vdprintf): Likewise.
31649         [__USE_GNU] (__dprintf_chk): Not under this condition.
31650         [__USE_GNU] (__vdprintf_chk): Likewise.
31651         [__USE_GNU] (dprintf): Likewise.
31652         [__USE_GNU] (vdprintf): Likewise.
31654 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31656         * elf/Makefile (common-generated): Set this instead of generated for
31657         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31658         $(all-built-dso)-derived lists.
31660 2012-05-03  Andreas Jaeger  <aj@suse.de>
31662         * sysdeps/i386/fpu/libm-test-ulps: Update.
31664         * FAQ: Removed.
31665         * FAQ.in: Likewise.
31666         * scripts/gen-FAQ.pl: Likewise.
31667         * manual/install.texi (Installation): Point to online location of
31668         FAQ.
31669         * Makefile (files-for-dist): Remove FAQ.
31670         (FAQ): Remove.
31672 2012-05-02  Allan McRae  <allan@archlinux.org>
31674         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31675         (LDFLAGS-reldepmod5.so): Likewise.
31676         (LDFLAGS-reldep6mod1.so): Likewise.
31677         (LDFLAGS-reldep6mod4.so): Likewise.
31678         (LDFLAGS-reldep8mod3.so): Likewise.
31679         (LDFLAGS-unload4mod1.so): Likewise.
31680         (LDFLAGS-unload4mod2.so): Likewise.
31681         (LDFLAGS-tst-initorder): Likewise.
31682         (LDFLAGS-tst-initordera2.so): Likewise.
31683         (LDFLAGS-tst-initordera3.so): Likewise.
31684         (LDFLAGS-tst-initordera4.so): Likewise.
31685         (LDFLAGS-tst-initorderb2.so): Likewise.
31686         (LDFLAGS-noload): Likewise.
31687         (LDFLAGS-next): Likewise.
31688         (LDFLAGS-order2mod1.so): Likewise.
31689         (LDFLAGS-order2mod2.so): Likewise.
31690         (LDFLAGS-tst-initorder2): Likewise.
31691         (LDFLAGS-tst-initorder2a.so): Likewise.
31692         (LDFLAGS-tst-initorder2b.so): Likewise.
31693         (LDFLAGS-tst-initorder2c.so): Likewise.
31694         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31696 2012-05-02  David S. Miller  <davem@davemloft.net>
31698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31700 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31702         [BZ #14055]
31703         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31705 2012-05-02  Andreas Jaeger  <aj@suse.de>
31707         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31708         since we manipulate rounding mode.
31709         (CPPFLAGS-test-idouble.c): Likewise.
31710         (CPPFLAGS-test-ifloat.c): Likewise.
31711         (CFLAGS-test-ldouble.c): Likewise.
31712         (CFLAGS-test-double.c): Likewise.
31713         (CFLAGS-test-float.c): Likewise.
31714         (CFLAGS-test-misc.c): Likewise.
31715         (CFLAGS-test-test-fenv.c): Likewise.
31717 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31719         [BZ #2550]
31720         [BZ #2570]
31721         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31722         comparisons to determine direction to adjust input.
31724 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31726         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31727         output to the target.
31729         * scripts/localplt.awk: New file.
31730         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31731         (check-localplt-CFLAGS): Variable removed.
31732         ($(all-built-dso:=.jmprel)): New static pattern rule.
31733         (generated): Add those targets.
31734         (localplt-built-dso): New variable.
31735         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31737         * elf/check-localplt.c: File removed.
31739         * scripts/check-execstack.awk: New file.
31740         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31741         (check-execstack-CFLAGS): Variable removed.
31742         ($(objpfx)check-execstack.h): Target removed.
31743         ($(objpfx)execstack-default): New target.
31744         (generated): Add that instead of check-execstack.h.
31745         ($(all-built-dso:=.phdr)): New static pattern rule.
31746         (generated): Add those targets.
31747         * elf/check-execstack.c: File removed.
31749         * scripts/check-textrel.awk: New file.
31750         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31751         (check-textrel-CFLAGS): Variable removed.
31752         (all-built-dso): Use := to define.o
31753         ($(all-built-dso:=.dyn)): New static pattern rule.
31754         (generated): Add those targets.
31755         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31756         * config.make.in (READELF): New substituted variable.
31757         * elf/check-textrel.c: File removed.
31759 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31761         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31762         allow.
31763         * conform/data/ctype.h-data [C99-based standards] (isblank):
31764         Expect function.
31765         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31766         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31768         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31769         Specify type.  Require positive value.
31770         (EILSEQ): Likewise.
31771         (ERANGE): Likewise.
31772         [ISO || POSIX] (EILSEQ): Do not expect.
31773         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31774         Specify type.  Require positive value.
31775         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31776         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31777         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31778         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31779         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31780         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31781         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31782         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31783         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31784         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31785         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31786         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31787         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31788         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31789         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31790         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31791         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31792         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31793         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31794         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31795         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31796         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31797         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31798         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31799         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31800         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31801         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31802         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31803         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31804         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31805         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31806         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31807         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31808         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31809         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31810         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31811         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31812         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31813         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31814         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31815         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31816         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31817         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31818         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31819         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31820         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31821         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31822         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31823         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31824         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31825         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31826         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31827         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31828         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31829         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31830         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31831         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31832         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31833         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31834         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31835         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31836         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31837         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31838         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31839         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31840         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31841         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
31842         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
31843         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
31844         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
31845         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
31846         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
31847         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
31848         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
31849         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
31850         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
31851         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
31852         Require >= 2.
31853         (FLT_ROUNDS): Expect as macro, not constant.
31854         (FLT_MANT_DIG): Use macro-int-constant.
31855         (DBL_MANT_DIG): Likewise.
31856         (LDBL_MANT_DIG): Likewise.
31857         (FLT_DIG): Likewise.
31858         (DBL_DIG): Likewise.
31859         (LDBL_DIG): Likewise.
31860         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
31861         (DBL_MIN_EXP): Likewise.
31862         (LDBL_MIN_EXP): Likewise.
31863         (FLT_MAX_EXP): Use macro-int-constant.
31864         (DBL_MAX_EXP): Likewise.
31865         (LDBL_MAX_EXP): Likewise.
31866         (FLT_MAX_10_EXP): Likewise.
31867         (DBL_MAX_10_EXP): Likewise.
31868         (LDBL_MAX_10_EXP): Likewise.
31869         (FLT_MAX): Use macro-constant.
31870         (DBL_MAX): Likewise.
31871         (LDBL_MAX): Likewise.
31872         (FLT_EPSILON): Use macro-constant.  Give upper bound.
31873         (DBL_EPSILON): Likewise.
31874         (LDBL_EPSILON): Likewise.
31875         (FLT_MIN): Likewise.
31876         (DBL_MIN): Likewise.
31877         (LDBL_MIN): Likewise.
31878         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
31879         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
31880         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
31881         [ISO11] (FLT_HAS_SUBNORM): Likewise.
31882         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
31883         [ISO11] (DBL_DECIMAL_DIG): Likewise.
31884         [ISO11] (FLT_DECIMAL_DIG): Likewise.
31885         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
31886         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
31887         [ISO11] (FLT_TRUE_MIN): Likewise.
31888         [ISO11] (LDBL_TRUE_MIN): Likewise.
31889         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31890         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
31891         (SCHAR_MIN): Use macro-int-constant.  Specify type.
31892         (SCHAR_MAX): Likewise.
31893         (UCHAR_MAX): Likewise.
31894         (CHAR_MIN): Likewise.
31895         (CHAR_MAX): Likewise.
31896         (MB_LEN_MAX): Use macro-int-constant.
31897         (SHRT_MIN): Use macro-int-constant.  Specify type.
31898         (SHRT_MAX): Likewise.
31899         (USHRT_MAX): Likewise.
31900         (INT_MAX): Likewise.
31901         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
31902         bound negative.
31903         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31904         bound with "U".
31905         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31906         bound with "L".
31907         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
31908         bound negative.  Suffix upper bound with "L".
31909         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
31910         bound with "UL".
31911         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
31912         Specify type.
31913         [C99-based standards] (LLONG_MAX): Likewise.
31914         [C99-based standards] (ULLONG_MAX): Likewise.
31915         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
31916         == 0.
31917         [ISO11] (max_align_t): Require type.
31918         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31920         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
31921         from $CFLAGS, without defining away __attribute__ calls.
31922         (checknamespace): Use $CFLAGS_namespace.
31924         * conform/conformtest.pl (@keywords): Only include C99 keywords
31925         for standards based on C99 or C11.
31927         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
31928         Disable tests.
31929         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
31930         UNIX98]: Likewise.
31932         * conform/conformtest.pl: Handle "macro-int-constant" and test for
31933         usability of symbols in #if.
31935         * conform/conformtest.pl: If macro or constant types start
31936         "promoted:", expect the symbol to be of the following type
31937         promoted by the integer promotions.
31939         * conform/conformtest.pl: Parse all "constant" and "macro" lines
31940         in one place.  Also handle "macro-constant".
31942         * conform/conformtest.pl: Only accept expected macro values with
31943         "==".  Parse all "macro" lines in one place.
31944         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
31946         * conform/conformtest.pl: Handle braced types on "constant" lines
31947         instead of handling "typed-constant".
31948         * conform/data/signal.h-data: Use "constant" instead of
31949         "typed-constant".
31951         * conform/conformtest.pl: Handle "optional-" at start of lines in
31952         one place rather than duplicating several cases.  Handle each
31953         format of "macro" line with initial "optional-".
31955         * conform/conformtest.pl: Only accept expected constant or
31956         optional-constant values with "==".  Parse all "constant" lines in
31957         one place.  Parse all "optional-constant" lines in one place.
31958         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
31959         * conform/data/fmtmsg.h-data: Likewise.
31960         * conform/data/netinet/in.h-data: Likewise.
31961         * conform/data/tar.h-data: Likewise.
31962         * conform/data/limits.h-data: Use "==" form on "constant" and
31963         "optional-constant" lines.
31965         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
31966         Use -std=c99 for XOPEN2K.
31967         (@knownproblems): Remove.
31968         (newtoken): Don't check %isknown.
31970         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
31971         Do not expect macro.
31972         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
31973         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
31974         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
31975         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
31976         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
31977         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
31978         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
31979         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
31980         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
31981         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
31982         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
31983         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
31984         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
31985         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
31986         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
31987         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
31988         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
31989         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
31990         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
31991         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
31992         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
31993         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
31994         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
31995         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
31996         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
31997         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
31998         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
31999         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32000         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32001         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32002         [XPG3] (acosh): Likewise.
32003         [XPG3] (asinh): Likewise.
32004         [XPG3] (atanh): Likewise.
32005         [XPG3] (cbrt): Likewise.
32006         [XPG3] (expm1): Likewise.
32007         [XPG3] (ilogb): Likewise.
32008         [XPG3] (log1p): Likewise.
32009         [XPG3] (logb): Likewise.
32010         [XPG3] (nextafter): Likewise.
32011         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32012         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32013         [XPG3] (remainder): Likewise.
32014         [XPG3] (rint): Likewise.
32015         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32016         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32017         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32018         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32019         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32020         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32021         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32022         [UNIX98 || XOPEN2K] (scalb): Expect.
32023         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32024         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32025         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32026         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32027         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32028         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32029         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32030         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32031         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32032         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32033         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32034         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32035         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32036         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32037         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32038         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32039         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32040         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32041         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32042         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32043         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32044         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32045         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32046         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32047         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32048         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32049         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32050         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32051         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32052         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32053         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32054         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32055         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32056         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32057         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32058         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32059         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32060         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32061         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32062         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32063         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32064         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32065         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32066         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32067         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32068         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32069         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32070         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32071         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32072         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32073         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32074         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32075         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32076         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32077         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32078         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32079         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32080         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32081         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32082         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32083         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32084         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32085         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32086         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32087         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32088         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32089         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32090         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32091         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32092         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32093         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32094         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32095         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32096         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32097         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32098         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32099         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32100         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32101         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32102         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32103         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32104         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32105         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32106         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32107         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32108         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32109         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32110         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32111         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32112         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32113         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32114         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32115         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32116         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32117         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32118         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32119         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32120         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32121         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32122         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32123         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32124         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32125         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32126         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32127         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32128         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32129         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32130         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32131         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32132         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32133         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32134         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32135         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32136         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32137         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32138         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32139         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32140         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32141         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32142         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32143         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32144         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32145         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32146         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32147         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32148         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32149         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32150         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32151         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32152         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32153         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32154         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32155         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32156         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32157         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32158         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32159         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32161         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32162         _XOPEN_SOURCE_EXTENDED for XPG4.
32164         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32166         * Makeconfig (localtime): Remove variable.
32167         (inst_localtime-file): Likewise.
32169 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32172         Update.
32173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32174         Update.
32175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32176         Update.
32177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32178         Update.
32179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32180         Update.
32181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32182         Update.
32183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32184         Update.
32185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32186         Update.
32187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32188         Update.
32190 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32192         [BZ #2550]
32193         [BZ #2570]
32194         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32195         comparisons to determine direction to adjust input.
32196         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32197         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32198         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32199         Likewise.
32200         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32201         Likewise.
32202         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32203         Likewise.
32204         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32205         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32206         Likewise.
32207         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32208         Likewise.
32209         * math/libm-test.inc (nexttoward_test): Add more tests.
32211 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32213         [BZ #14040]
32214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32215         in version GLIBC_2.1, not GLIBC_2.0.
32216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32217         Likewise.
32219 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32221         [BZ #13942]
32222         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32223         (1 - x) * (1 + x).
32224         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32225         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32226         * math/libm-test.inc (acos_test): Add more tests.
32227         (asin_test): Likewise.
32228         * sysdeps/i386/fpu/libm-test-ulps: Update.
32229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32231         [BZ #14034]
32232         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32233         of square root.
32234         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32235         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32236         * math/libm-test.inc (acos_test_tonearest): New function.
32237         (acos_test_towardzero): Likewise.
32238         (acos_test_downward): Likewise.
32239         (acos_test_upward): Likewise.
32240         (asin_test_tonearest): Likewise.
32241         (asin_test_towardzero): Likewise.
32242         (asin_test_downward): Likewise.
32243         (asin_test_upward): Likewise.
32244         (main): Call the new functions.
32245         * sysdeps/i386/fpu/libm-test-ulps: Update.
32246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32248         [BZ #13884]
32249         [BZ #13924]
32250         * math/e_exp10.c: Include <float.h>.
32251         (__ieee754_exp10): Handle underflow here rather than multiplying
32252         large negative argument by M_LN10.
32253         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32254         of __ieee754_expf.
32255         * math/e_exp10l.c: Include <float.h>.
32256         (__ieee754_exp10l): Handle underflow here rather than multiplying
32257         large negative argument by M_LN10l.
32258         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32259         spurious overflow exception on underflow.
32261 2012-04-29  Marek Polacek  <polacek@redhat.com>
32263         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32264         (__fortify_function): New macro.
32265         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32266         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32267         __extern_always_inline.
32268         * libio/bits/stdio2.h: Likewise.
32269         * libio/bits/stdio.h: Likewise.
32270         * string/string.h: Likewise.
32271         * string/bits/string3.h: Likewise.
32272         * include/stdio.h: Likewise.
32273         * stdlib/bits/stdlib.h: Likewise.
32274         * stdlib/stdlib.h: Likewise.
32275         * rt/bits/mqueue2.h: Likewise.
32276         * rt/mqueue.h: Likewise.
32277         * posix/bits/unistd.h: Likewise.
32278         * posix/unistd.h: Likewise.
32279         * io/bits/poll2.h: Likewise.
32280         * io/bits/fcntl2.h: Likewise.
32281         * io/fcntl.h: Likewise.
32282         * io/sys/poll.h: Likewise.
32283         * misc/bits/syslog.h: Likewise.
32284         * misc/bits/syslog-ldbl.h: Likewise.
32285         * misc/sys/syslog.h: Likewise.
32286         * socket/bits/socket2.h: Likewise.
32287         * socket/sys/socket.h: Likewise.
32288         * debug/tst-chk1.c: Likewise.
32289         * wcsmbs/bits/wchar2.h: Likewise.
32290         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32291         * wcsmbs/wchar.h: Likewise.
32293 2012-04-29  Andreas Jaeger  <aj@suse.de>
32295         * Makerules (tests): Remove enable-check-abi protection.
32296         (check-abi-warn): Remove.
32297         (check-abi-%): Remove check-abi-warn usage.
32299         * configure.in: Remove check-abi configure option.
32300         * configure: Regenerated.
32301         * config.make.in (enable-check-abi): Remove.
32303 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32305         [BZ #14033]
32306         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32307         double functions to double *_finite functions.
32309         [BZ #13941]
32310         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32311         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32312         LDBL_MIN_EXP.
32313         * stdio-common/Makefile (tests): Add tst-sprintf3.
32314         * stdio-common/tst-sprintf3.c: New file.
32316         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32317         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32319 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32321         * conform/conformtest.pl: Remove duplicate typed-constant
32322         handling.
32324 2012-04-28  David S. Miller  <davem@davemloft.net>
32326         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32327         (check-abi-%): Remove AWK script prerequisite and explicit
32328         abilist directory.
32329         (check-abi): Rewrite to just diff the symlist with the abilist.
32330         (config-tls, config-abi-config): Delete, no longer used.
32331         (update-abi-%): Remove AWK script and explicit abilist directory.
32332         (update-abi): Rewrite to simply compare and conditionally copy the
32333         symlist and the sysdep abilist file.  Remove update-abi-config
32334         checks.
32335         * abilist/ld.abilist: Remove.
32336         * abilist/libBrokenLocale.abilist: Remove.
32337         * abilist/libanl.abilist: Remove.
32338         * abilist/libcrypt.abilist: Remove.
32339         * abilist/libdl.abilist: Remove.
32340         * abilist/librt.abilist: Remove.
32341         * abilist/libthread_db.abilist: Remove.
32342         * abilist/libutil.abilist: Remove.
32343         * scripts/extract-abilist.awk: Remove.
32344         * scripts/merge-abilist.awk: Remove.
32345         * sysdeps/generic/libcidn.abilist: New file.
32346         * sysdeps/generic/libnss_compat.abilist: New file.
32347         * sysdeps/generic/libnss_db.abilist: New file.
32348         * sysdeps/generic/libnss_dns.abilist: New file.
32349         * sysdeps/generic/libnss_files.abilist: New file.
32350         * sysdeps/generic/libnss_hesiod.abilist: New file.
32351         * sysdeps/generic/libnss_nis.abilist: New file.
32352         * sysdeps/generic/libnss_nisplus.abilist: New file.
32353         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32354         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32355         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32356         file.
32357         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32358         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32359         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32360         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32361         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32362         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32363         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32364         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32365         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32366         file.
32367         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32368         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32369         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32370         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32371         file.
32372         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32373         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32374         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32375         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32376         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32377         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32378         file.
32379         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32380         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32381         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32382         file.
32383         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32384         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32385         New file.
32386         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32387         New file.
32388         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32389         New file.
32390         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32391         New file.
32392         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32393         New file.
32394         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32395         New file.
32396         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32397         New file.
32398         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32399         New file.
32400         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32401         New file.
32402         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32403         New file.
32404         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32405         New file.
32406         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32407         New file.
32408         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32409         New file.
32410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32411         file.
32412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32413         New file.
32414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32415         New file.
32416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32417         file.
32418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32419         New file.
32420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32421         New file.
32422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32423         file.
32424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32425         New file.
32426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32427         New file.
32428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32429         New file.
32430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32431         New file.
32432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32433         New file.
32434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32435         New file.
32436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32438         file.
32439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32440         New file.
32441         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32442         file.
32443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32444         file.
32445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32446         file.
32447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32448         file.
32449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32450         file.
32451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32452         New file.
32453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32454         file.
32455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32456         file.
32457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32458         New file.
32459         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32460         file.
32461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32463         file.
32464         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32465         New file.
32466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32467         file.
32468         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32469         file.
32470         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32471         file.
32472         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32473         file.
32474         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32475         file.
32476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32477         New file.
32478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32479         file.
32480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32481         file.
32482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32483         New file.
32484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32485         file.
32486         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32487         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32488         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32489         file.
32490         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32491         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32492         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32493         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32494         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32495         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32496         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32497         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32498         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32499         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32501         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32502         file.
32503         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32504         New file.
32505         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32506         file.
32507         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32508         file.
32509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32510         file.
32511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32512         file.
32513         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32514         file.
32515         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32516         New file.
32517         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32518         New file.
32519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32520         file.
32521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32522         New file.
32523         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32524         file.
32525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32526         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32527         file.
32528         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32529         New file.
32530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32531         file.
32532         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32533         file.
32534         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32535         file.
32536         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32537         file.
32538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32539         file.
32540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32541         New file.
32542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32543         New file.
32544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32545         file.
32546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32547         New file.
32548         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32549         file.
32551 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32553         * conform/conformtest.pl: Fix typo in handling typed-constant from
32554         allow-header.
32556 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32558         * README: Cut down references to pre-2.6 Linux kernels and
32559         Linuxthreads.  Update lists of configurations in libc and ports
32560         and sort alphabetically.  Say "or newer" with Linux kernel version
32561         requirements.
32563         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32565 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32567         [BZ #887]
32568         * math/libm-test.inc (logb_test_downward): New test to expose
32569         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32570         rounding mode.
32572 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32574         [BZ #14027]
32575         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32576         to be done.
32577         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32578         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32580 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32582         * sysdeps/unix/i386/brk.S: Remove file.
32583         * sysdeps/unix/i386/dl-brk.S: Likewise.
32584         * sysdeps/unix/i386/pipe.S: Likewise.
32585         * sysdeps/unix/i386/sigreturn.S: Likewise.
32586         * sysdeps/unix/i386/syscall.S: Likewise.
32587         * sysdeps/unix/i386/vfork.S: Likewise.
32588         * sysdeps/unix/i386/wait.S: Likewise.
32590         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32591         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32593         * configure.in (arm*-none*): Do not allow without
32594         --enable-hacker-mode.
32595         (netbsd*): Remove case setting base_os.
32596         (386bsd*): Likewise.
32597         (freebsd*): Likewise.
32598         (bsdi*): Likewise.
32599         (osf*): Likewise.
32600         (sunos*): Likewise.
32601         (ultrix*): Likewise.
32602         (newsos*): Likewise.
32603         (dynix*): Likewise.
32604         (*bsd*): Likewise.
32605         (sysv*): Likewise.
32606         (isc*): Likewise.
32607         (esix*): Likewise.
32608         (sco*): Likewise.
32609         (minix*): Likewise.
32610         (irix4*): Likewise.
32611         (irix6*): Likewise.
32612         (solaris[2-9]*): Likewise.
32613         (none): Likewise.
32614         * configure: Regenerated.
32616 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32618         [BZ #11521]
32619         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32620         overflow or cancellation in calculating denominator.
32621         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32623         down expression to avoid unexpected rounding in newer GCCs.
32624         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32626 2012-04-26  David S. Miller  <davem@davemloft.net>
32628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32629         long-double compat symbols.
32630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32641         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32642         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32644 2012-04-25  David S. Miller  <davem@davemloft.net>
32646         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32647         HWCAP_* values only after the memory barriers have been defined.
32648         (atomic_full_barrier): Define.
32649         (atomic_read_barrier): Define.
32650         (atomic_write_barrier): Define.
32652 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32654         * shlib-versions: Add libgcc_s version information.
32655         * sysdeps/generic/libgcc_s.h: Remove.
32656         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32657         libgcc_s.h.
32658         * sysdeps/gnu/unwind-resume.c: Likewise.
32659         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32661 2012-04-25  David S. Miller  <davem@davemloft.net>
32663         * sysdeps/unix/sparc/brk.S: Delete.
32664         * sysdeps/unix/sparc/dl-brk.S: Delete.
32665         * sysdeps/unix/sparc/pipe.S: Delete.
32666         * sysdeps/unix/sparc/sysdep.S: Delete.
32667         * sysdeps/unix/sparc/sysdep.h: Delete.
32668         * sysdeps/unix/sparc/vfork.S: Delete.
32669         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32670         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32671         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32672         (ret_ERRVAL, r0, r1, MOVE): Define.
32673         (JUMPTARGET): Remove.
32674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32675         sysdeps/unix/sparc/sysdep.h
32676         (ENTRY, END): Remove.
32677         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32679 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32681         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32682         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32683         -DIS_IN_build.
32685         * timezone/README: Update upstream location and email address for
32686         tzcode and tzdata.
32687         * timezone/zdump.c: Update from tzcode 2012b.
32688         * timezone/zic.c: Likewise.
32690         * configure.in (libc_cv_as_needed): Remove test.
32691         * configure: Regenerated.
32692         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32693         conditional definition.
32694         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32695         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32696         * config.make.in (have-as-needed): Remove variable.
32698 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32699             Paul Pluzhnikov  <ppluzhnikov@google.com>
32701         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32702         strings correctly.
32704 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32706         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32707         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32708         * sysdeps/sh/strlen.S: Likewise.
32710 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32712         * sysdeps/unix/fork.S: Remove file.
32713         * sysdeps/unix/i386/fork.S: Likewise.
32714         * sysdeps/unix/sparc/fork.S: Likewise.
32716         * sysdeps/unix/system.c: Remove file.
32717         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32719         * sysdeps/unix/getegid.S: Remove file.
32720         * sysdeps/unix/geteuid.S: Likewise.
32722 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32724         * scripts/check-localplt.awk: New file.
32725         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32726         of diff.
32727         * scripts/data/localplt-generic.data: Add a comment.
32729         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32730         NODE when __dir_mkfile failed.
32731         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32732         Reported by Ludovic Courtès <ludo@gnu.org>.
32734 2012-04-24  Andreas Jaeger  <aj@suse.de>
32736         * Makerules (common-clean): Also remove gen-as-const-headers
32737         files.
32739 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32741         * Makerules (native-compile): Do not change working directory for
32742         build.  Use $(OUTPUT_OPTION) in command.
32743         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32745 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32747         [BZ #13886]
32748         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32749         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32750         * math/libm-test.inc (floor_test): Add more tests.
32751         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32753 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32755         * sysdeps/unix/getdents.c: Remove file.
32756         * sysdeps/unix/sysv/getdents.c: Likewise.
32757         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32759         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32760         sysdeps/unix/mman/syscalls.list.
32761         (mmap): Likewise.
32762         (mprotect): Likewise.
32763         (msync): Likewise.
32764         (munmap): Likewise.
32765         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32766         * sysdeps/unix/mman/syscalls.list: Remove.
32767         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32769         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32770         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32771         * configure: Regenerated.
32772         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32773         $(libgcc_s_suffix).
32774         * config.make.in (libgcc_s_suffix): Remove variable.
32776 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32778         * sysdeps/unix/sysv/gethostname.c: Move to ...
32779         * sysdeps/posix/gethostname.c: ... here.
32781         * sysdeps/unix/execve.S: Remove file.
32783         * sysdeps/unix/_exit.S: Remove file.
32785 2012-04-23  Andreas Jaeger  <aj@suse.de>
32787         [BZ #13739]
32788         * manual/Makefile: Remove make dist support, there's no
32789         need for a stand-alone documentation tar ball.
32790         (TEXI2DVI): Define always, it's not in Makeconfig.
32791         (dist): Removed.
32792         (tar-it): Removed.
32793         (edition): Removed.
32794         (glibc-doc-$(edition).tar): Removed
32795         (%.Z): Removed.
32796         (%.gz): Removed.
32797         (%.uu): Removed.
32798         (ETAGS): Remove, it's in Makeconfig.
32799         (move-if-change): Remove, it's in Makeconfig.
32801 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32803         [BZ #13970]
32804         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32805         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32806         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32807         (strtod_l, strtof_l, strtold_l): Remove __wur.
32808         It is not necessarily an error to ignore strtol's return value.
32809         One can reliably look at the stored endptr to decide whether
32810         the number had valid syntax.
32812 2012-04-21  Andreas Jaeger  <aj@suse.de>
32814         [BZ #13739]
32815         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32817 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32819         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32820         * sysdeps/unix/sysv/Versions: Remove file.
32822 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32824         [BZ #13927]
32825         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32827 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32829         [BZ #7064]
32830         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32831         version from __vm86.
32833 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32835         * sysdeps/unix/common/lxstat.c: Remove file.
32836         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32838         * sysdeps/unix/sysv/Makefile: Remove file.
32840         * sysdeps/unix/sysv/direct.h: Remove file.
32842         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
32843         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
32844         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
32845         * sysdeps/unix/sysv/bits/signum.h: Likewise.
32846         * sysdeps/unix/sysv/bits/stat.h: Likewise.
32847         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
32848         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
32850         * sysdeps/unix/sysv/setrlimit.c: Remove file.
32852         * sysdeps/unix/xmknod.c: Remove file.
32853         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
32855         * sysdeps/unix/sysv/settimeofday.c: Remove file.
32857         * sysdeps/unix/sysv/i386/time.S: Remove file.
32859         * sysdeps/unix/fxstat.c: Remove file.
32860         * sysdeps/unix/xstat.c: Likewise.
32861         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
32863         * sysdeps/unix/sysv/sigaction.c: Remove file.
32865         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
32866         (sysdep_headers): Remove variable.
32867         [termio.h not in sysdep_headers] (generated): Likewise.
32868         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
32869         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
32870         * sysdeps/unix/sysv/tcdrain.c: Likewise.
32871         * sysdeps/unix/sysv/tcflow.c: Likewise.
32872         * sysdeps/unix/sysv/tcflush.c: Likewise.
32873         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
32874         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
32875         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
32876         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
32877         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
32879         * sysdeps/unix/siglist.c: Remove file.
32881         * sysdeps/unix/getppid.S: Remove file.
32883         * sysdeps/unix/mkdir.c: Remove file.
32884         * sysdeps/unix/rmdir.c: Likewise.
32886 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
32888         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
32889         ERR_MAX value.
32890         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
32891         errlist-compat value.
32893 2012-04-18  David S. Miller  <davem@davemloft.net>
32895         * sysdeps/generic/memcopy.h (reg_char): Delete.
32896         * debug/strcat_chk.c: Use char, not reg_char.
32897         * debug/strcpy_chk.c: Likewise.
32898         * debug/strncat_chk.c: Likewise.
32899         * debug/strncpy_chk.c: Likewise.
32900         * string/memchr.c: Likewise.
32901         * string/memrchr.c: Likewise.
32902         * string/rawmemchr.c: Likewise.
32903         * string/strcat.c: Likewise.
32904         * string/strchr.c: Likewise.
32905         * string/strchrnul.c: Likewise.
32906         * string/strcmp.c: Likewise.
32907         * string/strcpy.c: Likewise.
32908         * string/strncat.c: Likewise.
32909         * string/strncmp.c: Likewise.
32910         * string/strncpy.c: Likewise.
32912 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32914         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
32915         __builtin_memcopy is called when src and dest ranges are known to not
32916         overlap.
32918 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32920         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
32921         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
32922         fwd_align_merge macro call.
32923         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
32924         bwd_align_merge macro call.
32925         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32927 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
32929         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
32930         bwd_align_merge macros.
32931         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
32932         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
32933         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
32935 2012-04-18  David S. Miller  <davem@davemloft.net>
32937         * sysdeps/sparc/sparc64/memcopy.h: Delete.
32939 2012-04-18  Andreas Jaeger  <aj@suse.de>
32941         [BZ# 6794]
32942         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
32943         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
32944         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32946         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
32947         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
32948         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32950         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
32951         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
32952         Adjust for changed ldbl-128 files.
32954         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
32955         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
32956         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
32958 2012-04-17  David S. Miller  <davem@davemloft.net>
32960         * sysdeps/sparc/sparc32/memcopy.h: Delete.
32962 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
32964         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
32965         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
32966         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
32967         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
32968         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32969         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
32971 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32973         [BZ #6794]
32974         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
32975         * math/libm-test.inc: Add ilogb errno and exception tests.
32976         * math/w_ilogb.c: New file: ilogb wrapper.
32977         * math/w_ilogbf.c: New file: ilogbf wrapper.
32978         * math/w_ilogbl.c: New file: ilogbl wrapper.
32979         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
32980         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
32981         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
32982         exception being thrown with 0.0 as argument.
32983         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
32984         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
32985         exception being thrown with 0.0 as argument.
32986         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
32987         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32988         exception being thrown with 0.0 as argument.
32989         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
32990         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
32991         exception being thrown with 0.0 as argument.
32992         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
32993         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
32994         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
32995         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
32996         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
32997         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
32998         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
32999         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33000         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33002 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33004         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33005         with altivec.
33007 2012-04-16  Marek Polacek  <polacek@redhat.com>
33009         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33011 2012-04-16  Marek Polacek  <polacek@redhat.com>
33013         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33014         operands of fdivp instruction.
33016 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33018         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33019         * elf/tst-auditmod3b.c: Likewise.
33020         * elf/tst-auditmod4b.c: Likewise.
33021         * elf/tst-auditmod5b.c: Likewise.
33022         * elf/tst-auditmod6b.c: Likewise.
33023         * elf/tst-auditmod6c.c: Likewise.
33024         * elf/tst-auditmod7b.c: Likewise.
33025         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33026         * sysdeps/x86_64/preconfigure.in: Likewise.
33027         * sysdeps/x86_64/preconfigure: Regenerated.
33029 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33031         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33032         __ILP32__.
33034 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33036         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33037         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33039 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33041         [BZ #13973]
33042         * locale/iso-639.def: Fix gl language name. Spotted by
33043         Yaron Shahrabani.
33045 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33047         [BZ #2074]
33048         * libio/libio.h (__io_write_fn): Update comment.
33050 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33052         [BZ #2074]
33053         * stdio.texi (Hook Functions): The user provided writer function
33054         is not allowed to return -1.
33056 2012-04-11  David S. Miller  <davem@davemloft.net>
33058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33060 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33062         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33063         Add a leading slash to rtkaio.
33065 2012-04-11  Jim Meyering  <meyering@redhat.com>
33067         [BZ #11959]
33068         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33069         It is not necessarily an error to ignore fwrite's return
33070         value.  One can reliably use ferror to test for errors after
33071         the fact.
33073 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33075         * bits/types.h (__snseconds_t): New type.
33076         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33078         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33080         (__SNSECONDS_T_TYPE): Likewise.
33081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33082         (__SNSECONDS_T_TYPE): Likewise.
33083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33084         (__SNSECONDS_T_TYPE): Likewise.
33086 2012-04-10  Andreas Jaeger  <aj@suse.de>
33088         [BZ #2636]
33089         * manual/time.texi (Processor Time): Return type of times is
33090         elapsed real time since an arbitrary point in the past.
33091         (CPU Time): Move CLK_TCK from here...
33092         (Processor Time): ...to here.  Correct description.
33093         * manual/conf.texi (Constants for Sysconf): Correct description of
33094         _SC_CLK_TCK.
33096 2012-04-10  David S. Miller  <davem@davemloft.net>
33098         [BZ #13967]
33099         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33100         where the is a gap between DT_REL(A) and DT_JMPREL.
33102 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33104         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33105         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33106         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33108 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33110         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33111         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33112         (dl_main): Handle --inhibit-cache.
33113         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33114         _dl_inhibit_cache.
33115         * elf/dl-load.c (_dl_map_object): Use it.
33116         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33118 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33120         [BZ #13872]
33121         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33122         (__ieee754_powl): Saturate large exponents rather than testing for
33123         overflow of y*log2(x).
33124         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33125         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33126         exceptions.
33128         [BZ #11521]
33129         * math/s_ctan.c: Include <float.h>.
33130         (__ctan): Avoid internal overflow or cancellation in calculating
33131         denominator.
33132         * math/s_ctanf.c: Likewise.
33133         * math/s_ctanl.c: Likewise.
33134         * math/s_ctanh.c: Likewise.
33135         * math/s_ctanhf.c: Likewise.
33136         * math/s_ctanhl.c: Likewise.
33137         * math/libm-test.inc (ctan_test): Add more tests.
33138         (ctanh_test): Likewise.
33139         * sysdeps/i386/fpu/libm-test-ulps: Update.
33140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33142 2012-04-09  Andreas Jaeger  <aj@suse.de>
33144         [BZ #6894]
33145         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33146         is an optional BSD extension.
33148         [BZ #10254]
33149         * manual/stdio.texi (Opening Streams): Document additional fopen
33150         parameters.
33152 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33154         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33155         %eax without telling the compiler.
33157 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33159         [BZ # 13963]
33160         * manual/install.texi: Use sourceware.org.
33162 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33164         [BZ #13873]
33165         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33166         (__ieee754_pow): Generate overflow and underflow using huge*huge
33167         and tiny*tiny rather than just returning constant infinity or zero
33168         for large exponents.
33169         * math/libm-test.inc (pow_test): Require overflow exceptions for
33170         applicable cases of large exponents.
33172         [BZ #706]
33173         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33174         (__ieee754_pow): Use iterative multiplication algorithm only for
33175         integer exponents with absolute value below 1024.  Check for odd
33176         integer exponents when using algorithm for real exponents.
33177         * math/libm-test.inc (pow_test): Add more tests.
33178         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33180 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33182         [BZ #13705]
33183         * math/libm-test.inc (exp_test): Do not allow overflow exception
33184         on underflow test.
33186 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33188         [BZ #13705]
33189         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33190         instead of __kernel_standard_f.
33192 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33194         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33195         * sysdeps/x86_64/memset_chk.S: Likewise.
33197 2012-04-08  Andreas Jaeger  <aj@suse.de>
33199         [BZ #10153]
33200         * manual/startup.texi (Environment Access): Describe return value
33201         for putenv and setenv.
33203         [BZ #6895]
33204         * manual/filesys.texi (Directory Entries): Add description for
33205         DT_LNK.
33207         [BZ #6890]
33208         * manual/filesys.texi (Directory Entries): Clarify that it's file
33209         system not operating system in the description of DT_UNKNOWN.
33211         [BZ #6578]
33212         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33214 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33216         [BZ #6649]
33217         * manual/llio.texi (Opening and Closing Files): Add cross
33218         reference to explain mode argument.
33220 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33222         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33223         * sysdeps/x86_64/memset_chk.S: Likewise.
33225 2012-04-07  David S. Miller  <davem@davemloft.net>
33227         * elf/elf.h (R_SPARC_WDISP10): Define.
33228         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33229         R_SPARC_SIZE32.
33230         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33231         R_SPARC_SIZE64 and R_SPARC_H34.
33233 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33235         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33236         conditions and remove no longer applicable assertion.
33238 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33240         * bits/byteswap.h: Include <features.h>.
33241         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33242         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33244 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33246         * bits/byteswap.h (__bswap_16): Removed.
33247         Include <bits/byteswap-16.h> to get __bswap_16.
33248         * sysdeps/i386/bits/byteswap.h: Likewise.
33249         * sysdeps/s390/bits/byteswap.h: Likewise.
33250         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33251         * bits/byteswap-16.h: New file.
33252         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33253         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33254         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33255         * string/Makefile (headers): Add bits/byteswap-16.h.
33257 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33259         [BZ #13895]
33260         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33261         extra indirection.
33262         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33263         * nss/tst-nss-static.c: New.
33265 2012-04-06  Robert Millan  <rmh@gnu.org>
33267         [BZ #6486]
33268         * manual/llio.texi (File Position Primitive): lseek
33269         refers to WHENCE when it really means OFFSET.
33271 2012-04-06  Andreas Jaeger  <aj@suse.de>
33273         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33274         strncmp declarations.
33276         * abilist/libc.abilist: Add __poll and __ppoll.
33278 2012-04-05  David S. Miller  <davem@davemloft.net>
33280         * scripts/check-local-headers.sh: Accept a host triplet in the
33281         path matched by the exclude regexp.
33283         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33284         definition.
33285         * sysdeps/powerpc/powerpc32/dl-machine.h
33286         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33287         * sysdeps/s390/s390-32/dl-machine.h
33288         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33289         * sysdeps/sparc/sparc32/dl-machine.h
33290         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33291         * sysdeps/sparc/sparc64/dl-machine.h
33292         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33294         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33295         lazy binding.
33296         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33297         undefined symbol errors.
33299         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33300         DT_NEEDED entries.
33302 2012-04-05  Michael Matz  <matz@suse.de>
33304         [BZ #13592]
33305         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33307 2012-04-05  Andreas Jaeger  <aj@suse.de>
33309         [BZ #13908]
33310         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33311         comment.
33313 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33315         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33316         which ROUND is no valid rounding mode.
33318 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33320         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33321         read again.
33322         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33324 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33326         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33327         an exception using FPU order intentionally.
33329 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33331         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33332         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33333         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33334         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33336 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33338         [BZ #12340]
33339         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33340         EINVAL when BUFLEN is too smal.
33342 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33344         [BZ #13553]
33345         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33346         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33348 2012-04-03  Andreas Jaeger  <aj@suse.de>
33350         [BZ #13938]
33351         * manual/setjmp.texi (System V contexts): Fix sentence.
33353         [BZ #13926]
33354         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33355         New macro for this case.
33356         [!__GNUC__] (__bswap_64): New inline function for this case.
33357         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33358         * bits/byteswap.h: Likewise.
33359         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33360         ull, guard with __GLIBC_HAVE_LONG_LONG.
33362         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33363         __GLIBC_HAVE_LONG_LONG.
33365         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33366         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33368 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33370         [BZ #13691]
33371         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33372         inptr and inend, rather than using last_ch.
33374 2012-04-02  David S. Miller  <davem@davemloft.net>
33376         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33377         * stdio-common/printf-parse.h (read_int): Change return type to
33378         'int', return -1 on INT_MAX overflow.
33379         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33380         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33381         overflows INT_MAX.  Check for overflow of in-format-string precision
33382         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33383         SIZE_MAX not INT_MAX for integer overflow test.
33384         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33385         skip the construct in the format string but do not record anything.
33386         * stdio-common/bug22.c: Adjust to test both width/prevision
33387         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33388         explicitly for proper errno values.
33390 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33392         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33393         CHAR_MAX.
33394         * string/test-strcmp.c [! WIDE]: Likewise.
33395         * time/tst-mktime2.c: Likewise for INT_MAX.
33396         * string/test-string.h: #include <sys/param.h> for MIN.
33398         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33399         * sysdeps/i386/init-first.c (init): Likewise.
33400         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33401         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33402         * sysdeps/sh/init-first.c (init): Likewise.
33404 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33406         * po/ru.po: Update from translation team.
33407         * po/vi.po: Likewise.
33409 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33411         * resolv/nss_dns/dns-host.c: Merge copyright years.
33413 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33415         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33416         Optimize memcpy with prefetch if
33417         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33418         src, dst pointers have unequal 16 byte alignments.
33420 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33422         [BZ #13928]
33423         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33424         from a CNAME entry and return the minimum ttl for the query.
33425         (gaih_getanswer_slice): Likewise.
33427 2012-03-30  Jeff Law  <law@redhat.com>
33429         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33430         due to long keys.
33431         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33432         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33434         * resolv/nss_dns/dns-host.c: Update copyright year.
33436 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33438         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33439         requests to save a system call.  Fix check that all bytes are sent.
33441         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33442         comments for sendmmsg.
33444 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33446         [BZ #13691]
33447         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33448         with only 1 character between 0x0041 and 0x01b0.
33449         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33450         * wcsmbs/tst-mbsnrtowcs.c: New file.
33452 2012-03-29  David S. Miller  <davem@davemloft.net>
33454         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33455         small copies by hand.
33457 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33459         [BZ #13761]
33460         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33461         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33462         group memberships.
33464 2012-03-28  David S. Miller  <davem@davemloft.net>
33466         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33467         that branches into memcpy.
33468         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33469         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33470         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33471         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33472         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33473         bits.
33474         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33475         implementation too.
33476         * sysdeps/sparc/mempcpy.S: New file.
33478         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33479         the IFUNC routine in the libc case.
33480         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33482         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33483         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33484         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33485         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33486         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33487         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33488         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33489         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33491         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33492         loop to 256 bytes instead of 64 bytes and fix test signedness.
33494         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33495         * sysdeps/sparc/sparc32/Makefile: rather than here...
33496         * sysdeps/sparc/sparc64/Makefile: and here.
33498 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33500         * malloc/mallocbug.c: Avoid warnings about unused variables.
33502 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33504         [BZ #13760]
33505         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33506         in the right place. Discard and retry query if response is
33507         larger than input buffer size.
33509 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33511         [BZ #369]
33512         [BZ #2678]
33513         [BZ #3866]
33514         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33515         x for large integer exponent.
33516         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33517         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33518         sign of result as needed afterwards.
33519         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33520         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33521         result for underflowing pow the same as for overflow.
33522         (__kernel_standard_l): Handle powl overflow and underflow here
33523         rather than calling __kernel_standard.
33524         * math/libm-test.inc (pow_test): Add more tests.
33526         [BZ #3868]
33527         [BZ #13879]
33528         [BZ #13910]
33529         [BZ #13911]
33530         [BZ #13912]
33531         [BZ #13913]
33532         [BZ #13915]
33533         [BZ #13916]
33534         [BZ #13917]
33535         [BZ #13918]
33536         [BZ #13919]
33537         [BZ #13920]
33538         [BZ #13921]
33539         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33540         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33541         (__kernel_standard_l): New function.
33542         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33543         __kernel_standard.
33544         * math/w_acosl.c (__acosl): Likewise.
33545         * math/w_asinl.c (__asinl): Likewise.
33546         * math/w_atan2l.c (__atan2l): Likewise.
33547         * math/w_atanhl.c (__atanhl): Likewise.
33548         * math/w_coshl.c (__coshl): Likewise.
33549         * math/w_exp10l.c (__exp10l): Likewise.
33550         * math/w_exp2l.c (__exp2l): Likewise.
33551         * math/w_fmodl.c (__fmodl): Likewise.
33552         * math/w_hypotl.c (__hypotl): Likewise.
33553         * math/w_j0l.c (__j0l, __y0l): Likewise.
33554         * math/w_j1l.c (__j1l, __y1l): Likewise.
33555         * math/w_jnl.c (__jnl, __ynl): Likewise.
33556         * math/w_lgammal.c (__lgammal): Likewise.
33557         * math/w_log10l.c (__log10l): Likewise.
33558         * math/w_log2l.c (__log2l): Likewise.
33559         * math/w_logl.c (__logl): Likewise.
33560         * math/w_powl.c (__powl): Likewise.
33561         * math/w_remainderl.c (__remainderl): Likewise.
33562         * math/w_scalbl.c (sysv_scalbl): Likewise.
33563         * math/w_sinhl.c (__sinhl): Likewise.
33564         * math/w_sqrtl.c (__sqrtl): Likewise.
33565         * math/w_tgammal.c (__tgammal): Likewise.
33566         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33567         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33568         * math/libm-test.inc (acos_test): Add more tests.
33569         (acosh_test): Likewise.
33570         (asin_test): Likewise.
33571         (atanh_test): Likewise.
33572         (exp_test): Likewise.
33573         (exp10_test): Likewise.
33574         (exp2_test): Likewise.
33575         (expm1_test): Likewise.
33576         (lgamma_test): Likewise.
33577         (log_test): Likewise.
33578         (log10_test): Likewise.
33579         (log1p_test): Likewise.
33580         (log2_test): Likewise.
33581         (pow_test): Do not allow some spurious overflow exceptions.
33582         (sqrt_test): Add more tests.
33583         (tgamma_test): Likewise.
33584         (y0_test): Likewise.
33585         (y1_test): Likewise.
33586         (yn_test): Likewise.
33588 2012-03-27  Anton Blanchard  <anton@samba.org>
33590         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33591         MAP_HUGETLB.
33592         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33593         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33594         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33596 2012-03-27  David S. Miller  <davem@davemloft.net>
33598         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33600         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33601         have-as-vis3 check.
33603 2012-03-27  Andreas Jaeger  <aj@suse.de>
33605         * sysdeps/x86_64/elf/configure.in: Moved to ...
33606         * sysdeps/x86_64/configure.in: ... here.
33607         * sysdeps/x86_64/elf/start.S: Moved to ...
33608         * sysdeps/x86_64/start.S: ... here.
33609         * sysdeps/x86_64/elf/configure: Delete.
33611         * sysdeps/x86_64/configure.in: Merge contents from
33612         sysdeps/i386/configure.in (without i686 check).
33614         * sysdeps/i386/elf/Versions: Merge into ...
33615         * sysdeps/i386/Versions: ... this.
33616         * sysdeps/i386/elf/Versions: Delete file.
33617         * sysdeps/i386/elf/start.S: Moved to ...
33618         * sysdeps/i386/start.S: ...here.
33619         * sysdeps/i386/elf/configure.in: Merge into...
33620         * sysdeps/i386/configure.in: ...here.
33621         * sysdeps/i386/elf/configure.in: Delete file.
33622         * sysdeps/i386/elf/configure: Delete file.
33624         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33625         * debug/backtracesyms.c: ... here.
33626         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33627         * debug/backtracesymsfd.c: ... here.
33628         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33629         * sysdeps/generic/ifunc-sel.h: ... here.
33631         * sysdeps/unix/i386/start.c: Delete file.
33632         * sysdeps/unix/sparc/start.c: Delete file.
33633         * sysdeps/unix/start.c: Delete file.
33635         * sysdeps/sh/elf/configure.in: Moved to ...
33636         * sysdeps/sh/configure.in: ... here.
33637         * sysdeps/sh/elf/start.S: Moved to ...
33638         * sysdeps/sh/start.S: ... here.
33639         * sysdeps/sh/elf/configure: Delete file.
33641         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33642         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33643         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33644         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33645         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33646         * sysdeps/powerpc/powerpc64/start.S: here.
33647         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33648         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33649         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33650         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33651         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33653         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33654         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33655         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33656         * sysdeps/powerpc/powerpc32/start.S: ... here.
33657         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33658         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33659         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33661         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33662         * sysdeps/powerpc/ifunc-sel.h: ... here.
33663         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33664         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33666         * sysdeps/sparc/elf/configure.in: Moved to ...
33667         * sysdeps/sparc/configure.in: ... here.
33668         * sysdeps/sparc/elf/configure: Delete file.
33669         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33670         * sysdeps/sparc/sparc32/start.S: ... here.
33671         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33672         * sysdeps/sparc/sparc64/start.S: ... here.
33673         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33674         * sysdeps/sparc/sparc32/Makefile: ... this.
33675         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33676         * sysdeps/sparc/sparc64/Makefile: ... this.
33678         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33679         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33680         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33681         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33682         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33683         * sysdeps/s390/s390-32/setjmp.S: ... here.
33684         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33685         * sysdeps/s390/s390-32/configure.in: ... here.
33686         * sysdeps/s390/s390-32/elf/configure: Delete file.
33687         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33688         * sysdeps/s390/s390-32/start.S: ... here.
33690         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33691         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33692         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33693         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33694         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33695         * sysdeps/s390/s390-64/setjmp.S: ... here.
33696         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33697         * sysdeps/s390/s390-64/configure.in: ... here
33698         * sysdeps/s390/s390-64/elf/configure: Delete file.
33699         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33700         * sysdeps/s390/s390-64/start.S: ... here.
33701         * sysdeps/s390/s390-64/elf/configure: Delete.
33703         * configure.in: Remove support for elf directories in sysdeps.
33705         * configure: Regenerated.
33706         * sysdeps/i386/configure: Regenerated.
33707         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33708         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33709         * sysdeps/s390/s390-32/configure: Regenerated.
33710         * sysdeps/s390/s390-64/configure: Regenerated.
33711         * sysdeps/sh/configure: Regenerated.
33712         * sysdeps/sparc/configure: Regenerated.
33713         * sysdeps/x86_64/configure: Regenerated.
33715 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33719         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33720         denormal result into account.
33722 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33724         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33725         Reported by Allan McRae <allan@archlinux.org>.
33727 2012-03-23  Jeff Law  <law@redhat.com>
33729         * nss/getnssent.c (__nss_getent): Fix typo.
33731 2012-03-23  David S. Miller  <davem@davemloft.net>
33733         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33735 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33737         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33738         to pad to uint64_t for each field.
33739         (dl_tls_index): Replace unsigned long with uint64_t.
33741 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33742         Paul Pluzhnikov  <ppluzhnikov@google.com>
33744         [BZ #6528]
33745         * grp/Makefile (otherlibs): Don't set it.
33746         * inet/Makefile (otherlibs): Likewise.
33747         * login/Makefile (otherlibs): Likewise.
33748         * nscd/Makefile (otherlibs): Likewise.
33749         * posix/Makefile (otherlibs): Likewise.
33750         * pwd/Makefile (otherlibs): Likewise.
33751         * rt/Makefile (otherlibs): Likewise.
33752         * sunrpc/Makefile (otherlibs): Likewise.
33753         * nss/Makefile (otherlibs): Likewise.
33754         Add libnss_files to routines and static-only-routines.
33755         ($(objpfx)getent): Remove rule.
33756         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33757         static-only-routines.
33759 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33761         [BZ #13892]
33762         * math/s_cexp.c: Include <float.h>.
33763         (__cexp): Handle exp result overflowing not necessarily
33764         overflowing both real and imaginary parts of result.
33765         * math/s_cexpf.c: Likewise.
33766         * math/s_cexpl.c: Likewise.
33767         * math/libm-test.inc (cexp_test): Add more tests.
33768         * sysdeps/i386/fpu/libm-test-ulps: Update.
33769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33771 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33773         * include/link.h (ELFW): New macro.
33774         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33775         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33777 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33779         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33780         with uint64_t.
33782 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33784         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33785         declaration.
33786         (struct La_x32_retval): Likewise.
33788 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33790         * sysdeps/x86_64/preconfigure.in: New file.
33791         * sysdeps/x86_64/preconfigure: New generated file.
33793 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33795         [BZ #13824]
33796         * math/e_exp2l.c: Include <float.h>.
33797         (__ieee754_exp2l): Handle overflow and underflow cases
33798         separately.  Only pass fractional part of argument to
33799         __ieee754_expl.
33800         * math/libm-test.inc (exp2_test): Add more tests.
33802         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33803         negating x to take absolute value.
33804         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33805         Likewise.
33806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33808         Likewise.
33809         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33810         computing low part if x was negated.
33811         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33813 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33815         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33816         la_x32_gnu_pltexit.
33817         (pltexit): Cast int_retval to ptrdiff_t.
33818         * elf/tst-auditmod3b.c: Likewise.
33819         * elf/tst-auditmod4b.c: Likewise.
33820         * elf/tst-auditmod5b.c: Likewise.
33821         * elf/tst-auditmod6b.c: Likewise.
33822         * elf/tst-auditmod6c.c: Likewise.
33823         * elf/tst-auditmod7b.c: Likewise.
33825         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33826         and x32_gnu_pltexit.
33828         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33829         __ELF_NATIVE_CLASS.
33830         (La_x32_regs): New macro.
33831         (La_x32_retval): Likewise.
33832         (la_x32_gnu_pltenter): New function prototype.
33833         (la_x32_gnu_pltexit): Likewise.
33835 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33837         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33838         exponent.
33840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33842         * configure.in (libc_cv_cc_nofma): Check for option to disable
33843         generation of FMA instructions.
33844         * configure: Regenerate.
33845         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
33846         * sysdeps/ieee754/dbl-64/Makefile: New file.
33847         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33848         Remove brandred-fma4.
33849         (CFLAGS-brandred-fma4.c): Remove.
33850         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
33851         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
33852         define.
33853         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
33854         define.
33856 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33858         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33859         LLONG_MAX != LONG_MAX.
33860         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33861         (_fitoa_word): Likewise.
33862         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
33863         LLONG_MAX != LONG_MAX.
33864         * stdio-common/_itowa.h: Include <_itoa.h>.
33865         (_itowa_word): Use _ITOA_WORD_TYPE on value.
33866         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
33867         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
33868         only if not defined.
33869         (_ITOA_WORD_TYPE): Likewise.
33870         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33871         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
33873 2012-03-21  David S. Miller  <davem@davemloft.net>
33875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33877 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33879         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
33880         of x86_64 when setting libc_cv_slibdir, libdir and
33881         libc_cv_localedir.
33882         * sysdeps/unix/sysv/linux/configure: Regenerated.
33884 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33886         * manual/lang.texi (Old Varargs): Remove section.
33887         (How Variadic): Update menu.
33888         (va_start): Do not mention varargs.h.
33890 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33891             Joseph Myers  <joseph@codesourcery.com>
33893         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
33894         link test.
33895         * configure: Regenerated.
33897 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33899         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
33900         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
33901         conformtest.pl
33903 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33905         * NOTES: Remove.
33906         * Makefile (files-for-dist): Remove NOTES.
33907         (NOTES): Remove rule.
33908         * README: Don't refer to NOTES.
33909         * manual/creature.texi: Don't include macros.texi.
33910         * manual/intro.texi (creature.texi): Remove comment referring to
33911         NOTES.
33913         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
33914         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
33915         * configure: Regenerated.
33916         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
33917         LIBC_TRY_CC_OPTION.
33918         (libc_cv_as_i686): Likewise.
33919         (libc_cv_cc_avx): Likewise.
33920         (libc_cv_cc_sse2avx): Likewise.
33921         (libc_cv_cc_fma4): Likewise.
33922         (libc_cv_cc_novzeroupper): Likewise.
33923         * sysdeps/i386/configure: Regenerated.
33925         [BZ #13883]
33926         * sysdeps/i386/fpu/s_cexp.S: Remove.
33927         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
33928         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
33929         * math/libm-test.inc (cexp_test): Add more tests.
33930         * sysdeps/i386/fpu/libm-test-ulps: Update.
33931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33933 2012-03-21  Allan McRae  <allan@archlinux.org>
33935         * timezone/Makefile: Do not install iso3166.tab and zone.tab
33937 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
33939         [BZ #13871]
33940         * math/w_exp2.c: Do not include <float.h>.
33941         (o_threshold, u_threshold): Remove.
33942         (__exp2): Calculate result before checking finiteness and calling
33943         __kernel_standard.
33944         * math/w_exp2f.c: Likewise.
33945         * math/w_exp2l.c: Likewise.
33946         * math/libm-test.inc (exp2_test): Require overflow exception for
33947         1e6 input.
33949         [BZ #3866]
33950         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
33951         range of signed 64-bit integers before using fistpll.  Remove
33952         checks for whether integers fit in mantissa bits.
33953         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
33954         the range of signed 32-bit integers before using fistpl.  Remove
33955         checks for whether integers fit in mantissa bits.
33956         * sysdeps/i386/fpu/e_powl.S (p64): New object.
33957         (__ieee754_powl): Test for y outside the range of signed 64-bit
33958         integers before using fistpll.  Reduce 64-bit values to 63-bit
33959         ones as needed.
33960         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
33961         divide-by-zero is raised for zero to large negative powers.
33962         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
33963         (__ieee754_powl): Test for y outside the range of signed 64-bit
33964         integers before using fistpll.  Reduce 64-bit values to 63-bit
33965         ones as needed.
33966         * math/libm-test.inc (pow_test): Add more tests.
33968 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
33970         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
33971         <stdio-common/_itoa.h>.
33972         * debug/segfault.c: Likewise.
33973         * elf/dl-cache.c: Likewise.
33974         * elf/dl-minimal.c: Likewise.
33975         * elf/dl-misc.c: Likewise.
33976         * elf/dl-sysdep.c: Likewise.
33977         * elf/dl-version.c: Likewise.
33978         * elf/rtld.c: Likewise.
33979         * hurd/hurdsock.c: Likewise.
33980         * hurd/lookup-retry.c: Likewise.
33981         * malloc/malloc.c: Likewise.
33982         * malloc/mtrace.c: Likewise.
33983         * nscd/nscd_getgr_r.c: Likewise.
33984         * nscd/nscd_getpw_r.c: Likewise.
33985         * nscd/nscd_getserv_r.c: Likewise.
33986         * posix/getopt_init.c: Likewise.
33987         * posix/wordexp.c: Likewise.
33988         * stdio-common/_itoa.c: Likewise.
33989         * stdio-common/printf_fphex.c: Likewise.
33990         * stdio-common/vfprintf.c: Likewise.
33991         * string/_strerror.c: Likewise.
33992         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
33993         * sysdeps/i386/i686/hp-timing.h: Likewise.
33994         * sysdeps/mach/_strerror.c: Likewise.
33995         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
33996         * sysdeps/mach/hurd/sethostid.c: Likewise.
33997         * sysdeps/mach/hurd/xmknodat.c: Likewise.
33998         * sysdeps/mach/xpg-strerror.c: Likewise.
33999         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34000         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34001         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34002         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34003         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34004         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34005         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34006         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34007         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34008         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34009         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34010         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34011         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34012         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34013         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34014         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34015         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34016         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34017         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34018         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34019         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34021         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34023         * stdio-common/_itoa.h: Moved to ...
34024         * sysdeps/generic/_itoa.h: Here.
34026         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34028         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34029         instead of "_itoa.h" and "_itowa.h".
34030         * stdio-common/vfprintf.: Likewise.
34032 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34034         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34035         <bits/wordsize.h>.
34036         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34037         (__signbit): Likwise.
34038         (llrintf): Likwise.
34039         (llrint): Likwise.
34041 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34043         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34044         __WORDSIZE != 64.
34046 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34048         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34049         OVERFLOW_EXCEPTION_OK.
34050         * math/libm-test.inc ("Philosophy"): Update comment about
34051         exception testing.
34052         (OVERFLOW_EXCEPTION): Define.
34053         (OVERFLOW_EXCEPTION_OK): Likewise.
34054         (INVALID_EXCEPTION_OK): Renumber.
34055         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34056         (IGNORE_ZERO_INF_SIGN): Likewise.
34057         (test_exceptions): Handle FE_OVERFLOW.
34058         (exp10_test): Expect overflow exceptions.
34059         (exp2_test): Likewise.
34060         (expm1_test): Likewise.
34061         (nextafter_test): Likewise.
34062         (pow_test): Likewise.
34063         (scalbn_test): Likewise.
34064         (scalbln_test): Likewise.
34066 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34068         * sysdeps/x86_64/bits/atomic.h
34069         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34070         64bit integer.
34071         (atomic_exchange_acq): Likewise.
34072         (__arch_exchange_and_add_body): Likewise.
34073         (__arch_add_body): Likewise.
34074         (atomic_add_negative): Likewise.
34075         (atomic_add_zero): Likewise.
34077 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34079         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34080         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34082 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34084         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34085         Check __x86_64__ instead of __WORDSIZE.
34087 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34089         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34091 2012-03-19  David S. Miller  <davem@davemloft.net>
34093         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34095         * sysdeps/sparc/fpu/fenv_private.h: New file.
34096         * sysdeps/sparc/fpu/math_private.h: Use it.
34097         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34098         Remove.
34099         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34100         (libc_feholdexcept_setroundl): Remove.
34101         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34102         Remove.
34103         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34104         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34106 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34108         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34109         int64_t instead of long int.
34110         (INSERT_WORDS64): Likwise.
34112 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34114         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34115         _Unwind_GetCFA return to _Unwind_Ptr first.
34117 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34119         [BZ #13629]
34120         * math/s_clog.c: Include <float.h>.
34121         (__clog): Scale large or subnormal inputs.
34122         * math/s_clogf.c: Likewise.
34123         * math/s_clogl.c: Likewise.
34124         * math/s_clog10.c: Include <float.h>.
34125         (M_LOG10_2): Define.
34126         (__clog10): Scale large or subnormal inputs.
34127         * math/s_clog10f.c: Likewise.
34128         * math/s_clog10l.c: Likewise.
34129         * math/libm-test.inc (clog_test): Add more tests.
34130         (clog10_test): Likewise.
34131         * sysdeps/i386/fpu/libm-test-ulps: Update.
34132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34134         [BZ #11451]
34135         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34136         x and y.
34137         * math/libm-test.inc (atan2_test): Add another test.
34139         * Makerules (common-objdir-compile): Remove.
34140         * sysdeps/unix/Makefile (config-generated): Do not add
34141         $(unix-generated) to variable.
34142         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34143         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34144         Remove rule.
34145         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34146         Likewise.
34147         [generic bits/local_lim.h] (before-compile): Do not append to
34148         variable.
34149         [generic bits/local_lim.h] (common-generated): Likewise.
34150         [generic sys/param.h] (before-compile): Do not append to variable.
34151         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34152         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34153         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34154         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34155         include.
34156         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34157         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34158         [generic sys/param.h] ($(addprefix
34159         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34160         [generic sys/param.h] (common-generated): Do not append to
34161         variable.
34162         [generic sys/param.h] (sysdep_headers): Likewise.
34163         [generic bits/errno.h] (before-compile): Do not append to
34164         variable.
34165         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34166         rule.
34167         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34168         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34169         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34170         [generic bits/errno.h] (common-generated): Do not append to
34171         variable.
34172         [generic bits/ioctls.h] (before-compile): Do not append to
34173         variable.
34174         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34175         rule.
34176         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34177         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34178         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34179         rule.
34180         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34181         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34182         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34183         [generic bits/ioctls.h] (common-generated): Do not append to
34184         variable.
34185         [generic sys/syscall.h] (syscall.h): Remove variable.
34186         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34187         rule.
34188         [generic sys/syscall.h] (before-compile): Do not append to
34189         variable.
34190         [generic sys/syscall.h] (common-generated): Likewise.
34191         * sysdeps/unix/errnos-tmpl.c: Remove file.
34192         * sysdeps/unix/errnos.awk: Likewise.
34193         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34194         * sysdeps/unix/ioctls.awk: Likewise.
34195         * sysdeps/unix/mk-local_lim.c: Likewise.
34196         * sysdeps/unix/snarf-ioctls: Likewise.
34198 2012-03-19  Richard Henderson  <rth@twiddle.net>
34200         * sysdeps/i386/fpu/fenv_private.h: New file.
34201         * sysdeps/i386/fpu/math_private.h: Use it.
34202         (math_opt_barrier, math_force_eval): Remove.
34203         (libc_feholdexcept_setround_53bit): Remove.
34204         (libc_feupdateenv_53bit): Remove.
34205         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34206         (math_opt_barrier, math_force_eval): Remove.
34207         (libc_feholdexcept): Remove.
34208         (libc_feholdexcept_setround): Remove.
34209         (libc_fetestexcept, libc_fesetenv): Remove.
34210         (libc_feupdateenv_test): Remove.
34211         (libc_feupdateenv, libc_feholdsetround): Remove.
34212         (libc_feresetround): Remove.
34214         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34215         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34217         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34218         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34219         (libc_feupdateenv_testl): New.
34220         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34221         (libc_feupdateenv_testf): New.
34222         (libc_feupdateenv): Use libc_feupdateenv_test.
34223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34224         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34226         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34227         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34228         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34229         (libc_feresetround_noex): New.
34230         (libc_feresetround_noexf): New.
34231         (libc_feresetround_noexl): New.
34232         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34233         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34234         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34235         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34236         SET_RESTORE_ROUND.
34237         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34239         (__cos): Likewise.
34240         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34241         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34242         SET_RESTORE_ROUND_NOEX.
34243         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34244         SET_RESTORE_ROUND_NOEXF.
34245         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34246         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34247         (libc_feholdsetroundf): New.
34248         (libc_feresetround, libc_feresetroundf): New.
34250         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34251         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34252         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34254         * sysdeps/generic/math_private.h: Include <fenv.h>.
34255         (default_libc_feholdexcept): New.
34256         (default_libc_feholdexcept_setround): New.
34257         (default_libc_fesetenv, default_libc_feupdateenv): New.
34258         (libc_feholdexcept): Only define if undefined.
34259         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34260         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34261         (libc_feholdexcept_setroundl): Likewise.
34262         (libc_feholdexcept_setround_53bit): Likewise.
34263         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34264         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34265         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34266         (libc_feupdateenv_53bit): Likewise.
34267         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34268         (libc_feholdexcept): Convert from macro to inline function.
34269         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34270         (libc_fesetenv, libc_feupdateenv): Likewise.
34272         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34273         not previously defined.
34274         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34275         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34276         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34277         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34278         * sysdeps/ieee754/flt-32/math_private.h: New file.
34279         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34280         math_private.h below SET_FLOAT_WORD.
34281         (__isnan, __isinf_ns, __finite): Remove.
34282         (__isnanf, __isinf_nsf, __finitef): Remove.
34284 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34288 2012-03-17  David S. Miller  <davem@davemloft.net>
34290         [BZ #6471]
34291         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34292         for 2.16.
34294 2012-03-16  David S. Miller  <davem@davemloft.net>
34296         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34297         warnings.
34299         [BZ #6471]
34300         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34301         properly.
34302         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34303         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34304         sysdep_routines when subdir is sysvipc.
34305         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34306         __getshmlba helper.
34308         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34310 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34312         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34313         [__LP64__].
34315 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34317         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34318         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34319         (__lround): Renamed to ...
34320         (__llround): This.  Replace long int with long long int.
34321         Define lround functions as aliases of llround functions.
34322         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34324 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34326         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34327         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34328         adresses to uintptr_t.  Replace "long int" and "unsigned long
34329         int" with "greg_t" on va_arg.
34331 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34333         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34334         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34336         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34337         Move e_machine check before EI_CLASS check.  Handle x32
34338         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34339         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34340         SKIP_EM_IA_64 and include
34341         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34343         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34344         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34345         (add_system_dir): New macro.
34347         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34348         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34350 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34352         [BZ #2551]
34353         [BZ #2552]
34354         [BZ #2553]
34355         [BZ #2554]
34356         [BZ #2562]
34357         [BZ #2563]
34358         [BZ #2565]
34359         [BZ #2566]
34360         [BZ #2576]
34361         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34362         (y0): Likewise.
34363         * math/w_j0f.c (j0f): Likewise.
34364         (y0f): Likewise.
34365         * math/w_j0l.c (__j0l): Likewise.
34366         (__y0l): Likewise.
34367         * math/w_j1.c (j1): Likewise.
34368         (y1): Likewise.
34369         * math/w_j1f.c (j1f): Likewise.
34370         (y1f): Likewise.
34371         * math/w_j1l.c (__j1l): Likewise.
34372         (__y1l): Likewise.
34373         * math/w_jn.c (jn): Likewise.
34374         (yn): Likewise.
34375         * math/w_jnf.c (jnf): Likewise.
34376         (ynf): Likewise.
34377         * math/w_jnl.c (__jnl): Likewise.
34378         (__ynl): Likewise.
34379         * math/libm-test.inc (j0_test): Add more tests.
34380         (j1_test): Likewise.
34381         (jn_test): Likewise.  Add trailing semicolon to existing test.
34382         (y0_test): Likewise.
34383         (y1_test): Likewise.
34384         * sysdeps/i386/fpu/libm-test-ulps: Update.
34385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34387         [BZ #13851]
34388         [BZ #13854]
34389         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34390         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34391         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34392         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34393         (__tanl): Set errno for infinite argument.
34394         * sysdeps/i386/fpu/mptan.c: Remove.
34395         * sysdeps/i386/fpu/s_tan.S: Likewise.
34396         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34397         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34398         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34399         * math/libm-test.inc (tan_test): Add more tests and enable more
34400         tests for double and long double.
34401         * sysdeps/i386/fpu/libm-test-ulps: Update.
34402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34404 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34406         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34407         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34409 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34411         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34412         * configure.in: Use it for both main tree and add-ons.
34413         * configure: Regenerated.
34415 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34417         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34419 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34421         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34422         in comment.
34424         [BZ #13851]
34425         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34426         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34427         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34428         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34429         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34430         infinite argument.
34431         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34432         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34433         != 0 for prec == 2.
34434         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34435         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34436         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34437         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34438         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34439         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34440         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34441         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34442         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34443         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34444         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34445         * math/libm-test.inc (cos_test): Add more tests and enable more
34446         tests for long double.
34447         (sin_test): Likewise.
34448         (sincos_test): Likewise.
34449         * sysdeps/i386/fpu/libm-test-ulps: Update.
34450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34452 2012-03-16  David S. Miller  <davem@davemloft.net>
34454         * sysdeps/sparc/fpu/math_private.h: New file.
34456 2012-03-15  David S. Miller  <davem@davemloft.net>
34458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34459         file.
34460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34462         file.
34463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34469         sysdep routines.
34470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34472         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34473         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34475         * sysdeps/sparc/sparc-ifunc.h: New file.
34476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34477         sparc-ifunc.h
34478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34480         Likewise.
34481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34482         Likewise.
34483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34487         Likewise.
34488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34493         Likewise.
34494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34495         Likewise.
34496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34502         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34503         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34504         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34505         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34506         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34507         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34508         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34509         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34510         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34511         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34512         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34513         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34514         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34515         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34516         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34517         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34518         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34519         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34521 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34523         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34524         scaling.
34525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34527 2012-03-15  Andreas Jaeger  <aj@suse.de>
34529         [BZ #13852]
34530         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34531         ieee754/flt-32 implementation for sin, cos and sincos.
34532         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34533         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34534         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34535         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34536         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34537         ieee754/flt-32 implementation for tan.
34539         * math/libm-test.inc (cos_test): Enable some large input tests for
34540         float as well
34541         (sin_test): Likewise.
34542         (sincos_test): Likewise.
34543         (tan_test): Add tests for large input.
34545         * sysdeps/i386/fpu/libm-test-ulps: Update.
34547 2012-03-15  Andreas Jaeger  <aj@suse.de>
34549         [BZ #13658]
34550         * math/libm-test.inc (cos_test): Add more test cases.
34551         (sin_test): Likewise.
34552         (sincos_test): Likewise.
34554 2012-03-15  Andreas Jaeger  <aj@suse.de>
34556         [BZ #13837]
34557         * math/libm-test.inc (cos_test): Add a test case for large input
34558         value.
34559         (sin_test): Likewise.
34560         (sincos_test): Likewise.
34562 2012-03-15  Andreas Jaeger  <aj@suse.de>
34563             Joseph Myers  <joseph@codesourcery.com>
34565         [BZ #13658]
34566         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34567         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34568         * sysdeps/i386/fpu/branred.c: Likewise.
34569         * sysdeps/i386/fpu/dosincos.c: Likewise.
34570         * sysdeps/i386/fpu/mpa.c: Likewise.
34571         * sysdeps/i386/fpu/s_cos.S: Likewise.
34572         * sysdeps/i386/fpu/s_sin.S: Likewise.
34573         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34574         * sysdeps/i386/fpu/sincos32.c: Likewise.
34576         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34577         Define.
34578         (libc_feupdateenv_53bit): Define.
34579         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34580         Define.
34581         (libc_feupdateenv_53bit): Define.
34583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34584         53 bit (without extend i386 double precision).
34586         * math/libm-test.inc (sincos_test): Add tests for large input.
34587         (sin): Likewise.
34588         (cos): Likewise.
34590         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34592 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34596 2012-03-15  David S. Miller  <davem@davemloft.net>
34598         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34599         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34600         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34601         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34604         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34605         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34614         file.
34615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34617         file.
34618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34620         file.
34621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34623         file.
34624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34625         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34626         fmin/fmax sysdep routines.
34627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34629 2012-03-14  David S. Miller  <davem@davemloft.net>
34631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34632         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34633         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34634         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34635         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34636         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34637         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34638         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34639         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34640         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34643         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34644         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34645         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34646         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34651         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34657         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34658         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34659         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34660         routines.
34661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34662         file.
34663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34665         file.
34666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34668         file.
34669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34671         file.
34672         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34674         file.
34675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34677         file.
34678         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34679         file.
34680         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34681         file.
34682         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34683         file.
34684         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34685         New file.
34686         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34687         file.
34688         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34689         file.
34690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34692         file.
34693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34695         file.
34696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34698         file.
34699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34701         VIS3 routines.
34703         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34704         New file.
34706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34708         * sysdeps/sparc/configure.in: New file.
34709         * sysdeps/sparc/configure: Generate.
34710         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34711         * configure: Regenerate.
34712         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34713         * config.make.in (have-as-vis3): New.
34714         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34715         available use -Av9d instead of -Av9a.
34716         * sysdeps/sparc/sparc64/Makefile: Likewise.
34717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34719         New file.
34720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34721         file.
34722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34723         New file.
34724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34725         file.
34726         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34727         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34728         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34729         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34730         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34732         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34733         fzeros/fnegs to load 0x80000000 into a float register instead of
34734         using the stack.
34735         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34737 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34740         bits/syscall.h.
34741         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34742         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34743         ($(inst_includedir)/bits/syscall.h): Remove rule.
34744         ($(objpfx)bits/syscall.d): Include instead of
34745         $(objpfx)syscall-list.d.
34746         (generated): Change syscall-list.h and syscall-list.d to
34747         bits/syscall.h and bits/syscall.d.
34749 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34751         [BZ #13846]
34752         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34754 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34756         [BZ #13841]
34757         * math/s_csqrt.c: Include <float.h>.
34758         (__csqrt): Scale large or subnormal inputs.
34759         * math/s_csqrtf.c: Likewise.
34760         * math/s_csqrtl.c: Likewise.
34761         * math/libm-test.inc (csqrt_test): Add more tests.
34762         * sysdeps/i386/fpu/libm-test-ulps: Update.
34763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34765         [BZ #13840]
34766         * math/libm-test.inc (hypot_test): Add more tests.
34768 2012-03-13  David S. Miller  <davem@davemloft.net>
34770         [BZ #13840]
34771         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34772         double-precision for the calculation instead of scaling.
34774 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34776         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34777         manipulate bits before adding and subtracting TWO52[sx].
34778         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34779         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34780         Likewise.
34781         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34783 2012-03-13  David S. Miller  <davem@davemloft.net>
34785         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34786         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34787         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34788         rtld-global-offsets.h
34789         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34791         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34792         large parameters.
34794         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34796         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34797         'err' in the ifdef scope in which it is actually used.
34799         * nss/nss_db/db-init.c: Include string.h
34801 2012-03-12  David S. Miller  <davem@davemloft.net>
34803         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34804         masking out of the most significant byte of random value used.
34805         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34806         Fix coding style in previous change.
34808         * sysdeps/unix/sysv/linux/kernel-features.h
34809         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34810         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34811         expression.
34812         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34813         later.
34815 2012-03-11  David S. Miller  <davem@davemloft.net>
34817         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34818         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34819         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34820         for 'resultvar' otherwise things get truncated on 64-bit.
34822         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34823         Fix masking out of the most significant byte of random value used.
34825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34827 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34829         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34831 2012-03-09  David S. Miller  <davem@davemloft.net>
34833         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34834         variables with appropriate CPP guards.
34835         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34836         from the frame pointer, not the stack pointer.  Correct layout
34837         comments.  Fix test on resulting framesize and the management of
34838         the outregs buffer for pltexit.  Preserve floating point return
34839         values across _dl_call_pltexit call.
34840         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34841         framesize and the management of the outregs buffer for pltexit.
34842         Preserve floating point return values across _dl_call_pltexit
34843         call.
34844         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
34845         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
34846         (la_sparc64_gnu_pltexit): New functions.
34847         (print_exit): Fix format string for return register value.
34849 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
34851         * sunrpc/Makefile (others): Add rpcgen.
34852         ($(objpfx)rpcgen): Remove special build rule and dependency on
34853         libc.
34854         * sunrpc/rpcgen.c: New file.
34856 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
34858         [BZ #13673]
34859         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
34860         * stdio-common/bug-vfprintf-nargs.c: Likewise.
34861         * sysdeps/i386/crti.S: Likewise.
34862         * sysdeps/i386/crtn.S: Likewise.
34863         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
34864         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
34865         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
34866         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
34867         * sysdeps/sh/crti.S: Likewise.
34868         * sysdeps/sh/crtn.S: Likewise.
34869         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
34871         [BZ #13673]
34872         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
34873         with URL.
34874         * locale/programs/locfile-kw.gperf: Likewise.
34875         * locale/programs/charmap-kw.h: Regenerated.
34876         * locale/programs/locfile-kw.h: Likewise.
34878         [BZ #13673]
34879         * intl/plural.y: Replace FSF snail mail address with URL.
34880         * intl/plural.c: Regenerated.
34882 2012-03-09  Richard Henderson  <rth@twiddle.net>
34884         * include/math_private.h: Remove file.
34885         * math/math_private.h: Move file ...
34886         * sysdeps/generic/math_private.h: ... here.
34888         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
34889         * sysdeps/powerpc/fpu/math_private.h: Likewise.
34890         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34892         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
34893         and <math_private.h>.
34894         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34895         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34896         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34897         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34898         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34899         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
34900         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34901         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34902         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
34903         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34904         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34905         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
34906         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
34907         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34908         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
34909         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
34910         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34911         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34912         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
34913         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
34914         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34915         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
34916         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
34917         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34918         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
34919         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
34920         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
34921         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34922         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34923         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34924         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
34925         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34926         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
34927         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34928         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34929         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34930         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34931         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34932         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34933         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34934         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
34935         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34936         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34937         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
34938         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
34939         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34940         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
34941         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
34942         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34943         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34944         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
34945         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
34946         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
34947         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34948         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
34949         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
34950         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34951         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
34952         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
34953         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
34954         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34955         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
34956         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34957         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34958         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
34959         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34960         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34961         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34962         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
34963         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
34964         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
34965         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34966         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
34967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34968         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
34969         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
34970         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
34971         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34972         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
34973         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
34974         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
34975         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
34976         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
34977         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
34978         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34979         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
34980         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
34981         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
34982         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
34983         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34984         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34985         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
34986         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34987         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
34988         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
34989         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
34990         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34991         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
34992         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
34993         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
34994         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
34995         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
34996         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
34997         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
34998         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34999         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35000         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35001         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35002         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35003         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35004         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35005         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35006         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35007         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35008         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35009         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35010         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35011         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35012         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35013         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35014         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35015         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35016         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35017         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35018         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35019         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35020         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35021         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35022         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35023         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35024         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35025         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35026         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35027         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35028         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35029         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35030         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35031         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35032         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35033         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35034         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35035         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35036         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35037         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35038         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35039         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35040         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35041         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35042         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35043         * sysdeps/ieee754/k_standard.c: Likewise.
35044         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35045         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35046         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35047         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35048         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35049         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35050         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35051         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35052         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35053         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35054         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35056         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35057         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35058         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35059         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35061         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35062         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35063         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35064         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35065         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35066         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35067         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35068         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35069         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35070         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35071         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35072         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35073         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35074         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35075         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35076         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35077         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35078         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35079         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35080         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35081         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35082         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35083         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35084         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35085         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35086         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35087         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35088         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35089         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35090         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35091         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35092         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35094         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35095         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35096         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35097         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35100         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35101         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35102         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35103         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35104         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35105         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35106         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35107         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35108         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35109         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35110         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35112         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35113         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35114         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35115         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35116         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35117         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35118         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35119         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35120         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35121         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35122         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35123         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35124         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35125         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35126         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35127         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35128         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35129         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35130         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35131         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35132         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35133         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35134         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35135         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35136         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35137         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35139         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35140         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35141         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35142         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35143         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35144         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35145         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35146         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35147         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35148         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35149         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35150         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35151         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35152         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35153         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35154         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35155         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35156         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35157         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35158         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35159         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35160         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35161         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35162         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35163         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35164         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35165         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35166         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35167         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35168         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35169         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35170         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35171         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35172         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35173         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35174         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35175         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35176         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35177         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35178         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35179         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35180         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35181         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35182         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35183         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35184         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35185         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35186         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35187         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35188         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35189         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35190         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35191         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35192         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35193         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35194         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35195         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35196         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35198         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35199         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35200         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35201         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35202         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35204         * sysdeps/ieee754/s_lib_version.c: Likewise.
35205         * sysdeps/ieee754/s_matherr.c: Likewise.
35206         * sysdeps/ieee754/s_signgam.c: Likewise.
35207         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35208         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35209         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35210         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35211         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35212         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35213         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35214         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35215         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35216         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35217         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35218         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35219         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35220         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35221         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35222         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35223         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35224         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35225         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35226         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35227         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35229 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35231         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35232         * sunrpc/rpc_main.c: Likewise.
35233         * sunrpc/rpc_svcout.c: Likewise.
35235 2012-03-09  David S. Miller  <davem@davemloft.net>
35237         * include/math_private.h: New file.
35239 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35241         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35242         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35243         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35244         from <bits/socket_type.h>.
35245         (enum __socket_type): Don't define here.
35246         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35247         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35248         bits/socket_type.h.
35250         [BZ #13566]
35251         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35252         checking __USE_GNU.
35254         * Makerules ($(inst_includedir)/%.h): New rule.
35255         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35256         (install-others): Remove variable setting.
35257         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35259 2012-03-08  Richard Henderson  <rth@twiddle.net>
35261         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35262         from macro to inline function; merge with the
35263         !__LIBC_INTERNAL_MATH_INLINES version.
35264         (__ieee754_sqrtf): Likewise.
35266         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35267         to inline function.
35268         (__rintf, __floor, __floorf): Likewise.
35270         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35271         macro to inline function.
35272         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35274         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35275         not <math/math_private.h>.
35277 2012-03-08  David S. Miller  <davem@davemloft.net>
35279         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35280         copyright year.
35281         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35283 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35285         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35286         normalization.
35287         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35288         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35290 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35292         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35293         be defined individually, they must be defined as a block.  Define
35294         S for printing a string instead of hidint the different by using a
35295         macro for adding the 'l'.
35296         * stdio-common/tst-fphex-wide.c: Adjust.
35298 2012-03-07  Marek Polacek  <polacek@redhat.com>
35300         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35302 2012-03-08  Marek Polacek  <polacek@redhat.com>
35304         [BZ #13806]
35305         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35306         * stdio-common/tst-fphex.c: Define a few macros to make the
35307         test reusable.  Use them.
35308         * stdio-common/tst-fphex-wide.c: New file.
35310 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35312         [BZ #6911]
35313         * manual/macros.texi (gnusystems): New macro.
35314         (nongnusystems): Likewise.
35315         (gnulinuxhurdsystems): Likewise.
35316         (gnuhurdsystems): Likewise..
35317         (gnulinuxsystems): Likewise.
35318         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35319         variants of the GNU system, not "GNU system".
35320         * manual/conf.texi: Likewise.
35321         * manual/errno.texi: Likewise.  Update example of errno macro
35322         expansion.
35323         * manual/filesys.texi: Likewise.
35324         (getumask): Document as specific to GNU/Hurd.
35325         * manual/install.texi: Likewise.  Reword some references to
35326         GNU/Linux.
35327         * manual/intro.texi: Likewise.
35328         * manual/io.texi: Likewise.
35329         (File Name Portability): Detail which constraints are inapplicable
35330         to all GNU systems and which are only inapplicable to GNU/Hurd.
35331         * manual/job.texi: Likewise.
35332         * manual/llio.texi: Likewise.
35333         (O_NOCTTY): Document as present on GNU/Linux.
35334         * manual/maint.texi: Likewise.
35335         * manual/memory.texi: Likewise.
35336         * manual/pattern.texi: Likewise.
35337         * manual/pipe.texi: Likewise.
35338         * manual/process.texi: Likewise.
35339         * manual/resource.texi: Likewise.
35340         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35341         child on GNU/Hurd.
35342         * manual/setjmp.texi: Likewise.
35343         * manual/signal.texi: Likewise.
35344         * manual/startup.texi: Likewise.
35345         * manual/stdio.texi: Likewise.
35346         * manual/terminal.texi: Likewise.
35347         (ONLCR): Document as POSIX.
35348         (OXTABS): Document availability on GNU/Linux as XTABS.
35349         (ONOEOT): Document availability separately from other bits.
35350         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35351         * manual/time.texi: Likewise.
35352         * manual/users.texi: Likewise.
35353         * INSTALL: Regenerated.
35354         * sysdeps/gnu/errlist.c: Regenerated.
35356         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35357         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35358         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35359         puts.
35360         * configure: Regenerated.
35362 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35364         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35365         default includes instead of AC_HEADER_CHECK.
35366         * sysdeps/i386/configure: Regenerated.
35368         [BZ #10716]
35369         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35370         * math/s_cacoshf.c (__cacoshf): Likewise.
35371         * math/s_cacoshl.c (__cacoshl): Likewise.
35372         * math/s_casinh.c (__casinh): Set signs of result from argument.
35373         * math/s_casinhf.c (__casinhf): Likewise.
35374         * math/s_casinhl.c (__casinhl): Likewise.
35375         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35376         (casinh_test): Add more tests.
35377         * sysdeps/i386/fpu/libm-test-ulps: Update.
35378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35380 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35382         * po/zh_TW.po: Update from translation team.
35384         * login/Makefile (distribute): Remove variable.
35385         * catgets/Makefile: Likewise.
35386         * mach/Makefile: Likewise.
35387         * malloc/Makefile: Likewise.
35388         * misc/Makefile: Likewise.
35389         * iconv/Makefile: Likewise.
35390         * nscd/Makefile: Likewise.
35391         * hurd/Makefile: Likewise.
35392         * manual/Makefile: Likewise.
35393         * locale/Makefile: Likewise.
35394         * intl/Makefile: Likewise.
35395         * conform/Makefile: Likewise.
35396         * nss/Makefile: Likewise.
35397         * time/Makefile: Likewise.
35398         * soft-fp/Makefile: Likewise.
35399         * dirent/Makefile: Likewise.
35400         * gmon/Makefile: Likewise.
35401         * po/Makefile: Likewise.
35402         * rt/Makefile: Likewise.
35403         * socket/Makefile: Likewise.
35404         * math/Makefile: Likewise.
35405         * signal/Makefile: Likewise.
35406         * debug/Makefile: Likewise.
35407         * elf/Makefile: Likewise.
35408         * timezone/Makefile: Likewise.
35409         * stdlib/Makefile: Likewise.
35410         * iconvdata/Makefile: Likewise.
35411         * sunrpc/Makefile: Likewise.
35412         * io/Makefile: Likewise.
35413         * argp/Makefile: Likewise.
35414         * inet/Makefile: Likewise.
35415         * hesiod/Makefile: Likewise.
35416         * grp/Makefile: Likewise.
35417         * csu/Makefile: Likewise.
35418         * wctype/Makefile: Likewise.
35419         * crypt/Makefile: Likewise.
35420         * libio/Makefile: Likewise.
35421         * string/Makefile: Likewise.
35422         * nis/Makefile: Likewise.
35423         * resolv/Makefile: Likewise.
35424         * stdio-common/Makefile: Likewise.
35425         * wcsmbs/Makefile: Likewise.
35426         * dlfcn/Makefile: Likewise.
35427         * posix/Makefile: Likewise.
35429         [BZ #6959]
35430         * timezone/Makefile: Don't install timezone files, just the programs
35431         and scripts.
35433 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35435         * nss/databases.def: Add missing gshadow entry.
35437         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35439 2012-03-06  Marek Polacek  <polacek@redhat.com>
35441         [BZ #13726]
35442         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35443         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35444         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35445         * stdio-common/tst-long-dbl-fphex.c: New file.
35447 2012-03-06  David S. Miller  <davem@davemloft.net>
35449         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35450         (set_obp_int): New function.
35451         (get_obp_int): New function.
35452         (__get_clockfreq_via_dev_openprom): Likewise.
35453         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35454         Avoid unused variable warnings on 'val' and use builtin_expect.
35455         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35456         __builtin_expect.
35457         (INLINE_CLONE_SYSCALL): Likewise.
35459 2012-03-05  David S. Miller  <davem@davemloft.net>
35461         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35463 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35467         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35468         only for |x| >= 40.
35469         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35471 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35473         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35474         Replace gettimeofday with __vdso_gettimeofday.
35476         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35477         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35478         __vdso_clock_gettime and __vdso_getcpu.
35480         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35481         time with __vdso_time.
35483 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35485         * manual/lang.texi (size_t): Note types to which size_t may be
35486         equivalent with the GNU C Library, but do not describe when
35487         differences between them are significant.
35489 2012-03-05  Andreas Jaeger  <aj@suse.de>
35491         * sysdeps/i386/fpu/libm-test-ulps: Update.
35493 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35495         [BZ #3976]
35496         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35497         (__ieee754_pow): Save and restore rounding mode and use
35498         round-to-nearest for main computations.
35499         * math/libm-test.inc (pow_test_tonearest): New function.
35500         (pow_test_towardzero): Likewise.
35501         (pow_test_downward): Likewise.
35502         (pow_test_upward): Likewise.
35503         (main): Call the new functions.
35504         * sysdeps/i386/fpu/libm-test-ulps: Update.
35505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35507         [BZ #3976]
35508         * math/libm-test.inc (cosh_test_tonearest): New function.
35509         (cosh_test_towardzero): Likewise.
35510         (cosh_test_downward): Likewise.
35511         (cosh_test_upward): Likewise.
35512         (sinh_test_tonearest): Likewise.
35513         (sinh_test_towardzero): Likewise.
35514         (sinh_test_downward): Likewise.
35515         (sinh_test_upward): Likewise.
35516         (main): Call the new functions.
35517         * sysdeps/i386/fpu/libm-test-ulps: Update.
35518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35520 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35522         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35523         default stack guard is set in last bytes.
35524         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35526 2012-03-05  Kees Cook  <keescook@chromium.org>
35528         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35530         [BZ #13656]
35531         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35532         possibly allocate from heap instead of stack.
35533         * stdio-common/bug-vfprintf-nargs.c: New file.
35534         * stdio-common/Makefile (tests): Add nargs overflow test.
35536 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35540 2012-03-03  Marek Polacek  <polacek@redhat.com>
35542         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35543         * math/math_private.h: Likewise.
35544         * stdlib/tst-strtod.c: Likewise.
35545         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35546         * sysdeps/x86_64/bits/atomic.h: Likewise.
35548 2012-03-02  David S. Miller  <davem@davemloft.net>
35550         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35551         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35553         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35554         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35555         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35556         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35557         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35559 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35561         [BZ #13792]
35562         * manual/examples/README: New file, says the example source files
35563         can be used under GPL>=2.
35564         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35565         line containing just "*/".
35566         * manual/examples/add.c: Add copyright header (GPL>=2).
35567         * manual/examples/argp-ex1.c: Likewise.
35568         * manual/examples/argp-ex2.c: Likewise.
35569         * manual/examples/argp-ex3.c: Likewise.
35570         * manual/examples/argp-ex4.c: Likewise.
35571         * manual/examples/atexit.c: Likewise.
35572         * manual/examples/db.c: Likewise.
35573         * manual/examples/dir.c: Likewise.
35574         * manual/examples/dir2.c: Likewise.
35575         * manual/examples/execinfo.c: Likewise.
35576         * manual/examples/filecli.c: Likewise.
35577         * manual/examples/filesrv.c: Likewise.
35578         * manual/examples/fmtmsgexpl.c: Likewise.
35579         * manual/examples/genpass.c: Likewise.
35580         * manual/examples/inetcli.c: Likewise.
35581         * manual/examples/inetsrv.c: Likewise.
35582         * manual/examples/isockad.c: Likewise.
35583         * manual/examples/longopt.c: Likewise.
35584         * manual/examples/memopen.c: Likewise.
35585         * manual/examples/memstrm.c: Likewise.
35586         * manual/examples/mkfsock.c: Likewise.
35587         * manual/examples/mkisock.c: Likewise.
35588         * manual/examples/mygetpass.c: Likewise.
35589         * manual/examples/pipe.c: Likewise.
35590         * manual/examples/popen.c: Likewise.
35591         * manual/examples/rprintf.c: Likewise.
35592         * manual/examples/search.c: Likewise.
35593         * manual/examples/select.c: Likewise.
35594         * manual/examples/setjmp.c: Likewise.
35595         * manual/examples/sigh1.c: Likewise.
35596         * manual/examples/sigusr.c: Likewise.
35597         * manual/examples/stpcpy.c: Likewise.
35598         * manual/examples/strdupa.c: Likewise.
35599         * manual/examples/strftim.c: Likewise.
35600         * manual/examples/strncat.c: Likewise.
35601         * manual/examples/subopt.c: Likewise.
35602         * manual/examples/swapcontext.c: Likewise.
35603         * manual/examples/termios.c: Likewise.
35604         * manual/examples/testopt.c: Likewise.
35605         * manual/examples/testpass.c: Likewise.
35606         * manual/examples/timeval_subtract.c: Likewise.
35608         [BZ #13792]
35609         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35610         function to ...
35611         * manual/timeval_subtract.c.texi: ... here, new file.
35613 2012-03-02  David S. Miller  <davem@davemloft.net>
35615         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35617 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35619         [BZ #3976]
35620         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35621         (__sin): Save and restore rounding mode and use round-to-nearest
35622         for all computations.
35623         (__cos): Save and restore rounding mode and use round-to-nearest
35624         for all computations.
35625         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35626         <fenv.h>.
35627         (tan): Save and restore rounding mode and use round-to-nearest for
35628         all computations.
35629         * math/libm-test.inc (cos_test_tonearest): New function.
35630         (cos_test_towardzero): Likewise.
35631         (cos_test_downward): Likewise.
35632         (cos_test_upward): Likewise.
35633         (sin_test_tonearest): Likewise.
35634         (sin_test_towardzero): Likewise.
35635         (sin_test_downward): Likewise.
35636         (sin_test_upward): Likewise.
35637         (tan_test_tonearest): Likewise.
35638         (tan_test_towardzero): Likewise.
35639         (tan_test_downward): Likewise.
35640         (tan_test_upward): Likewise.
35641         (main): Call the new functions.
35642         * sysdeps/i386/fpu/libm-test-ulps: Update.
35643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35645         [BZ #10135]
35646         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35647         small n, then large n, before computing and testing k+n.
35648         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35649         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35650         Likewise.
35651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35652         Likewise.
35653         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35654         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35655         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35656         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35657         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35658         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35659         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35660         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35661         * math/libm-test.inc (scalbn_test): Add more tests.
35662         (scalbln_test): Likewise.
35664         * manual/filesys.texi (mode_t): Describe constraints on size and
35665         signedness, not exact equivalence to a particular type.
35666         (ino_t): Likewise.
35667         (ino64_t): Likewise.
35668         (dev_t): Likewise.
35669         (nlink_t): Likewise.
35670         (blkcnt_t): Likewise.
35671         (blkcnt64_t): Likewise.
35672         * manual/llio.texi (off_t): Likewise.
35674         [BZ #3976]
35675         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35676         (__ieee754_exp): Save and restore rounding mode and use
35677         round-to-nearest for all computations.
35678         * math/libm-test.inc (exp_test_tonearest): New function.
35679         (exp_test_towardzero): Likewise.
35680         (exp_test_downward): Likewise.
35681         (exp_test_upward): Likewise.
35682         (main): Call the new functions.
35683         * sysdeps/i386/fpu/libm-test-ulps: Update.
35684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35686 2012-03-01  Chris Demetriou  <cgd@google.com>
35688         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35689         have predictable order.
35691 2012-03-01  David S. Miller  <davem@davemloft.net>
35693         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35695         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35696         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35697         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35698         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35700         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35701         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35702         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35703         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35704         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35705         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35706         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35707         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35708         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35712         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35713         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35714         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35716         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35717         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35718         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35719         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35720         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35721         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35722         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35723         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35724         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35725         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35726         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35727         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35729         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35732         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35733         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35734         * sysdeps/sparc/elf/configure: Regenerated.
35736 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35738         * configure.in (AS, LD): Require binutils 2.20 or later.
35739         * configure: Regenerated.
35740         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35741         as required minimum version.
35742         * INSTALL: Regenerated.
35744         [BZ #2541]
35745         [BZ #4108]
35746         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35747         before squaring exponent.
35748         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35749         bottom long double and 27 bits of top long double before squaring
35750         exponent.
35751         * math/libm-test.inc (erfc_test): Add more tests.
35752         * sysdeps/i386/fpu/libm-test-ulps: Update.
35753         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35756 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35758         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35759         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35760         containing bit-fields.
35761         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35762         * soft-fp/single.h (_FP_UNION_S): Likewise.
35763         * soft-fp/double.h (_FP_UNION_D): Likewise.
35765 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35767         [BZ #13786]
35768         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35769         not include ../strcmp.S.
35770         [USE_AS_STRNCASECMP_L]: Likewise.
35771         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35772         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35773         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35774         (__strncasecmp_l_ia32): Define as alias to
35775         __strncasecmp_l_nonascii.
35777         [BZ #5794]
35778         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35779         * sysdeps/i386/fpu/libm-test-ulps: Update.
35780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35782         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35785 2012-02-29  Jeff Law  <law@redhat.com>
35787         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35788         out of bounds read.
35790 2012-02-29  Marek Polacek  <polacek@redhat.com>
35792         [BZ #13706]
35793         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35794         * elf/Makefile: Add rules to run tst-unused-dep.out.
35796 2012-02-28  David S. Miller  <davem@davemloft.net>
35798         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35799         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35800         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35801         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35802         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35803         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35805 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35807         * math/libm-test.inc (llround_test): Move one test from
35808         lround_test.  Use TEST_f_L in moved test.
35809         (lround_test): Move misplaced test to llround_test.  Add testcase
35810         from bug 2561.
35812 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35814         * sysdeps/x86_64/fpu/e_expf.S: New file.
35815         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35817 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35819         [BZ #13637]
35820         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35821         of remain_len that may cause incomplete multi-byte character and
35822         false match.
35823         * posix/bug-regex33.c: New file.
35824         * posix/Makefile (tests): Add bug-regex33.
35826 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35828         * manual/macros.texi: New file.
35829         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35830         * manual/libc.texinfo: Include macros.texi.
35831         * manual/creatute.texi: Likewise.
35832         * manual/install.texi: Likewise.
35833         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35834         @glibcadj{} in references to the GNU C Library.
35835         * manual/charset.texi: Likewise.
35836         * manual/conf.texi: Likewise.
35837         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35838         when not using those macros.
35839         * manual/creature.texi: Likewise.
35840         * manual/crypt.texi: Likewise.
35841         * manual/errno.texi: Likewise.
35842         * manual/filesys.texi: Likewise.
35843         * manual/header.texi: Likewise.
35844         * manual/install.texi: Likewise.
35845         * manual/intro.texi: Likewise.
35846         * manual/io.texi: Likewise.
35847         * manual/job.texi: Likewise.
35848         * manual/lang.texi: Likewise.
35849         * manual/libc.texiinfo: Likewise.
35850         * manual/llio.texi: Likewise.
35851         * manual/locale.texi: Likewise.
35852         * manual/maint.texi: Likewise.
35853         * manual/math.texi: Likewise.
35854         * manual/memory.texi: Likewise.
35855         * manual/message.texi: Likewise.
35856         * manual/nss.texi: Likewise.
35857         * manual/pattern.texi: Likewise.
35858         * manual/process.texi: Likewise.
35859         * manual/resource.texi: Likewise.
35860         * manual/search.texi: Likewise.
35861         * manual/setjmp.texi: Likewise.
35862         * manual/signal.texi: Likewise.
35863         * manual/socket.texi: Likewise.
35864         * manual/startup.texi: Likewise.
35865         * manual/stdio.texi: Likewise.
35866         * manual/string.texi: Likewise.
35867         * manual/sysinfo.texi: Likewise.
35868         * manual/syslog.texi: Likewise.
35869         * manual/terminal.texi: Likewise.
35870         * manual/time.texi: Likewise.
35871         * manual/users.texi: Likewise.
35872         * INSTALL: Regenerated.
35873         * NOTES: Regenerated.
35874         * sysdeps/gnu/errlist.c: Regenerated.
35876 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
35878         * include/dirent.h: Include <dirstream.h> before
35879         <dirent/dirent.h>.
35881 2012-02-28  David S. Miller  <davem@davemloft.net>
35883         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
35884         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
35885         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
35886         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
35888 2012-02-27  David S. Miller  <davem@davemloft.net>
35890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
35891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
35892         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
35893         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
35895         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
35896         frame pointer instead of stack pointer relative arg slot.
35897         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35898         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35899         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35901 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
35903         [BZ #3992]
35904         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
35906 2012-02-27  David S. Miller  <davem@davemloft.net>
35908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
35909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
35910         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
35911         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
35912         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
35913         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
35914         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
35915         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
35917 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35919         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
35920         later.  Allow versions 5-9.
35921         * configure: Regenerated.
35922         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
35923         required minimum version and 4.6 as recommended version.  Do not
35924         mention bugs in GCC 2.7 and 2.8.
35925         * INSTALL: Regenerated.
35927 2012-02-27  David S. Miller  <davem@davemloft.net>
35929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
35930         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
35931         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
35932         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
35933         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
35934         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
35935         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
35936         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
35938         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
35939         manipulate bits before adding and subtracting TWO112[sx].
35940         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35942 2012-02-27  Roland McGrath  <roland@hack.frob.com>
35944         [BZ #13775]
35945         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
35946         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
35947         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
35948         being in POSIX, because they are in 1003.1-2008.
35950         * rt/tst-aio.c: Include <fcntl.h>.
35951         * rt/tst-aio7.c: Likewise.
35952         * rt/tst-aio64.c: Likewise.
35954         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
35956 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
35958         * manual/install.texi (--with-headers): Describe headers as
35959         interface headers, not private headers.
35960         (Specific advice for GNU/Linux systems): Describe use of headers
35961         from "make headers_install", not private headers from older
35962         kernels.
35963         * INSTALL: Regenerated.
35964         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
35965         Change to 2.6.19.
35966         * sysdeps/unix/sysv/linux/configure: Regenerated.
35968         * manual/llio.texi (fclean): Remove documentation.
35970         * manual/Makefile (libc-texi-generated): New variable.  Include
35971         version.texi.
35972         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
35973         $(libc-texi-generated), not duplicated list of files.
35974         (version.texi, stamp-version): New rules.
35975         (realclean): Remove $(libc-texi-generated), not individual files
35976         from that list.  Do not remove dir-add.texinfo.
35977         * manual/libc.texinfo: Comment out uses of edition numbers and
35978         references to printed manual.  Remove last-updated dates.
35979         (EDITION): Comment out.
35980         (ISBN): Likewise.
35981         (VERSION, UPDATED): Remove.
35982         (version.texi): Include.
35984 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
35986         * sysdeps/posix/spawni.c: Include <signal.h>.
35987         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
35988         * sysdeps/pthread/aio_fsync.c: Likewise.
35990 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
35992         * conform/Makefile (tests): Run only when not cross-compiling and
35993         when fast-check is not defined.
35995         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
35996         * conform/data/limits.h-data: Fixes for POSIX2008.
35997         * conform/run-conformtest.sh: Run all tests.
35998         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
35999         headers.
36000         * include/bits/dlfcn.h: Likewise.
36001         * include/langinfo.h: Likewise.
36002         * include/monetary.h: Likewise.
36003         * include/sys/poll.h: Likewise.
36005         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36006         for __USE_GNU.
36007         * posix/spawn.h: Define __need_sigset_t.
36008         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36009         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36010         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36011         to get sigevent_t only.
36012         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36013         only for __USE_GNU.
36014         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36015         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36016         process_vm_writev only for __USE_GNU.
36017         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36019         * conform/Makefile: For now ignore errors from run-conformtest.
36020         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36021         POSIX to avoid namespace pollution.  Don't prepend headers.
36022         * conform/data/aio.h-data: Fixes for POSIX testing.
36023         * conform/data/fcntl.h-data: Likewise.
36024         * conform/data/glob.h-data: Likewise.
36025         * conform/data/grp.h-data: Likewise.
36026         * conform/data/pthread.h-data: Likewise.
36027         * conform/data/pwd.h-data: Likewise.
36028         * conform/data/signal.h-data: Likewise.
36029         * conform/data/spawn.h-data: Likewise.
36030         * conform/data/stdio.h-data: Likewise.
36031         * conform/data/stdlib.h-data: Likewise.
36032         * conform/data/stropts.h-data: Likewise.
36033         * conform/data/sys/mman.h-data: Likewise.
36034         * conform/data/sys/stat.h-data: Likewise.
36035         * conform/data/sys/types.h-data: Likewise.
36036         * conform/data/sys/wait.h-data: Likewise.
36037         * conform/data/time.h-data: Likewise.
36038         * conform/data/unistd.h-data: Likewise.
36039         * conform/data/utime.h-data: Likewise.
36041         * io/sys/stat.h: fchmod was always in POSIX.
36042         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36043         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36044         * rt/aio.h: Define __need_timespec before including <time.h>.
36045         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36046         struct.  Add forward declaration of pthread_attr_t and use it in
36047         sigevent.
36048         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36050         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36051         always remove CLK_TCK definition.
36053 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36055         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36057 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36059         * conform/run-conformtest.sh: New file.
36060         * conform/Makefile: Run run-conformtest for tests.
36061         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36062         support.
36064         * conform/data/uchar.h-data: New file.
36065         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36066         * conform/data/arpa/inet.h-data: Likewise.
36067         * conform/data/assert.h-data: Likewise.
36068         * conform/data/complex.h-data: Likewise.
36069         * conform/data/cpio.h-data: Likewise.
36070         * conform/data/ctype.h-data: Likewise.
36071         * conform/data/dirent.h-data: Likewise.
36072         * conform/data/dlfcn.h-data: Likewise.
36073         * conform/data/errno.h-data: Likewise.
36074         * conform/data/fcntl.h-data: Likewise.
36075         * conform/data/float.h-data: Likewise.
36076         * conform/data/fmtmsg.h-data: Likewise.
36077         * conform/data/fnmatch.h-data: Likewise.
36078         * conform/data/ftw.h-data: Likewise.
36079         * conform/data/glob.h-data: Likewise.
36080         * conform/data/grp.h-data: Likewise.
36081         * conform/data/iconv.h-data: Likewise.
36082         * conform/data/inttypes.h-data: Likewise.
36083         * conform/data/langinfo.h-data: Likewise.
36084         * conform/data/libgen.h-data: Likewise.
36085         * conform/data/limits.h-data: Likewise.
36086         * conform/data/locale.h-data: Likewise.
36087         * conform/data/math.h-data: Likewise.
36088         * conform/data/monetary.h-data: Likewise.
36089         * conform/data/mqueue.h-data: Likewise.
36090         * conform/data/ndbm.h-data: Likewise.
36091         * conform/data/net/if.h-data: Likewise.
36092         * conform/data/netdb.h-data: Likewise.
36093         * conform/data/netinet/in.h-data: Likewise.
36094         * conform/data/nl_types.h-data: Likewise.
36095         * conform/data/poll.h-data: Likewise.
36096         * conform/data/pthread.h-data: Likewise.
36097         * conform/data/pwd.h-data: Likewise.
36098         * conform/data/regex.h-data: Likewise.
36099         * conform/data/sched.h-data: Likewise.
36100         * conform/data/search.h-data: Likewise.
36101         * conform/data/semaphore.h-data: Likewise.
36102         * conform/data/setjmp.h-data: Likewise.
36103         * conform/data/signal.h-data: Likewise.
36104         * conform/data/spawn.h-data: Likewise.
36105         * conform/data/stdarg.h-data: Likewise.
36106         * conform/data/stdio.h-data: Likewise.
36107         * conform/data/stdlib.h-data: Likewise.
36108         * conform/data/string.h-data: Likewise.
36109         * conform/data/strings.h-data: Likewise.
36110         * conform/data/stropts.h-data: Likewise.
36111         * conform/data/sys/ipc.h-data: Likewise.
36112         * conform/data/sys/mman.h-data: Likewise.
36113         * conform/data/sys/msg.h-data: Likewise.
36114         * conform/data/sys/resource.h-data: Likewise.
36115         * conform/data/sys/select.h-data: Likewise.
36116         * conform/data/sys/sem.h-data: Likewise.
36117         * conform/data/sys/shm.h-data: Likewise.
36118         * conform/data/sys/socket.h-data: Likewise.
36119         * conform/data/sys/stat.h-data: Likewise.
36120         * conform/data/sys/statvfs.h-data: Likewise.
36121         * conform/data/sys/time.h-data: Likewise.
36122         * conform/data/sys/timeb.h-data: Likewise.
36123         * conform/data/sys/times.h-data: Likewise.
36124         * conform/data/sys/types.h-data: Likewise.
36125         * conform/data/sys/uio.h-data: Likewise.
36126         * conform/data/sys/un.h-data: Likewise.
36127         * conform/data/sys/utsname.h-data: Likewise.
36128         * conform/data/sys/wait.h-data: Likewise.
36129         * conform/data/syslog.h-data: Likewise.
36130         * conform/data/tar.h-data: Likewise.
36131         * conform/data/termios.h-data: Likewise.
36132         * conform/data/utime.h-data: Likewise.
36133         * conform/data/utmpx.h-data: Likewise.
36134         * conform/data/varargs.h-data: Likewise.
36135         * conform/data/wchar.h-data: Likewise.
36136         * conform/data/wctype.h-data: Likewise.
36137         * conform/data/wordexp.h-data: Likewise.
36139         * include/stropts.h: New file.
36140         * include/uchar.h: New file.
36141         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36142         * include/assert.h: Likewise.
36143         * include/ctype.h: Likewise.
36144         * include/dirent.h: Likewise.
36145         * include/dlfcn.h: Likewise.
36146         * include/fcntl.h: Likewise.
36147         * include/fnmatch.h: Likewise.
36148         * include/glob.h: Likewise.
36149         * include/grp.h: Likewise.
36150         * include/libio.h: Likewise.
36151         * include/locale.h: Likewise.
36152         * include/math.h: Likewise.
36153         * include/net/if.h: Likewise.
36154         * include/netdb.h: Likewise.
36155         * include/netinet/in.h: Likewise.
36156         * include/pthread.h: Likewise.
36157         * include/pwd.h: Likewise.
36158         * include/regex.h: Likewise.
36159         * include/sched.h: Likewise.
36160         * include/search.h: Likewise.
36161         * include/setjmp.h: Likewise.
36162         * include/signal.h: Likewise.
36163         * include/stdio.h: Likewise.
36164         * include/stdlib.h: Likewise.
36165         * include/string.h: Likewise.
36166         * include/sys/cdefs.h: Likewise.
36167         * include/sys/mman.h: Likewise.
36168         * include/sys/msg.h: Likewise.
36169         * include/sys/resource.h: Likewise.
36170         * include/sys/select.h: Likewise.
36171         * include/sys/socket.h: Likewise.
36172         * include/sys/stat.h: Likewise.
36173         * include/sys/statvfs.h: Likewise.
36174         * include/sys/time.h: Likewise.
36175         * include/sys/times.h: Likewise.
36176         * include/sys/uio.h: Likewise.
36177         * include/sys/utsname.h: Likewise.
36178         * include/sys/wait.h: Likewise.
36179         * include/termios.h: Likewise.
36180         * include/time.h: Likewise.
36181         * include/ulimit.h: Likewise.
36182         * include/unistd.h: Likewise.
36183         * include/utime.h: Likewise.
36184         * include/wchar.h: Likewise.
36185         * include/wctype.h: Likewise.
36186         * include/wordexp.h: Likewise.
36188         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36190         * time/time.h: TIME_UTC must be a macro.
36191         Make timespec_get available for ISO C11 only as well.
36193 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36195         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36196         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36198 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36200         * configure.in: Use -o not -a in test for unsupported multi-arch.
36202 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36204         * manual/texinfo.tex: Update to version 2012-01-19.16.
36206 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36208         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36210 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36212         [BZ #13738]
36213         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36214         * manual/fdl-1.3.texi: New file.
36215         * manual/fdl-1.1.texi: File removed.
36217         [BZ #13738]
36218         * manual/libc.texinfo (FDL_VERSION): New @set.
36219         Use it for mention of FDL in cover text.
36220         (Documentation License): Use it in @include file name.
36222 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36223             Roland McGrath  <roland@hack.frob.com>
36225         [BZ #5461]
36226         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36227         (not LONG_LONG_MAX and LONG_LONG_MIN.
36228         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36229         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36230         name.
36231         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36233 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36235         [BZ #2547]
36236         [BZ #11365]
36237         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36238         manipulate bits before adding and subtracting TWO23[sx].
36239         * math/libm-test.inc (nearbyint_test): Add more tests.
36241 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36243         [BZ #2548]
36244         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36245         bits before adding and subtracting TWO23[sx].
36246         * math/libm-test.inc (rint_test): Add more tests.
36247         (rint_test_tonearest): Likewise.
36248         (rint_test_towardzero): Likewise.
36249         (rint_test_downward): Likewise.
36250         (rint_test_upward: Likewise.
36252 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36254         [BZ #10110]
36255         * include/stdc-predef.h: New file.  Extracted from features.h.
36256         * include/features.h: Include stdc-predef.h.
36257         * Makefile (headers): Add stdc-predef.h.
36258         * CONFORMANCE (Compiler limitations): Update.
36260 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36262         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36264 2012-02-21  David S. Miller  <davem@davemloft.net>
36266         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36267         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36269 2012-02-20  David S. Miller  <davem@davemloft.net>
36271         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36272         using a normal save/restore sequence, rather than allocating a
36273         dummy stack frame just to store a frame pointer and restore.
36274         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36276 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36278         * manual/install.texi: Fix stray word in line-wrapped comment.
36280 2012-02-20  David S. Miller  <davem@davemloft.net>
36282         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36283         both binutils and gcc support GOTDATA.
36285         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36286         "rd %pc" in the PIC register setup sequences.
36288         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36289         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36290         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36291         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36292         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36293         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36294         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36295         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36296         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36297         (SYSCALL_ERROR_HANDLER): Likewise.
36298         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36299         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36300         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36301         (SYSCALL_ERROR_HANDLER): Likewise.
36303         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36304         (HAVE_GCC_GOTDATA): New.
36305         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36306         relocation support in both binutils and gcc.
36307         * sysdeps/sparc/elf/configure: Regenerate.
36309         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36310         * sysdeps/sparc/sparc32/elf/configure: Delete.
36311         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36312         * sysdeps/sparc/sparc64/elf/configure: Delete.
36313         * sysdeps/sparc/elf/configure.in: New file.
36314         * sysdeps/sparc/elf/configure: Generate.
36316         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36317         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36318         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36319         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36320         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36322 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36324         * manual/install.texi: Do not mention specific glibc version
36325         numbers.
36326         * manual/libc.texinfo (VERSION, UPDATED): Update.
36327         (@copying): Use @copyright{} and range of years.
36329 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36331         [BZ #13695]
36332         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36333         [crti.S not in sysdirs] (generated): Do not append.
36334         [crti.S not in sysdirs] (omit-deps): Likewise.
36335         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36336         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36337         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36338         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36339         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36340         Likewise.
36341         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36342         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36343         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36344         * csu/defs.awk: Remove file.
36345         * sysdeps/generic/initfini.c: Likewise.
36346         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36347         variable.
36348         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36349         Likewise.
36351 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36353         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36354         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36355         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36356         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36357         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36358         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36359         <bits/epoll.h>.
36360         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36361         (__EPOLL_PACKED): Define to empty if not defined by
36362         <bits/epoll.h>.
36363         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36364         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36365         bits/epoll.h.
36367 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36369         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36370         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36371         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36372         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36373         <bits/timerfd.h>.
36374         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36375         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36376         bits/timerfd.h.
36378 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36380         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36381         in C locale.
36382         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36383         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36384         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36387 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36389         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36390         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36392 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36394         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36395         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36396         defined.
36397         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36398         Likewise.
36399         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36400         entry for 2.16.
36402 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36404         * math/w_acos.c: Use non-signaling floating-point comparisons.
36405         * math/w_acosf.c: Likewise.
36406         * math/w_acosh.c: Likewise.
36407         * math/w_acoshf.c: Likewise.
36408         * math/w_acoshl.c: Likewise.
36409         * math/w_acosl.c: Likewise.
36410         * math/w_asin.c: Likewise.
36411         * math/w_asinf.c: Likewise.
36412         * math/w_asinl.c: Likewise.
36413         * math/w_atanh.c: Likewise.
36414         * math/w_atanhf.c: Likewise.
36415         * math/w_atanhl.c: Likewise.
36416         * math/w_exp2.c: Likewise.
36417         * math/w_exp2f.c: Likewise.
36418         * math/w_exp2l.c: Likewise.
36419         * math/w_j0.c: Likewise.
36420         * math/w_j0f.c: Likewise.
36421         * math/w_j0l.c: Likewise.
36422         * math/w_j1.c: Likewise.
36423         * math/w_j1f.c: Likewise.
36424         * math/w_j1l.c: Likewise.
36425         * math/w_jn.c: Likewise.
36426         * math/w_jnf.c: Likewise.
36427         * math/w_log.c: Likewise.
36428         * math/w_log10.c: Likewise.
36429         * math/w_log10f.c: Likewise.
36430         * math/w_log10l.c: Likewise.
36431         * math/w_log2.c: Likewise.
36432         * math/w_log2f.c: Likewise.
36433         * math/w_log2l.c: Likewise.
36434         * math/w_logf.c: Likewise.
36435         * math/w_logl.c: Likewise.
36436         * math/w_sqrt.c: Likewise.
36437         * math/w_sqrtf.c: Likewise.
36438         * math/w_sqrtl.c: Likewise.
36439         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36440         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36441         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36442         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36443         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36445 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36447         [BZ #9739]
36448         * manual/string.texi (strnlen): Use correct parameter name in
36449         equivalent expression.
36451 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36453         [BZ #11174]
36454         * manual/users.texi (seteuid): Consistently use neweuid for
36455         argument name.
36457 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36459         [BZ #13704]
36460         * manual/nss.texi (Services in the NSS configuration): Correct
36461         list of services in example configuration file.
36463 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36465         [BZ #11322]
36466         * manual/arith.texi: Remove statements about negative zero
36467         behaving identically to zero.
36469 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36471         [BZ #5993]
36472         * manual/install.texi: Do not document upgrading from libc5.
36474 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36476         [BZ #4596]
36477         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36479 2012-02-18  David S. Miller  <davem@davemloft.net>
36481         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36482         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36483         %o7 across the call.
36484         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36485         instead.
36486         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36487         SETUP_PIC_REG_LEAF.
36488         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36489         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36490         * sysdeps/sparc/crtn.S: Likewise.
36492 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36494         * aout/Makefile: Remove.
36496 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36498         [BZ #13058]
36499         * manual/examples/argp-ex1.c (main): Format definition in GNU
36500         style.
36501         * manual/examples/argp-ex2.c (main): Likewise.
36502         * manual/examples/argp-ex3.c (main): Likewise.
36503         * manual/examples/argp-ex4.c (main): Likewise.
36504         * manual/examples/longopt.c (main): Use new-style prototype
36505         definition.
36506         * manual/examples/strncat.c (main): Specify return type and use
36507         (void) for arguments.
36508         * manual/examples/subopt.c (main): Use char **argv argument.
36510 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36512         [BZ #5077]
36513         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36514         rounding modes.
36516 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36518         [BZ #6907]
36519         * manual/string.texi (strchr): Change when strchrnul is
36520         recommended.
36522 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36524         [BZ #174]
36525         * manual/locale.texi (setlocale): Document LOCPATH.
36527 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36529         [BZ #10210]
36530         * manual/process.texi (execle): Move @dots{} before last argument.
36532 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36534         [BZ #12047]
36535         * manual/charset.texi (Generic Charset Conversion): Fix typo
36536         (LC_TYPE -> LC_CTYPE).
36538 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36540         [BZ #5805]
36541         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36542         (scalbnf): Likewise.
36543         (scalbnl): Likewise.
36544         (scalbln): Likewise.
36545         (scalblnf): Likewise.
36546         (scalblnl): Likewise.
36547         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36548         (vwarnx): Likewise.
36549         (verr): Likewise.
36550         (verrx): Likewise.
36551         * manual/filesys.texi (telldir): Use braces around return type.
36552         * manual/llio.texi (mmap): Add space after comma.
36553         (mmap64): Likewise.
36554         * manual/math.texi (jn): Use @var{} on parameter names.
36555         (jnf): Likewise.
36556         (jnl): Likewise.
36557         (yn): Likewise.
36558         (ynf): Likewise.
36559         (ynl): Likewise.
36560         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36561         line.
36562         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36563         "...".
36564         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36565         (sched_get_priority_max): Likewise.
36566         * manual/signal.texi (sigvec): Add space after comma.
36567         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36568         names.
36569         (if_indextoname): Likewise.
36570         (if_freenameindex): Likewise.
36571         (sendto): Use ',' instead of '.' in prototype.
36572         * manual/startup.texi (syscall): Use @dots{} instead of literal
36573         "...".
36574         * manual/stdio.texi (__fpending): Separate initial words of
36575         paragraph from @deftypefun line.
36576         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36577         "...".
36578         (vsyslog): Use @var{} on parameter names.
36579         * manual/terminal.texi (stty): Use @var{} on parameter names.
36580         * manual/users.texi (getutmp): Use @var{} on parameter names.
36581         (getutmpx): Likewise.
36583 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36585         [BZ #6884]
36586         * manual/stdio.texi (fopen): Fix typos in description of
36587         ",ccs=STRING".
36589 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36591         [BZ #4026]
36592         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36593         get clock_id definition.
36595 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36597         [BZ #4822]
36598         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36599         (madvise): Cast every argument to void on its own.
36601 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36603         [BZ #9902]
36604         * manual/startup.texi (Exit Status): Fix typo.
36606 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36608         [BZ #10140]
36609         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36610         * manual/examples/argp-ex2.c: Likewise.
36611         * manual/examples/argp-ex3.c: Likewise.
36613 2012-02-16  Richard Henderson  <rth@redhat.com>
36615         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36616         * sysdeps/s390/s390-32/initfini.c: Remove.
36617         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36618         * sysdeps/s390/s390-64/initfini.c: Remove.
36620 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36622         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36623         compiler output for sysdeps/generic/initfini.c.
36624         * sysdeps/sh/elf/initfini.c: Remove file.
36626 2012-02-16  David S. Miller  <davem@davemloft.net>
36628         [BZ #11494]
36629         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36631         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36632         * sysdeps/sparc/crti.S: New file.
36633         * sysdeps/sparc/crtn.S: New file.
36634         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36635         * sysdeps/sparc/sparc64/Makefile: Likewise.
36637 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36639         [BZ #3335]
36640         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36642 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36644         [BZ #4822]
36645         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36647         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36648         (write, read, close): Likewise.
36649         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36651 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36653         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36654         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36655         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36656         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36657         <bits/signalfd.h>.
36658         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36659         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36660         bits/signalfd.h.
36662 2012-02-14  Marek Polacek  <polacek@redhat.com>
36664         * sysdeps/x86_64/crti.S: New file.
36665         * sysdeps/x86_64/crtn.S: New file.
36666         * sysdeps/x86_64/elf/initfini.c: Remove file.
36668 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36670         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36671         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36672         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36673         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36674         <bits/inotify.h>.
36675         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36677         bits/inotify.h.
36679 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36681         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36682         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36683         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36684         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36685         <bits/eventfd.h>.
36686         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36687         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36688         bits/eventfd.h.
36690 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36692         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36693         __feraiseexcept instead of feraiseexcept.
36695         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36696         nanosleep invocations.
36697         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36698         strings, and add error checking for a nanosleep invocations.
36700 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36702         Replace FSF snail mail address with URLs, as per GNU coding standards.
36703         Most of the snail mail addresses were wrong anyway, and omitting
36704         them makes the source code easier to maintain.  Almost all of the
36705         changes are to license notices and to locale LC_IDENTIFICATION
36706         addresses, except for this one:
36707         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36708         not its snail mail address.
36710 2012-02-09  Richard Henderson  <rth@twiddle.net>
36712         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36713         of kernel-features.h.
36715         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36717 2012-02-08  Marek Polacek  <polacek@redhat.com>
36719         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36720         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36721         * sysdeps/gnu/_G_config.h: Likewise.
36722         * sysdeps/generic/_G_config.h: Likewise.
36724 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36726         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36727         tests.
36728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36730         * sysdeps/powerpc/powerpc32/crti.S: New file.
36731         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36732         * sysdeps/powerpc/powerpc64/crti.S: New file.
36733         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36735         * Makeconfig (have-initfini): Don't set.
36736         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36737         * configure.in (nopic_initfini): Don't substitute.
36738         * config.h.in (HAVE_INITFINI): Don't #undef.
36739         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36740         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36742 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36744         Support crti.S and crtn.S provided directly by architectures.
36745         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36746         [crti.S in sysdirs] (omit-deps): Likewise.
36747         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36748         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36749         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36750         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36751         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36752         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36753         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36754         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36755         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36756         compiler output for sysdeps/generic/initfini.c.
36757         * sysdeps/i386/elf/Makefile: Remove file.
36758         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36760 2012-02-07  Marek Polacek  <polacek@redhat.com>
36762         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36763         * sysdeps/gnu/_G_config.h: Likewise.
36764         * sysdeps/mach/hurd/_G_config.h: Likewise.
36766 2012-02-07  Marek Polacek  <polacek@redhat.com>
36768         * math/Makefile (tests): Add tst-CMPLX2.
36769         * math/tst-CMPLX2.c: New file.
36771 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36773         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36775         * math/libm-test.inc (jn_test): Add missing L suffix.
36777 2012-02-06  Marek Polacek  <polacek@redhat.com>
36779         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36780         * sysdeps/i386/fpu/e_powf.S: Likewise.
36781         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36782         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36783         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36784         * sysdeps/i386/fpu/e_pow.S: Likewise.
36785         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36786         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36787         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36788         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36789         * sysdeps/i386/fpu/e_log2.S: Likewise.
36790         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36791         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36792         * sysdeps/i386/fpu/e_powl.S: Likewise.
36793         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36794         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36795         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36796         * sysdeps/i386/fpu/e_logl.S: Likewise.
36797         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36798         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36799         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36800         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36801         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36802         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36803         * sysdeps/i386/fpu/e_log.S: Likewise.
36804         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36805         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36806         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36807         * sysdeps/i386/fpu/e_logf.S: Likewise.
36808         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36809         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36810         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36811         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36812         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36813         * sysdeps/i386/fpu/e_log10.S: Likewise.
36814         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36815         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36816         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36817         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36818         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36819         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36820         * sysdeps/i386/asm-syntax.h: Likewise.
36821         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36822         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36823         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36824         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36825         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36826         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36827         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36828         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36829         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36830         * sysdeps/powerpc/sysdep.h: Likewise.
36831         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36832         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36834 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36836         [BZ #411]
36837         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36839 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36841         * sysdeps/i386/sysdep.h: Include <features.h>.
36842         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
36843         version.
36845 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
36847         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
36848         Define.
36849         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
36850         LOAD_PIC_REG_STR.
36852 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36854         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
36855         (SETUP_PIC_REG): Use GET_PC_THUNK.
36856         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
36857         macro.
36859 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36861         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
36862         for non-PIC compilation.
36863         (SETUP_PIC_REG): Add .p2align directive.
36864         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
36865         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
36866         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36867         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36868         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
36869         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36870         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
36871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
36872         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36873         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36874         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36875         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36876         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36877         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36878         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36879         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
36880         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
36881         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36882         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36883         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36884         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36885         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
36886         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36887         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36888         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
36889         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
36890         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36891         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
36892         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36893         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36894         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36895         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36896         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36897         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36898         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36899         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36900         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36901         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36902         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36903         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36904         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36906 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
36908         * math/tst-CMPLX.c: Include <stdio.h>.
36910 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
36912         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
36913         float.
36914         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
36915         * sysdeps/sparc/bits/mathdef.h: Likewise.
36917 2012-01-31  Marek Polacek  <polacek@redhat.com>
36919         * libio/libio.h: Don't define _PARAMS.
36920         * locale/programs/config.h: Don't define PARAMS.
36921         * stdlib/strtol_l.c: Likewise.
36922         (__strtol_l): Remove PARAMS from the prototype.
36924 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
36926         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
36927         names.  Just use the correct names.  Remove unnecessary wrapper
36928         functions.
36929         * malloc/arena.c: Likewise.
36930         * malloc/hooks.c: Likewise.
36932         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
36933         ARENA_TEST says not to.  Simplify test for creation of a new arena.
36934         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
36936 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
36938         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
36939         into tail calls.
36940         (update_get_addr): New function.
36941         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
36942         GET_ADDR_MODULE parameter.
36944 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36946         * crypt/cert.c: Remove __STDC__ conditionals.
36947         * crypt/crypt-entry.c: Likewise.
36948         * crypt/crypt_util.c: Likewise.
36949         * libio/filedoalloc.c: Likewise.
36950         * libio/fileops.c: Likewise.
36951         * libio/genops.c: Likewise.
36952         * libio/iofclose.c: Likewise.
36953         * libio/iofdopen.c: Likewise.
36954         * libio/iofopen.c: Likewise.
36955         * libio/iofopen64.c: Likewise.
36956         * libio/iogetdelim.c: Likewise.
36957         * libio/iopopen.c: Likewise.
36958         * libio/obprintf.c: Likewise.
36959         * libio/oldfileops.c: Likewise.
36960         * libio/oldiofclose.c: Likewise.
36961         * libio/oldiofdopen.c: Likewise.
36962         * libio/oldiofopen.c: Likewise.
36963         * libio/oldiopopen.c: Likewise.
36964         * libio/wfiledoalloc.c: Likewise.
36965         * libio/wgenops.c: Likewise.
36966         * locale/programs/xmalloc.c: Likewise.
36967         * misc/syslog.c: Likewise.
36968         * stdio-common/xbug.c: Likewise.
36969         * string/memchr.c: Likewise.
36970         * string/memcmp.c: Likewise.
36971         * string/memrchr.c: Likewise.
36972         * string/rawmemchr.c: Likewise.
36973         * sysdeps/posix/getcwd.c: Likewise.
36974         * time/strftime_l.c: Likewise.
36976 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
36978         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
36979         * config.make.in (config-cflags-sse2avx): Define.
36980         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
36981         Fix typo.
36983 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
36985         * scripts/config.guess: Update from upstream config git repository.
36986         * scripts/config.sub: Likewise.
36988 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
36990         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
36991         (EM_NUM): Update.
36992         (R_TILEPRO_*, R_TILEGX_*): New macros.
36994         * scripts/firstversions.awk: Fix bug in version range handling.
36996         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
36998         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37000         * include/sys/epoll.h: New file.
37001         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37002         libc_hidden_def.
37004 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37006         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37007         Avoid unnecessary __WORDSIZE == 64 test.
37008         (fmaxf): Use VEX format if possible.
37009         (fmax): Likewise.
37010         (fminf): Likewise.
37011         (fmin): Likewise.
37013         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37014         * math/math_private.h: Remove libc_fegetround* and
37015         libc_fesetround*.
37016         * sysdeps/i386/configure.in: Check for -msse2avx.
37017         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37018         also if SSE2AVX is defined.
37019         Remove libc_fegetround* and libc_fesetround*.
37020         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37021         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37022         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37023         of HAS_YMM_USABLE.
37024         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37025         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37026         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37027         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37028         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37030         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37032 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37034         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37035         size is not set.
37036         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37038 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37040         [BZ #13618]
37041         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37042         relocation.
37043         * Makeconfig (libm): Define.
37044         * elf/Makefile: Add rules to build and run tst-relsort1.
37045         * elf/tst-relsort1.c: New file.
37046         * elf/tst-relsort1mod1.c: New file.
37047         * elf/tst-relsort1mod2.c: New file.
37049 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37051         * math/s_ldexp.c: Remove __STDC__ conditionals.
37052         * math/s_ldexpf.c: Likewise.
37053         * math/s_ldexpl.c: Likewise.
37054         * math/s_nextafter.c: Likewise.
37055         * math/s_nexttowardf.c: Likewise.
37056         * math/s_significand.c: Likewise.
37057         * math/s_significandf.c: Likewise.
37058         * math/s_significandl.c: Likewise.
37059         * math/w_jnl.c: Likewise.
37060         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37061         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37062         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37063         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37064         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37065         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37066         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37067         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37068         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37069         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37070         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37074         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37075         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37076         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37077         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37078         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37079         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37080         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37081         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37082         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37083         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37084         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37085         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37086         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37087         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37088         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37089         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37090         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37091         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37092         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37093         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37094         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37095         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37096         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37097         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37098         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37099         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37100         * sysdeps/ieee754/k_standard.c: Likewise.
37101         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37102         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37103         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37104         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37105         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37106         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37107         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37108         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37109         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37110         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37111         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37112         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37113         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37114         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37115         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37116         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37117         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37118         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37119         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37120         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37121         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37122         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37123         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37124         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37125         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37126         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37127         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37128         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37129         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37130         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37131         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37132         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37133         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37134         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37135         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37136         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37137         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37138         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37139         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37140         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37141         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37142         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37143         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37144         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37145         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37146         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37147         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37148         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37149         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37150         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37151         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37152         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37153         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37154         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37155         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37156         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37157         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37158         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37159         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37160         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37161         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37162         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37163         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37164         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37165         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37166         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37167         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37168         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37169         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37170         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37171         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37172         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37173         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37174         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37175         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37176         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37177         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37180         * sysdeps/ieee754/s_matherr.c: Likewise.
37181         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37182         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37183         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37184         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37186 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37188         * crypt/md5.h: Remove __STDC__ conditionals.
37189         * libio/libioP.h: Likewise.
37190         * locale/programs/config.h: Likewise.
37191         * sysdeps/generic/sysdep.h: Likewise.
37192         * sysdeps/i386/asm-syntax.h: Likewise.
37193         * sysdeps/s390/asm-syntax.h: Likewise.
37194         * sysdeps/unix/sysdep.h: Likewise.
37195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37198 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37200         * libio/libio.h: Remove __STDC__ conditionals.
37201         * malloc/obstack.h: Likewise.
37202         * math/complex.h: Likewise.
37203         * math/math.h: Likewise.
37204         * sysdeps/generic/_G_config.h: Likewise.
37205         * sysdeps/gnu/_G_config.h: Likewise.
37206         * sysdeps/mach/hurd/_G_config.h: Likewise.
37207         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37208         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37209         * sysdeps/sparc/bits/mathdef.h: Likewise.
37211 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37213         [BZ #13583]
37214         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37215         Clean up HAS_* macros.
37216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37217         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37218         possible.
37219         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37220         HAS_AVX.
37221         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37222         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37223         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37224         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37225         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37227 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37229         * elf/tst-unique3.cc (gets): Remove declaration.
37230         * elf/tst-unique3lib.cc (gets): Likewise.
37231         * elf/tst-unique3lib2.cc (gets): Likewise.
37232         * elf/tst-unique4.cc (gets): Likewise.
37234 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37236         * include/stdio.h: Add C++ protection.  Add gets declarations and
37237         definitions.
37238         * debug/tst-chk1.c: Don't declare gets here.
37239         * stdio-common/tst-gets.c: Likewise.
37241 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37243         * posix/glob: Remove directory.
37245 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37247         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37249 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37251         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37252         of the non-standard EPFNOSUPPORT.
37254 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37256         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37257         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37258         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37260 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37262         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37264 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37266         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37267         transient errors.
37268         * nscd/grpcache.c (cache_addgr): Likewise.
37269         * nscd/hstcache.c (cache_addhst): Likewise.
37270         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37271         * nscd/pwdcache.c (cache_addpw): Likewise.
37272         * nscd/servicescache.c (cache_addserv): Likewise.
37274 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37276         * malloc/malloc.c: Various cleanups.
37277         * malloc/hooks.c: Likewise.
37279         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37280         * stdlib/bug-fmtmsg1.c: New file.
37282         * stdlib/fmtmsg.c (init): Add missing unlock.
37283         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37285 2012-01-12  Marek Polacek  <polacek@redhat.com>
37287         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37288         and _GNU_SOURCE.
37290 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37292         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37293         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37294         macro to ensure uniqueness of label name.
37295         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37296         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37298 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37300         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37302         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37303         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37304         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37305         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37307 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37309         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37311         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37312         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37313         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37315         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37317         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37318         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37320         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37322         * math/bits/math-finite.h: Add ldexp support.
37324 2012-01-10  Marek Polacek  <polacek@redhat.com>
37326         * locale/programs/localedef.h (show_archive_content): Add noreturn
37327         attribute.
37329 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37331         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37333 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37335         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37337         * io/Makefile (headers): Add bits/poll2.h.
37339 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37342         typo #include statement.
37344 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37346         * include/sys/cdefs.h: Define __attribute_alloc_size.
37347         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37348         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37349         * elf/pldd.c: Likewise.
37350         * iconv/iconv_charmap.c: Likewise.
37351         * iconv/iconvconfig.c: Likewise.
37352         * iconv/strtab.c: Likewise.
37353         * locale/programs/locale.c: Likewise.
37354         * locale/programs/localedef.h: Likewise.
37355         * locale/programs/simple-hash.c: Likewise.
37356         * nscd/nscd.h: Likewise.
37357         * nss/makedb.c: Likewise.
37358         * sysdeps/generic/ldconfig.h: Likewise.
37359         * locale/programs/localedef.c: Remove xmalloc prototype.
37360         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37362 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37364         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37365         appropriate.
37367 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37369         * math/Makefile (tests): Add tst-CMPLX.
37370         * math/tst-CMPLX.c: New file.
37372         * math/complex.h (CMPLXL): Fix typo.
37374         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37375         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37376         GLIBC_2.16.
37377         * debug/tst-chk1.c: Add poll and ppoll tests.
37378         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37379         * include/sys/poll.h: Add hidden proto for ppoll.
37380         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37381         * sysdeps/mach/hurd/ppoll.c: Likewise.
37382         * io/ppoll.c: Likewise.
37383         * debug/poll_chk.c: New file.
37384         * debug/ppoll_chk.c: New file.
37385         * include/bits/poll2.h: New file.
37386         * io/bits/poll2.h: New file.
37388         [BZ #1350]
37389         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37391         * configure.in: static is always set to yes.  Remove.
37392         * config.make.in: Don't set build-static.
37393         * Makeconfig: Remove use of build-static.
37394         * dlfcn/Makefile: Likewise.
37395         * elf/Makefile: Likewise.
37396         * math/Makefile: Likewise.
37397         * misc/Makefile: Likewise.
37398         * nptl/Makefile: Likewise.
37399         * sysdeps/mach/hurd/Makefile: Likewise.
37401         * configure.in: PWD_P is not used anymore.
37402         * config.make.in: Remove PWD_P entry.
37404         * configure.in: Remove last remnants of RANLIB.
37405         No need to check for signed size_t anymore.
37406         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37407         and IA-64.
37408         Remove __builtin_expect test because we require at least gcc 3.4.
37409         * aclocal.m4: Likewise.
37411         * wcsmbs/mbrtoc16.c: Implement using towc function.
37412         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37413         * wcsmbs/wcsmbsload.c: Likewise.
37414         * iconv/gconv_simple.c: Likewise.
37415         * iconv/gconv_int.h: Likewise.
37416         * iconv/gconv_builtin.h: Likewise.
37417         * iconv/iconv_prog.c: Remove CHAR16 handling.
37419         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37421         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37423         * configure.in: Remove --with-elf and --enable-bounded options.
37424         Dont set base_machine for ia64.  More non-ELF conditions removed.
37425         Remove testing and setting of leading underscore information.
37426         * config.make.in (build-bounded): Set to no.
37427         * config.h.in: Remove NO_UNDERSCORES entry.
37428         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37429         them.
37430         * csu/start.c: Remove !NO_UNDERSCORE code.
37431         * locale/localeinfo.h: Likewise.
37432         * sysdeps/generic/machine-gmon.h: Likewise.
37433         * sysdeps/generic/sysdep.h: Likewise.
37434         * sysdeps/i386/sysdep.h: Likewise.
37435         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37436         * sysdeps/mach/sysdep.h: Likewise.
37437         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37438         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37439         * sysdeps/sh/sysdep.h: Likewise.
37440         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37441         * sysdeps/unix/i386/sysdep.S: Likewise.
37442         * sysdeps/unix/sparc/start.c: Likewise.
37443         * sysdeps/unix/sparc/sysdep.S: Likewise.
37444         * sysdeps/unix/sparc/sysdep.h: Likewise.
37445         * sysdeps/unix/start.c: Likewise.
37446         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37447         * sysdeps/x86_64/sysdep.h: Likewise.
37449 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37451         [BZ #13553]
37452         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37453         for non-gcc.
37454         * argp/argp-fmtstream.h: Use const instead __const.
37455         * argp/argp.h: Likewise.
37456         * assert/assert.h: Likewise.
37457         * bits/fenv.h: Likewise.
37458         * bits/sched.h: Likewise.
37459         * bits/sigset.h: Likewise.
37460         * bits/sigthread.h: Likewise.
37461         * catgets/nl_types.h: Likewise.
37462         * conform/data/pthread.h-data: Likewise.
37463         * crypt/crypt-private.h: Likewise.
37464         * crypt/crypt.h: Likewise.
37465         * crypt/crypt_util.c: Likewise.
37466         * ctype/ctype.h: Likewise.
37467         * debug/execinfo.h: Likewise.
37468         * debug/mbsnrtowcs_chk.c: Likewise.
37469         * debug/mbsrtowcs_chk.c: Likewise.
37470         * debug/wcsnrtombs_chk.c: Likewise.
37471         * debug/wcsrtombs_chk.c: Likewise.
37472         * debug/wcstombs_chk.c: Likewise.
37473         * dirent/dirent.h: Likewise.
37474         * dlfcn/dlfcn.h: Likewise.
37475         * elf/neededtest4.c: Likewise.
37476         * grp/grp.h: Likewise.
37477         * gshadow/gshadow.h: Likewise.
37478         * iconv/gconv.h: Likewise.
37479         * iconv/gconv_int.h: Likewise.
37480         * iconv/gconv_simple.c: Likewise.
37481         * iconv/iconv.h: Likewise.
37482         * iconv/loop.c: Likewise.
37483         * iconv/skeleton.c: Likewise.
37484         * include/aio.h: Likewise.
37485         * include/aliases.h: Likewise.
37486         * include/argz.h: Likewise.
37487         * include/arpa/inet.h: Likewise.
37488         * include/assert.h: Likewise.
37489         * include/dirent.h: Likewise.
37490         * include/dlfcn.h: Likewise.
37491         * include/execinfo.h: Likewise.
37492         * include/fcntl.h: Likewise.
37493         * include/fenv.h: Likewise.
37494         * include/glob.h: Likewise.
37495         * include/grp.h: Likewise.
37496         * include/libintl.h: Likewise.
37497         * include/mntent.h: Likewise.
37498         * include/netdb.h: Likewise.
37499         * include/pwd.h: Likewise.
37500         * include/rpc/netdb.h: Likewise.
37501         * include/sched.h: Likewise.
37502         * include/search.h: Likewise.
37503         * include/shadow.h: Likewise.
37504         * include/signal.h: Likewise.
37505         * include/stdio.h: Likewise.
37506         * include/stdlib.h: Likewise.
37507         * include/string.h: Likewise.
37508         * include/sys/socket.h: Likewise.
37509         * include/sys/stat.h: Likewise.
37510         * include/sys/statfs.h: Likewise.
37511         * include/sys/statvfs.h: Likewise.
37512         * include/sys/syslog.h: Likewise.
37513         * include/sys/time.h: Likewise.
37514         * include/sys/uio.h: Likewise.
37515         * include/time.h: Likewise.
37516         * include/unistd.h: Likewise.
37517         * include/utmp.h: Likewise.
37518         * include/wchar.h: Likewise.
37519         * include/wctype.h: Likewise.
37520         * inet/aliases.h: Likewise.
37521         * inet/arpa/inet.h: Likewise.
37522         * inet/netinet/ether.h: Likewise.
37523         * inet/netinet/in.h: Likewise.
37524         * intl/libintl.h: Likewise.
37525         * io/bits/fcntl2.h: Likewise.
37526         * io/fcntl.h: Likewise.
37527         * io/ftw.h: Likewise.
37528         * io/sys/poll.h: Likewise.
37529         * io/sys/stat.h: Likewise.
37530         * io/sys/statfs.h: Likewise.
37531         * io/sys/statvfs.h: Likewise.
37532         * io/utime.h: Likewise.
37533         * libio/bits/stdio.h: Likewise.
37534         * libio/bits/stdio2.h: Likewise.
37535         * libio/libio.h: Likewise.
37536         * libio/libioP.h: Likewise.
37537         * libio/stdio.h: Likewise.
37538         * locale/lc-ctype.c: Likewise.
37539         * locale/locale.h: Likewise.
37540         * login/utmp.h: Likewise.
37541         * malloc/arena.c: Likewise.
37542         * malloc/malloc.c: Likewise.
37543         * malloc/malloc.h: Likewise.
37544         * malloc/mcheck.c: Likewise.
37545         * malloc/mtrace.c: Likewise.
37546         * math/bits/mathcalls.h: Likewise.
37547         * math/fenv.h: Likewise.
37548         * math/math_private.h: Likewise.
37549         * misc/bits/error.h: Likewise.
37550         * misc/bits/syslog.h: Likewise.
37551         * misc/err.h: Likewise.
37552         * misc/error.h: Likewise.
37553         * misc/fstab.h: Likewise.
37554         * misc/mntent.h: Likewise.
37555         * misc/regexp.h: Likewise.
37556         * misc/search.h: Likewise.
37557         * misc/sgtty.h: Likewise.
37558         * misc/sys/mman.h: Likewise.
37559         * misc/sys/syslog.h: Likewise.
37560         * misc/sys/uio.h: Likewise.
37561         * misc/sys/xattr.h: Likewise.
37562         * misc/ttyent.h: Likewise.
37563         * nis/rpcsvc/ypclnt.h: Likewise.
37564         * nss/nss.h: Likewise.
37565         * posix/bits/unistd.h: Likewise.
37566         * posix/fnmatch.h: Likewise.
37567         * posix/glob.h: Likewise.
37568         * posix/sched.h: Likewise.
37569         * posix/spawn.h: Likewise.
37570         * posix/sys/wait.h: Likewise.
37571         * posix/unistd.h: Likewise.
37572         * posix/wordexp.h: Likewise.
37573         * pwd/pwd.h: Likewise.
37574         * resolv/netdb.h: Likewise.
37575         * resource/sys/resource.h: Likewise.
37576         * rt/aio.h: Likewise.
37577         * rt/bits/mqueue2.h: Likewise.
37578         * rt/mqueue.h: Likewise.
37579         * shadow/shadow.h: Likewise.
37580         * signal/signal.h: Likewise.
37581         * socket/send.c: Likewise.
37582         * socket/sendto.c: Likewise.
37583         * socket/sys/socket.h: Likewise.
37584         * stdio-common/printf.h: Likewise.
37585         * stdlib/bits/stdlib.h: Likewise.
37586         * stdlib/fmtmsg.h: Likewise.
37587         * stdlib/monetary.h: Likewise.
37588         * stdlib/stdlib.h: Likewise.
37589         * stdlib/ucontext.h: Likewise.
37590         * streams/stropts.h: Likewise.
37591         * string/argz.h: Likewise.
37592         * string/bits/string2.h: Likewise.
37593         * string/string.h: Likewise.
37594         * string/strings.h: Likewise.
37595         * sunrpc/rpc/auth.h: Likewise.
37596         * sunrpc/rpc/auth_des.h: Likewise.
37597         * sunrpc/rpc/clnt.h: Likewise.
37598         * sunrpc/rpc/netdb.h: Likewise.
37599         * sunrpc/rpc/pmap_clnt.h: Likewise.
37600         * sunrpc/rpc/xdr.h: Likewise.
37601         * sysdeps/generic/inttypes.h: Likewise.
37602         * sysdeps/generic/net/if.h: Likewise.
37603         * sysdeps/generic/sys/swap.h: Likewise.
37604         * sysdeps/gnu/net/if.h: Likewise.
37605         * sysdeps/gnu/utmpx.h: Likewise.
37606         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37607         * sysdeps/i386/i486/bits/string.h: Likewise.
37608         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37609         * sysdeps/s390/bits/string.h: Likewise.
37610         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37611         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37612         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37613         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37614         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37615         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37616         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37617         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37618         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37619         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37620         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37621         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37622         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37623         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37624         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37625         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37626         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37627         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37628         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37629         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37630         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37631         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37632         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37633         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37634         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37635         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37636         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37638         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37639         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37640         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37641         * sysvipc/sys/ipc.h: Likewise.
37642         * sysvipc/sys/msg.h: Likewise.
37643         * sysvipc/sys/sem.h: Likewise.
37644         * sysvipc/sys/shm.h: Likewise.
37645         * termios/termios.h: Likewise.
37646         * time/sys/time.h: Likewise.
37647         * time/time.h: Likewise.
37648         * wcsmbs/bits/wchar2.h: Likewise.
37649         * wcsmbs/uchar.h: Likewise.
37650         * wcsmbs/wchar.h: Likewise.
37651         * wctype/wctype.h: Likewise.
37653         [BZ #13551]
37654         * Makeconfig: Remove all but ELF support including AIX support.
37655         * Makerules: Likewise.
37656         * config.h.in: Likewise.
37657         * config.make.in: Likewise.
37658         * configure: Likewise.
37659         * configure.in: Likewise.
37660         * csu/Makefile: Likewise.
37661         * csu/version.c: Likewise.
37662         * debug/Makefile: Likewise.
37663         * dlfcn/Makefile: Likewise.
37664         * elf/Makefile: Likewise.
37665         * extra-lib.mk: Likewise.
37666         * iconv/Makefile: Likewise.
37667         * include/libc-symbols.h: Likewise.
37668         * include/shlib-compat.h: Likewise.
37669         * resolv/Makefile: Likewise.
37670         * resolv/res_libc.c: Likewise.
37671         * rt/Makefile: Likewise.
37672         * sysdeps/i386/asm-syntax.h: Likewise.
37673         * sysdeps/i386/sysdep.h: Likewise.
37674         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37675         * sysdeps/mach/sysdep.h: Likewise.
37676         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37677         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37678         * sysdeps/s390/asm-syntax.h: Likewise.
37679         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37680         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37681         * sysdeps/sh/sysdep.h: Likewise.
37682         * sysdeps/unix/sparc/sysdep.h: Likewise.
37683         * sysdeps/wordsize-32/divdi3.c: Likewise.
37684         * sysdeps/x86_64/sysdep.h: Likewise.
37686         * argp/Versions: Remove _argp_unlock_xxx.
37688         [BZ #13559]
37689         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37690         * abilist/libBrokenLocale.abilist: Likewise.
37691         * abilist/libanl.abilist: Likewise.
37692         * abilist/libc.abilist: Likewise.
37693         * abilist/libcrypt.abilist: Likewise.
37694         * abilist/libdl.abilist: Likewise.
37695         * abilist/libm.abilist: Likewise.
37696         * abilist/libnsl.abilist: Likewise.
37697         * abilist/libpthread.abilist: Likewise.
37698         * abilist/libresolv.abilist: Likewise.
37699         * abilist/librt.abilist: Likewise.
37700         * abilist/libthread_db.abilist: Likewise.
37701         * abilist/libutil.abilist: Likewise.
37702         * abilist/libnss_db.abilist: New file.
37704         * scripts/abilist.awk: Add support for indirect functions.
37706         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37708         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37710         * shlib-versions: Remove entries for ports architectures.
37712         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37713         files in ports.
37714         * elf/stackguard-macros.h: Remove support for IA-64.
37715         * elf/tst-auditmod1.c: Likewise.
37716         * sysdeps/generic/ldsodefs.h: Likewise.
37718         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37719         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37720         configure files.
37722         [BZ #13552]
37723         * configure.in: Remove --enable-omitfp support.
37724         * FAQ.in: Adjust.
37725         * config.make.in: Likewise.
37726         * Makeconfig: Likewise.
37727         * manual/install.texi: Likewise.
37729         In case anyone cares, the IA-64 architecture could move to ports.
37730         * sysdeps/ia64/*: Removed.
37731         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37732         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37734         [BZ #13555]
37735         * configure.in: Remove entries for unsupported architectures.
37737         [BZ #13533]
37738         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37739         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37740         routines.
37741         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37742         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37743         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37744         fall back to using wcrtomb.
37745         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37746         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37747         renaming.
37748         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37749         * wcsmbs/tst-c16c32-1.c: New file.
37751         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37752         local variable.
37754         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37756         * elf/tst-unique3.cc: Add explicit declaration of gets.
37757         * elf/tst-unique3lib.cc: Likewise.
37758         * elf/tst-unique3lib2.cc: Likewise.
37759         * elf/tst-unique4.cc: Likewise.
37761         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37763 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37765         [BZ #13566]
37766         * assert/assert.h (static_assert): Don't define for C++.
37767         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37768         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37770 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37772         * iconv/loop.c (single loop): Fix assertion in storing of
37773         remaining bytes.
37775         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37777 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37779         * posix/getconf.c: Update copyright year.
37780         * nss/getent.c: Likewise.
37781         * nss/makedb.c: Likewise.
37782         * iconv/iconvconfig.c: Likewise.
37783         * iconv/iconv_prog.c: Likewise.
37784         * elf/ldconfig.c: Likewise.
37785         * elf/pldd.c: Likewise.
37786         * elf/sotruss.ksh: Likewise.
37787         * catgets/gencat.c: Likewise.
37788         * csu/version.c: Likewise.
37789         * elf/ldd.bash.in: Likewise.
37790         * elf/sprof.c (print_version): Likewise.
37791         * locale/programs/locale.c: Likewise.
37792         * locale/programs/localedef.c: Likewise.
37793         * login/programs/pt_chown.c: Likewise.
37794         * nscd/nscd.c (print_version): Likewise.
37795         * debug/xtrace.sh: Likewise.
37796         * malloc/memusage.sh: Likewise.
37797         * malloc/mtrace.pl: Likewise.
37798         * debug/catchsegv.sh: Likewise.
37800 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37802         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37803         pure attribute.
37805 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37807         [BZ #13533]
37808         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37809         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37810         transformations.
37811         * iconv/gconv_int.h: Likewise.
37812         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37813         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37814         from libc for GLIBC_2.16.
37815         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37816         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37817         * wcsmbs/uchar.h: Really define mbstate_t.
37818         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37819         * wcsmbs/c16rtomb.c: New file.
37820         * wcsmbs/mbrtoc16.c: New file.
37821         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37822         for C/POSIX locale.
37823         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37824         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37826         * wcsmbs/wchar.h: Add missing __restrict.
37828 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37830         [BZ #13532]
37831         * time/Makefile (routines): Add timespec_get.
37832         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37833         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37834         timespec for ISO C11.
37835         * time/timespec_get.c: New file.
37836         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37837         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37839         [BZ #13531]
37840         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37841         * stdlib/stdlib.h: Declare aligned_alloc.
37842         * Versions.def: Add GLIBC_2.16 for libc.
37843         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
37845         [BZ 13527]
37846         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
37847         ISO C11.
37849         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
37850         code.
37852         [BZ #13528]
37853         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
37855         [BZ #13529]
37856         * assert/assert.h (static_assert): Define.
37858         * version.h: Update for 2.16 development version.
37860         [BZ #13526]
37861         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
37862         _ISOC11_SOURCE.
37864         * version.h (RELEASE): Bump for 2.15 release.
37865         * include/features.h (__GLIBC_MINOR__): Bump to 15.
37867         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
37868         Patch by Marek Polacek <mpolacek@redhat.com>.
37870         * bits/byteswap.h: Protect long long constants with __extension__.
37871         * sysdeps/i386/bits/byteswap.h: Likewise.
37872         * sysdeps/ia64/bits/byteswap.h: Likewise.
37873         * sysdeps/s390/bits/byteswap.h: Likewise.
37874         * sysdeps/x86_64/bits/byteswap.h: Likewise.
37876 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37878         [BZ #13540]
37879         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
37880         destination buffer.
37881         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
37883 2011-12-23  Marek Polacek  <polacek@redhat.com>
37885         * elf/dl-addr.c (determine_info): Add inline keyword.
37886         * elf/tst-auditmod4b.c (check_avx): Likewise.
37887         * elf/tst-auditmod6b.c (check_avx): Likewise.
37888         * elf/tst-auditmod6c.c (check_avx): Likewise.
37889         * elf/tst-auditmod7b.c (check_avx): Likewise.
37891 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37893         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
37894         !__SSE_MATH__.
37896 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37898         [BZ #13540]
37899         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
37900         processing for last bytes.
37902 2011-08-06  Bruno Haible  <bruno@clisp.org>
37904         [BZ #13061]
37905         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
37906         U+0385, not to U+1FEE.
37908         [BZ #13062]
37909         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
37910         entry for U+00A5 U+0301.
37912 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37914         [BZ #13166]
37915         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
37916         buffer for the output is too small.
37918         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
37919         optimization.
37921         [BZ #13185]
37922         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
37923         SSE flags if possible.
37925 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37927         [BZ #13540]
37928         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
37929         processing for last bytes.
37931 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
37933         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
37934         (syscall-list-default-options, syscall-list-default-condition)
37935         (syscall-list-includes): Define.
37936         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
37937         list of ABIs and options and #if conditions for each ABI.  Do not
37938         handle common syscalls between ABIs specially.
37939         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
37940         Remove.
37941         (syscall-list-variants, syscall-list-32bit-options)
37942         (syscall-list-32bit-condition, syscall-list-64bit-options)
37943         (syscall-list-64bit-condition): Define.
37944         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
37945         (syscall-list-variants, syscall-list-32bit-options)
37946         (syscall-list-32bit-condition, syscall-list-64bit-options)
37947         (syscall-list-64bit-condition): Define.
37948         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
37949         Remove.
37950         (syscall-list-variants, syscall-list-32bit-options)
37951         (syscall-list-32bit-condition, syscall-list-64bit-options)
37952         (syscall-list-64bit-condition): Define.
37953         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
37954         Remove.
37955         (syscall-list-variants, syscall-list-32bit-options)
37956         (syscall-list-32bit-condition, syscall-list-64bit-options)
37957         (syscall-list-64bit-condition): Define.
37959 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
37961         * locale/iso-639.def: Add brx entry.
37963         [BZ #13328]
37964         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
37965         Proposed by Mariusz_Cukr <marcukr@op.pl>.
37967         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
37968         __feraiseexcept_renamed.
37970 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37972         [BZ #13538]
37973         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
37974         EPOLLET with unsigned values.
37975         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37978         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
37979         to large cancellation.
37980         * math/s_cacoshf.c: Likewise.
37981         * math/s_cacoshl.c: Likewise.
37983 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
37985         [BZ #13305]
37986         [BZ #12786]
37987         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
37988         * math/s_cacoshf.c: Likewise.
37989         * math/s_cacoshl.c: Likewise.
37991 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
37993         [BZ #13439]
37994         * iconv/gconv.h: Define __GCONV_SWAP.
37995         * iconvdata/unicode.c: The swap bit must be stored in __flags.
37996         * iconvdata/utf-16.c: Likewise.
37997         * iconvdata/utf-32.c: Likewise.
37999 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38001         [BZ #13524]
38002         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38003         numerator after shifting it by one limb.
38005 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38007         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38008         under [__USE_EXTERN_INLINES].
38010 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38012         [BZ #13446]
38013         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38015 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38017         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38018         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38019         optimized code.
38020         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38021         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38022         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38023         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38024         for strncasecmp/strncasecmp_l compilation.
38025         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38026         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38028 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38030         [BZ #13484]
38031         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38032         of __asm__.
38034 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38036         [BZ #13506]
38037         * time/tzfile.c (__tzfile_read): Check values from file header.
38039 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38041         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38042         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38043         * powerpc/powerpc32/dl-start.S: Likewise.
38044         * powerpc/powerpc32/elf/start.S: Likewise.
38045         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38046         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38047         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38048         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38049         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38050         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38051         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38052         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38053         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38054         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38055         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38056         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38057         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38058         * powerpc/powerpc32/memset.S: Likewise.
38059         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38060         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38061         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38062         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38063         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38064         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38065         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38066         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38067         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38068         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38069         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38070         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38071         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38073 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38075         * math/libm-test.inc: Added more nearbyint tests.
38076         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38077         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38078         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38079         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38081 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38083         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38084         FD_CLOEXEC.
38086 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38088         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38089         Add wcscpy-ssse3 wcscpy-c.
38090         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38091         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38092         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38093         * sysdeps/x86_64/wcschr.S: New file.
38094         * sysdeps/x86_64/wcsrchr.S: New file.
38095         * string/test-strcmp.c: Remove checking of wcscmp function for
38096         wrong alignments.
38097         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38098         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38099         wcsrchr-sse2 wcsrchr-c.
38100         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38101         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38102         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38103         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38104         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38105         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38106         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38107         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38108         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38109         * wcsmbc/wcschr.c (WCSCHR): New macro.
38111 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38113         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38114         * wcsmbs/test-wcsrchr.c: New file.
38115         * string/test-strrchr.c: Add wcsrchr support.
38116         (WIDE): New macro.
38117         * wcsmbs/test-wcscpy.c: New file.
38118         * string/test-strcpy.c: Add wcscpy support.
38119         (WIDE): New macro.
38121 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38123         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38124         the inner loop.
38126 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38128         [BZ #13472]
38129         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38131 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38133         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38134         Minor optimizations.
38136         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38137         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38138         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38140 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38142         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38143         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38144         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38145         for gcc to avoid warnings.
38146         * inet/Makefile (tests): Add tst-checks.
38147         * inet/tst-checks.c: New file.
38149         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38150         warning.
38152         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38153         __wmemcmp_sse2.
38155         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38156         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38158         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38160 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38162         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38163         problem.
38165         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38167 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38169         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38170         conditional on GCC version.
38171         (__arch_compare_and_exchange_val_8_acq)
38172         (__arch_compare_and_exchange_val_16_acq)
38173         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38174         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38175         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38177 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38179         * sysdeps/sh/backtrace.c: New file.
38181 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38183         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38184         parenthesis.
38186 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38188         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38189         falling back to utime.
38191 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38193         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38194         expectations for float.
38196 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38198         * locale/weight.h (findidx): Add parameter len.
38199         * locale/weightwc.h (findidx): Likewise.
38200         * posix/fnmatch_loop.c (FCT): Adjust caller.
38201         * posix/regcomp.c (build_equiv_class): Likewise.
38202         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38203         * posix/regexec.c (check_node_accept_bytes): Likewise.
38204         * string/strcoll_l.c (STRCOLL): Likewise.
38205         * string/strxfrm_l.c (STRXFRM): Likewise.
38207 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38209         * Makefile.in: Remove CVSOPT handling.
38210         * configure.in: Remove use of AC_REVISION.
38211         * iconvdata/Makefile (distribute): No need to filter out CVS.
38212         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38213         handling.
38215 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38218         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38219         [USE_AS_STRNCASECMP_L]: Likewise.
38220         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38221         NO_TLS_DIRECT_SEG_REFS.
38222         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38223         Fix argument offsets for non-PIC.
38224         [USE_AS_STRNCASECMP_L]: Likewise.
38225         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38226         NO_TLS_DIRECT_SEG_REFS.
38228 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38230         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38231         O_CLOEXEC.
38232         * locale/loadlocale.c (_nl_load_locale): Likewise.
38234 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38236         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38237         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38238         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38239         (SYSCALL_GETTIME): Set errno on error.
38241         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38242         count references to noai6ai_cached.
38244 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38246         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38248         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38249         FD_CLOEXEC for /proc/self/maps.
38251         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38252         FD_CLOEXEC for /proc/meminfo.
38254         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38255         gai.conf.
38257         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38258         FD_CLOEXEC for given file.
38260         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38262         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38263         FD_CLOEXEC for /etc/hosts.
38264         (_gethtent): Likewise.
38266         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38268         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38269         cancellation and set FD_CLOEXEC for /etc/netgroup.
38271         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38272         reading /etc/publickey.
38274         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38275         allow cancellation when reading /etc/group.
38277         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38278         cancellation.
38279         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38281         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38282         when using data file.
38284         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38286         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38287         (write_nis_obj): Use "c" and "e" in fopen.
38289         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38291         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38293         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38295         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38297         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38298         locale.alias.
38300         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38302         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38304         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38306         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38307         file parsing and set FD_CLOEXEC.
38309 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38311         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38313 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38315         * malloc/arena.c (arena_get2): Don't call reused_arena when
38316         _int_new_arena failed.
38318 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38320         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38321         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38322         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38323         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38324         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38326         to compile strcasecmp and strncasecmp.
38327         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38328         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38330         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38332 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38334         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38335         locale-defines.sym to gen-as-const-headers.
38336         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38337         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38338         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38339         to compile strcasecmp and strncasecmp.
38340         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38341         strcasecmp_l and strncasecmp_l.
38342         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38343         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38344         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38345         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38346         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38347         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38348         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38349         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38350         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38351         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38352         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38354 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38356         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38357         result of SYSDEP_GETTIME_CPU to retval.
38358         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38359         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38361         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38362         variable.
38364         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38365         mantissa words.
38366         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38368         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38369         from unused variable.
38371         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38372         DWARF definitions.
38373         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38374         for assembling.
38376         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38377         over namespaces.
38379         * sunrpc/rpc_prot.c (rejected): Fix case value.
38381         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38382         unsigned long long int to avoid warnings in shift.
38384         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38385         of use of trans.
38386         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38387         variable tmp.
38389         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38390         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38391         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38393         * nis/nis_table.c (nis_list): Use variable of correct type for
38394         result of __follow_path call.
38396 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38398         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38399         of math functions ceil, trunc, floor, round, and sqrt, when
38400         avaliable on the platform.
38401         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38402         name clash.
38403         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38404         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38405         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38407 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38409         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38410         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38412 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38414         * include/unistd.h: Fix __readlink return type.
38415         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38417 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38419         * stdlib/ucontext.h: Undo last change for makecontext.
38421 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38423         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38425         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38426         * setjmp/setjmp.h: Mark functions as non-leaf.
38427         * setjmp/bits/setjmp2.h: Likewise.
38428         * stdlib/ucontext.h: Likewise.
38430 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38432         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38433         (reused_arena): Don't check arena limit.
38434         (arena_get2): Atomically check arena limit.
38436 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38438         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38439         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38442         instructions.
38444 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38446         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38447         handler when locking.
38449         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38450         Fix size of allocated buffer.
38452 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38454         [BZ #10103]
38455         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38456         declarations for long double functions.
38457         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38459         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38461 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38463         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38464         installed.
38466         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38467         is disabled.
38469 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38471         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38473 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38475         * include/alloca.h (stackinfo_alloca_round): Define.
38476         (extend_alloca): Use it.
38477         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38478         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38479         here.
38481         * scripts/check-local-headers.sh: Ignore libaudit.h.
38483         * nscd/Makefile (extra-objs): Make recursively expanded.
38485 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38487         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38488         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38490         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38491         * posix/tst-rfc3484-2.c: Likewise.
38492         * posix/tst-rfc3484-3.c: Likewise.
38494         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38495         process_vm_writev.
38496         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38497         process_vm_writev.
38498         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38499         process_vm_writev from libc using GLIBC_2.15 version.
38501         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38503 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38505         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38506         stack usage.
38508 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38510         [BZ #13367]
38511         * nss/getent.c (initgroups_keys): Show error message in case no group
38512         names are given.
38514         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38515         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38516         __bump_nl_timestamp.
38517         * nscd/connections (nscd_init): When host database is served open
38518         netlink socket and request notification about configuration changes.
38519         (main_loop_poll): Track netlink file descriptor and bump timestamp
38520         in case data becomes available.
38521         (main_loop_epoll): Likewise.
38522         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38523         (database_pers_head): Add extra_data fileds.
38524         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38525         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38526         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38527         Adjust caller.
38528         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38529         in6ai data, call __free_in6ai.
38530         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38531         Add -DHAVE_NETLINK.
38532         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38533         interface information.  Reuse previous data if netlink timestamp
38534         is not changed.
38535         (__bump_nl_timestamp): New function.
38536         (__free_in6ai): New function.
38538 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38540         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38541         close_not_cancel_no_status here.
38542         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38544 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38546         [BZ #13276]
38547         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38548         return value.
38550         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38551         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38552         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38554 2011-07-03  Andreas Jaeger  <aj@suse.de>
38556         [BZ #10709]
38557         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38558         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38559         * math/libm-test.inc (sin_test): Add test case.
38561 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38563         [BZ #13337]
38564         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38565         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38567         * elf/chroot_canon.c (chroot_canon): Cleanups.
38569         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38571         [BZ #13335]
38572         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38573         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38575         * string/test-strchr.c: Make usable for strchrnul testing.
38576         * string/test-strchrnul.c: New file.
38577         * string/Makefile (strop-tests): Add strchrnul.
38579         * po/it.po: Update from translation team.
38580         * po/es.po: Likewise.
38582 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38584         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38585         the three constants needed as parameters.  Drop the others.
38586         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38587         __m128i_strloadu_tolower.
38588         Create and initialize variable zero and use it in all the places
38589         where _mm_setzero_si128 was used.
38591         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38592         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38593         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38594         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38595         anymore.
38596         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38597         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38598         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38599         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38600         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38601         __mpranred, __mptan.
38602         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38603         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38604         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38605         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38606         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38607         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38608         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38609         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38610         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38612 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38614         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38615         redefine if SHARED.
38616         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38619         wide char related routines to wcsmbs subdir.
38621 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38623         [BZ #13344]
38624         * misc/sys/cdefs.h (__THROWNL): Define.
38625         * posix/unistd.h: Use __THREADNL instead of __THREAD
38626         for memory synchronization functions.
38628 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38630         [BZ #13349]
38631         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38632         doesn't exist.
38633         * manual/stdio.texi (Obstack Streams): Node removed.
38635 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38637         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38638         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38639         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38641         * math/math_private.h (math_force_eval): Allow non-addressable
38642         arguments.
38643         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38645 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38647         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38648         file is not needed.
38650         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38651         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38652         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38653         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38654         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38655         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38656         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38657         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38658         Add AVX variants.
38659         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38660         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38661         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38662         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38663         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38664         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38665         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38666         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38667         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38668         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38669         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38670         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38671         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38672         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38673         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38674         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38675         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38676         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38677         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38679         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38680         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38682         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38683         place.  Use VEX encoding when compiling for AVX.
38685 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38687         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38688         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38690         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38692 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38694         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38695         useless if() expression.
38696         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38697         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38698         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38699         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38700         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38701         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38702         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38703         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38704         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38706         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38707         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38708         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38709         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38710         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38711         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38712         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38713         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38714         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38716         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38718 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38720         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38721         condition.
38722         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38724 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38726         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38727         .text section.  Avoid duplicate constants.
38728         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38729         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38730         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38731         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38732         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38733         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38734         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38735         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38736         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38737         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38738         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38739         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38740         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38741         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38742         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38743         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38744         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38745         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38746         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38747         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38748         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38749         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38750         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38751         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38752         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38753         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38754         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38755         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38756         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38757         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38758         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38759         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38760         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38761         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38762         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38763         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38764         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38765         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38766         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38767         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38768         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38769         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38770         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38771         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38772         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38774 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38776         * sysdeps/x86_64/dla.h: Move to ...
38777         * sysdeps/x86_64/fpu/dla.h: ...here.
38778         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38779         situations.  Use __builtin_fma only for gcc 4.6 and up.
38781         * config.make.in: Add have-mfma4 entry.
38782         * configure.in: Substitute libc_cv_cc_fma4.
38783         * math/Makefile (dbl-only-routines): Add sincostab.
38784         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38785         Use __sincostab not sincos.
38786         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38787         name is a macro.
38788         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38789         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38790         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38791         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38792         using __copysign.
38793         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38794         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38795         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38796         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38797         and __inv.
38798         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38799         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38800         __copysign.
38801         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38802         define aliases when function name is a macro.
38803         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38804         sysdeps/ieee754/dbl-64/sincos.tbl.
38805         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38806         fma4-enabled routines.
38807         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38808         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38809         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38810         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38811         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38812         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38813         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38814         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38815         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38816         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38817         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38818         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38819         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38820         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38821         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38822         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38823         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38824         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38825         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38826         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38827         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38828         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38829         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38830         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38831         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38832         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38833         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38834         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38835         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38836         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38838         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38839         rename.
38840         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38841         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38842         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38843         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38844         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38845         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38846         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38847         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38849 2011-10-24  Andreas Schwab  <schwab@redhat.com>
38851         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
38853 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
38857         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
38858         prediction.
38859         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
38861         * string/strnlen.c: Don't define STRNLEN, reverse logic.
38862         Remove unused variable magic_bits.
38863         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
38865         * string/strnlen.c: Define and use STRNLEN macro.
38866         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
38867         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
38868         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
38869         * wcsmbs/wcslen.c: Define and use WCSLEN.
38870         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
38871         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
38872         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
38873         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
38874         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
38875         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
38876         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38878 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38881         strnlen-sse2-no-bsf.
38882         Rename strlen-no-bsf to strlen-sse2-no-bsf.
38883         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
38884         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
38885         Add strnlen support.
38886         (USE_AS_STRNLEN): New macro.
38887         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
38888         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
38889         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
38890         * sysdeps/x86_64/wcslen.S: New file.
38892 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
38894         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38895         XMM-moves are used for copying on small sizes.
38897 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38899         * wcsmbs/Makefile (strop-tests): Add wcschr.
38900         * wcsmbs/test-wcschr.c: New file.
38901         * string/test-strchr.c: Update.
38902         Add wcschr support.
38903         (WIDE): New macro.
38905 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38907         * wcsmbs/Makefile (strop-tests): Add wcslen.
38908         * wcsmbs/test-wcslen.c: New file.
38909         * string/test-strlen.c: Update.
38910         Add wcslen support.
38911         (WIDE): New macro.
38913 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38915         * po/it.po: Update from translation team.
38917 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38919         * sysdeps/x86_64/wcscmp.S: Update.
38920         Fix wrong comparison semantics.
38921         wcscmp shall use signed comparison not unsigned.
38922         Don't use substraction to avoid overflow bug.
38923         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
38924         * wcsmbc/wcscmp.c: Likewise.
38925         * string/test-strcmp.c: Likewise.
38926         Add new tests to check cases with negative values.
38928 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
38930         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
38931         * sysdeps/x86_64/dla.h: ...here.  New file.
38932         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
38933         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38934         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38935         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38936         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38937         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38942 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
38944         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
38945         __ynl_finite aliases.
38947 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38949         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38951         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
38952         define DLA_FMA.
38953         [DLA_FMA] (EMULV): Use DLA_FMA.
38954         [DLA_FMA] (MUL12): Use EMULV.
38955         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
38956         that are not needed.
38957         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38958         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38959         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38960         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38961         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38962         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38963         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38965 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
38967         * math/s_nan.c: Undef __nan.
38968         * math/s_nanf.c: Undef __nanf.
38969         * math/s_nanl.c: Undef __nanl.
38970         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
38971         "math_private.h".
38973 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
38975         * math/s_catan.c: Add branch predictions.
38976         * math/s_catanf.c: Likewise.
38977         * math/s_catanh.c: Likewise.
38978         * math/s_catanhf.c: Likewise.
38979         * math/s_catanhl.c: Likewise.
38980         * math/s_catanl.c: Likewise.
38981         * math/s_cexp.c: Likewise.
38982         * math/s_cexpf.c: Likewise.
38983         * math/s_cexpl.c: Likewise.
38984         * math/s_clog.c: Likewise.
38985         * math/s_clog10.c: Likewise.
38986         * math/s_clog10f.c: Likewise.
38987         * math/s_clog10l.c: Likewise.
38988         * math/s_clogf.c: Likewise.
38989         * math/s_clogl.c: Likewise.
38990         * math/s_csqrt.c: Likewise.
38991         * math/s_csqrtf.c: Likewise.
38992         * math/s_csqrtl.c: Likewise.
38993         * math/s_ctanf.c: Likewise.
38994         * math/s_ctanh.c: Likewise.
38995         * math/s_ctanhf.c: Likewise.
38996         * math/s_ctanhl.c: Likewise.
38997         * math/s_ctanl.c: Likewise.
38999         * math/math_private.h: Define __nan, __nanf, __nanl.
39000         * math/s_cacosh.c: Include <math_private.h>.
39001         * math/s_cacoshl.c: Likewise.
39002         * math/s_casinh.c: Likewise.
39003         * math/s_casinhf.c: Likewise.
39004         * math/s_casinhl.c: Likewise.
39005         * math/s_ccos.c: Rely entire on ccosh.
39006         * math/s_ccosf.c: Rely entire on ccoshf.
39007         * math/s_ccosl.c: Rely entirely on ccoshl.
39008         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39009         Remove tests for FE_INVALID.
39010         * math/s_ccoshf.c: Likewise.
39011         * math/s_ccoshl.c: Likewise.
39012         * math/s_csin.c: Likewise.
39013         * math/s_csinf.c: Likewise.
39014         * math/s_csinh.c Likewise.
39015         * math/s_csinhf.c: Likewise.
39016         * math/s_csinhl.c: Likewise.
39017         * math/s_csinl.c: Likewise.
39018         * math/s_ctan.c: Likewise.
39019         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39020         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39021         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39023 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39025         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39026         compilation problems.
39028         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39029         __builtin_expect.
39031 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39033         * sysdeps/i386/configure.in: Test for -mfma4 option.
39034         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39035         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39036         COMMON_CPUID_INDEX_80000001.
39037         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39038         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39039         use it if FMA3 is not supported.
39040         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39042         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39043         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39045 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39047         [BZ #12892]
39048         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39049         it would create a cycle with a link time dependency.
39051 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39053         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39054         instruction.
39055         * string/Makefile (strop-tests): Add rawmemchr.
39056         * string/test-rawmemchr.c: New file.
39058         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39059         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39060         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39061         when compiling str{,n}casecmp and when AVX is available.  Hook up
39062         new optimized code in initializers.
39064 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39066         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39067         __feraiseexcept instead of feraiseexcept.
39069 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39071         * math/math_private.h: Define defaults for libc_fetestexcept and
39072         libc_feupdateenv.
39073         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39074         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39075         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39076         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39077         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39078         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39079         libc_fetestexcept and libc_feupdateenv.
39081         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39082         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39083         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39084         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39085         libc_feholdexcept_setround.
39087         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39088         Add s_nearbyint-c and s_nearbyintf-c.
39089         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39090         nearbyintf inlines.
39091         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39092         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39093         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39094         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39096         * math/math_private.h: Define defaults for libc_fegetround,
39097         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39098         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39099         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39100         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39101         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39102         standard functions.
39103         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39104         Remove comments and hacks for old compiler versions.
39105         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39106         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39107         libc_feholdexceptl.
39109 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39111         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39112         (__feraiseexcept_renamed): Add __NTH.
39113         (feraiseexcept): Add __NTH.  Rename local variables to fix
39114         namespace violations.
39116 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39120         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39122         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39123         recently added interfaces.
39124         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39126         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39127         about macro parameter expansion.
39129         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39130         __NO_MATH_INLINES is defined.  Cleanups.
39132         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39133         and __floorf is target has SSE4.1.
39134         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39135         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39136         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39137         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39139         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39140         name.
39141         (floorf): Likewise.
39143         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39145 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39147         * misc/sys/cdefs.h: Fix last change.
39149         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39150         database lookup.
39152 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39154         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39156         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39158         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39159         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39160         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39161         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39162         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39163         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39164         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39165         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39166         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39167         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39168         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39169         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39170         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39171         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39172         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39173         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39174         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39175         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39176         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39177         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39179         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39180         ceil, ceilf, floor, floorf.
39182         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39183         Perform IRELATIVE relocations last.
39185         * elf/do-rel.h: Add another parameter nrelative, replacing the
39186         local variable with the same name.  Change name of the function
39187         to end in Rel or Rela (uppercase).
39188         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39189         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39190         elf_dynamic_do_##reloc function.
39192 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39194         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39195         is sufficient, at least on modern CPUs.
39197         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39199         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39200         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39202         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39203         __expl_finite.
39204         * math/bits/math-finite.h: Add entries for exp.
39205         * math/e_expl.c: Add __*_finite alias.
39206         * sysdeps/i386/fpu/e_exp.S: Likewise.
39207         * sysdeps/i386/fpu/e_expf.S: Likewise.
39208         * sysdeps/i386/fpu/e_expl.c: Likewise.
39209         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39210         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39211         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39213         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39214         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39215         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39217         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39218         is sufficient, at least on modern CPUs.
39220         * ctype/ctype-info.c (__ctype_init): Define.
39221         * include/ctype.h (__ctype_init): Declare.
39222         (__ctype_b_loc): The variable is always initialized.
39223         (__ctype_toupper_loc): Likewise.
39224         (__ctype_tolower_loc): Likewise.
39225         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39226         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39228 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39230         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39232         * configure.in: Also look in $cxxmachine/include for C++ system
39233         headers.
39235 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39237         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39238         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39239         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39240         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39241         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39242         (USE_AS_WMEMCMP): New macro.
39243         Fixing indents.
39244         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39245         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39246         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39247         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39248         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39249         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39250         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39251         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39252         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39253         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39254         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39255         (USE_AS_WMEMCMP): New macro.
39256         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39257         * sysdeps/string/test-memcmp.c: Update.
39258         Fix simple_wmemcmp.
39259         Add new tests.
39260         * wcsmbs/wmemcmp.c: Update.
39261         (WMEMCMP): New macro.
39262         Fix overflow bug.
39264 2011-10-12  Andreas Jaeger  <aj@suse.de>
39266         [BZ #13268]
39267         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39269 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39271         * libio/iofwide.c (do_length): Avoid warning.
39273         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39275 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39277         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39279         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39280         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39281         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39282         * sysdeps/i386/i686/fpu/e_log.S: New file.
39283         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39284         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39286         * ctype/ctype.h: Add support for inlined isXXX functions when
39287         compiling C++ code.
39289 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39291         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39293         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39295 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39297         [BZ #13291]
39298         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39300 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39302         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39303         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39304         feraiseexcept.
39306         * sysdeps/x86_64/memrchr.S: Check for zero size.
39308         * string/stratcliff.c: Add memrchr tests.
39310 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39312         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39313         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39314         rawmemchr-sse2 rawmemchr-sse2-bsf.
39315         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39316         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39317         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39318         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39319         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39320         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39321         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39322         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39323         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39324         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39325         * string/memrchr.c (MEMRCHR): New macro.
39327 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39329         Add integration with gcc's -ffinite-math-only and optimize wrapper
39330         functions in libm.
39331         * Versions.def: Define GLIBC_2.15 version for libm.
39332         * math/Makefile (headers): Add bits/math-finite.h.
39333         * math/bits/math-finite.h: New file.
39334         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39335         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39336         * math/e_acoshl.c: Add __*_finite alias.
39337         * math/e_acosl.c: Likewise.
39338         * math/e_asinl.c: Likewise.
39339         * math/e_atan2l.c: Likewise.
39340         * math/e_atanhl.c: Likewise.
39341         * math/e_coshl.c: Likewise.
39342         * math/e_exp10.c: Likewise.
39343         * math/e_exp10f.c: Likewise.
39344         * math/e_exp10l.c: Likewise.
39345         * math/e_exp2l.c: Likewise.
39346         * math/e_fmodl.c: Likewise.
39347         * math/e_gammal_r.c: Likewise.
39348         * math/e_hypotl.c: Likewise.
39349         * math/e_j0l.c: Likewise.
39350         * math/e_j1l.c: Likewise.
39351         * math/e_jnl.c: Likewise.
39352         * math/e_lgammal_r.c: Likewise.
39353         * math/e_log10l.c: Likewise.
39354         * math/e_log2l.c: Likewise.
39355         * math/e_logl.c: Likewise.
39356         * math/e_powl.c: Likewise.
39357         * math/e_sinhl.c: Likewise.
39358         * math/e_sqrtl.c: Likewise.
39359         * math/e_scalb.c: Completely rewritten and optimized.
39360         * math/e_scalbf.c: Likewise.
39361         * math/e_scalbl.c: Likewise.
39362         * math/w_acos.c: Likewise.
39363         * math/w_acosf.c: Likewise.
39364         * math/w_acosl.c: Likewise.
39365         * math/w_acosh.c: Likewise.
39366         * math/w_acoshf.c: Likewise.
39367         * math/w_acoshl.c: Likewise.
39368         * math/w_asin.c: Likewise.
39369         * math/w_asinf.c: Likewise.
39370         * math/w_asinl.c: Likewise.
39371         * math/w_atan2.c: Likewise.
39372         * math/w_atan2f.c: Likewise.
39373         * math/w_atan2l.c: Likewise.
39374         * math/w_atanh.c: Likewise.
39375         * math/w_atanhf.c: Likewise.
39376         * math/w_atanhl.c: Likewise.
39377         * math/w_exp10.c: Likewise.
39378         * math/w_exp10f.c: Likewise.
39379         * math/w_exp10l.c: Likewise.
39380         * math/w_fmod.c: Likewise.
39381         * math/w_fmodf.c: Likewise.
39382         * math/w_fmodl.c: Likewise.
39383         * math/w_j0.c: Likewise.
39384         * math/w_j0f.c: Likewise.
39385         * math/w_j0l.c: Likewise.
39386         * math/w_j1.c: Likewise.
39387         * math/w_j1f.c: Likewise.
39388         * math/w_j1l.c: Likewise.
39389         * math/w_jn.c: Likewise.
39390         * math/w_jnf.c: Likewise.
39391         * math/w_log.c: Likewise.
39392         * math/w_logf.c: Likewise.
39393         * math/w_logl.c: Likewise.
39394         * math/w_log10.c: Likewise.
39395         * math/w_log10f.c: Likewise.
39396         * math/w_log10l.c: Likewise.
39397         * math/w_log2.c: Likewise.
39398         * math/w_log2f.c: Likewise.
39399         * math/w_log2l.c: Likewise.
39400         * math/w_pow.c: Likewise.
39401         * math/w_powf.c: Likewise.
39402         * math/w_powl.c: Likewise.
39403         * math/w_remainder.c: Likewise.
39404         * math/w_remainderf.c: Likewise.
39405         * math/w_remainderl.c: Likewise.
39406         * math/w_scalb.c: Likewise.
39407         * math/w_scalbf.c: Likewise.
39408         * math/w_scalbl.c: Likewise.
39409         * math/w_sqrt.c: Likewise.
39410         * math/w_sqrtf.c: Likewise.
39411         * math/w_sqrtl.c: Likewise.
39412         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39413         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39414         used.
39415         * math/math_private.h: Declare __kernel_standard_f.
39416         * math/w_cosh.c: Remove cruft and optimize a bit.
39417         * math/w_coshf.c: Likewise.
39418         * math/w_coshl.c: Likewise.
39419         * math/w_exp2.c: Likewise.
39420         * math/w_exp2f.c: Likewise.
39421         * math/w_exp2l.c: Likewise.
39422         * math/w_hypot.c: Likewise.
39423         * math/w_hypotf.c: Likewise.
39424         * math/w_hypotl.c: Likewise.
39425         * math/w_lgamma.c: Likewise.
39426         * math/w_lgamma_r.c: Likewise.
39427         * math/w_lgammaf.c: Likewise.
39428         * math/w_lgammaf_r.c: Likewise.
39429         * math/w_lgammal.c: Likewise.
39430         * math/w_lgammal_r.c: Likewise.
39431         * math/w_sinh.c: Likewise.
39432         * math/w_sinhf.c: Likewise.
39433         * math/w_sinhl.c: Likewise.
39434         * math/w_tgamma.c: Likewise.
39435         * math/w_tgammaf.c: Likewise.
39436         * math/w_tgammal.c: Likewise.
39437         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39438         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39439         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39440         Minor optimizations.  Pretty printing.  Remove cruft.
39441         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39442         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39443         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39444         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39445         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39446         * sysdeps/i386/fpu/e_asin.S: Likewise.
39447         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39448         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39449         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39450         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39451         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39452         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39453         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39454         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39455         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39456         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39457         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39458         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39459         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39460         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39461         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39462         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39463         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39464         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39465         * sysdeps/i386/fpu/e_log.S: Likewise.
39466         * sysdeps/i386/fpu/e_log10.S: Likewise.
39467         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39468         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39469         * sysdeps/i386/fpu/e_log2.S: Likewise.
39470         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39471         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39472         * sysdeps/i386/fpu/e_logf.S: Likewise.
39473         * sysdeps/i386/fpu/e_logl.S: Likewise.
39474         * sysdeps/i386/fpu/e_pow.S: Likewise.
39475         * sysdeps/i386/fpu/e_powf.S: Likewise.
39476         * sysdeps/i386/fpu/e_powl.S: Likewise.
39477         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39478         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39479         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39480         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39481         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39482         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39483         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39484         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39485         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39486         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39487         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39489         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39490         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39491         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39492         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39493         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39494         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39495         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39496         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39497         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39498         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39499         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39500         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39501         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39502         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39503         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39504         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39505         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39506         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39507         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39508         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39509         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39510         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39511         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39512         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39513         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39514         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39515         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39516         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39517         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39518         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39519         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39520         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39521         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39522         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39523         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39524         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39525         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39526         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39527         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39528         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39529         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39530         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39531         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39532         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39533         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39534         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39535         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39536         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39537         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39538         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39539         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39540         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39541         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39542         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39543         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39544         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39545         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39546         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39548         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39550         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39553         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39554         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39555         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39556         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39557         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39558         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39560         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39561         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39562         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39563         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39564         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39565         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39566         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39567         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39568         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39569         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39570         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39571         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39572         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39573         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39574         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39575         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39576         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39577         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39578         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39579         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39580         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39581         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39582         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39583         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39584         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39585         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39586         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39587         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39588         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39589         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39590         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39591         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39592         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39593         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39594         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39595         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39596         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39597         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39598         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39599         (__isnanf): Likewise.
39600         (__isinf_ns): Likewise.
39601         (__isinf_nsf): Likewise.
39602         (__finite): Likewise.
39603         (__finitef): Likewise.
39604         (__ieee754_sqrt): Define as macro.
39605         (__ieee754_sqrtf): Define as macro.
39606         (__ieee754_sqrtl): Define as macro.
39607         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39608         inlined copy.
39609         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39610         __FINITE_MATH_ONLY__ consistent.
39611         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39613 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39615         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39616         of rawmemchr.
39618         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39620 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39622         * po/ja.po: Update from translation team.
39624 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39626         * locale/programs/locarchive.c (prepare_address_space): New function.
39627         (create_archive, enlarge_archive, open_archive): Use it.
39629         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39630         inside [SHARED], where it is used.
39632         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39634         * nss/getent.c (netgroup_keys): Remove unused variable.
39635         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39637 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39639         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39640         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39641         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39642         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39643         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39644         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39645         * math/Makefile (libm-calls): Add s_isinf_ns.
39646         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39647         * math/multc3.c: Likewise.
39648         * math/s_casin.c: Likewise.
39649         * math/s_casinf.c: Likewise.
39650         * math/s_casinl.c: Likewise.
39651         * math/s_ccos.c: Likewise.
39652         * math/s_ccosf.c: Likewise.
39653         * math/s_ccosl.c: Likewise.
39654         * math/s_ctan.c: Likewise.
39655         * math/s_ctanf.c: Likewise.
39656         * math/s_ctanh.c: Likewise.
39657         * math/s_ctanhf.c: Likewise.
39658         * math/s_ctanhl.c: Likewise.
39659         * math/s_ctanl.c: Likewise.
39660         * math/w_fmod.c: Likewise.
39661         * math/w_fmodf.c: Likewise.
39662         * math/w_fmodl.c: Likewise.
39663         * math/w_remainder.c: Likewise.
39664         * math/w_remainderf.c: Likewise.
39665         * math/w_remainderl.c: Likewise.
39666         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39667         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39668         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39669         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39670         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39671         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39672         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39673         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39675         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39676         of the number.
39677         * stdio-common/printf_fphex.c: Likewise.
39678         * stdio-common/printf_size.c: Likewise.
39680         * math/e_exp10.c: Include math_private.h using <...> not "...".
39681         * math/e_exp10f.c: Likewise.
39682         * math/e_exp10l.c: Likewise.
39683         * math/e_exp2l.c: Likewise.
39684         * math/e_j0l.c: Likewise.
39685         * math/e_j1l.c: Likewise.
39686         * math/e_jnl.c: Likewise.
39687         * math/e_lgammal_r.c: Likewise.
39688         * math/e_rem_pio2l.c: Likewise.
39689         * math/e_scalb.c: Likewise.
39690         * math/e_scalbf.c: Likewise.
39691         * math/e_scalbl.c: Likewise.
39692         * math/k_cosl.c: Likewise.
39693         * math/k_sinl.c: Likewise.
39694         * math/k_tanl.c: Likewise.
39695         * math/s_cacoshf.c: Likewise.
39696         * math/s_catan.c: Likewise.
39697         * math/s_catanf.c: Likewise.
39698         * math/s_catanh.c: Likewise.
39699         * math/s_catanhf.c: Likewise.
39700         * math/s_catanhl.c: Likewise.
39701         * math/s_catanl.c: Likewise.
39702         * math/s_ccosh.c: Likewise.
39703         * math/s_ccoshf.c: Likewise.
39704         * math/s_ccoshl.c: Likewise.
39705         * math/s_cexp.c: Likewise.
39706         * math/s_cexpf.c: Likewise.
39707         * math/s_cexpl.c: Likewise.
39708         * math/s_clog.c: Likewise.
39709         * math/s_clog10.c: Likewise.
39710         * math/s_clog10f.c: Likewise.
39711         * math/s_clog10l.c: Likewise.
39712         * math/s_clogf.c: Likewise.
39713         * math/s_clogl.c: Likewise.
39714         * math/s_csin.c: Likewise.
39715         * math/s_csinf.c: Likewise.
39716         * math/s_csinh.c: Likewise.
39717         * math/s_csinhf.c: Likewise.
39718         * math/s_csinhl.c: Likewise.
39719         * math/s_csinl.c: Likewise.
39720         * math/s_csqrt.c: Likewise.
39721         * math/s_csqrtf.c: Likewise.
39722         * math/s_csqrtl.c: Likewise.
39723         * math/s_ctan.c: Likewise.
39724         * math/s_ctanf.c: Likewise.
39725         * math/s_ctanh.c: Likewise.
39726         * math/s_ctanhf.c: Likewise.
39727         * math/s_ctanhl.c: Likewise.
39728         * math/s_ctanl.c: Likewise.
39729         * math/s_ldexp.c: Likewise.
39730         * math/s_ldexpf.c: Likewise.
39731         * math/s_ldexpl.c: Likewise.
39732         * math/s_significand.c: Likewise.
39733         * math/s_significandf.c: Likewise.
39734         * math/s_significandl.c: Likewise.
39735         * math/w_acos.c: Likewise.
39736         * math/w_acosf.c: Likewise.
39737         * math/w_acosh.c: Likewise.
39738         * math/w_acoshf.c: Likewise.
39739         * math/w_acoshl.c: Likewise.
39740         * math/w_acosl.c: Likewise.
39741         * math/w_asin.c: Likewise.
39742         * math/w_asinf.c: Likewise.
39743         * math/w_asinl.c: Likewise.
39744         * math/w_atan2.c: Likewise.
39745         * math/w_atan2f.c: Likewise.
39746         * math/w_atan2l.c: Likewise.
39747         * math/w_atanh.c: Likewise.
39748         * math/w_atanhf.c: Likewise.
39749         * math/w_atanhl.c: Likewise.
39750         * math/w_cosh.c: Likewise.
39751         * math/w_coshf.c: Likewise.
39752         * math/w_coshl.c: Likewise.
39753         * math/w_dremf.c: Likewise.
39754         * math/w_exp10.c: Likewise.
39755         * math/w_exp10f.c: Likewise.
39756         * math/w_exp10l.c: Likewise.
39757         * math/w_exp2.c: Likewise.
39758         * math/w_exp2f.c: Likewise.
39759         * math/w_fmod.c: Likewise.
39760         * math/w_fmodf.c: Likewise.
39761         * math/w_fmodl.c: Likewise.
39762         * math/w_hypot.c: Likewise.
39763         * math/w_hypotf.c: Likewise.
39764         * math/w_hypotl.c: Likewise.
39765         * math/w_j0.c: Likewise.
39766         * math/w_j0f.c: Likewise.
39767         * math/w_j0l.c: Likewise.
39768         * math/w_j1.c: Likewise.
39769         * math/w_j1f.c: Likewise.
39770         * math/w_j1l.c: Likewise.
39771         * math/w_jn.c: Likewise.
39772         * math/w_jnf.c: Likewise.
39773         * math/w_jnl.c: Likewise.
39774         * math/w_lgamma.c: Likewise.
39775         * math/w_lgamma_r.c: Likewise.
39776         * math/w_lgammaf.c: Likewise.
39777         * math/w_lgammaf_r.c: Likewise.
39778         * math/w_lgammal.c: Likewise.
39779         * math/w_lgammal_r.c: Likewise.
39780         * math/w_log.c: Likewise.
39781         * math/w_log10.c: Likewise.
39782         * math/w_log10f.c: Likewise.
39783         * math/w_log10l.c: Likewise.
39784         * math/w_log2.c: Likewise.
39785         * math/w_log2f.c: Likewise.
39786         * math/w_log2l.c: Likewise.
39787         * math/w_logf.c: Likewise.
39788         * math/w_logl.c: Likewise.
39789         * math/w_pow.c: Likewise.
39790         * math/w_powf.c: Likewise.
39791         * math/w_powl.c: Likewise.
39792         * math/w_remainder.c: Likewise.
39793         * math/w_remainderf.c: Likewise.
39794         * math/w_remainderl.c: Likewise.
39795         * math/w_scalb.c: Likewise.
39796         * math/w_scalbf.c: Likewise.
39797         * math/w_scalbl.c: Likewise.
39798         * math/w_sinh.c: Likewise.
39799         * math/w_sinhf.c: Likewise.
39800         * math/w_sinhl.c: Likewise.
39801         * math/w_sqrt.c: Likewise.
39802         * math/w_sqrtf.c: Likewise.
39803         * math/w_sqrtl.c: Likewise.
39804         * math/w_tgamma.c: Likewise.
39805         * math/w_tgammaf.c: Likewise.
39806         * math/w_tgammal.c: Likewise.
39808         * po/ja.po: Update from translation team.
39810 2011-09-29  Andreas Jaeger  <aj@suse.de>
39812         [BZ #13179]
39813         * sunrpc/netname.c (netname2host): Fix logic.
39815         [BZ #6779]
39816         [BZ #6783]
39817         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39818         correctly.
39819         * math/w_remainder.c (__remainder): Likewise.
39820         * math/w_remainderf.c (__remainderf): Likewise.
39821         * math/libm-test.inc (remainder_test): Add test cases.
39823 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39825         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39826         sdiv_qrnnd.
39828 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39830         * string/test-memcmp.c: Avoid unncessary #defines.
39831         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39833 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39835         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39836         Use new sse2 version for core i3 - i7 as it's faster
39837         than sse42 version.
39838         (bit_Prefer_PMINUB_for_stringop): New.
39839         * sysdeps/x86_64/rawmemchr.S: Update.
39840         Replace with faster SSE2 version.
39841         * sysdeps/x86_64/memrchr.S: New file.
39842         * sysdeps/x86_64/memchr.S: Update.
39843         Replace with faster SSE2 version.
39845 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
39847         * elf/dl-load.c (lose): Add cast to avoid warning.
39849 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39851         * po/ca.po: Update from translation team.
39853         * inet/getnetgrent_r.c: Hook up nscd.
39854         * nscd/Makefile (routines): Add nscd_netgroup.
39855         (nscd-modules): Add netgroupcache.
39856         (CFLAGS-netgroupcache.c): Define.
39857         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
39858         (cache_search): Add const to second parameter.
39859         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
39860         INNETGR.
39861         (dbs): Add netgrdb entry.
39862         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
39863         (verify_persistent_db): Handle netgrdb.
39864         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
39865         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
39866         GETFDNETGR.
39867         (netgroup_response_header): Define.
39868         (innetgroup_response_header): Define.
39869         (datahead): Add netgroup_response_header and innetgroup_response_header
39870         elements.
39871         * nscd/nscd.conf: Add entries for netgroup cache.
39872         * nscd/nscd.h (dbtype): Add netgrdb.
39873         (_PATH_NSCD_NETGROUP_DB): Define.
39874         (netgroup_iov_disabled): Declare.
39875         (xmalloc, xcalloc, xrealloc): Move declarations here.
39876         (cache_search): Adjust prototype.
39877         Add netgroup-related prototypes.
39878         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
39879         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
39880         (__nscd_innetgr): Declare.
39881         * nscd/selinux.c (perms): Use access_vector_t as element type and
39882         add netgroup-related initializers.
39883         * nscd/netgroupcache.c: New file.
39884         * nscd/nscd_netgroup.c: New file.
39885         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
39886         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
39887         For four parameters use innetgr.
39888         * nss/nss_files/files-init.c: Add definition and callback for netgr.
39889         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
39890         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
39891         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
39893         * nscd/connections.c (register_traced_file): Don't register file
39894         for disabled databases.
39896 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
39898         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
39900         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
39901         from tree and freeing node.
39903 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
39905         * nss/nsswitch.c (__nss_database_lookup): Handle
39906         nss_parse_service_list out of memory case.
39908 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
39910         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
39911         out of memory case.
39913 2011-10-04  Andreas Schwab  <schwab@redhat.com>
39915         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
39916         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
39917         pass it down.
39918         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
39919         elf_machine_rela, elf_machine_lazy_rel.
39920         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
39921         (ELF_DYNAMIC_DO_REL): Likewise.
39922         (ELF_DYNAMIC_DO_RELA): Likewise.
39923         (ELF_DYNAMIC_RELOCATE): Likewise.
39924         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
39925         to ELF_DYNAMIC_DO_REL.
39926         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
39927         (dl_main): In trace mode always set __RTLD_NOIFUNC.
39928         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
39929         elf_machine_rela.
39930         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
39931         skip_ifunc, don't call ifunc function if non-zero.
39932         (elf_machine_rela): Likewise.
39933         (elf_machine_lazy_rel): Likewise.
39934         (elf_machine_lazy_rela): Likewise.
39935         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
39936         (elf_machine_lazy_rel): Likewise.
39937         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
39938         Likewise.
39939         (elf_machine_lazy_rel): Likewise.
39940         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39941         Likewise.
39942         (elf_machine_lazy_rel): Likewise.
39943         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
39944         (elf_machine_lazy_rel): Likewise.
39945         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
39946         (elf_machine_lazy_rel): Likewise.
39947         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39948         (elf_machine_lazy_rel): Likewise.
39949         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
39950         (elf_machine_lazy_rel): Likewise.
39951         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
39952         (elf_machine_lazy_rel): Likewise.
39953         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
39954         (elf_machine_lazy_rel): Likewise.
39956 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
39958         * nss/nss_files/files-init.c (_nss_files_init): Use static
39959         initialization for all the *_traced_file variables.
39961 2011-09-28  Andreas Schwab  <schwab@redhat.com>
39963         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39965 2011-09-27  Roland McGrath  <roland@hack.frob.com>
39967         [BZ #13226]
39968         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
39970 2011-09-27  Andreas Schwab  <schwab@redhat.com>
39972         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
39973         Reread the line before reparsing it.
39975 2011-09-26  Andreas Schwab  <schwab@redhat.com>
39977         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
39979 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
39980             Maxim Kuvyrkov  <maxim@codesourcery.com>
39981             Joseph Myers  <joseph@codesourcery.com>
39983         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
39984         if needed for __stack_chk_guard.
39986 2011-09-19  Roland McGrath  <roland@hack.frob.com>
39988         * sysdeps/posix/spawni.c (script_execute): Always define it.
39989         It will be optimized away if unused.
39990         (maybe_script_execute): New function.
39991         (__spawni): Call it.
39993         * Makerules: Don't include tls.make.
39994         (config-tls): Always set to thread.
39995         * tls.make.c: File removed.
39997 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
39999         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40000         * config.make.in (CPPFLAGS-config): New substituted variable.
40002 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40004         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40006         [BZ #13192]
40007         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40008         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40010 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40012         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40013         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40014         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40015         (CALL_FAIL): Likewise.
40016         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40017         (CALL_FAIL): Macro removed.
40018         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40020 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40022         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40023         for __FINITE_MATH_ONLY__ == 1.
40025 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40027         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40028         __ieee754_sqrt instead of sqrt.
40029         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40030         __ieee754_sqrtf instead of sqrtf.
40031         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40032         __floorf instead of floorf.
40033         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40034         __floorf, __truncf instead of floorf, truncf.
40036 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40038         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40040         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40041         __extern_always_inline.
40042         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40043         32-bit.
40045 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40047         * elf/rtld.c (dl_main): Also relocate in dependency order when
40048         doing symbol dependency testing.
40050 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40052         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40053         Always define `refsym'.
40055 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40057         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40058         (__FD_ELT): Renamed from __FDELT.
40059         * misc/bits/select2.h (__FD_ELT): Likewise.
40060         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40061         __FD_MASK instead of __FDELT, __FDMASK.
40062         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40063         Likewise.
40064         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40065         Likewise.
40067         * elf/Makefile (gen-ldd): Fix pattern.
40069         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40070         (init_tls): Likewise.
40072 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40074         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40076 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40078         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40079         `struct cmsghdr *' instead of `void *'.
40080         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40081         Likewise.
40083 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40085         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40086         if non-absolute.
40087         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40088         ldd_rewrite_script.
40090 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40092         * configure.in: Remove --with-tls option.
40093         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40094         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40095         out in case it is missing.
40096         * sysdeps/ia64/elf/configure.in: Likewise.
40097         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40098         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40099         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40100         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40101         * sysdeps/sh/elf/configure.in: Likewise.
40102         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40103         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40104         * sysdeps/x86_64/elf/configure.in: Likewise.
40105         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40106         * sysdeps/mach/hurd/tls.h: Likewise.
40108         [BZ #13067]
40109         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40111         [BZ #13090]
40112         * configure.in: Fix use of AC_INIT.
40114         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40116 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40118         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40119         __set_errno.
40120         * malloc/hooks.c: Likewise.
40122         [BZ #11929]
40123         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40124         variables statically.
40125         (narenas): Initialize.
40126         (list_lock): Initialize.
40127         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40128         initializtion of main_arena and list_lock.  Small cleanups.
40129         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40130         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40131         Add initializers to main_arena and mp_.
40132         (malloc_state): Remove pagesize member.  Change all users to use
40133         GLRO(dl_pagesize).
40135         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40136         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40137         is always initialized.
40139         * malloc/malloc.c: Removed unused configurations and dead code.
40140         * malloc/arena.c: Likewise.
40141         * malloc/hooks.c: Likewise.
40142         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40144         * include/tls.h: Removed.  USE___THREAD must always be defined.
40145         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40146         * elf/dl-libc.c: Likewise.
40147         * elf/dl-tsd.c: Likewise.
40148         * include/errno.h: Likewise.
40149         * include/netdb.h: Likewise.
40150         * include/resolv.h: Likewise.
40151         * inet/herrno-loc.c: Likewise.
40152         * inet/herrno.c: Likewise.
40153         * malloc/arena.c: Likewise.
40154         * malloc/hooks.c: Likewise.
40155         * malloc/malloc.c: Likewise.
40156         * resolv/res-state.c: Likewise.
40157         * resolv/res_libc.c: Likewise.
40158         * sysdeps/i386/dl-machine.h: Likewise.
40159         * sysdeps/ia64/dl-machine.h: Likewise.
40160         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40161         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40162         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40163         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40164         * sysdeps/sh/dl-machine.h: Likewise.
40165         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40166         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40167         * sysdeps/unix/i386/sysdep.S: Likewise.
40168         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40169         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40170         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40171         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40173         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40174         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40175         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40177         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40178         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40179         * sysdeps/x86_64/dl-machine.h: Likewise.
40180         * tls.make.c: Likewise.
40182         * configure.in: Remove --with-__thread option.  Make tests for
40183         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40184         tls_model attribute fail if no support is available.  Remove
40185         USE_IN_LIBIO.
40186         * Makeconfig: Adjust for dropped configure option.  All features are
40187         now mandatory.
40188         * Makerules: Likewise.
40189         * Versions.def: Likewise.
40190         * argp/argp-fmtstream.c: Likewise.
40191         * argp/argp-fmtstream.h: Likewise.
40192         * argp/argp-help.c: Likewise.
40193         * assert/assert.c: Likewise.
40194         * config.h.in: Likewise.
40195         * config.make.in: Likewise.
40196         * configure: Likewise.
40197         * configure.in: Likewise.
40198         * csu/Versions: Likewise.
40199         * csu/init.c: Likewise.
40200         * elf/tst-audit2.c: Likewise.
40201         * elf/tst-tls10.c: Likewise.
40202         * elf/tst-tls10.h: Likewise.
40203         * elf/tst-tls11.c: Likewise.
40204         * elf/tst-tls12.c: Likewise.
40205         * elf/tst-tls14.c: Likewise.
40206         * elf/tst-tlsmod11.c: Likewise.
40207         * elf/tst-tlsmod12.c: Likewise.
40208         * elf/tst-tlsmod13.c: Likewise.
40209         * elf/tst-tlsmod13a.c: Likewise.
40210         * elf/tst-tlsmod14a.c: Likewise.
40211         * elf/tst-tlsmod15b.c: Likewise.
40212         * elf/tst-tlsmod16a.c: Likewise.
40213         * elf/tst-tlsmod16b.c: Likewise.
40214         * elf/tst-tlsmod7.c: Likewise.
40215         * elf/tst-tlsmod8.c: Likewise.
40216         * elf/tst-tlsmod9.c: Likewise.
40217         * gmon/gmon.c: Likewise.
40218         * grp/fgetgrent_r.c: Likewise.
40219         * grp/putgrent.c: Likewise.
40220         * hurd/fopenport.c: Likewise.
40221         * include/libc-symbols.h: Likewise.
40222         * include/tls.h: Likewise.
40223         * intl/gettextP.h: Likewise.
40224         * intl/loadinfo.h: Likewise.
40225         * locale/global-locale.c: Likewise.
40226         * locale/localeinfo.h: Likewise.
40227         * mach/devstream.c: Likewise.
40228         * malloc/arena.c: Likewise.
40229         * malloc/set-freeres.c: Likewise.
40230         * misc/err.c: Likewise.
40231         * misc/getttyent.c: Likewise.
40232         * misc/mntent_r.c: Likewise.
40233         * posix/getopt.c: Likewise.
40234         * posix/wordexp.c: Likewise.
40235         * pwd/fgetpwent_r.c: Likewise.
40236         * resolv/Versions: Likewise.
40237         * resolv/res_hconf.c: Likewise.
40238         * shadow/fgetspent_r.c: Likewise.
40239         * shadow/putspent.c: Likewise.
40240         * stdio-common/printf_fphex.c: Likewise.
40241         * stdio-common/tmpfile.c: Likewise.
40242         * stdlib/abort.c: Likewise.
40243         * stdlib/fmtmsg.c: Likewise.
40244         * sunrpc/auth_unix.c: Likewise.
40245         * sunrpc/clnt_perr.c: Likewise.
40246         * sunrpc/clnt_tcp.c: Likewise.
40247         * sunrpc/clnt_udp.c: Likewise.
40248         * sunrpc/clnt_unix.c: Likewise.
40249         * sunrpc/openchild.c: Likewise.
40250         * sunrpc/svc_simple.c: Likewise.
40251         * sunrpc/svc_tcp.c: Likewise.
40252         * sunrpc/svc_udp.c: Likewise.
40253         * sunrpc/svc_unix.c: Likewise.
40254         * sunrpc/xdr.c: Likewise.
40255         * sunrpc/xdr_array.c: Likewise.
40256         * sunrpc/xdr_rec.c: Likewise.
40257         * sunrpc/xdr_ref.c: Likewise.
40258         * sunrpc/xdr_stdio.c: Likewise.
40260 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40262         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40264 2011-07-03  Andreas Jaeger  <aj@suse.de>
40266         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40267         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40268         regenerate with gen-libm-tests.pl.
40270 2010-05-12  Petr Baudis  <pasky@suse.cz>
40272         [BZ #11589]
40273         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40274         around j0() zero points by switching to j1().
40275         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40276         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40277         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40278         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40280 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40282         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40283         instead of 0.
40284         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40285         instead of 0.
40286         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40287         Patch in part by Pavel Roskin <proski@gnu.org>.
40289         [BZ #13138]
40290         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40291         realloc.
40292         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40293         Free memory block if necessary.
40295         [BZ #12847]
40296         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40297         be NULL.  Don't lock in this case.
40299 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40301         * elf/elf.h (ELFOSABI_GNU): New macro.
40302         (ELFOSABI_LINUX): Define to that.
40304 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40306         * string/strncat.c (strncat): Undef the symbol in case it has been
40307         defined in bits/string.h.
40309 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40311         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40313         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40314         link map.
40316 2011-08-17  Andreas Jaeger  <aj@suse.de>
40318         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40320 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40321             Ian Lance Taylor  <iant@google.com>
40323         * math/libm-test.inc (lround_test): New testcase.
40324         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40326 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40328         * Makefile: Remove support for automatic cvs check-ins.
40329         * Makerules: Likewise.
40330         * config.make.in: Likewise.
40331         * configure.in: Likewise.
40332         * intl/Makefile: Likewise.
40333         * locale/Makefile: Likewise.
40334         * po/Makefile: Likewise.
40335         * posix/Makefile: Likewise.
40336         * sysdeps/gnu/Makefile: Likewise.
40337         * sysdeps/mach/hurd/Makefile: Likewise.
40338         * sysdeps/sparc/sparc32/Makefile: Likewise.
40340         [BZ #13118]
40341         * posix/Makefile (bug-regex32-ENV): Define.
40342         Patch by John Stanley <jpsinthemix@verizon.net>.
40344         * misc/Makefile (headers): Add bits/select2.h.
40345         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40346         * misc/bits/select2.h: New file.
40347         * include/bits/select2.h: New file.
40348         * debug/Makefile (routines): Add fdelt_chk.
40349         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40350         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40351         FD_ISSET.
40352         * debug/fdelt_chk.c: New file.
40354         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40355         * wcsmbs/test-wmemcmp.c: Likewise.
40356         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40357         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40359 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40361         * string/Makefile (strop-tests): Add memcmp.
40362         * string/test-wmemcmp.c: New file.
40363         * string/test-memcmp.c: Add wmemcmp support.
40365 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40367         [BZ #13153]
40368         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40369         2011-07-19 change.
40371         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40372         garbage value in a __mach_port_mod_refs call in the cases of the
40373         task-self and thread-self ports.
40375 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40377         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40379 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40381         * elf/dl-load.c (lose): Check for non-null L.
40383 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40385         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40387         * elf/dl-libc.c (dlerror_run): Pass back error code from
40388         dl_catch_error.
40390         [BZ #13123]
40391         * elf/dl-load.c (lose): Free l_origin if it is valid.
40393         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40394         names.
40395         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40396         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40397         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40398         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40399         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40400         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40402 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40404         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40405         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40406         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40407         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40408         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40409         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40410         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40411         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40412         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40413         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40415 2011-08-15  Alan Modra  <amodra@gmail.com>
40417         [BZ #13092]
40418         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40419         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40420         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40421         ppc_mcount to static-only-routines.
40422         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40423         __mcount_internal.
40424         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40425         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40427 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40429         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40430         for finite and infinity parameters.
40432 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40434         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40435         and add nop instructions for throughput optimization.
40436         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40438 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40440         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40441         aligned copy for power7 with vector-scalar instructions.
40442         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40444 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40446         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40447         AVX check.
40449 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40451         [BZ #13144]
40452         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40453         last change.
40455 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40457         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40458         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40459         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40461         clock_gettime.
40463 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40465         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40466         Forgot to demangle the pointer.
40468         * sysdeps/i386/sysdep.h: Define atom_text_section.
40469         * sysdeps/x86_64/sysdep.h: Likewise.
40470         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40471         section with atom_text_section.
40472         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40473         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40474         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40475         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40476         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40478         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40479         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40480         already be defined.  Change to take two parameters and don't assign
40481         result to variable.  Adjust all users.
40482         Define INTERNAL_GETTIME if not already defined.
40483         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40484         call.
40485         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40486         HAVE_CLOCK_GETTIME_VSYSCALL.
40487         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40489         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40490         gettimeofday vsyscall, just use time.
40492 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40494         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40495         <errno.h>.
40497 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40499         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40500         syscall on x86-64.
40501         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40502         syscall.
40503         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40504         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40505         syscall if possible.
40507 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40509         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40510         e_ident.  Don't pass to find_mapsXX.
40511         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40513 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40516         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40517         * sysdeps/x86_64/multiarch/strchr.S: Update.
40518         Check bit_slow_BSF bit.
40519         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40520         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40521         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40523 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40525         [BZ #13134]
40526         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40527         before glibc 2.15.
40528         (tryshell): Define.
40529         (__spawni): Change last parameter to be flag.  Test
40530         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40531         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40532         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40533         * posix/spawni.c: Likewise.
40534         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40535         * posix/spawnp.c: Likewise.  Change normal version to use
40536         SPAWN_XFLAGS_USE_PATH.
40537         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40538         SPAWN_XFLAGS_TRY_SHELL.
40540         [BZ #13150]
40541         * posix/glob.h: Remove gcc 1.x support.
40543         [BZ #13068]
40544         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40546 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40548         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40549         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40550         strrchr-sse2-bsf
40551         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40552         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40553         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40554         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40555         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40556         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40558 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40560         * sysdeps/x86_64/wcscmp.S: New file.
40562         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40563         wcscmp-c wcscmp-sse2
40564         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40565         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40566         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40567         * wcsmbs/wcscmp.c: Allow renaming.
40569 2011-09-05  David S. Miller  <davem@davemloft.net>
40571         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40572         stack slot, rather than the struct return pointer slot.
40573         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40574         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40575         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40576         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40578 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40580         * po/ja.po: Update from translation team.
40582         [BZ #13144]
40583         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40584         kernel in 64-bit binaries.
40586 2011-09-01  David S. Miller  <davem@davemloft.net>
40588         * elf/elf.h (HWCAP_SPARC_*): Move to..
40589         * sysdeps/sparc/sysdep.h: this new file and add new values.
40590         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40591         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40592         _DL_HWCAP_COUNT to 24.
40593         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40594         entries.
40595         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40596         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40597         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40598         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40599         instead of magic constants.
40600         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40602 2011-08-31  David S. Miller  <davem@davemloft.net>
40604         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40605         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40606         Reimplement to do errno handling inline.
40607         (SYSCALL_ERROR_HANDLER): New macro.
40608         (__SYSCALL_STRING): Do not do errno handling in asm.
40609         (__CLONE_SYSCALL_STRING): Delete.
40610         (__INTERNAL_SYSCALL_STRING): Delete.
40611         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40612         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40613         (PSEUDO): Reimplement to do errno handling inline.
40614         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40615         (SYSCALL_ERROR_HANDLER): New macro.
40616         (__SYSCALL_STRING): Do not do errno handling in asm.
40617         (__CLONE_SYSCALL_STRING): Delete.
40618         (__INTERNAL_SYSCALL_STRING): Delete.
40619         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40620         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40621         i386.
40622         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40623         (inline_syscall*): Add 'err' argument.
40624         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40625         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40626         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40627         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40629         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40630         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40632 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40634         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40636 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40638         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40639         directive.
40641 2011-08-24  David S. Miller  <davem@davemloft.net>
40643         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40645 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40647         * elf/Makefile: Add rules to build and run unload8 test.
40648         * elf/unload8.c: New file.
40649         * elf/unload8mod1.c: New file.
40650         * elf/unload8mod1x.c: New file.
40651         * elf/unload8mod2.c: New file.
40652         * elf/unload8mod3.c: New file.
40654         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40655         it wasn't used.
40657 2011-08-23  David S. Miller  <davem@davemloft.net>
40659         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40660         subtract stack bias.
40661         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40662         %sp not %fp in calculations.
40663         (_JMPBUF_UNWINDS_ADJ): Likewise.
40665         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40666         (aio_suspend): Call it to force an exception region around the
40667         AIO_MISC_WAIT() invocation.
40669 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40671         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40672         backslash.
40674 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40676         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40677         protection macro.
40678         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40679         and <dl-machine.h>.
40680         (Elf64_FuncDesc): Remove.
40682 2011-08-22  David S. Miller  <davem@davemloft.net>
40684         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40685         sigaltstack check, add missing cfi directives.
40686         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40687         missing cfi directives, and sigaltstack handling.
40689 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40691         [BZ #11724]
40692         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40693         object is seen twice.
40694         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40696         * elf/Makefile (distribute): Add tst-initorder2.c.
40697         (tests): Add tst-initorder2.
40698         (modules-names): Add tst-initorder2a tst-initorder2b
40699         tst-initorder2c tst-initorder2d.  Add rules to build them.
40700         ($(objpfx)tst-initorder2.out): New rule.
40701         * elf/tst-initorder2.c: New file.
40702         * elf/tst-initorder2.exp: New file.
40704 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40706         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40708         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40709         dependencies back to end of function.
40711         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40712         $(elfobjdir)/ld.so.
40714 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40716         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40717         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40719         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40720         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40721         of __vdso_gettimeofday.
40722         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40723         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40724         attribute_hidden.
40725         (_libc_vdso_platform_setup): Remove initialization of
40726         __vdso_gettimeofday and __vdso_time.
40728 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40730         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40731         and fgetc_unlocked.
40732         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40733         getc_unlocked.
40735         * elf/dl-open.c (add_to_global): Report additions to the global scope
40736         for LD_DEBUG=scopes.
40737         (dl_open_worker): Also print scope of newly loaded dependencies.
40738         (_dl_show_scope): Indicate if there is no scope.
40740         [BZ #13114]
40741         * stdio-common/Makefile (tests): Add bug24.
40742         * stdio-common/bug24.c: New file.
40744 2011-08-19  Andreas Jaeger  <aj@suse.de>
40746         [BZ #13114]
40747         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40748         non-existant file when using close-on-exec mode.
40750 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40753         the very first instruction.
40755         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40756         the CFI state in the end.
40757         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40758         inclusion of dl-trampoline.h.
40759         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40761 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40763         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40764         expectations for long double.
40766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40767         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40769 2011-08-14  David S. Miller  <davem@davemloft.net>
40771         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40772         artificual limit depends upon the system page size.
40774 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40776         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40777         * resolv/Makefile: Define CFLAGS-libresolv.
40779 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40781         * nss/makedb.c (compute_tables): Make variables used in nested
40782         function static.
40784 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40786         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40787         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40788         if buffer was too small.
40790         * elf/pldd.c (main): Attach to all threads in the process.
40791         Rewrite /proc handling to use *at functions.
40793 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40795         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40796         specifies first scope to show.
40797         (dl_open_worker): Update callers.  Move printing scope of new
40798         object to before the relocation.
40799         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40800         * sysdeps/generic/ldsodefs.h: Update declaration.
40802         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40803         string for the scope number.
40805 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40807         * nscd/servicescache.c (cache_addserv): Make sure written is always
40808         initialized.
40810 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40812         * sysdeps/i386/i486/bits/atomic.h
40813         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40814         statement expression, so as to suppress "set but not used" warning.
40815         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40817         * string/strncat.c (STRNCAT): Use prototype definition.
40819         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40820         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40821         -Iprograms here.
40822         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40823         (localedef-modules): Add localedef.
40824         (locale-modules): Add locale.
40826         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40827         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40828         to avoid a warning.
40830 2011-08-14  David S. Miller  <davem@davemloft.net>
40832         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40833         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40835 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40837         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40838         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40839         * elf/rtld.c (dl_main): Set l_name of vDSO.
40840         Call _dl_show_scope when DL_DEBUG_SCOPES.
40841         (process_dl_debug): Recognize scopes flag and also set it for all.
40842         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
40843         Declare _dl_show_scope.
40845         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
40846         (do_dlopen): Pass caller_dlopen to dl_open.
40847         (__libc_dlopen_mode): Initialize caller_dlopen.
40849         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
40850         of libc.  Make tolower call locale-independent.  Optimize a bit by
40851         using isdigit instead of isalnum.
40852         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
40854 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
40856         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
40857         was a dependency or dynamically loaded.
40859 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
40861         * intl/l10nflist.c: Allow architecture-specific pop function.
40862         * sysdeps/x86_64/l10nflist.c: New file.
40864         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
40865         classification.
40867 2011-08-10  Andreas Schwab  <schwab@redhat.com>
40869         * include/dirent.h: Add libc_hidden_proto for scandirat and
40870         scandirat64.  Don't declare __scandirat64.
40871         * dirent/scandirat.c: Add libc_hidden_def.
40872         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
40873         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
40875 2011-08-10  David S. Miller  <davem@davemloft.net>
40877         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
40878         enum.
40879         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40880         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40881         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40883 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
40885         * Versions.def [libc]: Add GLIBC_2.15.
40886         * dirent/Makefile (routines): Add scandirat and scandirat64.
40887         * dirent/Versions [libc]: Export scandirat and scandirat64 for
40888         GLIBC_2.15.
40889         * dirent/dirent.h: Declare scandirat and scandirat64.
40890         * dirent/scandirat.c: New file.
40891         * dirent/scandirat64.c: New file.
40892         * sysdeps/wordsize-64/scandirat.c: New file.
40893         * sysdeps/wordsize-64/scandirat64.c: New file.
40894         * dirent/opendir.c: Define opendirat.
40895         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
40896         using scandirat.
40897         * dirent/scandir64.c: Adjust for scandir.c change.
40898         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
40899         __scandirat64, and __scandir_cancel_handler.
40900         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
40901         additional parameter and use openat instead of open (outside of ld.so).
40902         Add new __opendir as wrapper around __opendirat.
40903         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
40904         here without requiring old scandirat implementation.
40906 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
40908         * dirent/scandir.c (cancel_handler): Renamed to
40909         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
40910         defined.  Adjust users.
40911         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
40912         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
40914 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
40916         * string/test-string.h (IMPL): Use __STRING to expand name and then
40917         stringify it.
40919         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
40920         of cleanups.
40922 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40924         * string/Makefile: Update.
40925         (strop-tests): Append strncat.
40926         * string/test-wcscmp.c: New file.
40927         New comprehensive test for wcscmp.
40928         * string/test-strcmp.c: Update.
40929         (WIDE): New define.
40931 2011-07-22  Andreas Schwab  <schwab@redhat.com>
40933         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
40934         line.
40936 2011-07-26  Andreas Schwab  <schwab@redhat.com>
40938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40939         encoding to ACE if AI_IDN.
40941 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
40943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
40944         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
40946 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40948         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
40949         Fix overflow bug in strncat.
40950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40952         * string/test-strncat.c: Update.
40953         Add new tests for checking overflow bugs.
40955 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40957         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40958         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
40959         * sysdeps/i386/i686/multiarch/strcat.S: New file.
40960         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
40961         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
40962         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
40963         * sysdeps/i386/i686/multiarch/strncat.S: New file.
40964         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
40965         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
40967         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
40968         (USE_AS_STRCAT): Define.
40969         Add strcat and strncat support.
40970         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40972 2011-07-25  Andreas Schwab  <schwab@redhat.com>
40974         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
40975         __n bigger than INT_MAX+1.
40976         (__strncmp_g): Likewise.
40978 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
40980         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
40981         * libio/stido.h: Likewise.
40983         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
40984         (AF_NFC): Define.
40985         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
40986         (AF_NFC): Define.
40988         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
40989         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40990         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40991         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
40992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40994         [BZ #13021]
40995         * scripts/test-installation.pl: Don't expect libnss_test1 to be
40996         installed.
40998         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
40999         typo.
41000         (_dl_x86_64_save_sse): Likewise.
41002 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41004         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41005         OSXSAVE.
41006         (_dl_x86_64_save_sse): Likewise.
41008         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41010         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41012 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41014         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41015         change.
41016         (_dl_x86_64_save_sse): Use correct AVX check.
41018 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41020         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41021         bug in strncpy/strncat.
41022         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41024 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41026         * string/tester.c (test_strcat): Add tests for different alignments
41027         of source and destination.
41028         (test_strncat): Likewise.
41030 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41032         [BZ #12852]
41033         * posix/glob.c (glob): Check passed in values before using them in
41034         expressions to avoid some overflows.
41035         (glob_in_dir): Likewise.
41037         [BZ #13007]
41038         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41039         check for AVX enablement so that we don't crash with old kernels and
41040         new hardware.
41041         * elf/tst-audit4.c: Add same checks here.
41042         * elf/tst-audit6.c: Likewise.
41044         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41046 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41048         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41050 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41052         * po/cs.po: Update from translation team.
41053         * po/bg.po: Likewise.
41055 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41057         * misc/sys/cdefs.h: Add support for const attribute.
41058         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41059         to gnu_dev_{major,minor,makedev} functions.
41061 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41063         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41065 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41067         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41068         strlen results.
41070 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41072         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41073         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41074         register in order to avoid conflicts with the soft frame pointer
41075         being held in r11 when necessary.
41076         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41077         (INTERNAL_VSYSCALL_NCS): Likewise.
41079 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41081         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41082         * elf/dl-fini.c (_dl_fini): Adjust caller.
41083         * elf/dl-close.c (_dl_close_worker): Likewise.
41084         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41086 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41088         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41089         "aux_cache->nlibs < 0".
41091         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41092         in the reload-count case.
41094 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41096         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41097         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41098         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41099         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41100         * sysdeps/x86_64/multiarch/strcat.S: New file.
41101         * sysdeps/x86_64/multiarch/strncat.S: New file.
41102         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41103         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41104         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41105         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41106         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41107         (USE_AS_STRCAT): Define.
41108         Add strcat and strncat support.
41109         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41110         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41111         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41112         * string/strncat.c: Update.
41113         (USE_AS_STRNCAT): Define.
41114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41115         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41116         and i7.
41117         * sysdeps/x86_64/multiarch/init-arch.h
41118         (bit_Prefer_PMINUB_for_stringop): New.
41119         (index_Prefer_PMINUB_for_stringop): Likewise.
41120         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41121         bit_Prefer_PMINUB_for_stringop.
41123 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41125         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41126         buffer64.
41127         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41128         of casting of buffer.
41129         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41130         buffer32 and buffer64.
41131         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41132         writes instead of casting of buffer.
41133         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41134         buffer32.
41135         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41136         casting of buffer.
41138 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41140         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41142 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41144         * nscd/nscd.c (termination_handler): Don't do anything for a database
41145         if it has not yet been initialized.
41147 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41149         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41151 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41153         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41155 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41157         * po/nl.po: Update from translation team.
41158         * po/sv.po: Likewise.
41160 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41162         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41163         now disallowed by GCC.
41165         * configure.in (use-default-link): Default to yes if a test -shared
41166         link meets our qualifications.
41167         * configure: Regenerated.
41169         * config.make.in (output-format): New variable.
41170         * configure.in: Check for ld --print-output-format support.
41171         * configure: Regenerated.
41172         * Makerules ($(common-objpfx)format.lds)
41173         [$(output-format) != unknown]: Just use $(output-format),
41174         instead of the linker-script munging.
41176 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41178         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41179         of $(common-objpfx)shlib.lds.
41180         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41182         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41183         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41185         * configure.in (-z relro check): Adjust test code to add a large
41186         writable data section after it.
41187         * configure: Regenerated.
41189 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41191         * configure.in (-z relro check): Fix test code to make the variable
41192         truly const.
41193         * configure: Regenerated.
41195 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41197         * nscd/nscd.h (struct traced_file): Define.
41198         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41199         elements.  Add traced_files.
41200         (inotify_fd): Declare.
41201         (register_traced_file): Declare.
41202         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41203         (inotify_fd): Export.
41204         (resolv_conf_descr): Remove.
41205         (nscd_init): Move inotify descriptor creation to main.
41206         Don't register files for notification here.
41207         (register_traced_file): New function.
41208         (invalidate_cache): Don't use reset_res to determine whether to call
41209         res_init, go through the list of registered files.
41210         (main_loop_poll): The inotify descriptors are now stored in the
41211         structures for the traced files.
41212         (main_loop_epoll): Likewise
41213         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41214         to __nss_disable_nscd.
41215         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41216         for a database anymore.  Check the records for all the registered
41217         files instead.
41218         * nss/Makefile (libnss_files-routines): Add files-init.
41219         (libnss_db-routines): Add db-init.
41220         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41221         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41222         * nss/nss_db/db-init.c: New file.
41223         * nss/nss_files/files-init.c: New file.
41224         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41225         __nss_lookup_function.
41226         (__nss_lookup_function): Call nss_load_library.
41227         (nss_load_all_libraries): New function.
41228         (__nss_disable_nscd): Take parameter with callback function for files
41229         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41230         used for the cached services.
41231         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41232         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41233         options for features to all the files in nscd.
41235         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41237 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41239         * csu/elf-init.c (__libc_csu_init): Comment typo.
41241 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41243         * po/pl.po: Update from translation team.
41244         * po/ja.po: Likewise.
41245         * po/ru.po: Likewise.
41246         * po/ko.po: Likewise.
41247         * po/fr.po: Likewise.
41249 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41251         * configure.in (.ctors/.dtors header and trailer check):
41252         Use an empirical test on a built program.
41253         * configure: Regenerated.
41255         * configure.in (-z relro check): Use an empirical test on a built DSO.
41256         Detect, but do not require, on ia64.
41257         * configure: Regenerated.
41259         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41260         Update tests that use readelf to use $READELF instead.
41261         * configure: Regenerated.
41263 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41265         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41266         if the result is not used.
41268 2011-07-05  Andreas Jaeger  <aj@suse.de>
41270         [BZ#9696]
41271         * stdlib/tst-strtod.c: Add testcase.
41273 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41275         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41276         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41277         The latter has a higher limit.  Take additional parameter to pass to
41278         the new function.
41279         (__pathconf): Pass file to __statfs_link_max.
41280         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41281         __statfs_link_max.
41282         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41283         __statfs_link_max.
41285         [BZ #12868]
41286         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41287         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41288         Handle Lustre.
41289         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41290         (__statfs_filesize_max): Likewise.
41291         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41293 2011-07-05  Andreas Jaeger  <aj@suse.de>
41295         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41297 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41299         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41300         `status' variable.
41301         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41302         Likewise.
41304 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41306         * Makefile (strop-tests): Add strncat.
41307         * string/test-strncat.c: New file.
41309 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41311         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41313 2011-06-21  Andreas Jaeger  <aj@suse.de>
41315         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41316         Copy rule from iconvdata/Makefile.
41318 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41320         [BZ #12922]
41321         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41322         but no long options are defined, just return 'W'.
41324 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41326         [BZ #9696]
41327         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41329 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41331         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41332         netgroups to read.
41333         (innetgr): Likewise.
41335 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41337         * config.make.in (install_root): Default to $(DESTDIR).
41339 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41341         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41343 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41345         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41347         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41348         containing directory rather than embedding absolute directory names.
41350         * scripts/check-local-headers.sh: Rewritten using awk.
41351         Match by word, not by line.  Print error messages for matches.
41352         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41354         * Makerules [shlib-lds-flags empty]:
41355         ($(common-objpfx)libc_pic.opts): New target.
41356         ($(common-objpfx)libc_pic.os.clean): New target.
41357         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41359         * config.make.in (OBJCOPY): New variable.
41360         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41361         * configure: Regenerated.
41363         * config.make.in (use-default-link): New variable.
41364         * configure.in (use_default_link): Grok --with-default-link to set it.
41365         * configure: Regenerated.
41366         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41367         (shlib-lds, shlib-lds-flags): Define to empty.
41369         * Makerules (shlib-lds): New variable.
41370         (shlib-lds-flags): New variable.
41371         (build-shlib, build-moduile, build-module-asneeded): Use it.
41372         ($(common-objpfx)libc.so): Use $(shlib-lds).
41373         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41374         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41376         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41377         DT_FLAGS/DT_FLAGS_1 with zero flags.
41379         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41380         linker script munging.
41382 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41384         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41385         as 128-bit value.
41386         * crypt/sha512.c (sha512_process_block): Perform total addition using
41387         128-bit if possible.
41388         (__sha512_finish_ctx): Likewise.
41389         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41390         as 64-bit value.
41391         * crypt/sha256.c (SWAP64): Define.
41392         (sha256_process_block): Perform total addition using 64-bit if
41393         possible.
41394         (__sha256_finish_ctx): Likewise.
41396 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41398         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41399         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41400         * nscd/hstcache.c (cache_addhst): Likewise.
41401         * nscd/grpcache.c (cache_addgr): Likewise.
41402         * nscd/aicache.c (addhstaiX): Likewise
41403         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41405 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41407         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41409         * nscd/hstcache.c (cache_addhst): Likewise.
41410         * nscd/grpcache.c (cache_addgr): Likewise.
41411         * nscd/aicache.c (addhstaiX): Likewise
41413 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41415         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41416         domain only when needed.
41418 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41420         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41421         is always restored.
41423 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41425         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41426         are re-adding the entry.
41427         * nscd/servicescache.c (cache_addserv): Likewise.
41429 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41431         * sysdeps/generic/dl-irel.h: fix protection against multiple
41432         inclusions.
41433         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41435 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41437         [BZ #12935]
41438         * malloc/memusage.sh: Fix quoting in message.
41439         * debug/xtrace.sh: Likewise.
41441         * configure.in: Remove support for --experimental-malloc option, make
41442         it the default.
41443         * config.make.in: Likewise.
41444         * malloc/Makefile: Likewise.
41446 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41448         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41449         two-byte characters.
41451 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41453         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41454         AC_CACHE_CHECK invocation.
41455         * configure: Regenerated.
41457         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41459 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41461         [BZ #12350]
41462         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41463         bit from old_res_options.
41465         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41467         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41468         value type for setfct.
41470 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41472         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41473         __gettimeofday instead of gettimeofday.
41475 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41477         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41479 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41481         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41483         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41484         info.
41486 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41488         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41489         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41490         strcpy-sse2-unaligned strncpy-sse2-unaligned
41491         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41492         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41493         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41494         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41495         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41496         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41497         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41498         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41499         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41500         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41501         (STRCPY): Support SSE2 and SSSE3 versions.
41503 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41505         [BZ #12874]
41506         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41507         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41508         kernels which artificially limit size of requests.
41510 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41513         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41514         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41515         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41516         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41517         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41518         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41519         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41520         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41521         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41522         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41523         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41524         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41525         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41526         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41527         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41528         Enable unaligned load optimization for Intel Core i3, i5 and i7
41529         processors.
41530         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41531         Define.
41532         (index_Fast_Unaligned_Load): Define.
41533         (HAS_FAST_UNALIGNED_LOAD): Define.
41535 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41537         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41539 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41541         [BZ #12907]
41542         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41543         until it is clear that the information is realy needed.
41544         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41546 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41550 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41552         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41553         /sys/devices/system/cpu/online if it is usable.
41555         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41556         reading the information from the /proc filesystem to once a second.
41558 2011-06-21  Andreas Jaeger  <aj@suse.de>
41560         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41561         NULL after inclusion of kernel headers.
41563 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41565         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41566         calls to internal_setent.
41568         [BZ #12885]
41569         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41570         addresses using gethostbyname4_r ignore IPv4 addresses.
41572         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41573         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41575         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41577 2011-06-20  David S. Miller  <davem@davemloft.net>
41579         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41580         inclusions.
41581         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41583         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41584         (elf_irel): Use it.
41585         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41586         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41587         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41588         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41589         * sysdeps/x86_64/dl-irel.h: Likewise.
41591         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41592         * elf/dl-sym.c: Likewise.
41594 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41596         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41597         need to dereference resplen2.
41599 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41601         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41603 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41605         * Makeconfig: Define vardbdir and inst_vardbdir.
41606         * nss/Makefile: Add rules to install db-Makefile.
41608         * nss/nss_db/db-XXX.c: Cleanup.
41610         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41611         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41612         GLIBC_PRIVATE.
41613         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41614         * nss/makedb.c: Implement -g option to specify that value strings
41615         are generated and should not be added to table iterated over for
41616         get*ent calls.
41617         * nss/nss_db/db-initgroups.c: New file.
41619         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41620         interface.
41622         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41623         (internal_getgrouplist): Adjust to name change.
41624         Update use_initgroups_entry if this is not the first call.
41625         * nss/databases.def: Add initgroups entry.
41627         * nss/makedb.c (compute_tables): Check result of multiple hash table
41628         sizes to minimize maximum chain length.
41630 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41632         * Versions.def: Add entry for libnss_db.
41633         * shlib-versions: Likewise.
41634         * nss/Makefile: Add rules to build libnss_db.
41635         * nss/Versions: Add libnss_db information.  Organize libnss_files
41636         entries better.
41637         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41638         makedb progra.  Some minor improvements to generate smaller files.
41639         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41640         here from...
41641         * nss/makedb.c: ...here.
41642         Improve database format to be smaller and require less memory at
41643         runtime.
41644         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41645         db anymore.
41646         * nss/nss_db/db-netgrp.c: Likewise.
41647         * nss/nss_db/db-open.c: Likewise.
41648         * nss/nss_files/flies-XXX.x: Adjust comments.
41649         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41650         * nss/nss_files/files-grp.c: Likewise.
41651         * nss/nss_files/files-hosts.c: Likewise.
41652         * nss/nss_files/files-network.c: Likewise.
41653         * nss/nss_files/files-proto.c: Likewise.
41654         * nss/nss_files/files-pwd.c: Likewise.
41655         * nss/nss_files/files-rpc.c: Likewise.
41656         * nss/nss_files/files-service.c: Likewise.
41657         * nss/nss_files/files-sgrp.c: Likewise.
41658         * nss/nss_files/files-spwd.c: Likewise.
41659         * nss/nss_db/db-alias.c: Removed.
41660         * nss/nss_db/dummy-db.h: Removed.
41662 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41664         * nss/makedb.c: Rewritten to not use database library.
41665         * nss/Makefile: Update to build new makedb program.
41667 2011-06-14  Andreas Jaeger  <aj@suse.de>
41669         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41670         memset declaration.
41672 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41674         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41675         tmpbuf.
41677 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41679         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41680         * elf/Makefile ($(objpfx)ld.so): Likewise.
41682         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41683         Don't list ld.so twice in dependencies.
41685         * posix/bug-regex31.c: Include <stdlib.h>.
41687         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41689         * nis/nss_compat/compat-spwd.c
41690         (getspent_next_nss_netgr): Remove unused variable.
41691         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41693         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41694         nonmembers" output to use the right array.
41696         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41698         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41700         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41701         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41702         * catgets/gencat.c (read_input_file): Likewise.
41703         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41705         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41706         variable definition inside #if's controlling its use.
41708         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41710         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41712         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41714         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41715         unreachable code.
41717         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41719         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41720         * configure: Regenerated.
41722         * Makerules: Revert last change.
41723         * elf/Makefile: Likewise.
41725 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41727         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41728         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41729         (reloc-link): Likewise.
41731 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41733         * elf/Makefile: Add rules to build pldd.
41734         * elf/pldd.c: New file.
41735         * elf/pldd-xx.c: New file.
41737 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41739         * version.h: Update for 2.15 development version.
41741 2011-06-07  David S. Miller  <davem@davemloft.net>
41743         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41744         ifuncs.
41745         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41746         elf_machine_lazy_rel): Likewise.
41747         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41748         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41749         elf_machine_lazy_rel): Likewise.
41750         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41751         dl_hwcap via passed in argument.
41752         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41753         Likewise.
41755 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41757         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41759 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41761         [BZ #12849]
41762         * manual/fdl-1.1.texi: New file, verbatim from:
41763         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41764         * manual/lgpl-2.1.texi: New file, verbatim from:
41765         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41766         * manual/Makefile (licenses): New variable, list those new file names.
41767         (texis): Use it.
41768         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41770         * manual/fdl.texi: File removed.
41771         * manual/lesser.texi: File removed.
41772         * manual/libc.texinfo (Copying, Documentation License):
41773         Use new @include file names, put @appendix directive before @include.
41775 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41777         [BZ #12841]
41778         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41779         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41780         (mq_open): Add __NTH.
41782 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41784         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41785         Assume Intel Core i3/i5/i7 processor if AVX is available.
41787 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41789         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41790         typo.
41792 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41795         memory.  Use alloca_account.  Fix memory leak when retrying.
41797 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41799         * version.h (RELEASE): Bump for 2.14 release.
41800         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41802         * config.make.in (RANLIB): Remove entry.
41804 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41806         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41807         (libc.pot): Work around missing support for .ksh extension in xgettext.
41809         [BZ #12684]
41810         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41811         if both request failed.
41812         (send_dg): In case of server errors clear resplen or *resplen2.
41814         [BZ #12454]
41815         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41816         when there are multiple maps.
41817         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41818         (_dl_fini): Remove test here.
41820         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41822 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41824         [BZ #12350]
41825         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41826         bit from old_res_options.
41827         (gaih_inet): Likewise.
41829         [BZ #11099]
41830         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41831         as signed.
41833         * resolv/res_init.c (res_setoptions): Make the code more compact.
41835         [BZ #11558]
41836         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41837         set RES_USEVC.
41839         [BZ #11634]
41840         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
41842         * malloc/malloc.h: Mark malloc hook variables as deprecated.
41844         [BZ #11781]
41845         * malloc/malloc.h: Declare malloc hook variables as volatile.
41847         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
41848         in last patch.
41850         [BZ #11799]
41851         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
41852         raise in the comment.
41853         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41854         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41855         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
41857 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
41859         [BZ #12811]
41860         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
41861         grow the buffers more if it already has to be sufficient.
41862         (build_wcs_upper_buffer): Likewise.
41863         * posix/regexec.c (check_matching): Likewise.
41864         (clean_state_log_if_needed): Likewise.
41865         (extend_buffers): Don't enlarge buffers beyond size of the input
41866         buffer.
41867         Patches mostly by Emil Wojak <emil@wojak.eu>.
41868         * posix/bug-regex32.c: New file.
41869         * posix/Makefile (tests): Add bug-regex32.
41871         * locale/findlocale.c (_nl_find_locale): Return right away if
41872         _nl_explode_name failed.
41873         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
41875         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
41877         * debug/xtrace.sh: Unify messages.
41878         * malloc/memusage.sh: Likewise.
41880         [BZ #12813]
41881         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
41882         time symbol from vDSO.  Substitute with vsyscall if not available.
41883         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
41884         __vdso_time.
41886         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
41887         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
41888         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
41889         Add sendmmsg and internal_sendmmsg.
41890         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
41891         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
41892         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
41894         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
41895         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
41896         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
41898 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
41900         [BZ #12813]
41901         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
41902         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
41903         available.
41904         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
41905         __vdso_getcpu.
41907         [BZ #12814]
41908         * iconvdata/Makefile (tests): Add bug-iconv9.
41909         * iconvdata/bug-iconv9.c: New file.
41911 2011-05-27  Andreas Schwab  <schwab@redhat.com>
41913         [BZ #12814]
41914         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
41916 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
41918         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
41919         (struct user_regs_struct): Change intcs field back to cs.
41921 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
41923         * po/ja.po: Update from translation team.
41925 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
41927         [BZ #12795]
41928         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
41929         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
41931 2011-05-20  Andreas Schwab  <schwab@redhat.com>
41933         * stdlib/longlong.h: Update from GCC.
41935 2011-05-23  Andreas Schwab  <schwab@redhat.com>
41937         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
41938         parameter name.
41939         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
41940         Add parameter name.
41941         (__sysconf): Pass it down.
41943 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
41945         [BZ #12671]
41946         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
41947         some situations.
41948         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
41949         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
41950         add in in __libc_use_alloca calls.  Adjust callers.
41951         (glob): Use malloc in some situations.
41953         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
41954         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
41955         pltexit.
41957 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
41959         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
41960         and CLOCK_BOOTTIME_ALARM.
41962         [BZ #12782]
41963         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
41964         is returned.
41966         * string/_strerror.c (__strerror_r): Print negative errors as signed
41967         numbers.
41969         [BZ #12777]
41970         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
41971         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
41972         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
41974         * configure.in: Fix typo in redirection and correct removal of test
41975         files in two cases.
41977         [BZ #12788]
41978         * locale/setlocale.c (new_composite_name): Fix test to check for
41979         identical name of all categories.
41981         [BZ #12792]
41982         * libio/filedoalloc.c (local_isatty): New function.
41983         (_IO_file_doallocate): Use local_isatty.
41984         * stdio-common/perror.c (perror): In case a new stream is used
41985         forward the stream error.
41986         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
41987         error flag.
41989 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
41991         [BZ #11869]
41992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
41993         alloca.
41994         * include/alloca.h (extend_alloca_account): Define.
41996         [BZ #11857]
41997         * posix/regex.h: Fix comments with documentation of user-accessible
41998         fields after compilation and describe correct free'ing of pattern
41999         after re_compile_pattern.
42000         Patch by Reuben Thomas <rrt@sc3d.org>.
42002 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42004         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42005         and -mno-altivec to prevent the compiler from using Altivec and/or
42006         VSX instructions when the corresponding registers are not available.
42008 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42010         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42012 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42014         * libio/freopen.c (freopen): Use __dup2, not dup2.
42015         * libio/freopen64.c (freopen64): Likewise.
42017 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42019         [BZ #12775]
42020         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42021         * math/Makefile (tests): Add test-powl.
42022         (CFLAGS-test-powl.c): Define.
42023         * math/test-powl.c: New file.
42025 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42027         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42029 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42031         [BZ #11837]
42032         * iconvdata/gb18030.c: Update to GB18020-2005.
42034 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42036         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42037         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42038         Patch by Aharon Robbins <arnold@skeeve.com>.
42040         [BZ #11892]
42041         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42042         on the stack.
42044         [BZ #11895]
42045         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42046         through underflows.
42048         [BZ #12766]
42049         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42050         point to strings before performing equality test for error_one_per_line
42051         mode.
42053         [BZ #11697]
42054         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42056         [BZ #11820]
42057         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42058         (struct user_fpregs_struct): Avoid __uint*_t types.
42060         [BZ #6420]
42061         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42062         symbol info.  Use it instead of calling _dl_addr locally.
42063         (lock_and_info): New function.
42064         (tr_freehook): Call lock_and_info and pass symbol info as additional
42065         parameter to tr_where.
42066         (tr_mallochook): Likewise.
42067         (tr_reallochook): Likewise.
42068         (tr_memalignhook): Likewise.
42070         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42071         used and couldn't be at all thread-safe.
42073 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42075         * libio/freopen.c (freopen): Don't close old file descriptor
42076         before the new one is opened.  Instead dup the new file descriptor
42077         to the old one after the new stream is created.
42078         * libio/freopen64.c (freopen64): Likewise.
42079         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42080         * libio/fileops.c (_IO_new_file_close_it): Handle new
42081         _IO_FLAGS2_NOCLOSE flag.
42082         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42083         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42084         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42085         _IO_FLAGS2_NOCLOSE flag.
42086         * include/unistd.h: Add hidden_proto for dup3.
42087         Define __have_dup3.
42088         * io/dup3.c: Define hidden symbol.
42089         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42091         [BZ #7101]
42092         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42093         when an incomplete long option is used.
42094         * posix/tst-getopt_long1.c: New file.
42095         * posix/Makefile (tests): Add tst-getopt_long1.
42097         [BZ #10138]
42098         * scripts/config.guess: Update from autoconf-2.68.
42099         * scripts/config.sub: Likewise.
42101         [BZ #10157]
42102         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42103         tests into ...
42104         (has_cpuclock): ...this.  New function.
42105         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42106         macro here based on has_cpuclock code.
42108         [BZ #10149]
42109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42110         First byte (not low byte) is now always NUL.
42111         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42113         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42114         Use non-cancelable interfaces.
42116         [BZ #9809]
42117         * locale/iso-639.def: Add entry for Sorani.
42119         [BZ #11901]
42120         * include/stdlib.h: Move include protection to the right place.
42121         Define abort_msg_s.  Declare __abort_msg with it.
42122         * stdlib/abort.c (__abort_msg): Adjust type.
42123         * assert/assert.c (__assert_fail_base): New function.  Majority
42124         of code from __assert_fail.  Allocate memory for __abort_msg with
42125         mmap.
42126         (__assert_fail): Now call __assert_fail_base.
42127         * assert/assert-perr.c: Remove bulk of implementation.  Use
42128         __assert_fail_base.
42129         * include/assert.hL Declare __assert_fail_base.
42130         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42131         mmap.
42132         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42134 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42136         [BZ #11952]
42137         [BZ #12453]
42138         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42139         until all modules are registered in the DTV.
42140         * elf/Makefile: Add rules to build and run tst-tls19.
42141         * elf/tst-tls19.c: New file.
42142         * elf/tst-tls19mod1.c: New file.
42143         * elf/tst-tls19mod2.c: New file.
42144         * elf/tst-tls19mod3.c: New file.
42145         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42147         [BZ #12083]
42148         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42149         correctly.
42151         [BZ #12601]
42152         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42153         two-byte sequence errors.
42154         * iconvdata/Makefile (tests): Add bug-iconv8.
42155         * iconvdata/bug-iconv8.c: New file.
42157         [BZ #12626]
42158         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42159         buf2 definition.
42161         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42163         [BZ #12432]
42164         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42165         (dummy_getcfa): New function.
42166         (init): Get _Unwind_GetCFA address, use dummy if not found.
42167         (backtrace_helper): In recursion check, also check whether CFA changes.
42168         (__backtrace): Completely initialize arg.
42170         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42171         storing incomplete byte sequence in state object.  Avoid testing for
42172         guaranteed too small input if we know there is enough data available.
42174 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42176         * Makeconfig (+link-pie): Indent.
42177         * Rules (binaries-pie): Define if $(have-fpie) and
42178         $(build-shared).
42179         (binaries-shared): Also filter out $(binaries-pie).
42180         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42181         * nscd/Makefile (others-pie): Add nscd.
42182         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42183         ($(objpfx)nscd): Remove command override.
42184         * login/Makefile (others-pie): Add pt_chown.
42185         ($(objpfx)pt_chown): Remove command override.
42186         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42187         remove command overrides.
42189 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42191         * libio/tst_putwc.c: Fix error messages.
42193         [BZ #12724]
42194         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42195         currently writing and seek to current position when not.
42196         * libio/Makefile (tests): Add bug-fclose1.
42197         * libio/bug-fclose1.c: New file.
42199 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42201         [BZ #12511]
42202         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42203         don't set DF_1_NODELETE here.
42204         (do_lookup_x): When entering new entry test for copy relocation
42205         and if necessary set DF_1_NODELETE flag.
42206         * elf/tst-unique4.cc: New file.
42207         * elf/tst-unique4.h: New file.
42208         * elf/tst-unique4lib.cc: New file.
42209         * elf/Makefile: Add rules to build and run tst-unique4.
42210         Patch by Piotr Bury <pbury@goahead.com>.
42212 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42214         [BZ #12052]
42215         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42217         [BZ #12625]
42218         * misc/mntent_r.c (addmntent): Flush the stream after the output
42220         [BZ #12393]
42221         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42222         (is_trusted_path_normalize): Skip initial colon.  Append slash
42223         to empty buffer.  Duplicate is_trusted_path code but allow
42224         constructed patch to be prefix.
42225         (is_dst): Allow $ORIGIN followed by /.
42226         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42227         Correct testing of result of is_trusted_path_normalize
42228         (decompose_rpath): Fix warning.
42230 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42232         [BZ #11257]
42233         * grp/initgroups.c (internal_getgrouplist): When we found the service
42234         list through the initgroups entry in nsswitch.conf do not always
42235         continue on a successful lookup.  Don't always use the
42236         __nss_group_database value if it is set.
42237         * nss/nsswitch.conf (initgroups): Change action for successful db
42238         lookup to continue for compatibility.
42240 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42242         [BZ #11532]
42243         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42244         and CP774 modules.
42245         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42246         and CP774 modules.
42247         * iconvdata/tst-tables.sh: Likewise.
42248         * iconvdata/cp770.c: New file.
42249         * iconvdata/cp771.c: New file.
42250         * iconvdata/cp772.c: New file.
42251         * iconvdata/cp773.c: New file.
42252         * iconvdata/cp774.c: New file.
42253         * iconvdata/testdata/CP770: New file.
42254         * iconvdata/testdata/CP770..UTF8: New file.
42255         * iconvdata/testdata/CP771: New file.
42256         * iconvdata/testdata/CP771..UTF8: New file.
42257         * iconvdata/testdata/CP772: New file.
42258         * iconvdata/testdata/CP772..UTF8: New file.
42259         * iconvdata/testdata/CP773: New file.
42260         * iconvdata/testdata/CP773..UTF8: New file.
42261         * iconvdata/testdata/CP774: New file.
42262         * iconvdata/testdata/CP774..UTF8: New file.
42264         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42265         END CHARMAP line.
42266         * iconvdata/gen-8bit-gap.sh: Likewise.
42267         * iconvdata/gen-8bit.sh: Likewise.
42269         * locale/iso-639.def: Add ary entry.
42271         [BZ #11258]
42272         * locale/C-translit.h.in: Add U20A1 transliteration.
42274         [BZ #12178]
42275         * locale/iso-639.def: Add wae entry.
42276         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42278         [BZ #12545]
42279         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42280         for n.
42282         [BZ #12711]
42283         * locale/C-translit.h.in: Add entry for U20B9.
42284         Patch by pravin.d.s@gmail.com.
42286 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42288         [BZ #12713]
42289         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42290         ENAMETOOLONG use generic getcwd.
42291         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42292         in rtld.  Use *stat64.
42293         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42294         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42295         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42296         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42297         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42298         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42299         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42300         __fstatat64 macros.
42301         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42302         * dirent/rewinddir.c: Add libc_hidden_def.
42303         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42304         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42306         * include/dirent.h (__alloc_dir): Add flags parameter.
42307         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42308         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42309         __alloc_dir.
42310         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42311         from fdopendir if O_CLOEXEC is already set.
42313 2011-03-15  Alan Modra  <amodra@gmail.com>
42315         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42316         l_tls_firstbyte_offset non-zero.  Save padding offset in
42317         l_tls_firstbyte_offset for later use.
42318         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42319         freeing static tls block.
42321 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42323         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42324         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42325         being defined by the kernel headers.
42327 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42329         [BZ #12734]
42330         * resolv/resolv.h: Define RES_NOTLDQUERY.
42331         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42332         no-tld-query and set RES_NOTLDQUERY.
42333         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42334         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42335         modern BIND to search name as TLD unless forbidden.
42337 2011-05-07  Petr Baudis  <pasky@suse.cz>
42338             Ulrich Drepper  <drepper@gmail.com>
42340         [BZ #12393]
42341         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42342         (is_trusted_path): ...to here.
42343         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42344         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42345         using is_trusted_path_normalize() in setuid scripts.
42347 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42349         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42350         __BEGIN/__END_DECLS.
42352 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42354         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42355         NSS_STATUS_NOTFOUND if no record was found.
42357 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42359         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42360         (headers-not-in-tirpc): Remove rpc/netdb.h
42361         * resolv/netdb.h: Revert last change.
42363 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42365         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42366         circular dependency between libgcc.a and libc.a.
42368 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42370         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42371         * nis/Makefile: Don't install rpcsvc/*.
42372         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42373         instead of <rpc/types.h>.
42374         (MAXHOSTNAMELEN): Define.
42376 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42378         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42380 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42382         [BZ #12714]
42383         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42384         gethostbyname4_r when IPv6 results are possible.
42386 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42388         [BZ #12723]
42389         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42390         _PC_PIPE_BUF handling.
42392 2011-04-30  Bruno Haible  <bruno@clisp.org>
42394         [BZ #12717]
42395         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42396         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42397         to 'int'.
42398         * inet/getnameinfo.c (getnameinfo): Likewise.
42400 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42402         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42403         to groups setting in database lookup.
42404         * nss/nsswitch.conf: Add initgroups entry.
42406 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42408         [BZ #12685]
42409         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42410         mode string.
42411         Patch by Eric Blake <eblake@redhat.com>.
42413 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42415         * sunrpc/Makefile (need-export-routines): Add svc_run.
42416         (routines): Remove svc_run.
42417         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42418         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42419         * sunrpc/svc_run.c (svc_run): Likewise.
42420         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42422 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42424         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42425         problem in reallocation in last patch.
42427 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42429         * sunrpc/Makefile: Move inclusion of Rules.
42431 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42433         * nss/nss_files/files-initgroups.c: New file.
42434         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42435         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42436         _nss_files_initgroups_dyn.
42438 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42440         * elf/elf.h (R_ARM_IRELATIVE): Define.
42442 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42444         * po/ru.po: Update from translation team.
42446 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42448         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42449         dependencies.
42451 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42453         [BZ #12653]
42454         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42455         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42456         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42457         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42458         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42460 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42462         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42463         differing bytes.
42464         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42465         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42466         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42468 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42470         [BZ #12420]
42471         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42472         storing it.
42473         * stdlib/bug-getcontext.c: New file.
42474         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42476 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42478         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42479         instructions into .machine "z9-109".
42480         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42481         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42483 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42485         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42486         between environment variables and auxiliary vector.
42488 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42490         * Makefile: Add rules to build linkobj/libc.so.
42491         * include/libc-symbols.h: Define libc_hidden_nolink.
42492         * include/rpc/auth.h: Mark functions which are to be hidden.
42493         * include/rpc/auth_des.h: Likewise.
42494         * include/rpc/auth_unix.h: Likewise.
42495         * include/rpc/clnt.h: Likewise.
42496         * include/rpc/des_crypt.h: Likewise.
42497         * include/rpc/key_prot.h: Likewise.
42498         * include/rpc/pmap_clnt.h: Likewise.
42499         * include/rpc/pmap_prot.h: Likewise.
42500         * include/rpc/pmap_rmt.h: Likewise.
42501         * include/rpc/rpc_msg.h: Likewise.
42502         * include/rpc/svc.h: Likewise.
42503         * include/rpc/svc_auth.h: Likewise.
42504         * include/rpc/xdr.h: Likewise.
42505         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42506         * nss/Makefile: Likewise.
42507         * sunrpc/Makefile: Don't install headers.  Build library with normal
42508         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42509         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42510         for the compat linking library.  Remove use of INTDEF/INTUSE.
42511         * sunrpc/auth_none.c: Likewise.
42512         * sunrpc/auth_unix.c: Likewise.
42513         * sunrpc/authdes_prot.c: Likewise.
42514         * sunrpc/authuxprot.c: Likewise.
42515         * sunrpc/clnt_gen.c: Likewise.
42516         * sunrpc/clnt_perr.c: Likewise.
42517         * sunrpc/clnt_raw.c: Likewise.
42518         * sunrpc/clnt_simp.c: Likewise.
42519         * sunrpc/clnt_tcp.c: Likewise.
42520         * sunrpc/clnt_udp.c: Likewise.
42521         * sunrpc/clnt_unix.c: Likewise.
42522         * sunrpc/des_crypt.c: Likewise.
42523         * sunrpc/des_soft.c: Likewise.
42524         * sunrpc/get_myaddr.c: Likewise.
42525         * sunrpc/key_call.c: Likewise.
42526         * sunrpc/key_prot.c: Likewise.
42527         * sunrpc/netname.c: Likewise.
42528         * sunrpc/pm_getmaps.c: Likewise.
42529         * sunrpc/pm_getport.c: Likewise.
42530         * sunrpc/pmap_clnt.c: Likewise.
42531         * sunrpc/pmap_prot.c: Likewise.
42532         * sunrpc/pmap_prot2.c: Likewise.
42533         * sunrpc/pmap_rmt.c: Likewise.
42534         * sunrpc/publickey.c: Likewise.
42535         * sunrpc/rpc_cmsg.c: Likewise.
42536         * sunrpc/rpc_common.c: Likewise.
42537         * sunrpc/rpc_dtable.c: Likewise.
42538         * sunrpc/rpc_prot.c: Likewise.
42539         * sunrpc/rpc_thread.c: Likewise.
42540         * sunrpc/rtime.c: Likewise.
42541         * sunrpc/svc.c: Likewise.
42542         * sunrpc/svc_auth.c: Likewise.
42543         * sunrpc/svc_authux.c: Likewise.
42544         * sunrpc/svc_raw.c: Likewise.
42545         * sunrpc/svc_run.c: Likewise.
42546         * sunrpc/svc_simple.c: Likewise.
42547         * sunrpc/svc_tcp.c: Likewise.
42548         * sunrpc/svc_udp.c: Likewise.
42549         * sunrpc/svc_unix.c: Likewise.
42550         * sunrpc/svcauth_des.c: Likewise.
42551         * sunrpc/xcrypt.c: Likewise.
42552         * sunrpc/xdr.c: Likewise.
42553         * sunrpc/xdr_array.c: Likewise.
42554         * sunrpc/xdr_float.c: Likewise.
42555         * sunrpc/xdr_intXX_t.c: Likewise.
42556         * sunrpc/xdr_mem.c: Likewise.
42557         * sunrpc/xdr_rec.c: Likewise.
42558         * sunrpc/xdr_ref.c: Likewise.
42559         * sunrpc/xdr_sizeof.c: Likewise.
42560         * sunrpc/xdr_stdio.c: Likewise.
42562 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42564         [BZ #12650]
42565         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42566         * sysdeps/ia64/dl-tls.h: Likewise.
42567         * sysdeps/powerpc/dl-tls.h: Likewise.
42568         * sysdeps/s390/dl-tls.h: Likewise.
42569         * sysdeps/sh/dl-tls.h: Likewise.
42570         * sysdeps/sparc/dl-tls.h: Likewise.
42571         * sysdeps/x86_64/dl-tls.h: Likewise.
42572         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42574 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42576         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42577         rpath element also skip the following colon.
42578         (expand_dynamic_string_token): Add is_path parameter and pass
42579         down to DL_DST_REQUIRED and _dl_dst_substitute.
42580         (decompose_rpath): Call expand_dynamic_string_token with
42581         non-zero is_path.  Ignore empty rpaths.
42582         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42583         with zero is_path.
42585 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42588         Make cancelable.
42590 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42592         [BZ #12655]
42593         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42594         Patch by Filipe David Manana <fdmanana@apache.org>.
42596 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42598         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42599         Maintain aligned stack.
42600         (CHECK_RSP): Remove unused macro.
42602 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42604         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42605         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42607 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42609         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42611         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42613 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42615         [BZ #12518]
42616         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42617         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42618         * sysdeps/x86_64/memmove.c: New file.
42619         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42620         (memcpy): Renamed to ...
42621         (__new_memcpy): This.
42622         (memcpy): Provide GLIBC_2_14 memcpy.
42623         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42624         (memcpy): Provide GLIBC_2_2_5 memcpy.
42626 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42628         [BZ #12631]
42629         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42631 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42633         * misc/syncfs.c: New file.
42634         * misc/Makefile (routines): Add syncfs.
42635         * posix/unistd.h: Declare syncfs.
42636         * sysdeps/unix/syscalls.list: Add syncfs.
42638 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42640         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42641         open_by_handle_at.
42642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42643         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42645         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42646         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42647         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42648         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42650 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42652         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42653         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42654         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42656         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42657         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42658         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42660         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42661         sync_file_range.c with -fexceptions.
42662         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42663         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42664         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42665         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42666         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42667         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42668         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42669         sync_file_range as cancellation point
42670         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42671         now a wrapper around __call_sync_file_range with cancellation handling.
42672         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42673         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42674         function name to __call_sync_file_range.
42675         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42676         Add call_sync_file_range.
42678 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42680         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42681         bits/timex.h.
42683 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42685         * iconv/iconv.h: Fix typo in comment.
42686         * io/fcntl.h: Likewise.
42687         * libio/stdio.h: Likewise.
42688         * posix/spawn.h: Likewise.
42689         * posix/unistd.h: Likewise.
42690         * stdlib/stdlib.h: Likewise.
42691         * time/time.h: Likewise.
42692         * wcsmbs/wchar.h: Likewise.
42694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42695         open_by_handle): Add.
42696         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42697         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42698         Augment a few comments.
42699         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42700         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42701         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42702         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42703         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42704         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42705         open_by_handle.
42707         * io/fcntl.h (AT_EMPTY_PATH): Define.
42709 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42711         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42712         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42713         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42714         to...
42715         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42716         * Versions.def: Add GLIBC_2.14.
42717         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42718         Export.
42720 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42722         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42723         round counter.
42724         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42726 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42728         [BZ #12597]
42729         * string/test-strncmp.c (do_page_test): New function.
42730         (check2): Likewise.
42731         (test_main): Call check2.
42732         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42734 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42736         [BZ #12587]
42737         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42738         Handle cache information in CPU leaf 4.
42739         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42741 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42743         [BZ #12583]
42744         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42745         character representation.
42746         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42748 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42750         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42751         END(__isnan) to END(__isnanf) to match function entry point/label
42752         EALIGN(__isnanf,...).
42754 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42756         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42758 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42760         [BZ #12510]
42761         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42762         copy from the symbol referenced in the relocation to initialize the
42763         used variable.
42764         Patch by Piotr Bury <pbury@goahead.com>.
42765         * elf/Makefile: Add rules to build and tst-unique3.
42766         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42767         * elf/tst-unique3.cc: New file.
42768         * elf/tst-unique3.h: New file.
42769         * elf/tst-unique3lib.cc: New file.
42770         * elf/tst-unique3lib2.cc: New file.
42772         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42774 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42776         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42777         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42778         to _start.
42780 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42782         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42783         to-be-loaded object along a path to loader is ld.so.
42785 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42786             Ulrich Drepper  <drepper@gmail.com>
42788         * sysdeps/x86_64/memset.S: After aligning destination, code
42789         branches to different locations depending on the value of
42790         misalignment, when multiarch is enabled. Fix this.
42792 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42794         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42795         Set _x86_64_preferred_memory_instruction for AMD processsors.
42796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42797         Set bit_Prefer_SSE_for_memop for AMD processors.
42799 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42801         * libio/fmemopen.c (fmemopen): Optimize a bit.
42803 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42805         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42807 2011-03-03  Roland McGrath  <roland@redhat.com>
42809         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42811 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42813         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42814         __bzero_ultra1 instead of __memset_ultra1.
42816 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42817             Ulrich Drepper  <drepper@gmail.com>
42819         [BZ #12509]
42820         * include/link.h (struct link_map): Add l_orig_initfini.
42821         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42822         returning unsuccessfully.
42823         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42824         close of a file loaded at startup, restore the original l_initfini
42825         list.
42826         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42827         list, store the pointer.
42828         * elf/Makefile ($(objpfx)noload-mem): New rule.
42829         (noload-ENV): Define.
42830         (tests): Add $(objpfx)noload-mem.
42831         * elf/noload.c: Include <memcheck.h>.
42832         (main): Call mtrace.  Close all opened handles.
42834 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42836         [BZ #12454]
42837         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42838         dependencies are missing.
42840 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42842         Fix __if_freereq crash: Unlike the generic version which uses free,
42843         Hurd needs munmap.
42844         * sysdeps/mach/hurd/ifreq.h: New file.
42846 2011-01-27  Petr Baudis  <pasky@suse.cz>
42847             Ulrich Drepper  <drepper@gmail.com>
42849         [BZ 12445]#
42850         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
42851         to extend_alloca().
42852         * stdio-common/bug23.c: New file.
42853         * stdio-common/Makefile (tests): Add bug23.
42855 2010-09-28  Andreas Schwab  <schwab@redhat.com>
42856             Ulrich Drepper  <drepper@gmail.com>
42858         [BZ #12489]
42859         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
42860         before performing relro protection.  At old place add assertion
42861         to make sure nothing changed.
42863 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
42864             Glauber de Oliveira Costa  <glommer@gmail.com>
42866         * elf/elf.h: Add new ARM TLS relocs.
42868 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42871         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
42872         cast from r3.
42873         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
42874         'tests' variable.
42875         * sysdeps/wordsize-64/tst-writev.c: New file.
42877 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
42879         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
42880         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
42881         insns in _dl_start to prevent a TOC reference before relocs are
42882         resolved.
42884 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
42886         [BZ #12469]
42887         * Makeconfig: Remove RANLIB definition.
42888         * Makerules: Don't use RANLIB.
42889         * aclocal.m4: Remove ranlib test.
42890         * configure.in: No need to check for ranlib.
42891         * elf/rtld-Rules: Don't use RANLIB.
42893 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42895         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
42896         protection macro.
42897         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
42898         inclusion protection macro.
42900         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
42901         SIGRTMIN and SIGRTMAX and print information in that case only when
42902         SIGRTMIN is defined.
42904 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
42906         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
42907         arginfo fn returning -1.
42909         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
42910         and thousands string is zero terminated.
42912 2011-02-03  Andreas Schwab  <schwab@redhat.com>
42914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
42915         sysdeps/unix/sysv/linux/bits/socket.h.
42917 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42919         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
42920         (__CPU_COUNT): Remove old macros.
42921         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
42922         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
42923         (__CPU_ALLOC, __CPU_FREE): Add macros.
42924         (__sched_cpualloc, __sched_cpufree): Add declarations.
42926 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
42928         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
42929         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
42930         * nscd/aicache.c (addhstaiX): Return timeout of added value.
42931         (readdhstai): Return value of addhstaiX call.
42932         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
42933         (addgrbyX): Return value returned by cache_addgr.
42934         (readdgrbyname): Return value returned by addgrbyX.
42935         (readdgrbygid): Likewise.
42936         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
42937         (addpwbyX): Return value returned by cache_addpw.
42938         (readdpwbyname): Return value returned by addhstbyX.
42939         (readdpwbyuid): Likewise.
42940         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
42941         (addservbyX): Return value returned by cache_addserv.
42942         (readdservbyname): Return value returned by addservbyX:
42943         (readdservbyport): Likewise.
42944         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
42945         (addhstbyX): Return value returned by cache_addhst.
42946         (readdhstbyname): Return value returned by addhstbyX.
42947         (readdhstbyaddr): Likewise.
42948         (readdhstbynamev6): Likewise.
42949         (readdhstbyaddrv6): Likewise.
42950         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
42951         (readdinitgroups): Return value returned by addinitgroupsX.
42952         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
42953         (prune_cache): Keep track of timeout value of re-added entries.
42954         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
42955         * nscd/nscd.h: Adjust prototypes of readd* functions.
42957 2011-02-04  Roland McGrath  <roland@redhat.com>
42959         * nis/nis_server.c (nis_servstate): Use the right name for 0.
42960         (nis_stats): Likewise.
42961         * nis/nis_modify.c (nis_modify): Likewise.
42962         * nis/nis_remove.c (nis_remove): Likewise.
42963         * nis/nis_add.c (nis_add): Likewise.
42965         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
42967         * posix/fnmatch_loop.c: Add some consts.
42969         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
42971 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
42973         [BZ #12460]
42974         * config.make.in (config-cflags-novzeroupper): Define.
42975         * configure.in: Substitute libc_cv_cc_novzeroupper.
42976         * elf/Makefile (AVX-CFLAGS): Define.
42977         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
42978         (CFLAGS-tst-auditmod4a.c): Likewise.
42979         (CFLAGS-tst-auditmod4b.c): Likewise.
42980         (CFLAGS-tst-auditmod6b.c): Likewise.
42981         (CFLAGS-tst-auditmod6c.c): Likewise.
42982         (CFLAGS-tst-auditmod7b.c): Likewise.
42983         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
42985 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
42987         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
42988         function to the callback.
42989         Patch partly by Jiri Olsa <jolsa@redhat.com>.
42991 2011-02-02  Andreas Schwab  <schwab@redhat.com>
42993         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
42994         of errno.
42996 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
42998         [BZ #11724]
42999         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43000         of constructors.
43001         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43002         of destructors.
43003         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43005         [BZ #11724]
43006         * elf/Makefile: Add rules to build and run new test.
43007         * elf/tst-initorder.c: New file.
43008         * elf/tst-initorder.exp: New file.
43009         * elf/tst-initordera1.c: New file.
43010         * elf/tst-initordera2.c: New file.
43011         * elf/tst-initordera3.c: New file.
43012         * elf/tst-initordera4.c: New file.
43013         * elf/tst-initorderb1.c: New file.
43014         * elf/tst-initorderb2.c: New file.
43015         * elf/tst-order-a1.c: New file.
43016         * elf/tst-order-a2.c: New file.
43017         * elf/tst-order-a3.c: New file.
43018         * elf/tst-order-a4.c: New file.
43019         * elf/tst-order-b1.c: New file.
43020         * elf/tst-order-b2.c: New file.
43021         * elf/tst-order-main.c: New file.
43022         New test case by George Gensure <werkt0@gmail.com>.
43024 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43026         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43027         decoding ACE if AI_CANONIDN.
43029 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43031         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43033 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43035         * version.h (RELEASE): Bump for 2.13 release.
43036         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43038         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43040         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43041         MADV_NOHUGEPAGE.
43042         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43043         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43044         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43045         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43046         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43047         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43049         * posix/getconf.c: Update copyright year.
43050         * catgets/gencat.c: Likewise.
43051         * csu/version.c: Likewise.
43052         * debug/catchsegv.sh: Likewise.
43053         * debug/xtrace.sh: Likewise.
43054         * elf/ldconfig.c: Likewise.
43055         * elf/ldd.bash.in: Likewise.
43056         * elf/sprof.c (print_version): Likewise.
43057         * iconv/iconv_prog.c: Likewise.
43058         * iconv/iconvconfig.c: Likewise.
43059         * locale/programs/locale.c: Likewise.
43060         * locale/programs/localedef.c: Likewise.
43061         * malloc/memusage.sh: Likewise.
43062         * malloc/mtrace.pl: Likewise.
43063         * nscd/nscd.c (print_version): Likewise.
43064         * nss/getent.c: Likewise.
43066         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43067         PF_CAIF, and PF_ALG.
43068         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43070 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43072         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43073         (modules-names): Use them.
43074         (ifunc-test-modules, ifunc-pie-tests): Define.
43075         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43076         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43077         (test-extras): Likewise.
43078         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43079         $(compile-command.c).
43080         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43081         (all-built-dso): Define.
43082         (check-textrel.out, check-execstack.out): Depend on it.
43084         * configure.in: Don't override --enable-multi-arch.
43086 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43088         [BZ #6812]
43089         * nscd/hstcache.c (tryagain): Define.
43090         (cache_addhst): Return tryagain not notfound for temporary errors.
43091         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43092         failed.
43094 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43096         [BZ #10563]
43097         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43098         to make the syscall.
43099         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43101         [BZ #12378]
43102         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43103         and fall back to matching as normal character if the string ends before
43104         the matching ']' is found.  This is what POSIX requires.
43105         * posix/testfnm.c: Adjust test result.
43106         * posix/globtest.sh: Adjust test result.  Add new test.
43107         * posix/tst-fnmatch.input: Likewise.
43108         * posix/tst-fnmatch2.c: Add new test.
43110 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43112         * elf/Makefile (check-execstack): Revert last change.  Depend on
43113         check-execstack.h.
43114         (check-execstack.h): New target.
43115         (generated): Add check-execstack.h.
43116         * elf/check-execstack.c: Include "check-execstack.h".
43117         (main): Revert last change.
43118         (handle_file): Return zero if GNU_STACK is absent and
43119         DEFAULT_STACK_PERMS doesn't include PF_X.
43121 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43123         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43124         in child fails because the descriptor is already closed.
43125         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43126         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43127         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43129         [BZ #12397]
43130         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43131         syscall.
43133         [BZ #10484]
43134         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43135         temporary buffer used to handle multi lookups locally.
43136         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43138 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43140         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43141         loader is ld.so.
43143 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43145         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43146         alignment for SSE2.
43148 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43150         [BZ #12394]
43151         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43152         characters.  When rounding increased number of integer digits recompute
43153         number of groups.
43154         * stdio-common/tst-grouping.c: New file.
43155         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43157 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43159         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43160         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43162         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43163         void.
43164         * bits/select.h: Likewise.
43166 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43168         * po/ja.po: Update from translation team.
43170 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43172         [BZ #11155]
43173         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43174         implementation just like for lxstat, fxstatat, et al.
43176 2010-12-27  Jim Meyering  <meyering@redhat.com>
43178         [BZ #12348]
43179         * posix/regexec.c (build_trtable): Return failure indication upon
43180         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43182 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43184         [BZ #12201]
43185         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43186         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43187         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43188         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43190         [BZ #12207]
43191         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43193         [BZ #12204]
43194         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43195         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43197 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43199         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43200         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43201         script has SORT_BY_INIT_PRIORITY.
43202         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43203         NO_CTORS_DTORS_SECTIONS is defined.
43204         * elf/soinit.c: Likewise.
43205         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43206         NO_CTORS_DTORS_SECTIONS is defined.
43207         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43208         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43209         * sysdeps/sh/init-first.c: Likewise.
43210         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43212 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43214         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43215         always use the slow path.
43217 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43219         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43220         similar rule which adds the sysdep directories to the header search in
43221         order to pick up the correct platform stackinfo.h.
43222         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43223         perform test if it is, otherwise return successfully without testing.
43224         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43225         DEFAULT_STACK_PERMS define in stackinfo.h.
43226         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43227         defined in stackinfo.h.
43228         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43229         DEFAULT_STACK_PERMS defined in stackinfo.h.
43230         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43231         * sysdeps/ia64/stackinfo.h: Likewise.
43232         * sysdeps/s390/stackinfo.h: Likewise.
43233         * sysdeps/sh/stackinfo.h: Likewise.
43234         * sysdeps/sparc/stackinfo.h: Likewise.
43235         * sysdeps/x86_64/stackinfo.h: Likewise.
43236         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43237         PF_X for powerpc64.  Retain PF_X for powerpc32.
43239 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43241         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43242         accurately.
43243         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43244         GETDENTS_64BIT_ALIGNED.
43246 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43248         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43250 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43252         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43253         _GNU_SOURCE.
43255         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43256         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43257         Remove __restrict.
43258         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43259         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43261 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43263         [BZ #11655]
43264         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43265         are initialized.
43267 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43269         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43271 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43273         * po/it.po: Update from translation team.
43275 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43277         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43278         unused codes.
43280 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43282         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43284 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43286         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43287         specially.
43288         (gaih_getanswer_slice): Likewise.
43290 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43292         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43294 2010-05-31  Petr Baudis  <pasky@suse.cz>
43296         [BZ #11149]
43297         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43298         silently even in the chroot mode.
43300 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43302         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43303         last patch a bit.  Pretty printing
43305 2010-05-31  Petr Baudis <pasky@suse.cz>
43307         [BZ #10085]
43308         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43309         initialization of skip_initgroups_dyn.
43311 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43313         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43314         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43316 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43318         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43320 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43322         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43323         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43324         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43325         ($(objpfx)tst-fnmatch-mem): New rule.
43326         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43327         * posix/tst-fnmatch.c (main): Call mtrace.
43329 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43331         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43332         Support Intel processor model 6 and model 0x2c.
43334 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43336         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43337           signed comparison.
43339 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43341         [BZ #12205]
43342         * string/test-strncasecmp.c (check_result): New function.
43343         (do_one_test): Use it.
43344         (check1): New function.
43345         (test_main): Use it.
43346         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43347         Support strcasecmp and strncasecmp.
43349 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43351         [BZ #12194]
43352         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43355 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43357         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43358         IFUNC support.
43359         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43360         memset-x86-64.
43361         * sysdeps/x86_64/multiarch/bzero.S: New file.
43362         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43363         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43364         * sysdeps/x86_64/multiarch/memset.S: New file.
43365         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43366         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43367         Set bit_Prefer_SSE_for_memop for Intel processors.
43368         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43369         Define.
43370         (index_Prefer_SSE_for_memop): Define.
43371         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43373 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43375         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43376         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43378 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43380         [BZ #12191]
43381         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43382         (__x86_64_raw_data_cache_size_half): Likewise.
43383         (__x86_64_raw_shared_cache_size): Likewise.
43384         (__x86_64_raw_shared_cache_size_half): Likewise.
43386         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43387         (__x86_64_raw_data_cache_size_half): Likewise.
43388         (__x86_64_raw_shared_cache_size): Likewise.
43389         (__x86_64_raw_shared_cache_size_half): Likewise.
43390         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43391         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43392         and __x86_64_raw_shared_cache_size_half.  Round
43393         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43394         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43395         to multiple of 256 bytes.
43397 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43399         [BZ #12167]
43400         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43401         of inacessible symlinks.  Verify result of symlink before returning it.
43402         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43403         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43405 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43407         * math/math.h (isinf): Fix typo in comment.
43409 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43411         * po/da.po: Update from translation team.
43413 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43415         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43416         is added to the list.
43418 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43419             Ulrich Drepper  <drepper@gmail.com>
43421         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43422         the global list here.  Move code to...
43423         (_dl_add_to_namespace_list): ...here.  New function.
43424         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43425         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43426         * elf/dl-load.c (lose): Don't remove the element from the list.
43427         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43428         (_dl_map_object): Likewise.
43430 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43432         [BZ #12159]
43433         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43434         into all bytes of SSE register.
43435         Patch by Richard Li <richardpku@gmail.com>.
43437 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43439         [BZ #12140]
43440         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43441         perturbing.
43443 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43445         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43446         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43447         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43448         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43450         submachine.
43451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43453 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43455         * include/dlfcn.h (__RTLD_SECURE): Define.
43456         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43457         mode & __RTLD_SECURE instead.
43458         (open_path): Rename preloaded parameter to secure.
43459         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43460         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43461         * elf/dl-deps.c (openaux): Likewise.
43462         * elf/rtld.c (struct map_args): Remove is_preloaded.
43463         (map_doit): Don't use it.
43464         (dl_main): Likewise.
43465         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43466         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43468 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43470         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43471         (sysd-rules-targets): Remove duplicates.
43472         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43473         rtld-%.$o dependency.
43475 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43477         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43478         _dl_map_object do it.
43480 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43482         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43483         fast fma builtins, define the macros in the C99 standard.
43484         (FP_FAST_FMAF): Likewise.
43485         (FP_FAST_FMAL): Likewise.
43486         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43488         * bits/mathdef.h: Update copyright year.
43489         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43491 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43493         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43494         builtins, define the macros in the C99 standard.
43495         (FP_FAST_FMAF): Likewise.
43496         (FP_FAST_FMAL): Likewise.
43497         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43498         multiply/add.
43499         (FP_FAST_FMAF): Likewise.
43501 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43503         [BZ #3268]
43504         * math/libm-test.inc (fma_test): Some new testcases.
43505         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43506         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43507         y and infinite z.  Do multiplication by C already in long double.
43508         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43509         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43510         y and infinite z.  Do bitwise or of inexact bit into u.d.
43511         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43512         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43513         * sysdeps/i386/fpu/s_fma.S: Removed.
43514         * sysdeps/i386/fpu/s_fmal.S: Removed.
43516 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43518         [BZ #3268]
43519         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43520         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43521         computation is not scheduled after fetestexcept.  Fix value
43522         of minimum denormal long double.
43524 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43526         [BZ #3268]
43527         * math/libm-test.inc (fma_test): Add some more tests.
43528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43529         correctly.
43531 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43533         * scripts/data/localplt-s390-linux-gnu.data: New file.
43534         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43536 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43538         [BZ #3268]
43539         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43540         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43541         instead of dbl-64.
43542         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43543         inlines.
43544         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43545         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43546         if one of x and y is very large and the other is subnormal.
43547         * sysdeps/s390/fpu/s_fmaf.c: New file.
43548         * sysdeps/s390/fpu/s_fma.c: New file.
43549         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43550         * sysdeps/powerpc/fpu/s_fma.S: New file.
43551         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43552         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43553         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43555 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43557         [BZ #3268]
43558         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43559         fma tests.
43560         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43561         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43562         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43563         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43564         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43565         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43566         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43568 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43570         [BZ #12078]
43571         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43572         * posix/bug-regex31.input: Add test case.
43574 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43576         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43577         * posix/bug-regex31.input: New file.
43579         [BZ #12078]
43580         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43581         (parse_sub_exp): Fix last change, use postorder.
43583         * posix/bug-regex31.c: New file.
43584         * posix/Makefile: Add rules to build and run bug-regex31.
43586         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43588         [BZ #12078]
43589         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43591         [BZ #12108]
43592         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43593         to have entries in sys_siglist.
43595         [BZ #12093]
43596         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43597         be NULL.
43599 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43601         [BZ #3268]
43602         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43603         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43604         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43605         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43606         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43607         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43608         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43609         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43610         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43611         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43612         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43613         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43614         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43615         * math/ftestexcept.c (fetestexcept): Likewise.
43616         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43617         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43618         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43619         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43620         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43621         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43622         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43624 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43626         [BZ #12107]
43627         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43628         newline.
43630 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43632         * string/bug-strstr1.c: New file.
43633         * string/Makefile: Add rules to build and run bug-strstr1.
43635 2010-10-05  Eric Blake  <eblake@redhat.com>
43637         [BZ #12092]
43638         * string/str-two-way.h (two_way_long_needle): Always clear memory
43639         when skipping input due to the shift table.
43641 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43643         [BZ #12005]
43644         * malloc/mcheck.c: Handle large requests.
43646         [BZ #12077]
43647         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43648         for strncmp and strncasecmp.
43649         * string/stratcliff.c: Add tests for strcmp and strncmp.
43650         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43652 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43654         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43655         __set_fpscr.
43657 2010-09-30  Andreas Jaeger  <aj@suse.de>
43659         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43660         (CGROUP_SUPER_MAGIC): Define.
43661         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43662         Handle btrfs and cgroup file systems.
43663         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43664         Likewise.
43666 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43668         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43669         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43671 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43673         [BZ #12067]
43674         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43675         trying to locate the ELF header.
43677 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43679         [BZ #11611]
43680         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43681         Mask out sign-bit copies when constructing f_fsid.
43683 2010-09-24  Petr Baudis <pasky@suse.cz>
43685         * debug/stack_chk_fail_local.c: Add missing licence exception.
43686         * debug/warning-nop.c: Likewise.
43688 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43690         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43691         implementing getdents64 using getdents syscall, set d_type if
43692         __ASSUME_GETDENTS32_D_TYPE.
43694 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43696         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43697         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43699 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43701         [BZ #12037]
43702         * posix/unistd.h: Undo change of feature selection for ftruncate from
43703         2010-01-11.
43705 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43707         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43708         detection.
43710 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43712         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43713         fanotify_mark.
43714         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43716 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43718         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43719         variables after CHECK_SP call.
43720         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43722 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43723             Ulrich Drepper  <drepper@redhat.com>
43725         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43726         re-relocationg ld.so.
43727         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43728         _dl_init_paths call.
43729         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43730         here anymore.
43732 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43734         * resolv/res_init.c (__res_vinit): Count the default server we added.
43736 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43737             Ulrich Drepper  <drepper@redhat.com>
43739         [BZ #11968]
43740         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43741         (____longjmp_chk): Use %ebx for saving value across system call.
43742         Add unwind info.
43744 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43746         * manual/Makefile: Don't mix pattern rules with normal rules.
43748 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43750         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43751         operation.
43752         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43753         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43754         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43755         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43757         Likewise.
43759 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43761         [BZ #11979]
43762         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43763         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43765 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43767         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43768         * sysdeps/x86_64/addmul_1.S: Likewise.
43769         * sysdeps/x86_64/lshift.S: Likewise.
43770         * sysdeps/x86_64/mul_1.S: Likewise.
43771         * sysdeps/x86_64/rshift.S: Likewise.
43772         * sysdeps/x86_64/sub_n.S: Likewise.
43773         * sysdeps/x86_64/submul_1.S: Likewise.
43775 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43777         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43778         Define __sched_param instead of SCHED_* and sched_param when
43779         <bits/sched.h> is included with __need_schedparam defined.
43780         * bits/sched.h [__need_schedparam]
43781         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43782         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43783         (__defined_schedparam): Define to 1.
43784         (__sched_param): New structure, identical to sched_param.
43785         (__need_schedparam): Undefine.
43787 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43789         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43790         (epoll_create1): Declare.
43792         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43794 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43796         [BZ #7066]
43797         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43798         shifting retval into place.
43800 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43802         * nis/rpcsvc/nis.h: Update copyright notice.
43803         * nis/rpcsvc/nis.x: Likewise.
43804         * nis/rpcsvc/nis_callback.h: Likewise.
43805         * nis/rpcsvc/nis_callback.x: Likewise.
43806         * nis/rpcsvc/nis_object.x: Likewise.
43807         * nis/rpcsvc/nis_tags.h: Likewise.
43808         * nis/rpcsvc/yp.h: Likewise.
43809         * nis/rpcsvc/yp.x: Likewise.
43810         * nis/rpcsvc/ypupd.h: Likewise.
43811         * nis/yp_xdr.c: Likewise.
43812         * nis/ypupdate_xdr.c: Likewise.
43814         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43815         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43816         (pmap_getport): Use __libc_rpc_getport.
43817         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43818         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43819         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43821 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43824         fanotify_mark.
43826 2010-08-27  Roland McGrath  <roland@redhat.com>
43828         * sysdeps/i386/i686/multiarch/Makefile
43829         (CFLAGS-varshift.c): New variable.
43831 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43833         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43834         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43836         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43838         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43840 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
43842         * sysdeps/x86_64/strlen.S: Unroll the loop.
43843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43844         strlen-sse2 strlen-sse2-bsf.
43845         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
43846         __strlen_no_bsf if bit_Slow_BSF is set.
43847         (__strlen_sse42): Removed.
43848         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
43849         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
43851 2010-08-25  Roland McGrath  <roland@redhat.com>
43853         * sysdeps/x86_64/multiarch/varshift.S: File removed.
43854         * sysdeps/x86_64/multiarch/varshift.c: New file.
43855         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
43856         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
43857         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
43858         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
43860 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
43862         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43863         strlen-sse2 strlen-sse2-bsf.
43864         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
43865         __strlen_sse2_bsf if bit_Slow_BSF is unset.
43866         (__strlen_sse2): Removed.
43867         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
43868         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
43869         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43870         bit_Slow_BSF for Atom.
43871         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
43872         (index_Slow_BSF): Define.
43873         (HAS_SLOW_BSF): Define.
43875 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
43877         [BZ #10851]
43878         * resolv/res_init.c (__res_vinit): When no server address at all
43879         is given default to loopback.
43881 2010-08-24  Roland McGrath  <roland@redhat.com>
43883         * configure.in: Remove config-name.h generation.
43884         * configure: Regenerated.
43885         * config-name.in: File removed.
43886         * scripts/config-uname.sh: New file.
43887         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
43888         ($(objdir)config-name.h): New target.
43890         * sunrpc/rpc_parse.h: Avoid nested comment.
43892 2010-08-24  Richard Henderson  <rth@redhat.com>
43893             Ulrich Drepper  <drepper@redhat.com>
43894             H.J. Lu  <hongjiu.lu@intel.com>
43896         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
43897         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
43898         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
43899         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
43900         _mm_alignr_epi8 with _mm_loadu_si128.
43901         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
43902         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
43903         (__m128i_shift_right): Removed.
43904         * sysdeps/i386/i686/multiarch/varshift.h: New file.
43905         * sysdeps/i386/i686/multiarch/varshift.S: New file.
43906         * sysdeps/x86_64/multiarch/varshift.h: New file.
43907         * sysdeps/x86_64/multiarch/varshift.S: New file.
43909 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
43911         * configure.in: Move assembler checks to before sysdep dir checking.
43913 2010-08-20  Petr Baudis  <pasky@suse.cz>
43915         * LICENSES: Sync the sunrpc license.
43917 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
43919         * sunrpc/auth_des.c: Update copyright notice once again.
43920         * sunrpc/auth_none.c: Likewise.
43921         * sunrpc/auth_unix.c: Likewise.
43922         * sunrpc/authdes_prot.c: Likewise.
43923         * sunrpc/authuxprot.c: Likewise.
43924         * sunrpc/bindrsvprt.c: Likewise.
43925         * sunrpc/clnt_gen.c: Likewise.
43926         * sunrpc/clnt_perr.c: Likewise.
43927         * sunrpc/clnt_raw.c: Likewise.
43928         * sunrpc/clnt_simp.c: Likewise.
43929         * sunrpc/clnt_tcp.c: Likewise.
43930         * sunrpc/clnt_udp.c: Likewise.
43931         * sunrpc/clnt_unix.c: Likewise.
43932         * sunrpc/des_crypt.c: Likewise.
43933         * sunrpc/des_soft.c: Likewise.
43934         * sunrpc/get_myaddr.c: Likewise.
43935         * sunrpc/getrpcport.c: Likewise.
43936         * sunrpc/key_call.c: Likewise.
43937         * sunrpc/key_prot.c: Likewise.
43938         * sunrpc/openchild.c: Likewise.
43939         * sunrpc/pm_getmaps.c: Likewise.
43940         * sunrpc/pm_getport.c: Likewise.
43941         * sunrpc/pmap_clnt.c: Likewise.
43942         * sunrpc/pmap_prot.c: Likewise.
43943         * sunrpc/pmap_prot2.c: Likewise.
43944         * sunrpc/pmap_rmt.c: Likewise.
43945         * sunrpc/rpc/auth.h: Likewise.
43946         * sunrpc/rpc/auth_unix.h: Likewise.
43947         * sunrpc/rpc/clnt.h: Likewise.
43948         * sunrpc/rpc/des_crypt.h: Likewise.
43949         * sunrpc/rpc/key_prot.h: Likewise.
43950         * sunrpc/rpc/netdb.h: Likewise.
43951         * sunrpc/rpc/pmap_clnt.h: Likewise.
43952         * sunrpc/rpc/pmap_prot.h: Likewise.
43953         * sunrpc/rpc/pmap_rmt.h: Likewise.
43954         * sunrpc/rpc/rpc.h: Likewise.
43955         * sunrpc/rpc/rpc_des.h: Likewise.
43956         * sunrpc/rpc/rpc_msg.h: Likewise.
43957         * sunrpc/rpc/svc.h: Likewise.
43958         * sunrpc/rpc/svc_auth.h: Likewise.
43959         * sunrpc/rpc/types.h: Likewise.
43960         * sunrpc/rpc/xdr.h: Likewise.
43961         * sunrpc/rpc_clntout.c: Likewise.
43962         * sunrpc/rpc_cmsg.c: Likewise.
43963         * sunrpc/rpc_common.c: Likewise.
43964         * sunrpc/rpc_cout.c: Likewise.
43965         * sunrpc/rpc_dtable.c: Likewise.
43966         * sunrpc/rpc_hout.c: Likewise.
43967         * sunrpc/rpc_main.c: Likewise.
43968         * sunrpc/rpc_parse.c: Likewise.
43969         * sunrpc/rpc_parse.h: Likewise.
43970         * sunrpc/rpc_prot.c: Likewise.
43971         * sunrpc/rpc_sample.c: Likewise.
43972         * sunrpc/rpc_scan.c: Likewise.
43973         * sunrpc/rpc_scan.h: Likewise.
43974         * sunrpc/rpc_svcout.c: Likewise.
43975         * sunrpc/rpc_tblout.c: Likewise.
43976         * sunrpc/rpc_util.c: Likewise.
43977         * sunrpc/rpc_util.h: Likewise.
43978         * sunrpc/rpcinfo.c: Likewise.
43979         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
43980         * sunrpc/rpcsvc/key_prot.x: Likewise.
43981         * sunrpc/rpcsvc/klm_prot.x: Likewise.
43982         * sunrpc/rpcsvc/mount.x: Likewise.
43983         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
43984         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
43985         * sunrpc/rpcsvc/rex.x: Likewise.
43986         * sunrpc/rpcsvc/rstat.x: Likewise.
43987         * sunrpc/rpcsvc/rusers.x: Likewise.
43988         * sunrpc/rpcsvc/sm_inter.x: Likewise.
43989         * sunrpc/rpcsvc/spray.x: Likewise.
43990         * sunrpc/rpcsvc/yppasswd.x: Likewise.
43991         * sunrpc/rtime.c: Likewise.
43992         * sunrpc/svc.c: Likewise.
43993         * sunrpc/svc_auth.c: Likewise.
43994         * sunrpc/svc_authux.c: Likewise.
43995         * sunrpc/svc_raw.c: Likewise.
43996         * sunrpc/svc_run.c: Likewise.
43997         * sunrpc/svc_simple.c: Likewise.
43998         * sunrpc/svc_tcp.c: Likewise.
43999         * sunrpc/svc_udp.c: Likewise.
44000         * sunrpc/svc_unix.c: Likewise.
44001         * sunrpc/svcauth_des.c: Likewise.
44002         * sunrpc/xcrypt.c: Likewise.
44003         * sunrpc/xdr.c: Likewise.
44004         * sunrpc/xdr_array.c: Likewise.
44005         * sunrpc/xdr_float.c: Likewise.
44006         * sunrpc/xdr_mem.c: Likewise.
44007         * sunrpc/xdr_rec.c: Likewise.
44008         * sunrpc/xdr_ref.c: Likewise.
44009         * sunrpc/xdr_sizeof.c: Likewise.
44010         * sunrpc/xdr_stdio.c: Likewise.
44012         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44013         handling.
44015 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44017         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44019 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44021         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44022         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44023         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44024         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44025         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44026         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44027         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44028         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44029         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44030         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44031         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44032         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44033         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44034         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44036 2010-07-26  Anton Blanchard  <anton@samba.org>
44038         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44039         * malloc/arena.c (heap_trim): Likewise.
44041 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44043         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44044         here.  Not...
44045         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44046         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44048 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44050         * sysdeps/i386/elf/Makefile: New file.
44052 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44054         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44055         from fanotify_init.
44056         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44057         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44059 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44061         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44062         of strncasecmp_l.
44063         * sysdeps/multiarch/strcmp.S: Likewise.
44065 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44067         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44068         strncase_l-nonascii.
44069         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44070         Add strncase_l-ssse3.
44071         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44072         * sysdeps/x86_64/strcmp.S: Likewise.
44073         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44074         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44075         * sysdeps/x86_64/strncase.S: New file.
44076         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44077         * sysdeps/x86_64/strncase_l.S: New file.
44078         * string/Makefile (strop-tests): Add strncasecmp.
44079         * string/test-strncasecmp.c: New file.
44081         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44082         warning.
44084         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44085         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44087 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44089         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44091 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44093         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44094         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44095         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44097 2010-05-01  Alan Modra  <amodra@gmail.com>
44099         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44100         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44101         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44102         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44103         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44104         tidying.  Don't tail-call __sigjmp_save for static lib.
44105         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44106         save location.
44107         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44108         (CALL_MCOUNT): Add eh info, and nop after bl.
44109         (TAIL_CALL_SYSCALL_ERROR): New macro.
44110         (PSEUDO_RET): Use it.
44111         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44112         Correct save location of integer regs and cr.
44113         (_dl_profile_resolve): Correct cr save location.  Delete nops
44114         after bl when SHARED.  Reduce cfi size a little by better
44115         placement of cfi directives.
44116         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44117         make a stack frame.  Instead use parm save area as a temp.
44118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44119         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44121         Don't make a stack frame for parent, use parm save area.
44122         Increase child stack frame to 112 bytes.  Don't save unused reg,
44123         and adjust reg usage.  Set up cfi on error recovery and
44124         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44126         (__makecontext): Add dummy nop after jump to exit.
44127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44128         Use correct parm save area and cr save, reduce stack frame.
44129         Correct cfi for possible PSEUDO_RET frame setup.
44130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44131         Branch to local label emitted by PSEUDO_RET rather than
44132         __syscall_error.
44134 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44136         [BZ #11904]
44137         * locale/programs/locale.c (print_assignment): New function.
44138         (show_locale_vars): Use it.
44140 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44142         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44143         field.
44144         (struct statfs64): Likewise.
44145         (_STATFS_F_FLAGS): Define.
44146         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44147         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44148         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44149         (ST_VALID): Define locally.
44150         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44151         __statvfs_getflags, use the provided value.
44152         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44153         __ASSUME_STATFS_F_FLAGS.
44155         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44157         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44158         Add sys/fanotify.h.
44159         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44160         fanotify_mask for GLIBC_2.13.
44161         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44162         fanotify_init and fanotify_mark.
44163         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44164         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44166         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44167         Add prlimit.
44168         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44169         prlimit64 for GLIBC_2.13.
44170         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44171         prlimit64.
44172         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44173         syscall.
44174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44175         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44176         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44177         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44179         add prlimit alias.
44180         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44182         [BZ #11903]
44183         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44184         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44186         * nss/Makefile: Add rules to build and run tst-nss-test1.
44187         * shlib-versions: Add entry for libnss_test1.
44188         * nss/nss_test1.c: New file.
44189         * nss/tst-nss-test1.c: New file.
44191         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44192         (__nss_configure_lookup): Set appropriate entry in
44193         __nss_configure_lookup to true.
44194         * nss/nsswitch.h: Define enum with indeces of databases in
44195         databases and __nss_database_custom arrays.  Declare
44196         __nss_database_custom.
44197         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44198         to avoid using nscd when custom rules are installed.
44199         * nss/getXXbyYY_r.c: Likewise.
44200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44202         * nss/nss_files/files-parse.c: Whitespace fixes.
44204 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44206         [BZ #11883]
44207         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44208         * posix/fnmatch_loop.c: Likewise.
44210 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44212         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44213         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44214         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44215         * Versions.def [GLIBC_2.13]: Add.
44217 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44219         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44220         Also fail if tpwd after pwuid call is NULL.
44222 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44224         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44225         when converting to ms.
44227 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44229         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44230         EOPNOTSUPP errors with ENOTTY.
44231         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44232         EOPNOTSUPP errors with ENOTTY.
44234 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44236         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44237         Add strcasecmp_l-ssse3.
44238         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44239         strcasecmp.
44240         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44241         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44242         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44244 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44246         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44248         * string/Makefile (strop-tests): Add strcasecmp.
44249         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44250         strcasecmp_l-nonascii.
44251         (gen-as-const-headers): Add locale-defines.sym.
44252         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44253         * sysdeps/x86_64/strcasecmp.S: New file.
44254         * sysdeps/x86_64/strcasecmp_l.S: New file.
44255         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44256         * sysdeps/x86_64/locale-defines.sym: New file.
44257         * string/test-strcasecmp.c: New file.
44259         * string/test-strcasestr.c: Test both ends of the range of characters.
44260         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44262 2010-07-29  Roland McGrath  <roland@redhat.com>
44264         [BZ #11856]
44265         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44267 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44269         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44270         for ld.so.
44272 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44274         * manual/memory.texi (Malloc Tunable Parameters): Document
44275         M_PERTURB.
44277 2010-07-26  Roland McGrath  <roland@redhat.com>
44279         [BZ #11840]
44280         * configure.in (-fgnu89-inline check): Set and substitute
44281         gnu89_inline, not libc_cv_gnu89_inline.
44282         * configure: Regenerated.
44283         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44285 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44287         * string/test-strnlen.c: New file.
44288         * string/Makefile (strop-tests): Add strnlen.
44289         * string/tester.c (test_strnlen): Add a few more test cases.
44290         * string/tst-strlen.c: Better error reporting.
44292         * sysdeps/x86_64/strnlen.S: New file.
44294 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44296         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44297         lower-latency instructions.
44299 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44301         * string/test-strcasestr.c: New file.
44302         * string/test-strstr.c: New file.
44303         * string/Makefile (strop-tests): Add strstr and strcasestr.
44304         * string/str-two-way.h: Don't undefine MAX.
44305         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44307 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44309         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44310         strcasestr-nonascii.
44311         (CFLAGS-strcasestr-nonascii.c): Define.
44312         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44313         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44314         Remove unused attribute.
44316 2010-07-20  Roland McGrath  <roland@redhat.com>
44318         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44319         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44320         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44321         like LD_HWCAP_MASK can disable hwcaps.
44323 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44325         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44327 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44329         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44330         call in strcasestr.
44331         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44332         __strcasestr_sse42_nonascii.
44333         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44334         strcasestr-nonascii.c.
44335         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44337 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44339         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44340         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44341         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44342         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44344 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44346         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44347         fcntl.
44349 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44351         [BZ #11577]
44352         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44353         dl_signal_cerror.
44355 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44357         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44358         _PC_PIPE_BUF using F_GETPIPE_SZ.
44360 2010-07-05  Roland McGrath  <roland@redhat.com>
44362         * manual/arith.texi (Rounding Functions): Fix rint description
44363         implicit in round description.
44365 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44367         * elf/Makefile: Fix linking for a few tests to make recent linker
44368         happy.
44370 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44372         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44373         $(common-objpfx)libc_nonshared.a.
44375 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44377         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44378         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44379         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44380         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44381         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44382         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44383         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44384         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44399         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44400         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44401         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44402         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44403         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44404         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44405         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44406         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44407         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44408         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44409         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44410         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44426 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44428         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44429         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44430         * string/memmove.c (memmove): Renamed to ...
44431         (MEMMOVE): ...this.  Default to memmove.
44432         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44433         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44434         (END_CHK): Define.
44435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44436         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44437         mempcpy-ssse3-back memmove-ssse3-back.
44438         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44439         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44440         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44441         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44442         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44443         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44444         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44445         * sysdeps/x86_64/multiarch/memmove.c: New file.
44446         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44447         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44448         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44449         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44450         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44451         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44452         Define.
44453         (index_Fast_Copy_Backward): Define.
44454         (HAS_ARCH_FEATURE): Define.
44455         (HAS_FAST_REP_STRING): Define.
44456         (HAS_FAST_COPY_BACKWARD): Define.
44458 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44460         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44461         Restore proper fallback handling.
44463 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44465         [BZ #11701]
44466         * posix/group_member.c (__group_member): Correct checking loop.
44468         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44469         OOM in getpwuid_r correctly.  Return error number when the caller
44470         should return, otherwise -1.
44471         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44472         call returning > 0 value.
44473         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44475 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44477         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44478         libc_nonshared.a from targets in modules-names.
44480 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44482         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44483         requires it.
44485 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44487         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44488         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44489         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44490         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44492 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44494         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44496 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44498         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44499         and F_GETPIPE_SZ.
44500         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44501         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44504         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44505         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44507 2010-06-14  Roland McGrath  <roland@redhat.com>
44509         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44511 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44513         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44514         __REDIRECT followed by __THROW.
44515         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44516         * posix/getopt.h (getopt): Likewise.
44518 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44520         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44521         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44522         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44523         in AT_FLAGS.
44524         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44525         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44527 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44529         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44531 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44533         [BZ #11640]
44534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44535         Properly check family and model.
44537 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44539         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44541 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44543         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44545 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44547         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44548         symbol reference.
44550 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44552         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44553         symbol reference.
44555 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44557         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44558         and internal_recvmmsg.
44559         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44560         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44561         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44562         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44564         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44565         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44566         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44568 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44570         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44572 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44574         POWER7 optimizations.
44575         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44576         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44578 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44580         * version.h: Update for 2.13 development version.
44582 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44584         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44585         exceptions.  Return 0.
44587 2010-05-07  Roland McGrath  <roland@redhat.com>
44589         * elf/ldconfig.c (main): Add a const.
44591 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44593         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44594         (args_options): Add no-idn option.
44595         (ahosts_keys_int): Add idn_flags to ai_flags.
44596         (parse_option): Handle 'i' option to clear idn_flags.
44598         * malloc/malloc.c (_int_free): Possible race in the most recently
44599         added check.  Only act on the data if no current modification
44600         happened.
44602 See ChangeLog.17 for earlier changes.